This is the mail archive of the gcc-patches@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: [warning control] New #pragma GCC diagnostic


> The pragma handler should check that the directive indeed appears at
> non-local scope and diagnose the improper use, instead of deferring to
> daemons flying out of nose :-)

Not being a front-end guy, I'll ask: How?  Ideally, it should be
limited to "before the start of any non-static-inline function" but
I'm OK with "at file scope".


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