This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [OT] Identifying unused include directives?


Dan Kegel <dkegel@ixiacom.com> writes:

> Anyone know a good way to automatically identify unneeded #include
> statements?  Seems like this is something gcc could do...

What is "unneeded"?  On some systems, some header files pull in
others, and are therefore unnecessary from a GCC perspective, but they
are actually required to make the program portable.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]