|
Notes |
|
|
(0009831)
|
|
Miguel Figueroa
|
|
2007-12-04 20:02
|
|
I helped diagnose this problem. My understanding is that the following code in Platform/Darwin.cmake @ lines 101-104 should reset the use of -isystem:
# Xcode does not support -isystem yet.
IF(XCODE)
SET(CMAKE_INCLUDE_SYSTEM_FLAG_C)
SET(CMAKE_INCLUDE_SYSTEM_FLAG_CXX)
ENDIF(XCODE)
So that, when INCLUDE_DIRECTORIES(SYSTEM ${wxWidgets_INCLUDE_DIRS}) is called from the UsewxWidgets.cmake file the system knows to use the -isystem flag only in systems which support this and XCODE is not one of them apparently.
I don't have a system to debug where is it that -isystem gets set, but according to the snippet of code above I would think that the SYSTEM option in the INCLUDE_DIRECTORIES command should be ignored for XCode...
--Miguel |
|
|
|
(0009832)
|
|
Steven Van Ingelgem
|
|
2007-12-05 02:18
|
|
|
Miguel, not only for XCode ah? Just for GCC on a Mac (XCode is just the IDE, but it still uses GCC on a Mac - and GCC for Mac seems to freak out with the -isystem parameter). |
|
|
|
(0009903)
|
|
Bill Hoffman
|
|
2007-12-14 14:44
|
|
|
Can you give an example where this fails? We do lots of mac dashboards with lots of tests, and this code works just fine. |
|
|
|
(0009921)
|
|
Steven Van Ingelgem
|
|
2007-12-15 03:36
|
|
|
Hi, I just attached a test-case which I also sent Miguel which shows this behaviour. |
|
|
|
(0010108)
|
|
Bill Hoffman
|
|
2008-01-10 15:41
|
|
|
So, what version of gcc on the mac has trouble with this? I just tried and -isystem seems to work and gives no warnings on two different OSX machines. |
|
|
|
(0010110)
|
|
Steven Van Ingelgem
|
|
2008-01-10 15:44
|
|
|
I'm using 4.0.1 (the one from XCode 2.5) on a 10.4.11 G3 Mac. The test case failed for me at the time of writing. |
|
|
|
(0010111)
|
|
Bill Hoffman
|
|
2008-01-10 15:55
|
|
|
What is the error you get, when it tries to use -isystem |
|
|
|
(0013691)
|
|
Bill Hoffman
|
|
2008-10-01 17:03
|
|
|
I still can not reproduce this? |
|
|
|
(0039077)
|
|
Robert Maynard
|
|
2015-07-08 08:57
|
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|