Skip to content

Commit 986d017

Browse files
committed
enable -Wdouble-promotion by default
1 parent f724bd5 commit 986d017

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build-scripts/runtime_lib.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ endif ()
163163
####################### Common sources #######################
164164
if (NOT MSVC)
165165
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -ffunction-sections -fdata-sections \
166-
-Wall -Wno-unused-parameter -Wno-pedantic")
166+
-Wall -Wdouble-promotion -Wno-unused-parameter -Wno-pedantic")
167167
endif ()
168168

169169
# include the build config template file

0 commit comments

Comments
 (0)