[Quickfix-developers] Upgrading to quickfix 1.12.4: C++/MySQLConnection.h:98: warning: suggest pare
Brought to you by:
orenmnero
|
From: Abel M. <am...@bo...> - 2006-12-12 11:12:03
|
Hi everyone,
we're upgrading our quickfix applications to last version, 1.12.4, and=20
we found some problems, so maybe someone could give us a hand.
Compiling the version, we've seen this warning:
C++/MySQLConnection.h:98: warning: suggest parentheses around assignment =
used, as truth value
which is this line:
while ( row =3D mysql_fetch_row( m_result ) )
We put the parentheses in order to avoid the warning, but now, we=20
compile the application and it crashs with a core.
#0 0x00c7fcdf in raise () from /lib/tls/libc.so.6
#1 0x00c814e5 in abort () from /lib/tls/libc.so.6
#2 0x08061b6b in Unexpected () at src/vtfix.cpp:25
#3 0x00711567 in std::terminate () from /usr/lib/libstdc++.so.5
#4 0x007113f5 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#5 0x00e7e928 in Session (this=3D0x96ec7e0, application=3D@0x0,=20
messageStoreFactory=3D@0x0, sessionID=3D@0x96f6198, =
dataDictionary=3D@0x118a2f0,
sessionTime=3D@0x118a290, pLogFactory=3D0x0) at Mutex.h:76
#6 0x00ea8067 in FIX::SessionFactory::create (this=3D0x118a560,=20
sessionID=3D@0x96b90a0, settings=3D@0x96e1474) at Field.h:308
#7 0x00eb9e23 in FIX::Acceptor::initialize (this=3D0x96cc3b0) at=20
stl_tree.h:199
#8 0x00eb98a0 in FIX::Acceptor::Acceptor$base () at stl_function.h:197
#9 0x00ecf0fe in FIX::ThreadedSocketAcceptor::ThreadedSocketAcceptor () =
at new:89
It happens when we are making the new to a ThreadadSocketAcceptor =
object.
_store_factory =3D new FIX::MySQLStoreFactory( *_settings );
_log_factory =3D new FIX::MySQLLogFactory( *_settings );
=20
try {
_acceptor =3D new FIX::ThreadedSocketAcceptor (*_application,=20
*_store_factory,
*_settings, *_log_factory); =20
} =20
quickfix is compile with ./configure --with-mysql=3D/usr in order to =
have=20
mysql support. It seems that we're missing something, but we are stuck=20
with this problem, so we'd appreciate your comments.
Regards,
Abel Monroy Ferrero
****************************** AVISO LEGAL =
******************************
La informaci=F3n contenida en este mensaje es para uso exclusivo de su =
destinatario. No debe copiarse, transmitirse a terceros ni guardarse por =
estos =FAltimos, salvo autorizaci=F3n del remitente.
Puede contener informaci=F3n confidencial o legalmente protegida cuyo =
r=E9gimen legal de utilizaci=F3n no se ve afectado por el hecho de que =
haya sido enviada por correo electr=F3nico.
Su env=EDo por error a una persona distinta de su destinatario real no =
implica que se haya modificado tal destinatario ni supone renuncia a su =
eventual car=E1cter confidencial o al r=E9gimen legal que rija su =
utilizaci=F3n.
Cualquier opini=F3n expresada en este mensaje vincular=E1 exclusivamente =
a la persona que lo haya remitido, excepto cuando el mensaje establezca =
lo contrario y el remitente est=E9 autorizado para establecer que dichas =
opiniones vincular=E1n a esta entidad.
En el supuesto de que este correo se recibiera por error, rogamos =
procedan a borrarlo, sin reenviarlo a terceros ni conservarlo en =
cualquier soporte y nos informen inmediatamente llamando al tel=E9fono =
34 91 7095401 o a la direcci=F3n de correo electr=F3nico remitente. =
Gracias.
****************************** DISCLAIMER ******************************
The information contained in this message is for the exclusive use of =
the named person. It can not be copied, transmitted to third parties or =
stored by the latter, except if authorised by the sender.
It may contain confidential or legally privileged information whose =
legal regime is not affected by the fact that this information has been =
sent by e-mail.=20
Its erroneous transmission to a person other than the real named person =
neither implies any modification of this named person nor a renunciation =
of the eventual confidentiality or legal regime affecting the use of =
concerned message.
Any views expressed in this message are binding exclusively upon the =
individual sender, except where the message states otherwise and the =
sender is authorised to bind this entity.=20
If you receive this message in error, please delete it without =
transmitting it to any third party or keeping it in any form and notify =
us immediately either by phone (34 91 7095401) or using the e- mail =
address of the sender. Thank You.
|