diff options
author | imarom <imarom@cisco.com> | 2015-11-08 15:08:07 +0200 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2015-11-08 15:08:07 +0200 |
commit | 38dc2db83370ee9d2483a09f4451a5c0f1167cee (patch) | |
tree | 3f8b2d4f5efa627a2e8a7da4ca2623e1a91c2d80 /linux | |
parent | bc7d9ee81604fd33607569ac4f03ca8b91777b29 (diff) |
fixed all warnings
now compiles with -Wall -Werror
Diffstat (limited to 'linux')
-rwxr-xr-x | linux/ws_main.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/linux/ws_main.py b/linux/ws_main.py index 951d89b1..d020411a 100755 --- a/linux/ws_main.py +++ b/linux/ws_main.py @@ -393,11 +393,13 @@ class build_option: build_types = [ - build_option(name = "bp-sim", src = bp, debug_mode= DEBUG_, platform = PLATFORM_64, is_pie = False), - build_option(name = "bp-sim", src = bp, debug_mode= RELEASE_,platform = PLATFORM_64, is_pie = False), + build_option(name = "bp-sim", src = bp, debug_mode= DEBUG_, platform = PLATFORM_64, is_pie = False, + flags = ['-Wall', '-Werror', '-Wno-sign-compare', '-Wno-strict-aliasing']), + build_option(name = "bp-sim", src = bp, debug_mode= RELEASE_,platform = PLATFORM_64, is_pie = False, + flags = ['-Wall', '-Werror', '-Wno-sign-compare', '-Wno-strict-aliasing']), build_option(name = "mock-rpc-server", use = ['zmq'], src = rpc_server_mock, debug_mode= DEBUG_,platform = PLATFORM_64, is_pie = False, - flags = ['-DTREX_RPC_MOCK_SERVER', '-Wall', '-Wno-sign-compare'], + flags = ['-DTREX_RPC_MOCK_SERVER', '-Wall', '-Werror', '-Wno-sign-compare'], rpath = ['.']), ] |