On 30 Jun 2016, at 17:26, Odhiambo Washington <odhiambo at gmail.com> wrote:> > FreeBSD 9.3-STABLE FreeBSD 9.3-STABLE amd64: > > sha1.h:80: error: static or type qualifiers in abstract declaratorWhat gcc version is this? It should have been valid C99 code, so I expected it to work without any special version checks..
On 30/06/2016 17:18, Timo Sirainen wrote:> On 30 Jun 2016, at 17:26, Odhiambo Washington <odhiambo at gmail.com> wrote: >> >> FreeBSD 9.3-STABLE FreeBSD 9.3-STABLE amd64: >> >> sha1.h:80: error: static or type qualifiers in abstract declarator > > What gcc version is this? It should have been valid C99 code, so I expected it to work without any special version checks..Compiling in CentOS 5.11 with GCC 4.1.2 gives the same error, and problem with missing openssl/ec.h with OpenSSL 0.9.8e also (I've post a message about this issue) -- +-------------------------------------------------------------------+ | Juan C. Blanco | | | | Centro de Calculo | | | E.T.S. Ingenieros Inform?ticos | E-mail: jcblanco at fi.upm.es | | Universidad Polit?cnica de Madrid | | | Campus de Montegancedo | | | Boadilla del Monte | Tel.: (+34) 91 336 7466 | | 28660 MADRID (Spain) | Fax : (+34) 91 336 6913 | +-------------------------------------------------------------------+
On 30 June 2016 at 18:18, Timo Sirainen <tss at iki.fi> wrote:> On 30 Jun 2016, at 17:26, Odhiambo Washington <odhiambo at gmail.com> wrote: > > > > FreeBSD 9.3-STABLE FreeBSD 9.3-STABLE amd64: > > > > sha1.h:80: error: static or type qualifiers in abstract declarator > > What gcc version is this? It should have been valid C99 code, so I > expected it to work without any special version checks.. >>From config.log:configure:4580: checking for gcc configure:4596: found /usr/bin/gcc configure:4607: result: gcc configure:4836: checking for C compiler version configure:4845: gcc --version >&5 gcc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft."
On 01.07.2016 12:23, Odhiambo Washington wrote:> On 30 June 2016 at 18:18, Timo Sirainen <tss at iki.fi> wrote: > >> On 30 Jun 2016, at 17:26, Odhiambo Washington <odhiambo at gmail.com> wrote: >>> FreeBSD 9.3-STABLE FreeBSD 9.3-STABLE amd64: >>> >>> sha1.h:80: error: static or type qualifiers in abstract declarator >> What gcc version is this? It should have been valid C99 code, so I >> expected it to work without any special version checks.. >> > From config.log: > > configure:4580: checking for gcc > configure:4596: found /usr/bin/gcc > configure:4607: result: gcc > configure:4836: checking for C compiler version > configure:4845: gcc --version >&5 > gcc (GCC) 4.2.1 20070831 patched [FreeBSD] > Copyright (C) 2007 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > > > >Fixed in https://github.com/dovecot/core/commit/f54d511597447e40f5413716c10520a7229364f1 Aki