[Bug translator/12137] SDT fails -pedantic with too-long strings
mjw at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Oct 20 09:04:00 GMT 2010
http://sourceware.org/bugzilla/show_bug.cgi?id=12137
Mark Wielaard <mjw at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mjw at redhat dot com
--- Comment #5 from Mark Wielaard <mjw at redhat dot com> 2010-10-20 09:04:09 UTC ---
Note that in previous versions of sdt.h we used __extension__ to suppress any
-pedantic warnings for "weird" constructs:
http://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html
`-pedantic' and other options cause warnings for many GNU C
extensions. You can prevent such warnings within one expression by
writing `__extension__' before the expression. `__extension__' has no
effect aside from this.
But I have some trouble figuring out where the expression starts in this case.
Apparently __asm__ isn't an expression. hmmm.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Systemtap
mailing list