Few days ago, I found the solution for QuickFIX to make it work with g++ 4.3.X. I had to edit the source for QuickFIX and add two headers in src/C++/Utility.h.
#include <cstdlib> #include <cstring>
This is fixed in the office laptop, which I am using at home. The next problem, I faced was making my FIX application to run with g++ 4.2 and 4.3 version. For this, I added the following lines:
#if ((__GNUC__ == 4) && (__GNUC_MINOR__ == 3)) #include <cstdlib> #include <cstring> #endif
That solved it!!
Now, whether I have a machine with quickfix installed, my application will work, irrespective of the version of g++. Hope g++ does not give more surprises.
Thanks a lot,your post solved my quickfix compilation error.
Posted by: saurabh | December 28, 2009 at 05:26 PM