Cannot compile cyrus-2.2.2-BETA with Sun compiler (lib/imapopts.c)

2003-11-26 Thread Paul Boven
L.S., Build system is a Solaris 9 with SunOne aka Forte 7 compiler collection. Both compiler and OS patches were updated before I began this project. While trying to build cyrus-imapd-2.2.2-BETA I run into the following problem: cc -c -I.. -I/usr/local/BerkeleyDB.4.1//include

Re: Cannot compile cyrus-2.2.2-BETA with Sun compiler (lib/imapopts.c)

2003-11-26 Thread Christos Soulios
Quoting Paul Boven [EMAIL PROTECTED]: This is caused because of the fact that Sun compiler is stricter on C standards. Ansi C forbids the type casting to a union. However, it is implemented as an extension by gcc. In my opinion this is wrong, because it violates some C standards. In this case

Re: Cannot compile cyrus-2.2.2-BETA with Sun compiler (lib/imapopts.c)

2003-11-26 Thread Paul Boven
Hi Christos, list, Christos Soulios wrote: This is caused because of the fact that Sun compiler is stricter on C standards. Ansi C forbids the type casting to a union. However, it is implemented as an extension by gcc. In my opinion this is wrong, because it violates some C standards. In this