summaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2010-02-25 21:14:52 -0500
committerFrank Ch. Eigler <fche@elastic.org>2010-02-25 21:14:52 -0500
commit57a56e00067b4546bb0da15fb00653ee0341f5af (patch)
tree980fb3e65e34b96e298261363139db00820e4c14 /NEWS
parent780f11fff7829a952ded0308f5ee47c65bbfc1c0 (diff)
downloadsystemtap-steved-57a56e00067b4546bb0da15fb00653ee0341f5af.tar.gz
systemtap-steved-57a56e00067b4546bb0da15fb00653ee0341f5af.tar.xz
systemtap-steved-57a56e00067b4546bb0da15fb00653ee0341f5af.zip
PR11075: -W option to turn warnings into errors
* session.h * NEWS: Discuss it. * main.cxx: Parse it. * session.h (num_errors): Provide it. * semok/fortyeight.stp, semok/thirtyseven.stp: Test it.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 85619f8e..d9f70676 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,9 @@
* What's new
+- A new command line flag '-W' forces systemtap to abort translation of
+ a script if any warnings are produced. It is similar to gcc's -Werror.
+ (If '-w' is also supplied to suppress warnings, it wins.)
+
- A new predicate @defined is available for testing whether a
particular $variable/expression is resolvable at translate time:
probe foo { if (@defined($bar)) log ("$bar is available here") }