File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1414 "-fexceptions" ,
1515 "-frtti" ,
1616 "-Wno-cast-function-type" , # since nan.h -> node.h has some warnings regarding that
17- "-Wno-template-id-cdtor" , # since nan.h -> node.h has some warnings regarding that
1817 "<!@(pkg-config oopetris-recordings --cflags-only-other)" ,
1918 "-static" , # statically link this, as we do on windows ( it's the default as per node-gyp )
2019 ],
Original file line number Diff line number Diff line change 44#endif
55#endif
66
7+ #if defined(__GNUC__) & !defined(__clang__)
8+ #pragma GCC diagnostic push
9+ #pragma GCC diagnostic ignored "-Wtemplate-id-cdtor"
10+ #endif
11+
712#include < nan.h>
813
14+ #if defined(__GNUC__) & !defined(__clang__)
15+ #pragma GCC diagnostic pop
16+ #endif
17+
18+
919#include < core/core.hpp>
1020#include < recordings/recordings.hpp>
1121
You can’t perform that action at this time.
0 commit comments