Re: [Quickfix-developers] PATCH: compile quickfix-1.5.0 using Sun C++ 5.3
Brought to you by:
orenmnero
From: Oren M. <ore...@ya...> - 2003-06-27 10:50:44
|
Caleb, Thanks for these patches. The semi-colon thing for Fields.h can actually be done by changing the generator (Fields.h is a generated file). This would be done in Fields.xsl http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/quickfix/quickfix/spec/Fields.xsl?annotate=1.4 Looks like your Session class is failing 20 unit tests. This is quite bad and is telling you that the behavior of your sessions will be undefined. Essentially it is telling you not to use that build. The acceptance tests will likely verify this. The unit + acceptance tests gives us a goal for creating a succefull port. If all of them pass, then we can be reasonably assured that the port to your compiler is succesful. --- Caleb Epstein <ca...@bk...> wrote: > > Hi, I'm new to the world of quickfix, and to this > list. > Forgive me fi this has alreayd been addressed, but > I didn't > see anything in the mailing list archives. > > Attached is a gzip'ed diff of the changes I had to > make to get > the quickfix-1.5.0 code to compile with the Sun > Workshop C++ > compiler verison 5.3, specifically version: > > CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-14 > 2003/03/24 > > The bulk of the changes involve removing some stray > semicolons > after DEFINE_* macros which gcc seems to ignore. > The other > large part of the changes involves removing > gcc-isms for > generating dependency files from the Makefile.in's. > No real > code changes at all. > > I had to also remove the > SessionIDTestCase from the test library as the > compiler > complained that it didn't implement one or more > virtual > functions form CPPTest::Test<SessionID>. > > The diff is attached, but is also available at the > follownig > URL. > > http://bklyn.org/~cae/quickfix.sunwspro.diff > > I'm attaching it in compressed form here since it > is rather > large. Apologies if this annoys anyone. I'm also > attaching > the output of "runut" from my compiled library - a > number of > test fail, and I'm not sure of the significance of > this. I > don't have ruby installed,q so I'm unable to run > the > acceptance tests at the present time. > > -- > Caleb Epstein | bklyn . org | The louder he talked > of his honour, the faster > cae at | Brooklyn Dust | we counted our > spoons. > bklyn dot org | Bunny Mfg. | -- Ralph Waldo > Emerson > > ATTACHMENT part 2 application/octet-stream name=quickfix.sunwspro.diff.gz > <ut> > <output> > .....................................................F..F.FFF...FFFFFFFFFFFFF..F.F........................................... > </output> > <results total="125" failures="20"> > <failure line= "0" file= "unknown"> > <test> > <![CDATA[ unknown]]> > </test> > <text> > <![CDATA[ assert(Field not found)]]> > </text> > </failure> > <failure line= "161" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ FIX::SessionTestCase::nextLogon]]> > </test> > <text> > <![CDATA[ assert(m_toLogon == 1)]]> > </text> > </failure> > <failure line= "217" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::notifyResendRequest]]> > </test> > <text> > <![CDATA[ assert(m_toResendRequest == 1)]]> > </text> > </failure> > <failure line= "226" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::incrMsgSeqNum]]> > </test> > <text> > <![CDATA[ > assert(object.getExpectedSenderNum() == 2)]]> > </text> > </failure> > <failure line= "242" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::callDisconnect]]> > </test> > <text> > <![CDATA[ assert(m_disconnect == 0)]]> > </text> > </failure> > <failure line= "434" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::nextTestRequest]]> > </test> > <text> > <![CDATA[ assert(m_fromTestRequest == 1)]]> > </text> > </failure> > <failure line= "448" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::outOfOrder]]> > </test> > <text> > <![CDATA[ > assert(object.getExpectedSenderNum() == 2)]]> > </text> > </failure> > <failure line= "470" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ FIX::SessionTestCase::logout]]> > </test> > <text> > <![CDATA[ assert(m_toLogout == 1)]]> > </text> > </failure> > <failure line= "493" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::badOrigSendingTime]]> > </test> > <text> > <![CDATA[ assert(m_toReject == 1)]]> > </text> > </failure> > <failure line= "518" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::noOrigSendingTime]]> > </test> > <text> > <![CDATA[ assert(m_toReject == 1)]]> > </text> > </failure> > <failure line= "533" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ FIX::SessionTestCase::badCompID]]> > </test> > <text> > <![CDATA[ assert(m_toReject == 1)]]> > </text> > </failure> > <failure line= "548" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::nextReject]]> > </test> > <text> > <![CDATA[ assert(m_fromReject == 1)]]> > </text> > </failure> > <failure line= "584" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::badMsgType]]> > </test> > <text> > <![CDATA[ assert(m_disconnect == 0)]]> > </text> > </failure> > <failure line= "598" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::nextSequenceReset]]> > </test> > <text> > <![CDATA[ assert(m_fromSequenceReset == > 1)]]> > </text> > </failure> > <failure line= "624" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::nextGapFill]]> > </test> > <text> > <![CDATA[ assert(m_fromSequenceReset == > 1)]]> > </text> > </failure> > <failure line= "665" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::nextResendRequest]]> > </test> > <text> > <![CDATA[ assert(m_toSequenceReset == 1)]]> > </text> > </failure> > <failure line= "700" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::badBeginString]]> > </test> > <text> > <![CDATA[ assert(m_disconnect == 0)]]> > </text> > </failure> > <failure line= "717" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::unsupportedMsgType]]> > </test> > <text> > <![CDATA[ assert(m_toBusinessMessageReject > == 1)]]> > </text> > </failure> > <failure line= "824" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::resetOnEndTime]]> > </test> > <text> > <![CDATA[ assert(m_disconnect == 0)]]> > </text> > </failure> > <failure line= "864" file= > "SessionTestCase.cpp"> > <test> > <![CDATA[ > FIX::SessionTestCase::resetOnNewSession]]> > </test> > === message truncated === __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |