This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] c++ template instantiation generates zero-sized array (pr19989)
Mark Mitchell wrote:
> 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.
OK, thanks for the clarification. I'll prepare a revised patch and
submit it for approval.
- Josh