I get the following compilation errors trying to build cryptopp 563 on > solaris 10 using the using ancient solarisStudio 12.3 compiler (please > don't laugh): > > "ida.cpp", line 403: Error: random_access_iterator_tag is not defined. > "ida.cpp", line 403: Error: "," expected instead of ">". > "ida.cpp", line 407: Error: The function "RevIt" must have a prototype. > "ida.cpp", line 407: Error: The function "RevIt" must have a prototype. > "ida.cpp", line 407: Error: The function "RevIt" must have a prototype. > "ida.cpp", line 407: Error: The function "RevIt" must have a prototype. > "ida.cpp", line 408: Error: The operation "const int* != const unsigned > char*" is illegal. > "ida.cpp", line 410: Error: The operation "const int* - const unsigned > char*" is illegal. > "ida.cpp", line 412: Error: The operation "const unsigned char*const - > const int*" is illegal. > 9 Error(s) detected. > makefile.sun:42: recipe for target 'ida.o' failed >
I can duplicate this with: $ gmake CXX=/opt/solarisstudio12.3/bin/CC ida.o /opt/solarisstudio12.3/bin/CC -DNDEBUG -g2 -O2 -m32 -Wa,--divide -pipe -c ida.cpp CC: Warning: Option -g2 passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -pipe passed to ld, if ld is invoked, ignored otherwise "ida.cpp", line 401: Error: random_access_iterator_tag is not defined. ... There's a few problems with the Makefile. Here's what its supposed to look like: $ git checkout CRYPTOPP_5_6_2 $ gmake CXX=/opt/solarisstudio12.3/bin/CC ida.o /opt/solarisstudio12.3/bin/CC -DNDEBUG -O -g0 -native -template=no%extdef -m64 -c ida.cpp $ Also, its not a simple matter of CXXFLAGS="-DNDEBUG -O -g0 -native -template=no%extdef -m64". Trying it results in the same failure. Give me a day or two to work on it now that I have something to test against. 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.
