|
|||||||||||
|
Re: MySQL include paths
From: Warren Young <mysqlpp(at)etr-usa.com>
Date: Mon Jul 09 2007 - 14:52:22 EDT
I can't accept your simple patch, because it will only work on systems where the MySQL headers are installed under some other directory, especially a standard system include directory. This is common on *ix systems, but isn't guaranteed, and it's totally wrong on Windows. Your concern is valid, and I wonder if we can't fix it with just a little more cleverness. Something like this: #if defined(MYSQLPP_MYSQL_HEADERS_BURIED) && \ !defined(MYSQLPP_PLATFORM_WINDOWS) # include Someone in your position who wants this feature and knows that their headers are organized in this way can define the macro to turn it on. It must be optional. Is this alternative acceptable? > Some programs makefiles (or MSdev-settings) would possibly have to be On Windows, the standard path is c:\Program Files\MySQL\MySQL Server x.y\include You simply can't do it your way and have it work on Windows. The scheme is just far too different. -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=lists@pantek.comReceived on Mon Jul 9 15:22:32 2007 This archive was generated by hypermail 2.1.8 : Mon Jul 16 2007 - 05:12:18 EDT |
||||||||||
|
|||||||||||