Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solaris Studio 12.3 and 12.4 builds broken #179

Closed
noloader opened this issue Jun 7, 2016 · 1 comment
Closed

Solaris Studio 12.3 and 12.4 builds broken #179

noloader opened this issue Jun 7, 2016 · 1 comment

Comments

@noloader
Copy link
Collaborator

noloader commented Jun 7, 2016

Andrew Marlow and Shengli Jiang report on the mailing list:

"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

Performing the following does not duplicate the issue:

$ 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

We have a test environment setup to duplicate the issue. Fix forthcoming.

@noloader
Copy link
Collaborator Author

noloader commented Jun 10, 2016

The fix was rather easy. We needed std::random_access_iterator_tag rather than just random_access_iterator_tag. I withheld the change when we removed using namespace std because I could not test the code path. No good deed goes unpunished....

Cleared at Commit 639c9024f45506b8 (GNUmakefile) and Commit d965ca66d99df9fd (GNUmakefile and CPP files).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant