Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Camera code does not recognize target (http://www.chiefdelphi.com/forums/showthread.php?t=83589)

Bigcheese 10-03-2010 11:58

Re: Camera code does not recognize target
 
Wow, I can't believe I didn't catch this.

Windriver uses GCC which implements C++03, so all that matters is what the WG21 standard says. Which is that the std::sort function wants a comparator that returns a bool.

This is not a difference of behavior between C and C++. This is an added feature of C++ used as if it were the preexisting C feature.


All times are GMT -5. The time now is 14:32.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi