Bug #1395 Conflict in 'enum options'
Submitted: 25 Sep 2003 2:36 Modified: 29 Sep 2003 2:13
Reporter: Jochen Erwied Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:4.0.15 OS:Linux (Linux 2.0.39/glibc1)
Assigned to: CPU Architecture:Any

[25 Sep 2003 2:36] Jochen Erwied
Description:
enum options is defined in client/client_priv.h and sql/mysqld.cc

These defines conflict with some internal definition on this older system (in linux/ip.h)

How to repeat:
Recompile from source

Suggested fix:
Changing the enums to

enum client_options in client/client_priv.h

and

enum server_options in sql/mysqld.cc

fixes the problem and gives a clean compile.
[29 Sep 2003 2:13] Sergei Golubchik
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

thank you.
fixed in 4.0.16