Greetings!
I recently inherited a legacy project from around 2002 or so that uses
Crypto++ 4.2. Currently I am having trouble porting it to use modern
versions of GCC because of an interesting template related error I am
getting.
I have tried using the 5.0 and current versions as well and still run into
similar issues. Could somone point me in the right direction or suggest a
modification fix it?
Error:
compiling md5.cpp (g++)compiling md5.cpp (g++)In file included from
md5.cpp:5:0:md5.h:10:32: error: expected template-name before '<'
tokenmd5.h:10:32: error: expected '{' before '<' tokenmd5.h:10:32: error:
expected unqualified-id before '<' tokenmd5.cpp:109:1: error: expected '}' at
end of input
I am using only part of the sources, you can find all but my Makefile.am
here:
http://www.filedropper.com/cryptolegacy
The makefile is nothing special:
AUTOMAKE_OPTIONS=foreign
noinst_LTLIBRARIES=libcrypto.la
libcrypto_la_CXXFLAGS=-I$(crypto_dir)/include \
-Wno-ctor-dtor-privacy
CXXFLAGS=-g -O2
libcrypto_la_SOURCES=config.h \
cryptlib.cpp \
cryptlib.h \
filters.cpp \
filters.h \
iterhash.cpp \
iterhash.h \
md5.cpp \
md5.h \
misc.cpp \
misc.h \
mqueue.cpp \
mqueue.h \
queue.cpp \
queue.h \
smartptr.h \
tftables.cpp \
twofish.cpp \
twofish.h \
words.h
Any and all help and suggestions are appreciated.
Thanks!
--
--
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.