[Evolution-hackers] Warning from Sun C compiler building evolution-data-server 1.2.3
- From: Albert Chin <evolution-hackers mlists thewrittenword com>
- To: evolution-hackers gnome org
- Subject: [Evolution-hackers] Warning from Sun C compiler building evolution-data-server 1.2.3
- Date: Thu, 29 Dec 2005 10:18:59 -0600
The Sun C compiler gives the following warning when building
evolution-data-server-1.2.3:
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I../intl -DCAMEL_LIBEXECDIR=\""/opt/TWWfsw/gnome210/libexec"\" -DCAMEL_PROVIDERDIR=\""/opt/TWWfsw/gnome210/lib/evolution-data-server/camel-providers"\" -DG_LOG_DOMAIN=\"camel\" -mt -I/opt/TWWfsw/libglib26/include -I/opt/TWWfsw/libglib26/lib/include -I/opt/TWWfsw/gettext014/include -I/opt/TWWfsw/firefox10/include/nss -I/opt/TWWfsw/firefox10/include/nspr -I/opt/TWWfsw/libiconv19/include -I/opt/TWWfsw/libpopt17/include -I/opt/TWWfsw/gettext014/include -I/opt/TWWfsw/zlib11/include -mr -Qn -xstrconst -xO2 -xtarget=generic -c camel-index-control.c
"../camel/camel-arg.h", line 40: warning: enumerator value overflows INT_MAX (2147483647)
>From camel/camel-arg.h:
enum camel_arg_t {
CAMEL_ARG_END = 0,
CAMEL_ARG_IGNORE = 1, /* override/ignore an arg in-place */
CAMEL_ARG_FIRST = 1024, /* 1024 args reserved for arg system */
CAMEL_ARG_TYPE = 0xf0000000, /* type field for tags */
CAMEL_ARG_TAG = 0x0fffffff, /* tag field for args */
CAMEL_ARG_OBJ = 0x00000000, /* object */
CAMEL_ARG_INT = 0x10000000, /* int */
CAMEL_ARG_DBL = 0x20000000, /* double */
CAMEL_ARG_STR = 0x30000000, /* c string */
CAMEL_ARG_PTR = 0x40000000, /* ptr */
CAMEL_ARG_BOO = 0x50000000, /* bool */
};
--
albert chin (china thewrittenword com)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]