On 16 out, 10:17, Diego Novillo <[email protected]> wrote: > Given > > void foo(void) __attribute__((user("bleh"))); > > GCC will complain > > foo.cc:1: warning: 'user' attribute directive ignored
> We could change the compiler to never complain about the 'user' > attribute, unless plugins are loaded,but that also seems incomplete. I undestand why someone might want that warning, but must it be enabled by -Wall? Adding -Wunused-attributes to CFLAGS won't be such a burden to projects using an advanced feature such as GCC plugins. -- P. _______________________________________________ dev-static-analysis mailing list [email protected] https://lists.mozilla.org/listinfo/dev-static-analysis
