numam-dpdk/drivers/net/failsafe
Gaetan Rivet ea7726a6ee net/failsafe: fix build on FreeBSD 10 with GCC 4.8
ctype.h is not compilable in BSD 10 on GCC 4.8 in C11 mode.

  CC failsafe.o
In file included from /usr/include/_ctype.h:94:0,
                 from /usr/include/ctype.h:46,
                 from /root/dpdk.org/build/include/rte_common.h:50,
                 from /root/dpdk.org/build/include/rte_memory.h:57,
                 from /root/dpdk.org/build/include/rte_malloc.h:45,
                 from /root/dpdk.org/drivers/net/failsafe/failsafe.c:35:
/usr/include/runetype.h:92:22: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'const'
 extern _Thread_local const _RuneLocale *_ThreadRuneLocale;
                      ^
/usr/include/runetype.h: In function '__getCurrentRuneLocale':
/usr/include/runetype.h:96:6: error: '_ThreadRuneLocale' undeclareds
(first use in this function)
  if (_ThreadRuneLocale)
      ^

The fix is to put GCC in gnu99 mode instead.

Fixes: a46f8d584e ("net/failsafe: add fail-safe PMD")

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
2017-07-20 18:30:20 +03:00
..
failsafe_args.c net/failsafe: support device removal 2017-07-19 16:25:43 +03:00
failsafe_eal.c net/failsafe: support device removal 2017-07-19 16:25:43 +03:00
failsafe_ether.c net/failsafe: support flow API isolation mode 2017-07-19 16:25:43 +03:00
failsafe_flow.c net/failsafe: support flow API isolation mode 2017-07-19 16:25:43 +03:00
failsafe_ops.c net/failsafe: support link status change event 2017-07-19 16:25:43 +03:00
failsafe_private.h net/failsafe: support flow API isolation mode 2017-07-19 16:25:43 +03:00
failsafe_rxtx.c net/failsafe: support device removal 2017-07-19 16:25:43 +03:00
failsafe.c net/failsafe: support link status change event 2017-07-19 16:25:43 +03:00
Makefile net/failsafe: fix build on FreeBSD 10 with GCC 4.8 2017-07-20 18:30:20 +03:00
rte_pmd_failsafe_version.map net/failsafe: add fail-safe PMD 2017-07-19 16:25:42 +03:00