[Quickfix-developers] Socket Compile Problem
Brought to you by:
orenmnero
From: Jay O. <ja...@gb...> - 2003-05-09 14:14:13
|
I am attempting to link in the FIX lib into an exististing app that we are currently using in a production environment (VC++ 6.0). I am getting a variety of compilation errors... c:\program files\microsoft visual studio\vc98\include\xlocinfo(55) : error C2143: syntax error : missing ';' before '*' c:\program files\microsoft visual studio\vc98\include\xlocinfo(56) : error C2501: '_Getlconv' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\xlocinfo(56) : warning C4183: '_Getlconv': member function definition looks like a ctor, but name does not match enclosing class c:\program files\microsoft visual studio\vc98\include\xlocale(22) : error C2065: 'LC_COLLATE' : undeclared identifier c:\program files\microsoft visual studio\vc98\include\xlocale(22) : error C2057: expected constant expression c:\program files\microsoft visual studio\vc98\include\xlocale(22) : error C2065: 'LC_CTYPE' : undeclared identifier c:\program files\microsoft visual studio\vc98\include\xlocale(22) : error C2057: expected constant expression c:\program files\microsoft visual studio\vc98\include\xlocale(23) : error C2065: 'LC_MONETARY' : undeclared identifier c:\program files\microsoft visual studio\vc98\include\xlocale(23) : error C2057: expected constant expression c:\program files\microsoft visual studio\vc98\include\xlocale(23) : error C2065: 'LC_NUMERIC' : undeclared identifier c:\program files\microsoft visual studio\vc98\include\xlocale(23) : error C2057: expected constant expression c:\program files\microsoft visual studio\vc98\include\xlocale(24) : error C2065: 'LC_TIME' : undeclared identifier c:\program files\microsoft visual studio\vc98\include\xlocale(24) : error C2057: expected constant expression Generating Code... Error executing cl.exe. I've created a sample app and have been successful in linking it in, but only when I don't add MFC socket support (WOSA). When the MFC socket support is added (via the new app wizard) and I try to implement some of the 'Application' functions, I get the compilation errors. I don't know a ton about all of the different types of sockets that can be implemented through VC++ and how they differ, but I'm assuming that there is a conflict between different implementations of socket code. Can I get around this and if so how? Any help would be very appreciated, Jay |