Bug #24053 Compiling error at connection.cpp:165
| Submitted: | 7 Nov 2006 17:27 | Modified: | 9 Dec 2006 0:38 |
|---|---|---|---|
| Reporter: | Weiguo Liu | Email Updates: | |
| Status: | Unsupported | Impact on me: | |
| Category: | MySQL++ | Severity: | S2 (Serious) |
| Version: | 2.1.1 | OS: | MacOS (Mac OS X) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | Compilation, Mac OS X, MySql++-2.1.1 | ||
[9 Dec 2006 0:38]
MySQL Verification Team
Thank you for the bug report. Currently we aren't maintaining MySQL please enter in contact with its maintainer. Thanks in advance.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.050 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.
Description: I'm new to MySql++, and compiling MySql++ 2.1.1 in a Mac OS X V10.4.8. It returns error: "./connection.cpp:165: error: 'ulong' was not declared in this scope." The code piece near line 165 is: 163 #if MYSQL_VERSION_ID >= 40101 164 if (option_pending(opt_multi_statements, true)) { 165 client_flag |= CLIENT_MULTI_STATEMENTS; 166 } 167 #endif Once I included "my_global.h", the error disappeared. Is connection.cpp the right place to add this head file? Btw, there are a bunch of warnings like the following: "../config.h:59:1: warning: "PACKAGE_BUGREPORT" redefined" Are these known and benign? Thanks, Weiguo How to repeat: Compiling in the same env. Suggested fix: Add line at the begining of connector.cpp: #include "my_global.h" // for ulong definition