[Quickfix-users] compile on solaris/sparc
Brought to you by:
orenmnero
From: <her...@t-...> - 2002-05-20 20:16:31
|
Hey guys, im trying to compile current cvs snapshot on solaris. as i dont have any clue about c++ (im working with C and perl) i decided to write down some experiences for the list. im currently trying to compile on sparcv9 platform with gcc version 3.1 20020423 first of all i get lots of "warning: no newline at end of file" which seems to be just a cosmetic issue. a more serious thing is the following : In file included from AcceptorTestCase.cpp:57: AcceptorTestCase.h:61: looser throw specifier for `virtual void FIX::TestApplication::fromApp(const FIX::Message&, const FIX::SessionID&)' ../Application.h:111: overriding `virtual void FIX::NullApplication::fromApp(const FIX::Message&, const FIX::SessionID&) throw (FIX::IncorrectTagValue&, FIX::UnsupportedMessageType&, FIX::FieldNotFound&)' gmake[4]: *** [AcceptorTestCase.lo] Error 1 gmake[4]: Leaving directory `/export/home/admin/quickfix/src/C++/test' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/export/home/admin/quickfix/src/C++' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/export/home/admin/quickfix/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/export/home/admin/quickfix' gmake: *** [all] Error 2 this seems to me like the function called fromApp() doesnt match its prototype. at least its how i fixed this problem by adding the throw() after the function call. as i mentioned that im not a c++ programmer i hope that was something useful - but as code is provided like this i assume there must be another solution. i was reading something about missing throw() stuff and that the application has to catch errors and stuff. but didnt help me further. regards, Heribert Steuer |