public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* preprocessor/2724: trouble with ' and " between #if 0 and #endif
@ 2001-05-03  2:46 reichelt
  0 siblings, 0 replies; only message in thread
From: reichelt @ 2001-05-03  2:46 UTC (permalink / raw)
  To: gcc-gnats

>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:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-03  2:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-03  2:46 preprocessor/2724: trouble with ' and " between #if 0 and #endif reichelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).