gcc-8-20180121 is now available

2018-01-21 Thread gccadmin
Snapshot gcc-8-20180121 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/8-20180121/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 8 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision

Re: extern const initialized warns in C

2018-01-21 Thread Georg-Johann Lay
Jay K schrieb: extern const int foo = 123; Why does this warn? This is a valid portable form, with the same meaning across all compilers, and, importantly, portably to C and C++. I also wondered about this. In C99 ยง6.9.2 "External object definitions" there's actually the following example in