From be6c71d7cbfe4a3de0fc717c9f4effb54a2c2310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Sch=C3=B6pflin?= Date: Fri, 24 Feb 2006 09:31:59 +0000 Subject: [PATCH] Don't suppress any warnings by default, display warnings with tag instead of number. [SVN r33098] --- src/tools/hp_cxx.jam | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/tools/hp_cxx.jam b/src/tools/hp_cxx.jam index e8d06a225..12671259e 100644 --- a/src/tools/hp_cxx.jam +++ b/src/tools/hp_cxx.jam @@ -111,6 +111,9 @@ flags hp_cxx.compile.c++ OPTIONS cxxarm : -model arm ; flags hp_cxx.link OPTIONS : -model ansi : : hack-hack ; flags hp_cxx.link OPTIONS cxxarm : -model arm ; +# Display a descriptive tag together with each compiler message. This tag can +# be used by the user to explicitely suppress the compiler message. +flags hp_cxx.compile OPTIONS : -msg_display_tag ; flags hp_cxx.compile OPTIONS ; flags hp_cxx.compile.c++ OPTIONS ; @@ -144,17 +147,18 @@ actions link.dll bind LIBRARIES # is the default, no special flag is needed. actions compile.c { - $(.root:E=)cc -msg_display_number -msg-disable 186,450,1115 -c $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -o "$(<)" "$(>)" + $(.root:E=)cc -c $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -o "$(<)" "$(>)" } -# Note: DON'T disable warning 1133 -- the compiler is buggy and you -# really can't ignore this one! -# -# The compiler is forced to compile the files as C++ (-x cxx) because +# Note: The compiler is forced to compile the files as C++ (-x cxx) because # otherwise it will silently ignore files with no file extension. +# +# Note: We deliberately don't suppress any warnings on the compiler command +# line, the user can always do this in a customized toolset later on. + actions compile.c++ { - $(CONFIG_COMMAND) -x cxx -c -std strict_ansi -nopure_cname -noimplicit_include -timplicit_local -ptr "$(<[1]:D)/cxx_repository" -msg_display_number -msg_disable 186,450,1115 $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -o "$(<)" "$(>)" + $(CONFIG_COMMAND) -x cxx -c -std strict_ansi -nopure_cname -noimplicit_include -timplicit_local -ptr "$(<[1]:D)/cxx_repository" $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -o "$(<)" "$(>)" } # Always create archive from scratch. See the gcc toolet for rationale.