Bug #58672 strings/ctype-ucs2.c fails to compile if -DWITH_EXTRA_CHARSETS=none
Submitted: 2 Dec 2010 20:26 Modified: 29 May 2013 16:22
Reporter: Paul DuBois Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.5+ OS:Any
Assigned to: CPU Architecture:Any

[2 Dec 2010 20:26] Paul DuBois
Setting WITH_EXTRA_CHARSETS to "none" causes build failure.

This does not occur with the other legal values, "complex" or "any".

I observe this on both Mac OS X and Linux.

How to repeat:
[ 10%] Building C object strings/CMakeFiles/strings.dir/ctype-uca.c.o
[ 10%] Building C object strings/CMakeFiles/strings.dir/ctype-ucs2.c.o
cc1: warnings being treated as errors
/Users/paul/bzr-mysql/mysql-5.5-security/strings/ctype-ucs2.c:50: warning: ‘lfactor’ defined but not used
make[2]: *** [strings/CMakeFiles/strings.dir/ctype-ucs2.c.o] Error 1
make[1]: *** [strings/CMakeFiles/strings.dir/all] Error 2
make: *** [all] Error 2
[2 Dec 2010 21:26] Sveta Smirnova
Thank you for the report.

Verified as described.
[29 May 2013 16:22] Paul DuBois
Noted in 5.7.2 changelog.

Configuring MySQL with -DWITH_EXTRA_CHARSETS=none caused a build