diff options
author | davilla <davilla@4pi.com> | 2012-07-31 22:22:39 -0400 |
---|---|---|
committer | davilla <davilla@4pi.com> | 2012-07-31 22:22:39 -0400 |
commit | 2ceb5f8e2a5c03a17d2bd768ddb75182379871bd (patch) | |
tree | 29a07621e0d892e054559d358b2d92daecdc6543 | |
parent | 66d6fc3f22c4a3e7869fe6c536a5efa5789536f9 (diff) |
[osx/ios] fixed compiler warnings, move -Wreorder to WARNING_CFLAGS to OTHER_CPLUSPLUSFLAGS, it is a c++/objc compiler flag
-rw-r--r-- | XBMC-ATV2.xcodeproj/project.pbxproj | 12 | ||||
-rw-r--r-- | XBMC-IOS.xcodeproj/project.pbxproj | 12 | ||||
-rw-r--r-- | XBMC.xcodeproj/project.pbxproj | 12 |
3 files changed, 30 insertions, 6 deletions
diff --git a/XBMC-ATV2.xcodeproj/project.pbxproj b/XBMC-ATV2.xcodeproj/project.pbxproj index 0e8b290b67..62f511d502 100644 --- a/XBMC-ATV2.xcodeproj/project.pbxproj +++ b/XBMC-ATV2.xcodeproj/project.pbxproj @@ -7308,6 +7308,10 @@ "\"$(SRCROOT)/lib/ffmpeg/libpostproc\"", "\"$(SRCROOT)/lib/ffmpeg/libswscale\"", ); + OTHER_CPLUSPLUSFLAGS = ( + "$(OTHER_CFLAGS)", + "-Wreorder", + ); OTHER_LDFLAGS = ( "-Wl,-headerpad_max_install_names", "-Wl,-undefined,dynamic_lookup", @@ -7347,7 +7351,7 @@ PRODUCT_NAME = XBMC; TARGETED_DEVICE_FAMILY = "2,3"; USER_HEADER_SEARCH_PATHS = "$XBMC_DEPENDS/include $XBMC_DEPENDS/include/mysql $XBMC_DEPENDS/include/freetype2 $XBMC_DEPENDS/include/python2.6"; - WARNING_CFLAGS = "-Wreorder"; + WARNING_CFLAGS = ""; WRAPPER_EXTENSION = frappliance; XBMC_DEPENDS = "/Users/Shared/xbmc-depends/$(SDK_NAME)_$(ARCHS)"; }; @@ -7425,6 +7429,10 @@ "\"$(SRCROOT)/lib/ffmpeg/libpostproc\"", "\"$(SRCROOT)/lib/ffmpeg/libswscale\"", ); + OTHER_CPLUSPLUSFLAGS = ( + "$(OTHER_CFLAGS)", + "-Wreorder", + ); OTHER_LDFLAGS = ( "-Wl,-headerpad_max_install_names", "-Wl,-undefined,dynamic_lookup", @@ -7464,7 +7472,7 @@ PRODUCT_NAME = XBMC; TARGETED_DEVICE_FAMILY = "2,3"; USER_HEADER_SEARCH_PATHS = "$XBMC_DEPENDS/include $XBMC_DEPENDS/include/mysql $XBMC_DEPENDS/include/freetype2 $XBMC_DEPENDS/include/python2.6"; - WARNING_CFLAGS = "-Wreorder"; + WARNING_CFLAGS = ""; WRAPPER_EXTENSION = frappliance; XBMC_DEPENDS = "/Users/Shared/xbmc-depends/$(SDK_NAME)_$(ARCHS)"; }; diff --git a/XBMC-IOS.xcodeproj/project.pbxproj b/XBMC-IOS.xcodeproj/project.pbxproj index b2a1a425a0..3fa55f9ea8 100644 --- a/XBMC-IOS.xcodeproj/project.pbxproj +++ b/XBMC-IOS.xcodeproj/project.pbxproj @@ -7316,6 +7316,10 @@ "\"$(SRCROOT)/lib/ffmpeg/libpostproc\"", "\"$(SRCROOT)/lib/ffmpeg/libswscale\"", ); + OTHER_CPLUSPLUSFLAGS = ( + "$(OTHER_CFLAGS)", + "-Wreorder", + ); OTHER_LDFLAGS = ( "-Wl,-headerpad_max_install_names", "-Wl,-all_load", @@ -7355,7 +7359,7 @@ TARGETED_DEVICE_FAMILY = "1,2"; USER_HEADER_SEARCH_PATHS = "$XBMC_DEPENDS/include $XBMC_DEPENDS/include/mysql $XBMC_DEPENDS/include/freetype2 $XBMC_DEPENDS/include/python2.6"; VALIDATE_PRODUCT = NO; - WARNING_CFLAGS = "-Wreorder"; + WARNING_CFLAGS = ""; WRAPPER_EXTENSION = app; XBMC_DEPENDS = "/Users/Shared/xbmc-depends/$(SDK_NAME)_$(ARCHS)"; }; @@ -7432,6 +7436,10 @@ "\"$(SRCROOT)/lib/ffmpeg/libpostproc\"", "\"$(SRCROOT)/lib/ffmpeg/libswscale\"", ); + OTHER_CPLUSPLUSFLAGS = ( + "$(OTHER_CFLAGS)", + "-Wreorder", + ); OTHER_LDFLAGS = ( "-Wl,-headerpad_max_install_names", "-Wl,-all_load", @@ -7471,7 +7479,7 @@ TARGETED_DEVICE_FAMILY = "1,2"; USER_HEADER_SEARCH_PATHS = "$XBMC_DEPENDS/include $XBMC_DEPENDS/include/mysql $XBMC_DEPENDS/include/freetype2 $XBMC_DEPENDS/include/python2.6"; VALIDATE_PRODUCT = NO; - WARNING_CFLAGS = "-Wreorder"; + WARNING_CFLAGS = ""; WRAPPER_EXTENSION = app; XBMC_DEPENDS = "/Users/Shared/xbmc-depends/$(SDK_NAME)_$(ARCHS)"; }; diff --git a/XBMC.xcodeproj/project.pbxproj b/XBMC.xcodeproj/project.pbxproj index b6f59a5589..b1b27fa812 100644 --- a/XBMC.xcodeproj/project.pbxproj +++ b/XBMC.xcodeproj/project.pbxproj @@ -7395,6 +7395,10 @@ "\"$(SRCROOT)/lib/ffmpeg/libswscale\"", ); LINK_WITH_STANDARD_LIBRARIES = YES; + OTHER_CPLUSPLUSFLAGS = ( + "$(OTHER_CFLAGS)", + "-Wreorder", + ); OTHER_LDFLAGS = ( "-headerpad_max_install_names", "-all_load", @@ -7433,7 +7437,7 @@ ); PRODUCT_NAME = XBMC; USER_HEADER_SEARCH_PATHS = "$XBMC_DEPENDS/include $XBMC_DEPENDS/include/libcec $XBMC_DEPENDS/include/mysql $XBMC_DEPENDS/include/freetype2 $XBMC_DEPENDS/include/python2.6"; - WARNING_CFLAGS = "-Wreorder"; + WARNING_CFLAGS = ""; XBMC_DEPENDS = "/Users/Shared/xbmc-depends/$(SDK_NAME)_$(ARCHS)"; ZERO_LINK = NO; }; @@ -7512,6 +7516,10 @@ "\"$(SRCROOT)/lib/ffmpeg/libswscale\"", ); LINK_WITH_STANDARD_LIBRARIES = YES; + OTHER_CPLUSPLUSFLAGS = ( + "$(OTHER_CFLAGS)", + "-Wreorder", + ); OTHER_LDFLAGS = ( "-headerpad_max_install_names", "-all_load", @@ -7550,7 +7558,7 @@ ); PRODUCT_NAME = XBMC; USER_HEADER_SEARCH_PATHS = "$XBMC_DEPENDS/include $XBMC_DEPENDS/include/libcec $XBMC_DEPENDS/include/mysql $XBMC_DEPENDS/include/freetype2 $XBMC_DEPENDS/include/python2.6"; - WARNING_CFLAGS = "-Wreorder"; + WARNING_CFLAGS = ""; XBMC_DEPENDS = "/Users/Shared/xbmc-depends/$(SDK_NAME)_$(ARCHS)"; ZERO_LINK = NO; }; |