Skip to content

Commit

Permalink
PerlinNoiseBinding : Fix symbol visibility problem on OSX
Browse files Browse the repository at this point in the history
The issue here appears to be the same as the one tackled in the previous IndexedIO commit. If Clang sees VectorTypedData.h first, it is perfectly happy to consider all the VectorTypedData classes to have public visibility as we've specified. But if gets a sniff of any inline code involving `std::vector` _before_ it sees VectorTypedData.h, it changes its mind and hides all the VectorTypedData symbols.
  • Loading branch information
johnhaddon committed Jan 30, 2018
1 parent 560b0c6 commit 8a8add6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IECorePython/PerlinNoiseBinding.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@

#include "IECorePython/PerlinNoiseBinding.h"

#include "IECore/PerlinNoise.h"
#include "IECore/VectorTypedData.h"
#include "IECore/PerlinNoise.h"

using namespace boost;
using namespace boost::python;
Expand Down

0 comments on commit 8a8add6

Please sign in to comment.