Boost Users :
From: Arno Mauhourat (phedon_at_[hidden])
Date: 2005-08-31 03:54:15
> Well there's something wrong at your end, because it works for me:
> cd libs/regex/example/grep
> g++ -I../../../.. -c -o grep.o grep.cpp
> g++ -o grep.exe grep.o
> compiles and links cleanly with the current MinGW release.
Thanks John, for your time and quick answers.
I found the issue:
I compiled "grep.cpp" with -O3 and this leads to:
- error at linking on debug version of the library
- OK linking with non-debug version (libboost_regex-mgw-mt-1_33.lib)
I am quite unfamiliar with g++ (and it is quite off topic here) but
seems strange to me that an
optimization level ruins a linking...
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net