We currently use Open Watcom 1.5 (open source C++ compiler at
www.openwatcom.org ) and we are having a couple of problems:
1. default arguments are not allowed in templates
2. template arguments must be used in the function argument list:
template <class T>
inline T GetWord(bool assumeAligned, ByteOrder order, const byte *block)
{
if (assumeAligned)
{
assert(IsAligned<T>(block));
return ConditionalByteReverse(order, *reinterpret_cast<const T
*>(block)
}
else
return UnalignedGetWord<T>(order, block);
}
Open Watcom C++32 Optimizing Compiler Version 1.5
Portions Copyright (c) 1989-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.
crypto++/misc2.h(673): Error! E409: col(1) template argument 'T' is not used
in
the function argument list
Should we try Crypto++ version 4.2 ?
BTW, we also use the Visual C++ 2003 and GCC 2.95.4 (on FreeBSD) compilers.
Thanks,
Lynn McGuire