cyrus-imapd 2.1.13 built with gcc 3.3 on linux (redhat)?
Will Partain
will.partain at verilab.com
Thu May 29 13:02:31 EDT 2003
Folks, has anyone built cyrus-imapd 2.1.13 with gcc 3.3 on
linux (redhat)? I am getting odd compile errors, using a
process of long standing... maybe something is wedged
here...
The root of it seems to be that my gcc 3.3 doesn't #define
__STDC__; consider, for gcc 3.3:
% gcc --use-version=3.3 -E -dM hello.c |grep STDC
#define __STDC_IEC_559_COMPLEX__ 1
#define __STDC_HOSTED__ 1
#define __STDC_IEC_559__ 1
#define __STDC_ISO_10646__ 200009L
[yes, 'gcc' is a script that interprets that --use-version]
whereas for a previous version:
% gcc --use-version=3.2.2 -E -dM hello.c |grep STDC
#define __STDC_IEC_559_COMPLEX__ 1
#define __STDC_HOSTED__ 1
#define __STDC_IEC_559__ 1
#define __STDC_ISO_10646__ 200009L
#define __STDC__ 1
As the cyrus-imapd code keys off of __STDC__, things go
wonky pretty fast. Any ideas/info welcome.
Will
=== hello.c ===
#include <stdio.h>
main()
{
printf("hello, world!\n");
}
More information about the Info-cyrus
mailing list