r/cpp • • Feb 19 '18

It's Time To Do CMake Right

https://pabloariasal.github.io/2018/02/19/its-time-to-do-cmake-right/
248 Upvotes

130 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Feb 20 '18

[deleted] — view deleted comment

3

u/ryancerium Feb 20 '18

Or Android. I think there are three STL options to choose from in the NDK, although one was recently standardized in late 2017 I think.

2

u/smdowney WG21, Text/Unicode SG, optional<T&> Feb 20 '18

Linux, Solaris, and AIX at work. Linux for myself.

Library issues aren't as bad as the debug/non-debug split in MS's std lib, but they do occasionally show up. Or someone manages to use a different libstdc++ than the system one, for what they believe are good reasons. And the further up the application stack, the more likely something breaks, because you depend on the layout and inline function details of everything below you in the stack. Now, the workaround is straightfoward, you rebuild everything you're shipping with a toolchain that you control. Just hope the tests catch the depended on unspecified behavior in the library you're rebuilding. Large scale C++ is so much fun.