]> sourceware.org Git - systemtap.git/commit - buildrun.cxx
PR13274: Standardized Warning Processing (without elaborate.cxx)
authorChris Meek <cmeek@redhat.com>
Thu, 15 Dec 2011 18:54:43 +0000 (13:54 -0500)
committerChris Meek <cmeek@redhat.com>
Tue, 20 Dec 2011 22:18:35 +0000 (17:18 -0500)
commit2713ea240eec4f55b1354429aa0639ad6491928c
treea53e21acb1a531fbc986466afd7f69c26f601e21
parent7d41bbd29deb79e020e1ee82864dc0ea1471e016
PR13274: Standardized Warning Processing (without elaborate.cxx)

Changed it so we always use session.print_warning() rather than
an explicit call to clog or cerr. (There are a few cases where
the session is not available, so they were left as is, but
marked up with an // XXX needs-session comment.)

Also changed print_warning() to check for suppress_warnings, so
we no longer have to explicitly check for it when calling
print_warning(). There are a few cases where I left in the
explicit check, specifically when there was more code than
just a simple call to print_warning() within it.

Also standardized the use of "WARNING:". All warnings should now
use "WARNING:" rather than "Warning:" or "warning:".
buildrun.cxx
csclient.cxx
dwflpp.cxx
hash.cxx
main.cxx
remote.cxx
session.cxx
setupdwfl.cxx
tapsets.cxx
translate.cxx
util.cxx
This page took 0.027681 seconds and 5 git commands to generate.