IfcAlignment examples: fix Wunknown-pragmas

gcc was complaining, because it couldn't recognize msvc pragmas
This commit is contained in:
Andrej730
2026-08-24 19:18:00 +05:00
parent 7fa8506fac
commit 5fa14c3dea
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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"
+2
View File
@@ -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"