Csaba Halász a écrit :
> On Sat, Feb 21, 2009 at 7:34 PM, Geoff McLane <ubu...@geoffair.info> wrote:
>   
>> IMHO the _MSC_VER and _DEBUG switches do NOT need to be applied. I am
>> forever puzzled how gcc resolves this since the comparison is indeed two
>> pointers ...
>>     
>
> No it isn't. Both uses in lower_bound and upper_bound take an iterator
> range and a const Type&. So it is a pointer and a reference. gcc is
> right.
>   

IIRC, VS2005 has special debugging code in the STL that trigger this.
The problem doesn't occur with older compilers.

-Fred

-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/   Photo gallery
http://fgsd.sourceforge.net/    FlightGear Scenery Designer


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to