config-win.h redefinition problems 2007-12-03 - By Warren Young
Back jms295 wrote: > My problem is that when I try to compile anything > that uses the my_global.h header I get a handful of macro redefintion errors
MySQL++ #includes the C API headers itself; your code shouldn't.
We actually make it a point not to #include my_global.h, in fact, because it's incompatible with pretty much any C++ program, including MySQL++ itself. Yes, the C API documentation says to #include it, but you're not using the C API now. Leave fighting with the C API up to those of us who work on MySQL++'s internals.
-- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=mysql@(protected)
|
|