[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: preprocessor/7558: preprocessor option -MM has change semantic



Neil Booth <neil@daikokuya.co.uk> writes:

> > >Description:
> > 	In gcc 3.1, -MM prints dependencies even to files included with
> > 	angle brackets (<foo.h>), if those are found through -I options.
> > 	This behaviour is unintuitive and a change from earlier versions.
> 
> Why are you using <> brackets?  Why is #include "foo.h" not good enough?

Because it is a system header which should not be listed in the
dependencies.

Regards,
Martin



Reply to: