Re: Compiler warning with Oracle Developer Studio 12.6

2019-12-18 Thread Paul Eggert
On 12/18/19 4:49 PM, Bruno Haible wrote: if you want to fix this warning: Good patches are welcome. Having a bit of a soft spot for Solaris-based systems, I installed the attached. It fixes the warning for me and is obviously safe for typical (i.e., !__SUNPRO_CC) platforms. >From 876946f8d98e

Re: Compiler warning with Oracle Developer Studio 12.6

2019-12-18 Thread Bruno Haible
Hi Christian, > I tried compiling with /opt/developerstudio12.6/bin/CC on gcc211 > (basically the newer version of Sun CC, I think), and am getting > warnings like this: > > "../gnulib/import/../../gnulib/config.h", line 1346: Warning > (Anachronism): Attempt to redefine __restrict__ without usin

Compiler warning with Oracle Developer Studio 12.6

2019-12-18 Thread Christian Biesinger
Hi there! I tried compiling with /opt/developerstudio12.6/bin/CC on gcc211 (basically the newer version of Sun CC, I think), and am getting warnings like this: "../gnulib/import/../../gnulib/config.h", line 1346: Warning (Anachronism): Attempt to redefine __restrict__ without using #undef. Fairl