Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
7 Views

__align define interferes with libc++

Hi, I'm using embree common+rtcore and the __align(...) define in common/sys/platform.h interferes with standard library headers in http://libcxx.llvm.org/, causing compile errors in files that include standard library headers (e.g. <vector>) after embree headers.

Renaming __align to __embree_align resolves the issue.  Could I suggest that the macros defined by common/sys/platform.h are made more unique to avoid this kind of issue?  Thanks!

0 Kudos
0 Replies