[Quickfix-users] C++ O3 compilation
Brought to you by:
orenmnero
From: Louis B. <lb...@or...> - 2020-03-18 15:38:43
|
Hi all, I am trying to compile using the "-O3" flag instead of "-g -O2" but the unit tests fail: # export CXXFLAGS="-O3" # ./bootstrap ... # ./configure ... # make ... Linking TestUnitTest++... Running unit tests... terminate called after throwing an instance of 'char const*' Makefile:79: recipe for target 'TestUnitTest++' failed make[2]: *** [TestUnitTest++] Aborted (core dumped) ... The core does not display any usable information (I guess this is due to the -O3 flag). On the other hand I can make in the quickfix/src directory and everything builds fine. So, is O3 optimization "officialy" unsupported? Could I still used the library built using quickfix/src/make? Thanks, Louis Benoit Concepteur principal de logiciel 514-316-1917 x728 [cid:3834b94f-5e7d-4a9d-ad5a-05d87e92322b] |