gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNUstep.h doesn't compile in C++11


From: Kal
Subject: GNUstep.h doesn't compile in C++11
Date: Tue, 07 May 2013 20:27:01 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5

Hi,
GNUstep.h doesn't compile with clang in C++11 mode. I get the following
errors:

/opt/GNUstep/Local/Library/Headers/GNUstepBase/GNUstep.h:347:19: error:
invalid suffix on literal; C++11 requires a space between literal and
identifier [-Wreserved-user-defined-literal]
      PRIuPTR", %"PRIuPTR" } extends beyond size (%"PRIuPTR")", \
                  ^
 /opt/GNUstep/Local/Library/Headers/GNUstepBase/GNUstep.h:347:53: error:
invalid suffix on literal; C++11 requires a space between literal and
identifier [-Wreserved-user-defined-literal]
      PRIuPTR", %"PRIuPTR" } extends beyond size (%"PRIuPTR")", \
                                                    ^
 /opt/GNUstep/Local/Library/Headers/GNUstepBase/GNUstep.h:356:30: error:
invalid suffix on literal; C++11 requires a space between literal and
identifier [-Wreserved-user-defined-literal]
    format: @"in %s, index %"PRIuPTR" is out of range", \

Can someone commit the trivial fix for this?

Thanks!
Kal



reply via email to

[Prev in Thread] Current Thread [Next in Thread]