[Fontconfig] C++11 requires a space between literal and identifier

Akira TAGOH akira at tagoh.org
Sun Apr 22 05:41:31 PDT 2012


Thanks for catching this up. fixed.

On Sat, Apr 21, 2012 at 3:35 AM, Buganini <buganini at gmail.com> wrote:
> 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
> _______________________________________________
> Fontconfig mailing list
> Fontconfig at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/fontconfig



-- 
Akira TAGOH


More information about the Fontconfig mailing list