preprocessor/2724: trouble with ' and " between #if 0 and #endif
reichelt@igpm.rwth-aachen.de
reichelt@igpm.rwth-aachen.de
Thu May 3 02:46:00 GMT 2001
>Number: 2724
>Category: preprocessor
>Synopsis: trouble with ' and " between #if 0 and #endif
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Thu May 03 02:46:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Volker Reichelt
>Release: gcc 2.95.3, gcc 3.0 20010430 (prerelease)
>Organization:
>Environment:
IRIX 6.5, Linux
>Description:
IMHO code between "#if 0" and "#endif" should
be ignored completely. However, I get the following
error messages
Preproc.c:2:3: missing terminating ' character
Preproc.c:3:3: warning: multi-line string literals are deprecated
Preproc.c:3:3: warning: multi-line string literals are deprecated
Preproc.c:3:3: missing terminating " character
Preproc.c:1:1: unterminated #if
compiling
#if 0
' should be ignored
" should be ignored
#endif
>How-To-Repeat:
gcc -c file.c
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list