用Resharper的同学都知道,如果你写了一个私有函数,这个函数没有访问类里面的其他参数和方法,那么它建议你标记这个方法为私有静态方法,提示是这样的:值得这样做吗?看看微软的建议:After you mark the methods as static, the compiler will emi...
分类:
其他好文 时间:
2014-07-16 20:58:08
阅读次数:
206
GNU C Compiler 多平台编译器,是GNU的代表作之一。GCC编译器可以编译链接C\C++\汇编成可执行文件,可执行文件没特殊后缀,看属性。预处理 编译 汇编 链接Gcc通过后缀来区分不同类型文件.c C语言源代码文件.a库文件 由目标文件构成的库文件.C .cc .cxx C++源代码文...
分类:
其他好文 时间:
2014-07-16 19:49:52
阅读次数:
178
Node.js configure error: No acceptable C compiler found!
Please make sure you have a C compiler installed on your system and/or
consider adjusting the CC environment variable if you ...
分类:
Web程序 时间:
2014-07-16 17:32:10
阅读次数:
952
C++ 11开发环境搭建(Windows Platform)
IDE:Code::Blocks 12.11版本
Compiler:TDM-GCC http://tdm-gcc.tdragon.net/ TDM64 Bundle GCC 4.8.1
问:什么是TDM-GCC?
答:A compiler suite for 32- and 64-bit Wi...
分类:
编程语言 时间:
2014-07-15 22:35:06
阅读次数:
307
选择target -> build phases -> compile sources -> 用ARC的文件将compiler flags设置为:-fobjc-arc,用MRC的文件将compiler flags设置为:-fno-objc-arc。同样,如果一个项目用ARC,而某个文件需要用MRC,...
分类:
移动开发 时间:
2014-07-14 14:12:33
阅读次数:
224
1、错误原因
2014-7-13 17:36:57 org.apache.jasper.compiler.TldLocationsCache tldScanJar
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete...
分类:
编程语言 时间:
2014-07-14 13:44:07
阅读次数:
325
1、错误描述
2014-7-13 2:38:54 org.apache.jasper.compiler.TldLocationsCache tldScanJar
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete l...
分类:
移动开发 时间:
2014-07-13 16:45:04
阅读次数:
294
在Linux Kernel中有些constant需要被C code 跟 assembler共同使用在用constant的時候,不能單方面給0x1000UL因為assembler無法看這東西。但是C compiler卻可以。所以使用這個gcc feature.讓C compiler看到的constan...
分类:
其他好文 时间:
2014-07-12 14:07:30
阅读次数:
166
./configure时报错:configure: error: C++ compiler cannot create executables 。哎,今天重装测试服务器上的系统,设置好IP可以远程访问时就回来安装软件,在搭建PHP+Nginx环境时倒出现了问题。问 题出现在了安装libmcrypt组...
分类:
编程语言 时间:
2014-07-11 19:56:30
阅读次数:
164
本文出自:点击打开链接
词法分析:
1.之前一直没有理解关于正则表达式扩展的单目运算符。关于正则定义式的扩展:
在一个问题就是关于回退:
之前一直没有考虑回退符号的问题。回退一个符号,到达终态。实验那么做虽然没有问题,但是这个地方一直理解错了。
??...
分类:
其他好文 时间:
2014-07-06 11:01:49
阅读次数:
238