mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-11-04 03:15:26 -07:00
git commit the __attribute__ pragma is only for GCC
This commit is contained in:
1 parent
2f7c65c207
commit
8827221493
1 file changed
+4
-1
@@ -101,7 +101,10 @@ class PGF_INTERNAL_DECL PgfTypechecker {
|
||||
};
|
||||
|
||||
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:
|
||||
PgfTypechecker(ref<PgfPGF> gr, PgfMarshaller *m, PgfUnmarshaller *u, PgfExn* err);
|
||||
|
||||
Reference in new issue
Block a user