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]
Other format: [Raw text]

[Bug preprocessor/14634] [3.4/3.5 Regression] Unterminated literals not diagnosed


------- Additional Comments From jsm at polyomino dot org dot uk  2004-03-18 17:13 -------
Subject: Re:  [3.4/3.5 Regression] Unterminated
 literals not diagnosed

On Thu, 18 Mar 2004, pinskia at gcc dot gnu dot org wrote:

> I thought that this was undefined behavior and that is why 12743 was closed?

That it's undefined is why I described it as a quality of implementation
regression rather than a conformance regression.  Quality of
implementation dictates that we should not lose the feature of diagnosing
unportable code even though a diagnostic is not required.  (I prefer a
mandatory error for all these usages - since no good justification was
ever given for these extensions - but a pedwarn if pedantic would suffice
to give portability warnings to those wanting them.)



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14634


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