On Monday, May 30, 2016 at 4:55:27 AM UTC-4, Andrew Marlow wrote:
>
> Hello everyone,
>
> 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 tried a minor hack to ida.cpp, making the first line #include 
> <iterator>, which should cause it to pick up the definition of 
> random_access_iterator_tag. But this "fix" didn't work. Any ideas please? 
>

I'm still waiting for my Sun test rig to arrive. In the meantime...

Does zdeflate.cpp compile for you (make 'zdeflate.o')? It uses the same 
pattern.

Otherwise, maybe Sun puts <iterator> it in a different place? Can you try a 
'grep -IR random_access_iterator_tag /usr/include'?

if you solved it, can you supply a Pull Request at 
http://github.com/weidai11/cryptopp/pulls.

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.

Reply via email to