This is the mail archive of the gcc@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]

Re: [RFC] c++ template instantiation generates zero-sized array (pr19989)


Josh Conner wrote:

> I think this is consistent with my proposal -- the first example was
> non-conforming, but accepted without -pedantic (as we do with other
> zero-sized arrays).  The second example was conforming and the only way
> to alter its behavior was with the -fpermissive option.

My point was that conforming programs should compile and behave
identically in all modes; therefore -fpermissive must not alter the
behavior.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


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