warning: 'inline' is not at beginning of declaration ?
Joshua Neal
jdneal at gmail.com
Fri Jun 3 00:05:08 UTC 2011
A compile-with clause in the sys/conf/files configuration file may
work for what you want, e.g. picking a random example:
dev/e1000/e1000_82542.c optional em | igb \
compile-with "${NORMAL_C} -I$S/dev/e1000"
- Joshua
On Wed, Jun 1, 2011 at 9:54 AM, Luigi Rizzo <rizzo at iet.unipi.it> wrote:
> In an attempt to build a kernel with -Wextra gives a number
> of warnings for
>
> 'inline' is not at beginning of declaration
>
> (in tcp_input.c, as an example).
>
> Is there any interest in trying to fix these ?
>
> HEAD/sys/netinet/tcp_input.c:218: warning: 'inline' is not at beginning of declaration
> HEAD/sys/netinet/tcp_input.c:224: warning: 'inline' is not at beginning of declaration
> HEAD/sys/netinet/tcp_input.c:226: warning: 'inline' is not at beginning of declaration
> HEAD/sys/netinet/tcp_input.c:227: warning: 'inline' is not at beginning of declaration
> HEAD/sys/netinet/tcp_input.c:228: warning: 'inline' is not at beginning of declaration
> HEAD/sys/netinet/tcp_input.c:248: warning: 'inline' is not at beginning of declaration
> HEAD/sys/netinet/tcp_input.c:266: warning: 'inline' is not at beginning of declaration
> HEAD/sys/netinet/tcp_input.c:298: warning: 'inline' is not at beginning of declaration
> HEAD/sys/netinet/tcp_input.c:388: warning: 'inline' is not at beginning of declaration
> HEAD/sys/netinet/tcp_input.c:440: warning: 'inline' is not at beginning of declaration
>
> On a related topic, do we have any mechanism to provide
> per-subdir or per-file CFLAGS during kernel builds ?
> I tried to put a Makefile.inc in a subdirectory but it
> did not help.
>
> cheers
> luigi
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>
More information about the freebsd-current
mailing list