Changeset 142903 in webkit for trunk/Source/JavaScriptCore/Configurations/Base.xcconfig
- Timestamp:
- Feb 14, 2013, 1:16:47 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/Configurations/Base.xcconfig
r132925 r142903 49 49 GCC_TREAT_WARNINGS_AS_ERRORS = YES; 50 50 GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 51 // FIXME: <http://webkit.org/b/109834> JavaSciptCore should build with -Wshorten-64-to-32 52 GCC_WARN_64_TO_32_BIT_CONVERSION = $(GCC_WARN_64_TO_32_BIT_CONVERSION_$(CURRENT_ARCH)); 53 GCC_WARN_64_TO_32_BIT_CONVERSION_ = YES; 54 GCC_WARN_64_TO_32_BIT_CONVERSION_armv7 = YES; 55 GCC_WARN_64_TO_32_BIT_CONVERSION_armv7s = YES; 56 GCC_WARN_64_TO_32_BIT_CONVERSION_i386 = YES; 57 GCC_WARN_64_TO_32_BIT_CONVERSION_x86_64 = NO; 51 58 GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO; 52 59 GCC_WARN_ABOUT_MISSING_NEWLINE = YES; … … 60 67 VALID_ARCHS_iphonesimulator = $(ARCHS_STANDARD_32_BIT); 61 68 VALID_ARCHS_macosx = i386 ppc x86_64 ppc64 $(ARCHS_UNIVERSAL_IPHONE_OS); 62 WARNING_CFLAGS_BASE = -Wall -Wextra -Wcast-qual -Wchar-subscripts -Wextra-tokens -Wformat=2 -Winit-self -Wmissing-format-attribute -Wmissing-noreturn -Wpacked -Wpointer-arith -Wredundant-decls -Wundef -Wwrite-strings -Wexit-time-destructors -Wglobal-constructors -Wtautological-compare; 63 WARNING_CFLAGS = $(WARNING_CFLAGS_$(PLATFORM_NAME)); 64 WARNING_CFLAGS_iphoneos = $(WARNING_CFLAGS_BASE) -Wshorten-64-to-32; 65 WARNING_CFLAGS_iphonesimulator = $(WARNING_CFLAGS_BASE) -Wshorten-64-to-32; 66 WARNING_CFLAGS_macosx = $(WARNING_CFLAGS_macosx_$(CURRENT_ARCH)); 67 WARNING_CFLAGS_macosx_ = $(WARNING_CFLAGS_BASE) -Wshorten-64-to-32; 68 WARNING_CFLAGS_macosx_i386 = $(WARNING_CFLAGS_BASE) -Wshorten-64-to-32; 69 WARNING_CFLAGS_macosx_ppc = $(WARNING_CFLAGS_BASE) -Wshorten-64-to-32; 70 // FIXME: JavaScriptCore 64-bit builds should build with -Wshorten-64-to-32 71 WARNING_CFLAGS_macosx_x86_64 = $(WARNING_CFLAGS_BASE); 69 WARNING_CFLAGS = -Wall -Wextra -Wcast-qual -Wchar-subscripts -Wextra-tokens -Wformat=2 -Winit-self -Wmissing-format-attribute -Wmissing-noreturn -Wpacked -Wpointer-arith -Wredundant-decls -Wundef -Wwrite-strings -Wexit-time-destructors -Wglobal-constructors -Wtautological-compare; 72 70 HEADER_SEARCH_PATHS = . icu "${BUILT_PRODUCTS_DIR}/usr/local/include" $(HEADER_SEARCH_PATHS); 73 71
Note:
See TracChangeset
for help on using the changeset viewer.