|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53381 - trunk/tools/build/v2/tools
From: ghost_at_[hidden]
Date: 2009-05-29 04:34:06
Author: vladimir_prus
Date: 2009-05-29 04:34:04 EDT (Fri, 29 May 2009)
New Revision: 53381
URL: http://svn.boost.org/trac/boost/changeset/53381
Log:
Implement warnings control for sun.
Patch from John W. Bito.
Closes #2966.
Text files modified:
trunk/tools/build/v2/tools/sun.jam | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: trunk/tools/build/v2/tools/sun.jam
==============================================================================
--- trunk/tools/build/v2/tools/sun.jam (original)
+++ trunk/tools/build/v2/tools/sun.jam 2009-05-29 04:34:04 EDT (Fri, 29 May 2009)
@@ -52,6 +52,10 @@
flags sun.compile OPTIONS <optimization>speed : -xO4 ;
flags sun.compile OPTIONS <optimization>space : -xO2 -xspace ;
flags sun.compile OPTIONS <threading>multi : -mt ;
+flags sun.compile OPTIONS <warnings>off : -erroff ;
+flags sun.compile OPTIONS <warnings>on : -erroff=%none ;
+flags sun.compile OPTIONS <warnings>all : -erroff=%none
+flags sun.compile OPTIONS <warnings-as-errors>on : -errwarn ;
flags sun.compile.c++ OPTIONS <inlining>off : +d ;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk