Discussion:
[PATCH] make kmod compatible with GCC < 4.6
John Spencer
2013-09-11 01:17:36 UTC
Permalink
hello list, find attached a patch that fixes compilation with
non-bleeding-edge compilers (we use GCC 4.5.4 in production).

the missing C11 feature is emulated on compilers that feature a __LINE__
macro.

best regards
--JS
Lucas De Marchi
2013-09-11 01:32:16 UTC
Permalink
Hi John,

On Tue, Sep 10, 2013 at 10:17 PM, John Spencer
Post by John Spencer
hello list, find attached a patch that fixes compilation with
non-bleeding-edge compilers (we use GCC 4.5.4 in production).
the missing C11 feature is emulated on compilers that feature a __LINE__
macro.
there's a patch for this applied already, restoring our previous
behavior. Doesn't it work for you? See dc8ed09 (Add configure check
for _Static_assert())



Lucas De Marchi

Loading...