__align define interferes with libc++

__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!

1 contribution / 0 nouveau(x)
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.