Index: MultiSource/Applications/Burg/CMakeLists.txt =================================================================== --- MultiSource/Applications/Burg/CMakeLists.txt +++ MultiSource/Applications/Burg/CMakeLists.txt @@ -1,5 +1,5 @@ list(APPEND CPPFLAGS -DDEBUG) -list(APPEND CFLAGS -std=gnu89) +list(APPEND CFLAGS -std=gnu89 -Wno-int-conversion) set(RUN_OPTIONS < sample.gr) include_directories(${CMAKE_CURRENT_BINARY_DIR}) Index: MultiSource/Applications/Burg/Makefile =================================================================== --- MultiSource/Applications/Burg/Makefile +++ MultiSource/Applications/Burg/Makefile @@ -2,7 +2,7 @@ PROG = burg CPPFLAGS = -DDEBUG -CFLAGS += -std=gnu89 +CFLAGS += -std=gnu89 -Wno-int-conversion LDFLAGS = -lstdc++ STDIN_FILENAME = $(PROJ_SRC_DIR)/sample.gr Index: MultiSource/Benchmarks/Prolangs-C/assembler/CMakeLists.txt =================================================================== --- MultiSource/Benchmarks/Prolangs-C/assembler/CMakeLists.txt +++ MultiSource/Benchmarks/Prolangs-C/assembler/CMakeLists.txt @@ -1,2 +1,3 @@ +list(APPEND CFLAGS -Wno-int-conversion) list(APPEND LDFLAGS -lm) llvm_multisource(assembler) Index: MultiSource/Benchmarks/Prolangs-C/assembler/Makefile =================================================================== --- MultiSource/Benchmarks/Prolangs-C/assembler/Makefile +++ MultiSource/Benchmarks/Prolangs-C/assembler/Makefile @@ -2,5 +2,6 @@ PROG = assembler LDFLAGS = -lm +CFLAGS += -Wno-int-conversion include $(LEVEL)/MultiSource/Makefile.multisrc Index: MultiSource/Benchmarks/Prolangs-C/bison/CMakeLists.txt =================================================================== --- MultiSource/Benchmarks/Prolangs-C/bison/CMakeLists.txt +++ MultiSource/Benchmarks/Prolangs-C/bison/CMakeLists.txt @@ -1,4 +1,4 @@ -list(APPEND CFLAGS -Wno-implicit-function-declaration -Wno-implicit-int) +list(APPEND CFLAGS -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion) set(RUN_OPTIONS parse.y.in -v) llvm_multisource(mybison) llvm_test_data(mybison parse.y.in) Index: MultiSource/Benchmarks/Prolangs-C/bison/Makefile =================================================================== --- MultiSource/Benchmarks/Prolangs-C/bison/Makefile +++ MultiSource/Benchmarks/Prolangs-C/bison/Makefile @@ -1,6 +1,6 @@ LEVEL = ../../../.. -CFLAGS += -Wno-implicit-function-declaration -Wno-implicit-int +CFLAGS += -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion PROG = mybison RUN_OPTIONS = $(PROJ_SRC_DIR)/parse.y.in -v Index: MultiSource/Benchmarks/Prolangs-C/football/CMakeLists.txt =================================================================== --- MultiSource/Benchmarks/Prolangs-C/football/CMakeLists.txt +++ MultiSource/Benchmarks/Prolangs-C/football/CMakeLists.txt @@ -1 +1,2 @@ +list(APPEND CFLAGS -Wno-int-conversion) llvm_multisource(football) Index: MultiSource/Benchmarks/Prolangs-C/football/Makefile =================================================================== --- MultiSource/Benchmarks/Prolangs-C/football/Makefile +++ MultiSource/Benchmarks/Prolangs-C/football/Makefile @@ -1,5 +1,6 @@ LEVEL = ../../../.. PROG = football +CFLAGS += -Wno-int-conversion include $(LEVEL)/MultiSource/Makefile.multisrc Index: MultiSource/Benchmarks/Prolangs-C/unix-smail/CMakeLists.txt =================================================================== --- MultiSource/Benchmarks/Prolangs-C/unix-smail/CMakeLists.txt +++ MultiSource/Benchmarks/Prolangs-C/unix-smail/CMakeLists.txt @@ -1,3 +1,4 @@ +list(APPEND CFLAGS -Wno-int-conversion) set(RUN_OPTIONS -v ALL < main.c) llvm_multisource(unix-smail) llvm_test_data(unix-smail main.c) Index: MultiSource/Benchmarks/Prolangs-C/unix-smail/Makefile =================================================================== --- MultiSource/Benchmarks/Prolangs-C/unix-smail/Makefile +++ MultiSource/Benchmarks/Prolangs-C/unix-smail/Makefile @@ -1,6 +1,7 @@ LEVEL = ../../../.. PROG = unix-smail +CFLAGS += -Wno-int-conversion RUN_OPTIONS = -v ALL STDIN_FILENAME = $(PROJ_SRC_DIR)/main.c Index: MultiSource/Benchmarks/TSVC/Recurrences-flt/CMakeLists.txt =================================================================== --- MultiSource/Benchmarks/TSVC/Recurrences-flt/CMakeLists.txt +++ MultiSource/Benchmarks/TSVC/Recurrences-flt/CMakeLists.txt @@ -1,4 +1,4 @@ list(APPEND LDFLAGS -lm) -list(APPEND CFLAGS -std=gnu99) +list(APPEND CFLAGS -std=gnu99 -Wno-int-conversion) set(RUN_OPTIONS 20000 5) llvm_multisource(Recurrences-flt) Index: MultiSource/Benchmarks/TSVC/Recurrences-flt/Makefile =================================================================== --- MultiSource/Benchmarks/TSVC/Recurrences-flt/Makefile +++ MultiSource/Benchmarks/TSVC/Recurrences-flt/Makefile @@ -2,7 +2,7 @@ PROG = Recurrences-flt LDFLAGS = -lm -CFLAGS += -std=gnu99 +CFLAGS += -std=gnu99 -Wno-int-conversion RUN_OPTIONS = 20000 5 include $(LEVEL)/MultiSource/Makefile.multisrc Index: MultiSource/Benchmarks/VersaBench/beamformer/CMakeLists.txt =================================================================== --- MultiSource/Benchmarks/VersaBench/beamformer/CMakeLists.txt +++ MultiSource/Benchmarks/VersaBench/beamformer/CMakeLists.txt @@ -1,3 +1,4 @@ +list(APPEND CFLAGS -Wno-int-conversion) list(APPEND LDFLAGS -lm) if(LARGE_PROBLEM_SIZE) set(RUN_OPTIONS -i 400) Index: MultiSource/Benchmarks/VersaBench/beamformer/Makefile =================================================================== --- MultiSource/Benchmarks/VersaBench/beamformer/Makefile +++ MultiSource/Benchmarks/VersaBench/beamformer/Makefile @@ -1,6 +1,6 @@ LEVEL = ../../../.. LDFLAGS += -lm -CFLAGS += -DFP_ABSTOLERANCE=1e-5 +CFLAGS += -DFP_ABSTOLERANCE=1e-5 -Wno-int-conversion PROG = beamformer ifdef LARGE_PROBLEM_SIZE Index: SingleSource/Regression/C/gcc-c-torture/execute/CMakeLists.txt =================================================================== --- SingleSource/Regression/C/gcc-c-torture/execute/CMakeLists.txt +++ SingleSource/Regression/C/gcc-c-torture/execute/CMakeLists.txt @@ -1,7 +1,7 @@ add_subdirectory(ieee) # GCC C Torture Suite is conventionally run without warnings -list(APPEND CFLAGS -Wno-implicit-int -Wno-implicit-function-declaration -w) +list(APPEND CFLAGS -Wno-implicit-int -Wno-int-conversion -Wno-implicit-function-declaration -w) set(TestsToSkip)