diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | src/utils/stringutils.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -49,7 +49,7 @@ src/mana-ea # files created during Windows build .objs *.dll -mana.exe +*.exe mana.depend mana.layout diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h index a0e766fb..c5757d0f 100644 --- a/src/utils/stringutils.h +++ b/src/utils/stringutils.h @@ -80,7 +80,7 @@ std::string strprintf(char const *, ...) #ifdef __GNUC__ /* This attribute is nice: it even works through gettext invokation. For example, gcc will complain that strprintf(_("%s"), 42) is ill-formed. */ - __attribute__((format(printf, 1, 2))) + __attribute__((__format__(__printf__, 1, 2))) #endif ; |