After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 724303 - Fail to build gdlmm with C++11 mode enabled
Fail to build gdlmm with C++11 mode enabled
Product: gdl
Classification: Other
Component: general
Other FreeBSD
: Normal normal
: ---
Assigned To: Anjuta maintainers
Anjuta maintainers
Depends on:
Reported: 2014-02-13 15:31 UTC by Ting-Wei Lan
Modified: 2014-03-02 14:17 UTC
See Also:
GNOME target: ---
GNOME version: ---

Fix build when using C++11 mode (905 bytes, patch)
2014-02-13 15:33 UTC, Ting-Wei Lan
committed Details | Review

Description Ting-Wei Lan 2014-02-13 15:31:39 UTC
This is a gdlmm build problem, but it should be fixed in gdl.

I get the error when building gdlmm with CXX="clang++ -std=c++11 -pedantic":

/home/lantw44/gnome/devinstall/include/libgdl-3.0/gdl/gdl-dock-object.h:384:42: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
           "%s:%d (%s) %s [%p %d%s:%d]: "format, \
Comment 1 Ting-Wei Lan 2014-02-13 15:33:42 UTC
Created attachment 269036 [details] [review]
Fix build when using C++11 mode
Comment 2 Allison Karlitskaya (desrt) 2014-03-02 14:16:58 UTC
Attachment 269036 [details] pushed as 487562e - Fix build when using C++11 mode

Pushed with an improved commit message.