[Fontconfig] C++11 requires a space between literal and identifier
Buganini
buganini at gmail.com
Fri Apr 20 11:35:17 PDT 2012
http://cgit.freedesktop.org/fontconfig/tree/fontconfig/fontconfig.h#n115
leads to:
usr/local/include/fontconfig/fontconfig.h:116:39: error: invalid
suffix on literal; C++11 requires a space between literal and
identifier [-Wreserved-user-defined-lit
#define FC_CACHE_SUFFIX ".cache-"FC_CACHE_VERSION
^
/usr/local/include/fontconfig/fontconfig.h:117:45: error: invalid
suffix on literal; C++11 requires a space between literal and
identifier [-Wreserved-user-defined-lit
#define FC_DIR_CACHE_FILE "fonts.cache-"FC_CACHE_VERSION
^
/usr/local/include/fontconfig/fontconfig.h:118:47: error: invalid
suffix on literal; C++11 requires a space between literal and
identifier [-Wreserved-user-defined-lit
#define FC_USER_CACHE_FILE ".fonts.cache-"FC_CACHE_VERSION
^
this could be fixed by simply adding a space.
Thanks,
Buganini
More information about the Fontconfig
mailing list