mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 14:07:43 +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
|
// alignment explicitly
|
||||||
|
|
||||||
// Disable warnings coming from IfcOpenShell
|
// Disable warnings coming from IfcOpenShell
|
||||||
|
#if defined(_MSC_VER)
|
||||||
#pragma warning(disable : 4018 4267 4250 4984 4985)
|
#pragma warning(disable : 4018 4267 4250 4984 4985)
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../ifcparse/schemas/Ifc4x3_add2.h"
|
#include "../ifcparse/schemas/Ifc4x3_add2.h"
|
||||||
#include "../ifcparse/hierarchy_helper.h"
|
#include "../ifcparse/hierarchy_helper.h"
|
||||||
|
|||||||
@@ -28,7 +28,9 @@
|
|||||||
// to simplify alignment construction
|
// to simplify alignment construction
|
||||||
|
|
||||||
// Disable warnings coming from IfcOpenShell
|
// Disable warnings coming from IfcOpenShell
|
||||||
|
#if defined(_MSC_VER)
|
||||||
#pragma warning(disable : 4018 4267 4250 4984 4985)
|
#pragma warning(disable : 4018 4267 4250 4984 4985)
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../ifcparse/schemas/Ifc4x3_add2.h"
|
#include "../ifcparse/schemas/Ifc4x3_add2.h"
|
||||||
#include "../ifcparse/alignment_helper.h"
|
#include "../ifcparse/alignment_helper.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user