This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/12137] SDT fails -pedantic with too-long strings


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]