Package: mingw32
Version: 3.4.2.20040916.1-2
Severity: important

check.cpp:
#include <boost/date_time/posix_time/posix_time.hpp>
int main() {
   boost::posix_time::ptime t = boost::posix_time::neg_infin;
   return 0;
}

The compiler (its stock debian-sarge):
i586-mingw32msvc-g++ --version
i586-mingw32msvc-g++ (GCC) 3.4.2 (mingw-special)

Boost is just v1.32.0 with -DBOOST_SIGNALS_NAMESPACE=signalslib, so it has no effect here, you should see the same problem with stock debian boost.

This works:
i586-mingw32msvc-g++ -O1 -I/usr/local/include/boost-1_32_0/ check.cpp

This does not work:
i586-mingw32msvc-g++ -O2 -I/usr/local/include/boost-1_32_0/ check.cpp

The error:
/usr/local/include/boost-1_32_0/boost/date_time/gregorian/greg_date.hpp:
In constructor
`boost::gregorian::date::date(boost::date_time::special_values)':
/usr/local/include/boost-1_32_0/boost/date_time/gregorian/greg_date.hpp:86:
internal compiler error: in remove_insn, at emit-rtl.c:3729
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.mingw.org/bugs.shtml> for instructions.


The preprocessed source is available on request, its 250k gzipped!

Thanks
Paul


-- System Information: Debian Release: 3.1 APT prefers testing APT policy: (650, 'testing'), (600, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.11.2suspend Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages mingw32 depends on:
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii mingw32-binutils 2.15.94-20050118.1-1 Minimalist GNU win32 (cross) binut
ii mingw32-runtime 3.7-1 Minimalist GNU win32 (cross) runti


-- no debconf information


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to