[Bug libstdc++/20534] New: Erroneous #include of <cassert>

sacolcor at provide dot net gcc-bugzilla@gcc.gnu.org
Fri Mar 18 16:13:00 GMT 2005


gcc/libstdc++-v3/include/debug/debug.h:272 reads:

#include <cassert> // TBD: temporary

Is this "temporary" include still needed?  It causes most uses of STL to pull in
the assert header, which means that programs can (and have) failed to compile on
versions of the compiler without this bug.

-- 
           Summary: Erroneous #include of <cassert>
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sacolcor at provide dot net
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20534



More information about the Gcc-bugs mailing list