Hi Everbody !
I spend all day trying to figure out what's this error but i can=B4t so=
i
need your help,
I have a win2k with dev c++ 5.0 and mingw 2.0 (gcc 3.2) . I am trying =
to
compile this simple program but this is what i've got. I am using the
headers and libs from Visual C++ (mysql++-1.7.1-1-win32-vc++)
I've also link the liblibmysql and reimp it.
#include <stdio.h>
#include<windows.h>
#include <sqlplus.hh>
int main(int argc, char *argv[])
{
system("PAUSE");
return 0;
}
Thanks in advance !
In file included from C:/Dev-Cpp/include/sqlplus/row1.hh:12,
from C:/Dev-Cpp/include/sqlplus/compare1.hh:6,
from C:/Dev-Cpp/include/sqlplus/sqlplus.hh:12,
from main.cpp:3:
C:/Dev-Cpp/include/sqlplus/resiter1.hh:29: wrong number of template
arguments (
2, should be 1)
C:/Dev-Cpp/include/c++/3.2/bits/stl_iterator.h:91: provided for
`template<class
_Iterator> class std::reverse_iterator'
C:/Dev-Cpp/include/sqlplus/resiter1.hh:29: ISO C++ forbids declaration =
of `
reverse_iterator' with no type
C:/Dev-Cpp/include/sqlplus/resiter1.hh:30: wrong number of template
arguments (
2, should be 1)
C:/Dev-Cpp/include/c++/3.2/bits/stl_iterator.h:91: provided for
`template<class
_Iterator> class std::reverse_iterator'
C:/Dev-Cpp/include/sqlplus/resiter1.hh:30: ISO C++ forbids declaration =
of `
const_reverse_iterator' with no type
In file included from C:/Dev-Cpp/include/c++/3.2/backward/strstream:51,=
from C:/Dev-Cpp/include/sqlplus/sql_query1.hh:4,
from C:/Dev-Cpp/include/sqlplus/manip1.hh:10,
from C:/Dev-Cpp/include/sqlplus/vallist1.hh:4,
from C:/Dev-Cpp/include/sqlplus/row1.hh:13,
from C:/Dev-Cpp/include/sqlplus/compare1.hh:6,
from C:/Dev-Cpp/include/sqlplus/sqlplus.hh:12,
from main.cpp:3:
C:/Dev-Cpp/include/c++/3.2/backward/backward_warning.h:32:2: warning:
#warning This file includes at least one deprecated or antiquated heade=
r.
Please consider using one of the 32 headers found in section 17.4.1.2 o=
f
the C++ standard. Examples include substituting the <X> header for the
<X.h> header for C++ includes, or <sstream> instead of the deprecated
header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from C:/Dev-Cpp/include/sqlplus/manip1.hh:12,
from C:/Dev-Cpp/include/sqlplus/vallist1.hh:4,
from C:/Dev-Cpp/include/sqlplus/row1.hh:13,
from C:/Dev-Cpp/include/sqlplus/compare1.hh:6,
from C:/Dev-Cpp/include/sqlplus/sqlplus.hh:12,
from main.cpp:3:
C:/Dev-Cpp/include/sqlplus/set1.hh:12: parse error before `>' token
C:/Dev-Cpp/include/sqlplus/set1.hh:18: parse error before `&' token
C:/Dev-Cpp/include/sqlplus/set1.hh:18: `void operator()(...)' must be a=
nonstatic member function
C:/Dev-Cpp/include/sqlplus/set1.hh:18: confused by earlier errors, bail=
ing
out
make.exe: *** [main.o] Error 1
Execution terminated
=
|