Description:
(Just as a reminder so it gets fixed before we release 4.1.1)
Two compile failures with the current 4.1 tree for non-gcc compilers:
IBM AIX 4.3.3, using IBM Visual Age C++:
[SNIP]
source='ctype-mb.c' object='ctype-mb.lo' libtool=yes \
depfile='.deps/ctype-mb.Plo' tmpdepfile='.deps/ctype-mb.TPlo' \
depmode=aix /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile xlc_r
-DDEFAULT_CHARSET_HOME="\"/usr/local/mysql\""
-DDATADIR="\"/usr/local/mysql/data\""
-DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DDONT_USE_RAID -I. -I. -I..
-I../include -O -DDBUG_OFF -ma -O2 -qstrict -qoptimize=2 -qmaxmem=8192
-Wa,-many -DUNDEF_HAVE_INITGROUPS -DSIGNALS_DONT_BREAK_READ -c -o ctype-mb.lo
`test -f ctype-mb.c || echo './'`ctype-mb.c
xlc_r -DDEFAULT_CHARSET_HOME=\"/usr/local/mysql\"
-DDATADIR=\"/usr/local/mysql/data\" -DSHAREDIR=\"/usr/local/mysql/share/mysql\"
-DDONT_USE_RAID -I. -I. -I.. -I../include -O -DDBUG_OFF -ma -O2 -qstrict
-qoptimize=2 -qmaxmem=8192 -Wa,-many -DUNDEF_HAVE_INITGROUPS
-DSIGNALS_DONT_BREAK_READ -c -M ctype-mb.c
"ctype-mb.c", line 310.23: 1506-068 (S) Operation between types "unsigned int"
and "const char*" is not allowed.
make[2]: *** [ctype-mb.lo] Error 1
make[2]: Leaving directory
`/mysqldev/mysqldev/aix43/mysql-4.1.1-alpha/libmysql_r'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mysqldev/mysqldev/aix43/mysql-4.1.1-alpha'
make: *** [all] Error 2
[SNIP]
SGI IRIX 5.5, using the SGI compiler:
[SNIP]
cc -DDEFAULT_CHARSET_HOME=\"/usr/local/mysql\"
-DDATADIR=\"/usr/local/mysql/data\" -DSHAREDIR=\"/usr/local/mysql/share/mysql\"
-DDONT_USE_RAID -I. -I. -I.. -I../include -O -DDBUG_OFF -c ctype-mb.c
-Wp,-MDupdate,.deps/ctype-mb.TPlo -o ctype-mb.o
cc-1515 cc: ERROR File = ctype-mb.c, Line = 310
A value of type "const char *" cannot be assigned to an entity of type
"uint".
match[0].beg= big0;
^
1 error detected in the compilation of "ctype-mb.c".
gmake[2]: *** [ctype-mb.lo] Error 1
gmake[2]: Leaving directory
`/usr/people/mysqldev/mnemonic/mysql-4.1.1-alpha/libmysql_r'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/people/mysqldev/mnemonic/mysql-4.1.1-alpha'
gmake: *** [all] Error 2
[SNIP]
How to repeat:
Compile the current 4.1 tree on the above mentioned platforms.