|
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.
|