preprocessor/7357: -M option omits system headers files (making it the same as -MM)

PickinA@logica.com PickinA@logica.com
Fri Jul 19 07:16:00 GMT 2002


>Number:         7357
>Category:       preprocessor
>Synopsis:       -M option omits system headers files (making it the same as -MM)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 19 03:26:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Pickin
>Release:        3.1.0
>Organization:
>Environment:
Solaris 8
>Description:
There is no distinction between -M & -MM option from 
version 3.1.0

This means the the system headers are omitted from dependencies.
>How-To-Repeat:
gcc -M helloworld.c
compare with 
gcc -MM helloworld.c
should not stdio be listed somewhere?
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list