On 05/15/2014 12:05 PM, Konstantin Serebryany wrote:
No. We have to support too many build systems and hence do not want any configure step. All configuration has to be done in the sources.
Yeah, I see your point. But filling code with magic constants isn't very nice either.
We could make a separate CMake check like GetTargetStructSize or something (somewhere in projects/compiler-rt/make/platform/*.mk).
-Y