Skip to content

Commit 7342cf1

Browse files
committed
Enabled float conversion warnings
1 parent ebb69c3 commit 7342cf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ if (MSVC)
160160
add_compile_options(/permissive- /utf-8)
161161
else()
162162
# additional warnings
163-
add_compile_options(-Wall -Wextra -Wpedantic)
163+
add_compile_options(-Wall -Wextra -Wpedantic -Wfloat-conversion)
164164
endif()
165165

166166
add_library(${PROJECT_NAME} ${HEADER_LITEHTML} ${SOURCE_LITEHTML})

0 commit comments

Comments
 (0)