|
From: Pac <pa...@tu...> - 2003-02-03 16:59:02
|
Le 03/02/03 à 09:02, Earnie Boyd a écrit: Earnie> And in case it's not obvious enough, it generates a file for make to Earnie> execute upon. So for foo.dsp you get foo.mak after executing this script. Where is the documentation for the dsw2mak script ? Actually with MySQLC++ for VisualC++ see (http://www.mysql.com/downloads/api-mysql++.html) when I execute the gaw scrip I've got : mysqlpp.dsw mysqlpp.dsw: Global: unknown section mysqlpp.dsp then when I do make -f mysqlpp.mak make fails with this error: g++ -fexceptions -g -O0 -Imysql/include -DWIN32 -D_DEBUG -D_MBCS -D_LIB -o sqlplus/coldata.o -c sqlplus/coldata.cpp In file included from sqlplus/coldata1.hh:9, from sqlplus/coldata2.hh:5, from sqlplus/coldata3.hh:8, from sqlplus/coldata4.hh:6, from sqlplus/coldata.cpp:7: sqlplus/type_info1.hh:14: friend declaration requires class-key, i.e. `friend struct mysql_type_info' sqlplus/type_info1.hh:15: friend declaration requires class-key, i.e. `friend struct mysql_ti_sql_type_info_lookup' sqlplus/type_info1.hh:44: friend declaration requires class-key, i.e. `friend struct mysql_type_info' In file included from sqlplus/coldata4.hh:6, from sqlplus/coldata.cpp:7: sqlplus/coldata3.hh:13: no `mysql_ColData<Str>::operator MysqlNull<T, B>() const' member function declared in class `mysql_ColData<Str>' sqlplus/coldata3.hh:13: template definition of non-template ` mysql_ColData<Str>::operator MysqlNull<T, B>() const' make: *** [sqlplus/coldata.o] Error 1 any idea how could I fix this ? -- R.Pac |