🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Doug Evans Thu, 21 Nov 1996 00:00
Re: Possible gcc bugs?
#6177
Author: Doug Evans
Date: Thu, 21 Nov 1996 00:00
18 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads