From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Frost To: BIONDI Philippe Cc: gcc-help@gcc.gnu.org Subject: Re: line size on C sources files Date: Tue, 28 Mar 2000 05:25:00 -0000 Message-id: References: X-SW-Source: 2000-03/msg00105.html On Tue, 28 Mar 2000, BIONDI Philippe wrote: > Is there anywhere on earth a rule/specification/usage that say that a C > source file must not have any line that exceeds 255 characters ? Not that I am aware of. C has always (to my knowledge) completely ignored whitespace. gcc certainly doesn't appear to care. > I remember when my TPascal 4 EDI complained about lines bigger than 128 > characters, but I don't know any rule that limit this size (neither posix, > nor ansi..). Am I wrong ? > Because if such rule exist, gcc cpp is wrong expanding macros on one > (sometimes very long) line, and my Ingres precompiler win the round. > If not, my convictions are right and esqlc is too badly coded ! (and I can > complain to CAI) Hrm, sounds like 'esqlc' is badly coded, yes, but I would question if you actually *need* to have a 255+ line. :) Stephen From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Frost To: BIONDI Philippe Cc: gcc-help@gcc.gnu.org Subject: Re: line size on C sources files Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: References: X-SW-Source: 2000-q1/msg00415.html Message-ID: <20000401000000.Zwr5jOBIpR_AVVvvpztSl1nRKfXeFl00v2P0odceTsY@z> On Tue, 28 Mar 2000, BIONDI Philippe wrote: > Is there anywhere on earth a rule/specification/usage that say that a C > source file must not have any line that exceeds 255 characters ? Not that I am aware of. C has always (to my knowledge) completely ignored whitespace. gcc certainly doesn't appear to care. > I remember when my TPascal 4 EDI complained about lines bigger than 128 > characters, but I don't know any rule that limit this size (neither posix, > nor ansi..). Am I wrong ? > Because if such rule exist, gcc cpp is wrong expanding macros on one > (sometimes very long) line, and my Ingres precompiler win the round. > If not, my convictions are right and esqlc is too badly coded ! (and I can > complain to CAI) Hrm, sounds like 'esqlc' is badly coded, yes, but I would question if you actually *need* to have a 255+ line. :) Stephen