Re: ostringstream problem with numbers
Re: ostringstream problem with numbers
- Subject: Re: ostringstream problem with numbers
- From: Paxton Sanders <email@hidden>
- Date: Fri, 23 Oct 2009 13:26:56 -0500
On Oct 23, 2009, at 12:48 PM, Chris Espinosa wrote: On Oct 23, 2009, at 10:35 AM, Paxton Sanders wrote: Gotcha. Is there a way in Xcode to make this the default for all C++ projects I create in the future?
Using admin privileges, edit the following files. (Best way: at the command line, sudo chmod ugo+w on each file, then use xed to open them in Xcode):
/Developer/Library/Xcode/Project Templates/Application/Command Line Tool/C++ Tool/C++Tool.xcodeproj/project.pbxproj /Developer/Library/Xcode/Project Templates/Framework & Library/STL C++ Library/C++ Dynamic Library/CppShared.xcodeproj/project.pbxproj /Developer/Library/Xcode/Project Templates/Framework & Library/STL C++ Library/C++ Standard Dynamic Library/CppShared.xcodeproj/project.pbxproj /Developer/Library/Xcode/Project Templates/System Plug-in/Generic C++ Plug-in/Generic C++ Plugin.xcodeproj/project.pbxproj
In each file you'll find an entry that looks like this:
GCC_PREPROCESSOR_DEFINITIONS = ( "_GLIBCXX_DEBUG=1", "_GLIBCXX_DEBUG_PEDANTIC=1", );
Just delete those lines and save the files.
These instructions work as described (or I had an unexpected stroke of good luck, which is unlikely). I created a new project after making the edits and it works as expected.
Thanks for all your help.
Cheers!
|
_______________________________________________
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