任何人都可以告诉我,为什么在大火中GCC(例如4.4.3)没有警告或错误的错误调用Nullary函数?
void hello() {
}
int main( int argc, char* argv[] ) {
int test = 1234;
hello(test);
return 0;
}
Run Code Online (Sandbox Code Playgroud)
(另见http://bytes.com/topic/c/answers/893146-gcc-doesnt-warn-about-calling-nullary-function-parameters)