This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/12137] SDT fails -pedantic with too-long strings
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: Wed, 20 Oct 2010 09:04:26 +0000
- Subject: [Bug translator/12137] SDT fails -pedantic with too-long strings
- Auto-submitted: auto-generated
- References: <bug-12137-1110@http.sourceware.org/bugzilla/>
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.