Hi,
I'm trying to add the ssqls-link patch to allow generation of SSQL
without static member generation per these instructions:
http://lists.mysql.com/plusplus/5314
I get the missing header upon applying the patch, but custom.pl is
patched (incompletely?),
Running this generates the new macro file, but the application compile
fails as shown below.
What am I doing wrong?
(Mysql++ version 2.0.7, Debian Sarge)
Thanks,
Don
<< Apply patch to custom.pl >>
mytp:/usr/local/mysql++/lib$ patch -p0 < ssqls-link.patch
missing header for unified diff at line 5 of patch <<<=========
patching file custom.pl
mytp:/usr/local/mysql++/lib$ ls custom.pl -l
-rwxrwxr-x 1 dthompson dthompson 30695 2006-02-28 16:03 custom.pl
<< run custom.pl >>
mytp:/usr/local/mysql++/lib$ ./custom.pl
mytp:/usr/local/mysql++/lib$ ls custom* -l
-rw-rw-r-- 1 barb barb 1468 2005-11-23 16:02 custom.h
-rw-r--r-- 1 dthompson dthompson 1315844 2006-02-28 16:13 custom-macros.h
<< build application >>
mytp:/home/cu/gnucu/cutest-server$ make
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -DQT_SHARED
-I/usr/local/qt/mkspecs/default -I. -I/usr/include/mysql
-I/usr/local/mysql++-2.0.7/lib -I/opt/Ice-3.0.1/include
-I/usr/local/qt/include -o chist.o chist.cpp
chist.cpp:7: error: parse error before `;' token
chist.cpp:7: error: ISO C++ forbids declaration of
`MYSQLPP_SSQLS_EXPAND' with <<<========
no type
chist.cpp: In function `int MYSQLPP_SSQLS_EXPAND(...)':
chist.cpp:7: error: cannot declare member function `
thistory_cus_value_list<Manip>::thistory_cus_value_list' within
`thistory'
| Thread |
|---|
| • SSQLS_NO_STATICS Problem | don thompson | 28 Feb |