r/cpp • • Nov 22 '18

C++98 is back!

Hi all,
After 5 years I find myself back into the realm of C++98 and classic CMake, and everything seems quite strange now that i got used to some modern-ish habits!

Do you know any list or resource for libraries C++98 compatible (like Catch 1.2 for example).

G.

1 Upvotes

35 comments sorted by

View all comments

5

u/malkia Nov 22 '18

Good luck with that :) - But I'm sure there must be plenty of embedded, game development (especially console), etc. libs that would be geared towards more C++98 (not because modern console compilers do not support modern C++, but simply because of the reactions to new modern C++).

Qt must be still C++98 (or available for compilation this way), maybe EASTL (haven't checked recently) - e.g. not sure what you are looking for... And there are still plenty of good "C" libs, or if your case allows libs written in modern C++, yet providing C interface (llvm, zmq, etc.)

9

u/jcelerier ossia score Nov 23 '18

Qt has been requiring c++11 for a few versions actually

2

u/malkia Nov 23 '18

I thought the Qt4.8 series does not, but I haven't verified...

3

u/jcelerier ossia score Nov 23 '18

Qt 4.8 has not been supported for almost 4 years

1

u/saimen54 Nov 23 '18

4.8 definitely does not, but it's also pretty dated...