http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50668
Bug #: 50668
Summary: gcc gives warnings for code with #if 0 .... #endif
code block
Classification: Unclassified
Product: gcc
Version: 4.5.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: [email protected]
ReportedBy: [email protected]
A little surprised to see the following build warning for code withn #if 0 ....
#endif I had expected that to be excluded from the build.
main3.c:4:3: warning: missing terminating " character
gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
gcc -Wall -o main main3.c
My sample program follows:
#if 0
p("
#endif
int main(void)
{
return 0;
}