![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
The first problem I ran into was that both ADO and mysql++ define Field, Fields and Connection classes. I did not think this would be an issue, because I could just not use the "using mysqlpp" directive and reference all of the mysql++ names explicitly, but I was also trying to use the nifty SSQLS functionality, and it turns out that the sql_create_x macros will not compile unless "using mysqlpp;" has been declared. |
#3
| |||
| |||
|
|
The first problem I ran into was that both ADO and mysql++ define Field, Fields and Connection classes. I did not think this would be an issue, because I could just not use the "using mysqlpp" directive and reference all of the mysql++ names explicitly, but I was also trying to use the nifty SSQLS functionality, and it turns out that the sql_create_x macros will not compile unless "using mysqlpp;" has been declared. |
#4
| |||
| |||
|
|
will not compile unless "using mysqlpp;" has been declared. Try this patch. |
|
The makefile should regenerate custom-macros.h for you, |
#5
| |||
| |||
|
|
Go ahead and apply it to HEAD. Please check in the custom.pl and the examples sides separately. They are separate things, right? I mean, it seems that you changed the examples to no longer hoist MySQL++ symbols into the global namespace just to illustrate the point. If so, it's not really part of the custom.pl patch. |
![]() |
| Thread Tools | |
| Display Modes | |
| |