I seem to be running into this problem when I attempt to build MySQL from source (which I am doing instead of from binaries for personal reasons related to the project). I'm running a Debian 6.0.3 ("Squeeze") machine with GCC version 4.4. It says the error is in include/my_globals.h on line 1110. That line and surrounding ones look like this:
#if !defined(bool) && (!defined(HAVE_BOOL) || !defined(__cplusplus))
typedef char bool; /* Ordinary boolean values 0 1 */
#endif
I don't understand why it would be saying this, as the code is telling me that it only defines bool if bool isn't yet defined, and yet the error is telling me that bool is defined and it's being redefined...
Please, any help would be appreciated.
#if !defined(bool) && (!defined(HAVE_BOOL) || !defined(__cplusplus))
typedef char bool; /* Ordinary boolean values 0 1 */
#endif
I don't understand why it would be saying this, as the code is telling me that it only defines bool if bool isn't yet defined, and yet the error is telling me that bool is defined and it's being redefined...
Please, any help would be appreciated.