[Quickfix-developers] template specialization error for ./src/C++/test/MessagesTestCase.cpp
Brought to you by:
orenmnero
|
From: Michael L. <mly...@gm...> - 2005-07-14 12:22:30
|
When trying to compile for GCC 4.0.0 on redhat FC4 i received the
error gcc error
explicit specialization of <function> must be introduced by 'template <>'
for all onRun and setString commands using typedef'ed classes
the fix is putting a "template<>" before each onRun and setString
command that uses a typedef'ed class in the header file in the
MessagesTestCase.cpp file.
for instance
template<>
void LogonParseTestCase::setString::onRun(Logon& object)
{
//code
}
Regards,
--=20
Michael Lyszczek
|