“const streamsize __limit = std::min(__chunk, __bufavail):” in the
file fstream.tcc
there are 12 such errors, all relating to std::min and std::max.
The usual cause for this is #defining min or max in some header file.
Often people #define min(x,y) (x < y ? x : y) and that will be
expanded in the definition of std:: min, which will blow up.
Chris
And of course this can be fixed by doing
#undef min
#undef max
after including any C header.
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden