BigSur and C++03

8 views
Skip to first unread message

Jeffrey Walton

unread,
Mar 6, 2021, 4:50:01 AM3/6/21
to Crypto++ Users
While testing for Apple M1's we noticed a couple of things. First, Apple finally fixed static initialization. It is a C++11 core feature, but it was never available until BigSur.

Second, Clang on BigSur uses C++03 by default. To get C++11 features you have to add -std=c++11 to CXXFLAGS or the command line.

So be aware Apple M1's and BigSur have some sharp edges. We updated the configure.sh wiki page at https://www.cryptopp.com/wiki/Configure.sh.

Jeff
Reply all
Reply to author
Forward
0 new messages