I got a hold of an 10.6 system and tried to replicate your problem,
but ended up running into other errors even earlier. Then I saw this:
dhcp-67-116:~ roystgnr$ cat test.C
#include <iostream>
#include <sstream>
#include <string>
#ifdef _GLIBCXX_DEBUG
#define _GLIBCXX_DEBUG_DEFINED "1"
#else
#define _GLIBCXX_DEBUG_DEFINED "<undefined>"
#endif
int main()
{
std::string svalue("42");
std::istringstream in(svalue);
int value;
in >> value;
std::cout << "Original value was: " << svalue << std::endl;
std::cout
<< "With _GLIBCXX_DEBUG="
<< _GLIBCXX_DEBUG_DEFINED
<< " value is "
<< value << std::endl;
return 0;
}
dhcp-67-116:~ roystgnr$ g++ -o test test.C
dhcp-67-116:~ roystgnr$ ./test
Original value was: 42
With _GLIBCXX_DEBUG=<undefined> value is 42
dhcp-67-116:~ roystgnr$ g++ -D_GLIBCXX_DEBUG -o test test.C
dhcp-67-116:~ roystgnr$ ./test
Original value was: 42
With _GLIBCXX_DEBUG=1 value is 0
I hope the static library workaround is sufficient for your problems,
because it's now unreasonably difficult for us to debug problems on
OSX 10.6 with the default compiler.
---
Roy
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users