Skip to content

Commit

Permalink
Fix gcc warning for lower version
Browse files Browse the repository at this point in the history
  • Loading branch information
yixinglu committed Jan 6, 2020
1 parent af3b2e9 commit 3e48d9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
- centos7
- ubuntu1604
- ubuntu1804
compiler: [gcc, clang]
compiler:
- gcc
# - clang
exclude:
- tag: centos6
compiler: clang
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-error=sign-compare)
add_compile_options(-Wno-sign-compare)

nebula_add_library(
parser_obj OBJECT
Expand Down

0 comments on commit 3e48d9a

Please sign in to comment.