bombela / backward-cpp

A beautiful stack trace pretty printer for C++
MIT License
3.73k stars 471 forks source link

Does this codebase require C++11? #195

Closed no-more-secrets closed 3 years ago

no-more-secrets commented 3 years ago

I am considering sending a PR for a new feature and I am wondering if I can use C++11 or do we have to be compatible with C++98? I see that it appears to be set to C++11 in the CMakeLists.txt file, but I wasn't sure if you expect users also to use C++11. Thanks

bombela commented 3 years ago

The code base is compatible C++98 with some macro/define magic to benefit from C++11 move semantic if available.

On Sun, 22 Nov 2020, 13:30 David P. Sicilia, notifications@github.com wrote:

I am considering sending a PR for a new feature and I am wondering if I can use C++11 or do we have to be compatible with C++98? I see that it appears to be set to C++11 in the CMakeLists.txt file, but I wasn't sure if you expect users also to use C++11. Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bombela/backward-cpp/issues/195, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABUZDCQF6YIQQ4FVHXCC2DSRF7HNANCNFSM4T6XR3TQ .

no-more-secrets commented 3 years ago

Thanks