mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-28 15:53:00 +00:00
IfcAlignment examples: fix Wunknown-pragmas
gcc was complaining, because it couldn't recognize msvc pragmas
This commit is contained in:
@@ -28,7 +28,9 @@
|
||||
// alignment explicitly
|
||||
|
||||
// Disable warnings coming from IfcOpenShell
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable : 4018 4267 4250 4984 4985)
|
||||
#endif
|
||||
|
||||
#include "../ifcparse/schemas/Ifc4x3_add2.h"
|
||||
#include "../ifcparse/hierarchy_helper.h"
|
||||
|
||||
@@ -28,7 +28,9 @@
|
||||
// to simplify alignment construction
|
||||
|
||||
// Disable warnings coming from IfcOpenShell
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable : 4018 4267 4250 4984 4985)
|
||||
#endif
|
||||
|
||||
#include "../ifcparse/schemas/Ifc4x3_add2.h"
|
||||
#include "../ifcparse/alignment_helper.h"
|
||||
|
||||
Reference in New Issue
Block a user