mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-24 03:52:50 -06:00
git commit the __attribute__ pragma is only for GCC
This commit is contained in:
@@ -101,7 +101,10 @@ class PGF_INTERNAL_DECL PgfTypechecker {
|
|||||||
};
|
};
|
||||||
|
|
||||||
PgfDBMarshaller db_m;
|
PgfDBMarshaller db_m;
|
||||||
bool type_error(const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
|
bool type_error(const char *fmt, ...)
|
||||||
|
#ifdef __GNUC__
|
||||||
|
__attribute__ ((format (printf, 2, 3)));
|
||||||
|
#endif
|
||||||
|
|
||||||
public:
|
public:
|
||||||
PgfTypechecker(ref<PgfPGF> gr, PgfMarshaller *m, PgfUnmarshaller *u, PgfExn* err);
|
PgfTypechecker(ref<PgfPGF> gr, PgfMarshaller *m, PgfUnmarshaller *u, PgfExn* err);
|
||||||
|
|||||||
Reference in New Issue
Block a user