![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
- Applied Viktor Stark's multiple static member SSQLS patch |
#3
| |||
| |||
|
|
On Sat, Mar 04, 2006 at 02:23:51AM -0700, Warren Young wrote: - Applied Viktor Stark's multiple static member SSQLS patch Was just playing with the new gcc 4.1.0 and giving mysql++ a test compile, and it spit out this new warning: ../lib/custom.h:18:31: warning: ISO C does not permit named variadic macros That line is: #ifdef MYSQLPP_SSQLS_NO_STATICS #define MYSQLPP_SSQLS_EXPAND(a...) #else #define MYSQLPP_SSQLS_EXPAND(a...) a <--- here #endif This probably doesn't matter if it works on all our supported compilers, just thought I'd mention it. - Chris |
#4
| |||
| |||
|
|
Just to let you know that when I applied the SSQLS statics patch on version 2.0.7 and then built it using Visual C++ it didn't like the macro Chris mentions below. In Visual C I think you have to use the macro __VA_ARGS__. I've attached the code I've used below in case it's useful. |
![]() |
| Thread Tools | |
| Display Modes | |
| |