[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiler warning with Oracle Developer Studio 12.6

From: Bruno Haible
Subject: Re: Compiler warning with Oracle Developer Studio 12.6
Date: Thu, 19 Dec 2019 01:49:30 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-166-generic; KDE/5.18.0; x86_64; ; )

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 using #undef.
> Fairly harmless I think but it does show up for every file that
> includes config.h...

We try to achieve warning-free builds on glibc systems, because that
is the platform on which most developers look at the compilation logs,
and because with GCC we can enable useful warnings and disable less
useful warnings.

Warnings on other platforms catch our attention if they point to
potentially dangerous code. This is why I looked at your previous
report [1].

Having said that, if you want to fix this warning: Good patches are


[1] https://lists.gnu.org/archive/html/bug-gnulib/2019-12/msg00122.html

reply via email to

[Prev in Thread] Current Thread [Next in Thread]