Re: Fix lib/af_alg.c compilation error on Ubuntu Trusty

2018-06-03 Thread Peter Simons
Hi Paul, > How about the attached patch instead? yes, that patch fixes the build on travis-ci. Thank you very much for your help! Best regards, Peter

Re: Fix lib/af_alg.c compilation error on Ubuntu Trusty

2018-06-03 Thread Paul Eggert
Peter Simons wrote: https://travis-ci.org/peti/mapson/builds/386553484 Thanks, that provides helpful context. I'd rather not limit Gnulib C files to C89 syntax here, though, as support for the C99 syntax ought to be universal nowadays. How about the attached patch instead? I installed it in

Re: Fix lib/af_alg.c compilation error on Ubuntu Trusty

2018-06-03 Thread Peter Simons
Hi Paul, > Peter Simons wrote: >> gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 will not compile this file >> without this patch. > > What's the context for this? I believe that https://travis-ci.org/peti/mapson/builds/386553484 has all the information you'll want. Best regards, Peter

Re: Fix lib/af_alg.c compilation error on Ubuntu Trusty

2018-06-03 Thread Paul Eggert
Peter Simons wrote: gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 will not compile this file without this patch. What's the context for this? What package are you building, what options to 'configure' did you use, and what 'gcc' options are present? As I recall, GCC 4.8.4 works just fine with for