This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [cpplib] implement pragma dependancy
On Sat, Jun 24, 2000 at 10:31:38AM +0100, Nathan Sidwell wrote:
> Zack Weinberg wrote:
> > This depends on the other patch for pragma namespaces, right?
> correct.
>
> > "warning: rerun fixincludes" is not a good error message. It does not
> > say why, or what the actual problem is. I think we should always
> > generate the boilerplate text:
> > and if there's trailing text, emit that as a separate warning:
> Good idea.
> foo.c:3:62: warning: current file is older than "/usr/include/time.h"
> foo.c:3:62: warning: rerun fixincludes
>
> > Finally, should this pragma be rejected in the primary source file? I
> > suppose it could be useful for Yacc output files and the like, too.
> yes.
>
> is this patch ok? It adjusts the warning message.
This one is fine, please commit it. Sorry for the delay.
zw