Re: C++ debug problem with gcc 4.2 installed by Xcode 3.1
Re: C++ debug problem with gcc 4.2 installed by Xcode 3.1
- Subject: Re: C++ debug problem with gcc 4.2 installed by Xcode 3.1
- From: Chris Espinosa <email@hidden>
- Date: Sat, 12 Jul 2008 10:01:29 -0700
On Jul 12, 2008, at 3:03 AM, Rhys Hill <email@hidden>
wrote:
Hi everyone,
I've found the following problem. Given this code:
#include <iostream>
int main(int argc, char** argv) {
std::cout << "Hello!" << std::endl;
return 0;
}
compiled via
g++-4.2 -D_GLIBCXX_DEBUG test.cpp -o test
the following error occurs:
/usr/include/c++/4.0.0/i686-apple-darwin9/bits/c++config.h:79:
error: current namespace ‘std’ does not enclose strongly used namesp
ace ‘__gnu_debug_def’
I've briefly compared this file to the 4.2 version on Linux, and
it's quite
different. Does anyone know of a solution to this problem? Debugging
mode is quite
useful when checking STL code.
STL debug mode is not yet supported in gcc 4.2.
Chris _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden