Closed Optiligence closed 4 years ago
I added TR1 support.
Thanks I'd appreciate it if you could add support for bare C++03, using inttypes.h.
We've always supported C++03 and I do not think there is a necessity to change the requirements.
Hm, since there is no way to detect presence of TR1, this now relies on the fact that C99 headers are present.
One could reason that the extern "C"
version should be sufficient on its own but i seem to be hitting a bug in clang here, and having <cinttypes>
in C++11+ seems to be a viable workaround.
Thank you for the changes. I think that the code is now fine, hence merged.
It is my understanding that with the changes, the code should work in C++11, while preserving the existing behavior when C++03 is used. That's strictly an improvement, and I'm happy with that. Thank you!
this previously broke e.g. with PCH builds using cotire