9526 Views 6 Replies Latest reply: May 16, 2010 4:17 PM by doofusdan
Someone in another thread has already filed a bug about this, but your example was so sweet that I just couldn't resist filing another. I edited your code just a bit to simply and clearly show the bug:
#define GLIBCXX_DEBUGDEFINED "1"
#define GLIBCXX_DEBUGDEFINED "<undefined>"
in >> value;
std::cout << "Original value was: " << svalue << std::endl;
<< "With GLIBCXXDEBUG="
<< " value is "
<< value << std::endl;
Try running with default debug and release settings. Then try debug bug without these macros.
My bug will certainly be rejected as a duplicate.
I am beginning to take a perverse pleasure in filing 10.6 bugs.
But this is a very important plot point - in 10.6 you must remove the macros "GLIBCXXDEBUG=1 GLIBCXX_DEBUGPEDANTIC=1".