[Bug runtime/13626] gcc 4.7 doesn't compile sdt.h with -std=c++0x

mjw at redhat dot com sourceware-bugzilla@sourceware.org
Thu Jan 26 23:11:00 GMT 2012


http://sourceware.org/bugzilla/show_bug.cgi?id=13626

Mark Wielaard <mjw at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Mark Wielaard <mjw at redhat dot com> 2012-01-26 23:11:22 UTC ---
commit 99712e8716e19293fe1f6dd84854d350e57945e0
Author: Mark Wielaard <mjw@redhat.com>
Date:   Thu Jan 26 23:58:38 2012 +0100

    PR13626 Add extra whitespace in sdt.h to deal with C11/C++11 UDF.

    gcc 4.7 supports C11/C++11 user defined literals (UDF):
    https://en.wikipedia.org/wiki/C%2B%2B11#User-defined_literals
    In std=c++0x mode one now needs to add whitespace between string literals.
    See http://gcc.gnu.org/gcc-4.7/porting_to.html

-- 
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