Skip to content

Commit

Permalink
Relax warning levels on thrift and parser (vesoft-inc#1698)
Browse files Browse the repository at this point in the history
  • Loading branch information
dutor authored Feb 2, 2020
1 parent 0f31dbe commit ee78899
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmake/ThriftGenerate.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ add_library(
${${file_name}-cpp2-SOURCES}
)
target_compile_options(${file_name}_thrift_obj PRIVATE "-Wno-pedantic")
target_compile_options(${file_name}_thrift_obj PRIVATE "-Wno-extra")
add_custom_target(${file_name}_thrift_headers DEPENDS ${${file_name}-cpp2-HEADERS})
if(NOT "${file_name}" STREQUAL "common")
add_dependencies(
Expand Down
2 changes: 1 addition & 1 deletion src/parser/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ add_custom_target(parser_target DEPENDS ${FLEX_Scanner_OUTPUTS} ${BISON_Parser_O

add_flex_bison_dependency(Scanner Parser)

add_compile_options(-Wno-sign-compare -Wno-conversion-null)
add_compile_options(-Wno-sign-compare -Wno-conversion-null -Wno-pedantic -Wno-extra)

nebula_add_library(
parser_obj OBJECT
Expand Down

0 comments on commit ee78899

Please sign in to comment.