Permalink
Browse files

Removed all "different visibility" warnings but 1 when compiling for …

…release.

Set GCC_INLINES_ARE_PRIVATE_EXTERN and GCC_SYMBOLS_PRIVATE_EXTERN to NO for both
Debug and Release configurations of the Platinum project file AND the Platinum
target. It is important to do both the project file and the target, otherwise
the effect won't.
  • Loading branch information...
1 parent dd578d8 commit 3d3b9ad6f80d82de4bc3715c9d78f0c0bce42aa1 @baalexander committed Jan 7, 2011
@@ -664,16 +664,16 @@
E42D3AB60FDC86A60045379C /* PltSimple.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PltSimple.cpp; sourceTree = "<group>"; };
E42D3AB70FDC86A60045379C /* SimpleTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SimpleTest.cpp; sourceTree = "<group>"; };
E42D3AB90FDC86A60045379C /* SsdpTest1.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SsdpTest1.cpp; sourceTree = "<group>"; };
- E42D3ABD0FDC87130045379C /* MediaCrawler */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = MediaCrawler; sourceTree = BUILT_PRODUCTS_DIR; };
- E42D3AD30FDC87DB0045379C /* MediaConnect */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = MediaConnect; sourceTree = BUILT_PRODUCTS_DIR; };
- E42D3ADD0FDC87F50045379C /* MicroMediaController */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = MicroMediaController; sourceTree = BUILT_PRODUCTS_DIR; };
- E42D3AE70FDC880D0045379C /* FrameStreamer */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = FrameStreamer; sourceTree = BUILT_PRODUCTS_DIR; };
- E42D3B1B0FDC895A0045379C /* FileMediaServerTest */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = FileMediaServerTest; sourceTree = BUILT_PRODUCTS_DIR; };
- E42D3B260FDC89720045379C /* HttpTest */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = HttpTest; sourceTree = BUILT_PRODUCTS_DIR; };
- E42D3B390FDC89B70045379C /* LightSampleTest */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = LightSampleTest; sourceTree = BUILT_PRODUCTS_DIR; };
- E42D3B450FDC89CD0045379C /* MediaRendererTest */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = MediaRendererTest; sourceTree = BUILT_PRODUCTS_DIR; };
- E42D3B500FDC89E10045379C /* SimpleTest */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = SimpleTest; sourceTree = BUILT_PRODUCTS_DIR; };
- E42D3B5C0FDC89FC0045379C /* SsdpTest */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = SsdpTest; sourceTree = BUILT_PRODUCTS_DIR; };
+ E42D3ABD0FDC87130045379C /* MediaCrawler */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = MediaCrawler; sourceTree = BUILT_PRODUCTS_DIR; };
+ E42D3AD30FDC87DB0045379C /* MediaConnect */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = MediaConnect; sourceTree = BUILT_PRODUCTS_DIR; };
+ E42D3ADD0FDC87F50045379C /* MicroMediaController */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = MicroMediaController; sourceTree = BUILT_PRODUCTS_DIR; };
+ E42D3AE70FDC880D0045379C /* FrameStreamer */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = FrameStreamer; sourceTree = BUILT_PRODUCTS_DIR; };
+ E42D3B1B0FDC895A0045379C /* FileMediaServerTest */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = FileMediaServerTest; sourceTree = BUILT_PRODUCTS_DIR; };
+ E42D3B260FDC89720045379C /* HttpTest */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = HttpTest; sourceTree = BUILT_PRODUCTS_DIR; };
+ E42D3B390FDC89B70045379C /* LightSampleTest */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = LightSampleTest; sourceTree = BUILT_PRODUCTS_DIR; };
+ E42D3B450FDC89CD0045379C /* MediaRendererTest */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = MediaRendererTest; sourceTree = BUILT_PRODUCTS_DIR; };
+ E42D3B500FDC89E10045379C /* SimpleTest */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = SimpleTest; sourceTree = BUILT_PRODUCTS_DIR; };
+ E42D3B5C0FDC89FC0045379C /* SsdpTest */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = SsdpTest; sourceTree = BUILT_PRODUCTS_DIR; };
E43154FE0D6FFDEB00899579 /* PltAction.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = PltAction.cpp; path = ../../../Source/Core/PltAction.cpp; sourceTree = SOURCE_ROOT; };
E43154FF0D6FFDEB00899579 /* PltAction.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = PltAction.h; path = ../../../Source/Core/PltAction.h; sourceTree = SOURCE_ROOT; };
E43155000D6FFDEB00899579 /* PltArgument.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = PltArgument.cpp; path = ../../../Source/Core/PltArgument.cpp; sourceTree = SOURCE_ROOT; };
@@ -751,7 +751,7 @@
E43EEEFD101E1AEF007A9CE7 /* Platinum.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Platinum.h; sourceTree = "<group>"; };
E43EEEFE101E1AEF007A9CE7 /* PltSvnVersion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PltSvnVersion.h; sourceTree = "<group>"; };
E43EEEFF101E1AEF007A9CE7 /* PltVersion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PltVersion.h; sourceTree = "<group>"; };
- E43F6BC510F1B74E00C97612 /* TimeTest */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = TimeTest; sourceTree = BUILT_PRODUCTS_DIR; };
+ E43F6BC510F1B74E00C97612 /* TimeTest */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = TimeTest; sourceTree = BUILT_PRODUCTS_DIR; };
E43F6BC810F1B78400C97612 /* TimeTest1.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TimeTest1.cpp; sourceTree = "<group>"; };
E481576A11350F9400A786DA /* Neptune.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Neptune.xcodeproj; path = "../../../../Neptune/Build/Targets/universal-apple-macosx/Neptune.xcodeproj"; sourceTree = SOURCE_ROOT; };
E4A7DB76108596B900E6ADE2 /* AVTransportSCPD.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AVTransportSCPD.cpp; sourceTree = "<group>"; };
@@ -2221,9 +2221,9 @@
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_ENABLE_SYMBOL_SEPARATION = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
- GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
+ GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
GCC_MODEL_TUNING = G5;
- GCC_SYMBOLS_PRIVATE_EXTERN = YES;
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO;
INSTALL_PATH = /usr/local/lib;
PRODUCT_NAME = Platinum;
@@ -2239,9 +2239,9 @@
"ARCHS[sdk=iphonesimulator*]" = i386;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_GENERATE_TEST_COVERAGE_FILES = NO;
- GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
+ GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
GCC_PREPROCESSOR_DEFINITIONS = NPT_CONFIG_ENABLE_LOGGING;
- GCC_SYMBOLS_PRIVATE_EXTERN = YES;
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO;
GCC_TREAT_NONCONFORMANT_CODE_ERRORS_AS_WARNINGS = YES;
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
@@ -2790,8 +2790,10 @@
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_GENERATE_TEST_COVERAGE_FILES = NO;
+ GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = NPT_CONFIG_ENABLE_LOGGING;
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO;
GCC_TREAT_NONCONFORMANT_CODE_ERRORS_AS_WARNINGS = YES;
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
@@ -2832,7 +2834,9 @@
buildSettings = {
DOXYGEN_PATH = /Applications/Doxygen.app/Contents/Resources/doxygen;
GCC_ENABLE_SYMBOL_SEPARATION = YES;
+ GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
GCC_MODEL_TUNING = G5;
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO;
PRODUCT_NAME = Platinum;
SEPARATE_STRIP = NO;

0 comments on commit 3d3b9ad

Please sign in to comment.