Article View: gnu.gcc.bug
Article #6177Re: Possible gcc bugs?
From: Doug Evans
Date: Thu, 21 Nov 1996 00:00
Date: Thu, 21 Nov 1996 00:00
18 lines
953 bytes
953 bytes
From: Bhyrava Prasad <prasadb@cisco.com>
Date: Thu, 21 Nov 1996 15:46:18 -0800
The newline was in a printf format string. Example:
printf("hello
world");
The newline accidentally got inserted in between the hello and world.
I believe this is an error , at least in ANSI C.
ANSI C allows compilers to require users to pass one or more
options to put the compiler in hyper-conforming mode.
Thus, whenever checking GCC against ANSI C please use
gcc -ansi -pedantic-errors
Technical Details
Message-ID:
<199611212355.PAA00431@canuck.cygnus.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113d02,24b2793880e68d18 X-Google-Attributes: gid113d02,public From: dje@cygnus.com (Doug Evans) Subject: Re: Possible gcc bugs? Date: 1996/11/21 Message-ID: <199611212355.PAA00431@canuck.cygnus.com> X-Deja-AN: 197976832 sender: bug-gcc-request@prep.ai.mit.edu x-gateway: relay3.UU.NET from bug-gcc to gnu.gcc.bug; Thu, 21 Nov 1996 20:59:22 EST newsgroups: gnu.gcc.bug