[Patch] libstdc++/29989

Paolo Carlini pcarlini@suse.de
Mon Dec 4 17:43:00 GMT 2006


Joe Buck wrote:

>On Sat, Dec 02, 2006 at 09:52:52PM +0100, Paolo Carlini wrote:
>  
>
>>Hi,
>>
>>this PR is really a duplicate of 23273, but in my opinion calls for the 
>>below patchlet: std::max and std::min are not special and we are not 
>>supposed to undef anything before introducing the definitions.
>>    
>>
>Right, but I'm kind of wondering whether this cruft was introduced to
>work around something that should have been fixed by fixincludes (does
>some platform have headers that define min and max as macros?)
>  
>
Right, in principle it's possible, or *was* possible, we are talking 
about very old cruft.

>I suppose we'll find out if new bug reports come in.
>
Exactly, I think it's worth the risk, early in Stage1.

Paolo.



More information about the Libstdc++ mailing list