Fix wrong inclusions/warning protections

This commit is contained in:
Simon Giraudot 2017-07-13 10:36:56 +02:00
parent 41edf00aae
commit c59454e45f
1 changed files with 1 additions and 6 deletions

View File

@ -50,6 +50,7 @@
#define USE_AS_DLL #define USE_AS_DLL
#include <lasdefinitions.hpp> #include <lasdefinitions.hpp>
#include <lasreader_las.hpp> #include <lasreader_las.hpp>
#include <laswriter_las.hpp>
#undef USE_AS_DLL #undef USE_AS_DLL
#ifdef __GNUC__ #ifdef __GNUC__
@ -64,12 +65,6 @@
#include <sstream> #include <sstream>
#include <string> #include <string>
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#include <laswriter_las.hpp>
#pragma GCC diagnostic pop
#endif
namespace CGAL { namespace CGAL {