[patch] mkcshadow improvements

Nathan Myers ncm@cantrip.org
Tue May 16 13:15:00 GMT 2000


On Tue, May 16, 2000 at 11:54:09AM -0400, Phil Edwards wrote:
> 
> Nathan Myers <ncm@cantrip.org>:
> > if we #undef __cplusplus 
> 
> Undefined behavior, as per [16.8]/3.  We can't #define it either.

Since "we" are the implementor, "we" can choose to define any
instance of undefined behavior.  And, in fact, gcc-2.96 seems to 
permit it.  But it's academic, because it doesn't seem safe enough 
to be useful.

Nathan Myers
ncm at cantrip dot org



More information about the Libstdc++ mailing list