mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-28 09:23:18 -06:00
use pragmas on when compiled with GCC
This commit is contained in:
1 parent
42c522954d
commit
7c13168bff
1 file changed
+5
@@ -12,8 +12,11 @@ struct PGF_INTERNAL_DECL PgfPhrasetableEntry {
|
||||
struct PgfSequenceItor;
|
||||
typedef ref<Node<PgfPhrasetableEntry>> PgfPhrasetable;
|
||||
|
||||
|
||||
#if __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wattributes"
|
||||
#endif
|
||||
|
||||
struct PgfPhrasetableIds {
|
||||
public:
|
||||
@@ -45,7 +48,9 @@ private:
|
||||
SeqIdChain *chains;
|
||||
};
|
||||
|
||||
#if __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
PGF_INTERNAL_DECL
|
||||
PgfPhrasetable phrasetable_internalize(PgfPhrasetable table,
|
||||
|
||||
Reference in new issue
Block a user