This program:

#include <idonotexist>

Generates only a warning with gcc 4.1.1 and the -MMD flag.  With #include
"idonotexist", an error is generated.  Errors are generated correctly in both
cases with -MD.


-- 
           Summary: Missing header files only generate warning with -MMD
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc-bklyn at sneakemail dot com
 GCC build triplet: i486-linux-gnu
  GCC host triplet: i486-linux-gnu
GCC target triplet: i486-linux-gnu


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

Reply via email to