diff options
author | fche <fche> | 2007-02-19 18:28:52 +0000 |
---|---|---|
committer | fche <fche> | 2007-02-19 18:28:52 +0000 |
commit | 78f6bba6ce01c217f8f92adbdf99e8f82ab47573 (patch) | |
tree | a19863cb0f1618535549004e2d86b4742f9ba00c /translate.cxx | |
parent | 745250945beabc4507aaeec9e2af50ce3690dda8 (diff) | |
download | systemtap-steved-78f6bba6ce01c217f8f92adbdf99e8f82ab47573.tar.gz systemtap-steved-78f6bba6ce01c217f8f92adbdf99e8f82ab47573.tar.xz systemtap-steved-78f6bba6ce01c217f8f92adbdf99e8f82ab47573.zip |
2007-02-19 Frank Ch. Eigler <fche@elastic.org>
PR 4078 and more, including patch from
Eugeniy Meshcheryakov <eugen@debian.org>:
* Makefile.am (AM_CXXFLAGS, AM_CFLAGS): Add -Wextra -Wall -Werror
consistently.
* Makefile.in: Regenerated.
(*): Many minor warning fixes.
Diffstat (limited to 'translate.cxx')
-rw-r--r-- | translate.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/translate.cxx b/translate.cxx index 83ee8815..4a2ff6f8 100644 --- a/translate.cxx +++ b/translate.cxx @@ -2099,7 +2099,7 @@ c_unparser::visit_embeddedcode (embeddedcode *s) void -c_unparser::visit_null_statement (null_statement *s) +c_unparser::visit_null_statement (null_statement *) { // visit_statement (s, 0); // @@ -3182,7 +3182,7 @@ c_unparser_assignment::visit_symbol (symbol *e) void c_unparser::visit_target_symbol (target_symbol* e) { - throw semantic_error("cannot translate general target-symbol expression"); + throw semantic_error("cannot translate general target-symbol expression", e->tok); } @@ -3947,7 +3947,7 @@ c_unparser::visit_stat_op (stat_op* e) void -c_unparser::visit_hist_op (hist_op* e) +c_unparser::visit_hist_op (hist_op*) { // Hist ops can only occur in a limited set of circumstances: // |