[Quickfix-developers] Problems compiling QuickFIX with STLPort
Brought to you by:
orenmnero
From: Diamond, C. <cli...@cs...> - 2002-07-12 09:35:09
|
Oren, I'm using stlport 4.5.3 (the current release version). I've commented out the default user option _STLP_NO_NEW_IOSTREAMS at the end of stl_user_config.h otherwise it attempts to use the Microsoft streams library and gets very confused about which headers to use. There's only one error (occurs three times) and one warning (occurs 646 times): 1. Error C2664 at Exceptions.h (line 65) (included by Parser.cpp, SocketConnection.cpp and ThreadedSocketConnection.cpp. The full error text is: C:\Source\quickfix\src\C++\Exceptions.h(65) : error C2664: '__thiscall _STL::logic_error::_STL::logic_error(const class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > &)' : cannot convert parameter 1 from 'char [ 16]' to 'const class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > &' Reason: cannot convert from 'char [16]' to 'const class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> >' Source or target has incomplete type 2. C4290 Warning (C++ Exception Specification ignored) wherever 'throw' syntax is included in a static function definition. Eg. C:\Source\quickfix\src\C++\FieldConvertors.h(97) : warning C4290: C++ Exception Specification ignored C:\Source\quickfix\src\C++\FieldConvertors.h(110) : warning C4290: C++ Exception Specification ignored C:\Source\quickfix\src\C++\FieldConvertors.h(124) : warning C4290: C++ Exception Specification ignored C:\Source\quickfix\src\C++\FieldConvertors.h(177) : warning C4290: C++ Exception Specification ignored C:\Source\quickfix\src\C++\FieldConvertors.h(206) : warning C4290: C++ Exception Specification ignored Regards Cliff This message is for the named person's use only. It may contain sensitive and private proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. CREDIT SUISSE GROUP and each legal entity in the CREDIT SUISSE FIRST BOSTON or CREDIT SUISSE ASSET MANAGEMENT business units of CREDIT SUISSE FIRST BOSTON reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. Unless otherwise stated, any pricing information given in this message is indicative only, is subject to change and does not constitute an offer to deal at any price quoted. Any reference to the terms of executed transactions should be treated as preliminary only and subject to our formal written confirmation. |