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:
None 
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
Description:
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:
cmake . -DWITH_EXTRA_CHARSETS=none
make
...
[ 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 
failure.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.051 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.