template specialization error for ./src/C++/test/MessagesTestCase.cpp

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

template specialization error for ./src/C++/test/MessagesTestCase.cpp

Michael Lyszczek
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX FAQ: http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ
QuickFIX Support: http://www.quickfixengine.org/services.html

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

void LogonParseTestCase::setString::onRun(Logon& object)

Michael Lyszczek

This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
Quickfix-developers mailing list
[hidden email]