leospeidel / relate_lib

C++ library containing functions for parsing/dumping Relate output files
MIT License
6 stars 1 forks source link

Problems compiling with Clang #2

Open hyanwong opened 2 years ago

hyanwong commented 2 years ago

On OS X, using the "clang" compiler, I have problems compiling:

In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/memory:676:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/iterator:559:13: error: unknown type name 'ptrdiff_t'
    typedef ptrdiff_t difference_type;
...

Has anyone got this to work?