[ptr_container] ptr_map and MinGW: "a declaration of assert must be available", even with cassert included

Hello,
I'm using boost::ptr_map successfully on Linux, compiling with gcc 4.3.2.
However, now i tried the same code on Windows XP, using MinGW with gcc 3.4.5 i get the following error:
"error: there are no arguments to 'assert' that depend on a template parameter, so a declaration of 'assert' must be available".
I had exactly the same error on Linux, there i put a #include <cassert> before the #include to boost::ptr_map and everything worked.
But on windows, i tried #include <cassert> and #include
participants (2)
-
philipp_muenzel@web.de
-
Thorsten Ottosen