This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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 c++/51282] New: [regression] error: unable to find string literal operator âoperator"" on string literal concatenation


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51282

             Bug #: 51282
           Summary: [regression] error: unable to find string literal
                    operator âoperator"" on string literal concatenation
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mutz@kde.org


Current trunk (well, a few days old):

error: unable to find string literal operator âoperator"" DIR_SEPARATOR_STRINGâ

In this line:
  "abc"DIR_SEPARATOR_STRING"hallo.xxx"
where
  #define DIR_SEPARATOR_STRING "/"

This can be fixed by adding whitespace around DIR_SEPARATOR_STRING, but Qt's
SIGNAL/SLOT macros cannot be fixed that way (there, the concatenation of the
string literals appears in the macro definition, and adding extra whitespace
doesn't help there).


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