Hallo,
today I tried to compile imaptest under solaris 10 with studio 11
compiler and got the following error:
gmake[2]: Entering directory
`/net/fileserv/export/sunsrc/src/imaptest-20111119/src'
source='client.c' object='client.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/dovecot
-I/usr/local/include -fast -xarch=v8plusa -I/usr/sfw/include -c
client.c
"/opt/local/include/dovecot/imap-util.h", line 6: warning: useless
declaration
"client-state.h", line 6: warning: useless declaration
"client.c", line 655: operand cannot have void type: op "=="
"client.c", line 655: operands have incompatible types:
const void "==" int
cc: acomp failed for client.c
what can I do? Thanks for any help,
J?rgen
--
J?rgen Obermann
Hochschulrechenzentrum der
Justus-Liebig-Universit?t Gie?en
Heinrich-Buff-Ring 44
Tel. 0641-9913054
On 25.1.2012, at 16.43, J?rgen Obermann wrote:> today I tried to compile imaptest under solaris 10 with studio 11 compiler and got the following error: > > gmake[2]: Entering directory `/net/fileserv/export/sunsrc/src/imaptest-20111119/src' > source='client.c' object='client.o' libtool=no \ > DEPDIR=.deps depmode=none /bin/bash ../depcomp \ > cc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/dovecot -I/usr/local/include -fast -xarch=v8plusa -I/usr/sfw/include -c client.c > "/opt/local/include/dovecot/imap-util.h", line 6: warning: useless declaration > "client-state.h", line 6: warning: useless declaration > "client.c", line 655: operand cannot have void type: op "==" > "client.c", line 655: operands have incompatible types: > const void "==" int > cc: acomp failed for client.chttp://hg.dovecot.org/imaptest/rev/7e490e59f1ee should fix it?
Possibly Parallel Threads
- Problem compiling dovecot 2.1 Beta1 under Solaris 10 on SPARC
- dovecot-2.2.16 compilation problems under Solaris Studio 11
- v2.0.beta6 compilation problem under Solaris 9
- failed compiling dovecot 2.1.16 under solaris
- make fails with Sun Forte compiler (PR#6815)