[Dovecot] Solaris 10 + Sun Studio 12 + dovecot-1.1.beta15 build problem
Hi,
I've been using dovecot quite a while but latest beta fails to compile on Solaris using latest Sun Studio compiler.
Making all in fts-squat
source='fts-backend-squat.c' object='fts-backend-squat.lo' libtool=yes
DEPDIR=.deps depmode=none /bin/bash ../../../depcomp
/bin/bash ../../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H
-I. -I. -I../../.. -I../../../src/lib -I../../../src/lib-mail
-I../../../src/lib-index -I../../../src/lib-storage
-I../../../src/plugins/fts -xO4 -I/usr/sfw/include/mysql
-R/usr/sfw/lib -L/usr/sfw/lib -I/usr/sfw/include -c -o
fts-backend-squat.lo fts-backend-squat.c
cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/lib
-I../../../src/lib-mail -I../../../src/lib-index
-I../../../src/lib-storage -I../../../src/plugins/fts -xO4
-I/usr/sfw/include/mysql -R/usr/sfw/lib -L/usr/sfw/lib
-I/usr/sfw/include -c fts-backend-squat.c -KPIC -DPIC -o
.libs/fts-backend-squat.o
"fts-backend-squat.c", line 196: warning: enum type mismatch: arg #3
"fts-backend-squat.c", line 201: warning: improper pointer/integer
combination: op "="
"fts-backend-squat.c", line 204: warning: enum type mismatch: op "="
"fts-backend-squat.c", line 205: too many initializers for scalar
cc: acomp failed for fts-backend-squat.c
*** Error code 1
On Wed, 2008-02-13 at 13:01 +0200, Tomi Vainio wrote:
I've been using dovecot quite a while but latest beta fails to compile on Solaris using latest Sun Studio compiler.
Thanks, fixed:
http://hg.dovecot.org/dovecot-1.1/rev/a46e705f8110 http://hg.dovecot.org/dovecot-1.1/rev/983c6ea05de0
participants (2)
-
Timo Sirainen
-
Tomi Vainio