On Thursday, July 30, 2015 at 11:26:34 AM UTC-4, Jeffrey Walton wrote:
>
> The cut-in for C++03 and C++11 finished today. All the major compilers are
> supported. It also supports GNU's libstdc++ and LLVM's libc++ on OS X. I
> have not tested with MacPorts (I don't have a Ports compiler installed),
> but I believe it will work there also.
>
Just in case... MinGW is broken for C++11:
$ export CXXFLAGS="-std=c++11"
$ make
g++ -std=c++11 -DNDEBUG -g2 -O3 -march=native -Wall -Wextra
-Wno-type-limits -Wno-unknown-pragmas -pipe -c 3way.cpp
In file included from
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\cmath:44:0,
from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\random:38,
from
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\bits\stl_algo.h:65,
from
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\algorithm:62,
from stdcpp.h:28,
from cryptlib.h:83,
from seckey.h:8,
from 3way.h:7,
from 3way.cpp:5:
c:\mingw\include\math.h: In function 'float hypotf(float, float)':
c:\mingw\include\math.h:635:30: error: '_hypot' was not declared in this
scope
{ return (float)(_hypot (x, y)); }
^
make: *** [3way.o] Error 1
You can track it at "Failed C++11 compile due to missing _hypot",
https://sourceforge.net/p/mingw/bugs/2266/.
Jeff
--
--
You received this message because you are subscribed to the "Crypto++ Users"
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at
http://www.cryptopp.com.
---
You received this message because you are subscribed to the Google Groups
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.