diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2010-07-26 22:34:25 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2010-07-26 22:34:25 +0000 |
commit | 9831100e5b25c45a678ff763db15c881f26bfa3f (patch) | |
tree | d917dcea6e1282a7b2972d0fed6e62cf58baf93f /XcodeConfig | |
parent | 5d588c34c079b3ac0333c2ef5eed6efb76b31b88 (diff) |
[Author: dmaclach]
Turn off the stdc++ lib debug warnings because they don't work on gcc 4.2.
TBR=thomasvl
DELTA=5 (4 added, 0 deleted, 1 changed)
Diffstat (limited to 'XcodeConfig')
-rw-r--r-- | XcodeConfig/subconfig/Debug.xcconfig | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/XcodeConfig/subconfig/Debug.xcconfig b/XcodeConfig/subconfig/Debug.xcconfig index 7d54d61..719700c 100644 --- a/XcodeConfig/subconfig/Debug.xcconfig +++ b/XcodeConfig/subconfig/Debug.xcconfig @@ -8,9 +8,9 @@ // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the @@ -35,13 +35,17 @@ GCC_GENERATE_DEBUGGING_SYMBOLS = YES GCC_WARN_UNINITIALIZED_AUTOS = NO // Turns on special C++ STL checks to "encourage" good STL use -GTM_CONFIGURATION_GCC_PREPROCESSOR_DEFINITIONS = _GLIBCXX_DEBUG_PEDANTIC _GLIBCXX_DEBUG _GLIBCPP_CONCEPT_CHECKS DEBUG=1 +// Currently turned off as this is broken using gcc 4.2, and there's no good way +// to conditionalize it. +// http://stackoverflow.com/questions/1416096/c-debug-builds-broke-in-snow-leopard-x-code +//GTM_CONFIGURATION_GCC_PREPROCESSOR_DEFINITIONS = _GLIBCXX_DEBUG_PEDANTIC _GLIBCXX_DEBUG _GLIBCPP_CONCEPT_CHECKS DEBUG=1 +GTM_CONFIGURATION_GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 // Turns on stack protection on debug builds for Leopard and above GTM_CONFIGURATION_OTHER_CFLAGS = -fstack-protector -fstack-protector-all // Stack protection doesn't exist on Tiger GTM_CONFIGURATION_OTHER_CFLAGS[sdk=macosx10.4*] = -// And is really broken on the iPhone Device. Works on simulator though. +// And is really broken on the iPhone Device. Works on simulator though. // rdar://639430 Xcode generates bad Arm code if -fstack-protector -fstack-protector-all GTM_CONFIGURATION_OTHER_CFLAGS[sdk=iphoneos*] = |