This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

preprocessor/4800: Tokenization not suppressed in false conditional inclusion blocks



>Number:         4800
>Category:       preprocessor
>Synopsis:       Tokenization not suppressed in false conditional inclusion blocks
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 06 04:16:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jan Beulich
>Release:        gcc version 3.0.2
>Organization:
>Environment:
CygWin 1.3.3-2 on Win2000 on dual PIII-900, 256Mb
>Description:
Code similar to the file attached produces

falsecnd.c:2:13: warning: multi-line string literals are deprecated
falsecnd.c:2:13: missing terminating " character
falsecnd.c:1:1: unterminated #if
>How-To-Repeat:
Simply pre-process the attached sample with option -E.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="falsecnd.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="falsecnd.c"

I2lmIDANCgkiYSJiIg0KI2VuZGlmDQo=


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]