I have a class csdata which uses sql_create_20(tshares,... , and would
like to define 'tshares row' as a member of this class. Class ctran
contains members of class csdata, so it includes its header file
(csdata.h). Below are the errors.
Is it possible to include this into a header file? How? My header files
have the standard :
I'm sure this is more of a c++ question, but using these SSQLS
structures is central to effectively using mysql++, and I'm stuck.
gcc compile errors:
In file included from ctran.h:6,
<...sql_create_20... is on line 13 of csdata.h:>
csdata.h:13: error: syntax error before `*' token
csdata.h:13: error: type specifier omitted for parameter `cchar'
csdata.h:13: error: parse error before `*' token
csdata.h:13: error: missing ';' before right brace
... lots of errors like above...
csdata.h:13: error: `tshares' is not a template type
csdata.h:13: error: definition of `struct tshares' inside template parameter