4.1 libmysql/ctype-extra.c compile failure
am 17.02.2003 19:01:10 von Paul DuBoisI see zillions of errors trying to compile libmysql/ctype-extra.c in
the 4.1 tree. This happens on RedHat 7.0, RedHat 7.3, and Mac OS X 10.2.x.
I've been seeing this problem for more than a week, I'm surprised
it's still present. Am I the only one this happens to?
How-to-repeat:
configure and make
gcc -DDEFAULT_CHARSET_HOME=\"/var/mysql/40100\" -DDATADIR=\"/var/mysql/40100/data\" -DSHAREDIR=\"/var/mysql/40100/share/mysql\" -DUNDEF_THREADS_HACK -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I../include -I/usr/local/ssl/include -O3 -DDBUG_OFF -MT ctype-extra.lo -MD -MP -MF .deps/ctype-extra.Tpo -c ctype-extra.c -o ctype-extra.o
ctype-extra.c:2982: warning: initialization from incompatible pointer type
ctype-extra.c:2983: warning: initialization from incompatible pointer type
ctype-extra.c:2984: warning: initialization from incompatible pointer type
ctype-extra.c:2985: warning: initialization from incompatible pointer type
ctype-extra.c:2986: warning: initialization from incompatible pointer type
ctype-extra.c:2987: warning: initialization from incompatible pointer type
ctype-extra.c:2989: warning: initialization from incompatible pointer type
ctype-extra.c:2990: warning: initialization from incompatible pointer type
ctype-extra.c:2991: warning: initialization from incompatible pointer type
ctype-extra.c:2992: warning: initialization from incompatible pointer type
ctype-extra.c:2994: warning: initialization from incompatible pointer type
ctype-extra.c:2995: warning: initialization makes integer from pointer without a cast
ctype-extra.c:2995: initializer element is not computable at load time
ctype-extra.c:2995: (near initialization for `compiled_charsets[3].max_sort_char')
ctype-extra.c:2996: warning: initialization from incompatible pointer type
ctype-extra.c:2997: warning: initialization from incompatible pointer type
ctype-extra.c:2998: warning: initialization from incompatible pointer type
ctype-extra.c:2999: warning: initialization from incompatible pointer type
ctype-extra.c:3000: warning: initialization from incompatible pointer type
ctype-extra.c:3001: warning: initialization from incompatible pointer type
ctype-extra.c:3002: warning: initialization from incompatible pointer type
ctype-extra.c:3004: warning: initialization from incompatible pointer type
ctype-extra.c:3031: warning: initialization from incompatible pointer type
ctype-extra.c:3032: warning: initialization from incompatible pointer type
ctype-extra.c:3033: warning: initialization from incompatible pointer type
ctype-extra.c:3034: warning: initialization from incompatible pointer type
ctype-extra.c:3035: warning: initialization from incompatible pointer type
ctype-extra.c:3036: warning: initialization from incompatible pointer type
ctype-extra.c:3038: warning: initialization from incompatible pointer type
ctype-extra.c:3039: warning: initialization from incompatible pointer type
ctype-extra.c:3040: warning: initialization from incompatible pointer type
ctype-extra.c:3041: warning: initialization from incompatible pointer type
ctype-extra.c:3043: warning: initialization from incompatible pointer type
ctype-extra.c:3044: warning: initialization makes integer from pointer without a cast
ctype-extra.c:3044: initializer element is not computable at load time
ctype-extra.c:3044: (near initialization for `compiled_charsets[4].max_sort_char')
ctype-extra.c:3045: warning: initialization from incompatible pointer type
ctype-extra.c:3046: warning: initialization from incompatible pointer type
ctype-extra.c:3047: warning: initialization from incompatible pointer type
ctype-extra.c:3048: warning: initialization from incompatible pointer type
ctype-extra.c:3049: warning: initialization from incompatible pointer type
ctype-extra.c:3050: warning: initialization from incompatible pointer type
ctype-extra.c:3051: warning: initialization from incompatible pointer type
ctype-extra.c:3053: warning: initialization from incompatible pointer type
ctype-extra.c:3079: warning: initialization from incompatible pointer type
ctype-extra.c:3080: warning: initialization from incompatible pointer type
ctype-extra.c:3081: warning: initialization from incompatible pointer type
ctype-extra.c:3082: warning: initialization from incompatible pointer type
ctype-extra.c:3083: warning: initialization from incompatible pointer type
ctype-extra.c:3084: warning: initialization from incompatible pointer type
ctype-extra.c:3086: warning: initialization from incompatible pointer type
ctype-extra.c:3087: warning: initialization from incompatible pointer type
ctype-extra.c:3088: warning: initialization from incompatible pointer type
ctype-extra.c:3089: warning: initialization from incompatible pointer type
ctype-extra.c:3091: warning: initialization from incompatible pointer type
ctype-extra.c:3092: warning: initialization makes integer from pointer without a cast
ctype-extra.c:3092: initializer element is not computable at load time
ctype-extra.c:3092: (near initialization for `compiled_charsets[5].max_sort_char')
ctype-extra.c:3093: warning: initialization from incompatible pointer type
ctype-extra.c:3094: warning: initialization from incompatible pointer type
ctype-extra.c:3095: warning: initialization from incompatible pointer type
ctype-extra.c:3096: warning: initialization from incompatible pointer type
ctype-extra.c:3097: warning: initialization from incompatible pointer type
ctype-extra.c:3098: warning: initialization from incompatible pointer type
ctype-extra.c:3099: warning: initialization from incompatible pointer type
ctype-extra.c:3101: warning: initialization from incompatible pointer type
ctype-extra.c:3127: warning: initialization from incompatible pointer type
ctype-extra.c:3128: warning: initialization from incompatible pointer type
ctype-extra.c:3129: warning: initialization from incompatible pointer type
ctype-extra.c:3130: warning: initialization from incompatible pointer type
ctype-extra.c:3131: warning: initialization from incompatible pointer type
ctype-extra.c:3132: warning: initialization from incompatible pointer type
ctype-extra.c:3134: warning: initialization from incompatible pointer type
ctype-extra.c:3135: warning: initialization from incompatible pointer type
ctype-extra.c:3136: warning: initialization from incompatible pointer type
ctype-extra.c:3137: warning: initialization from incompatible pointer type
ctype-extra.c:3139: warning: initialization from incompatible pointer type
ctype-extra.c:3140: warning: initialization makes integer from pointer without a cast
ctype-extra.c:3140: initializer element is not computable at load time
ctype-extra.c:3140: (near initialization for `compiled_charsets[6].max_sort_char')
etc.
------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail bugs-thread13796@lists.mysql.com
To unsubscribe, e-mail