Skip to content

Commit

Permalink
Show more warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Oct 6, 2024
1 parent b10dbd5 commit 59b0130
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ext/or-tools/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@

$CXXFLAGS << " -std=c++17 $(optflags) -DUSE_CBC"

# or-tools warnings
$CXXFLAGS << " -Wno-sign-compare -Wno-shorten-64-to-32 -Wno-ignored-qualifiers"
# show warnings
$CXXFLAGS << " -Wall -Wextra"

# hide or-tools warnings
$CXXFLAGS << " -Wno-sign-compare -Wno-shorten-64-to-32 -Wno-ignored-qualifiers -Wno-unused-parameter -Wno-missing-field-initializers"

inc, lib = dir_config("or-tools")
if inc || lib
Expand Down

0 comments on commit 59b0130

Please sign in to comment.