Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

SQLException - MEMORY_ALLOC_OPERATORS(SQLException) (no replies)

$
0
0
1>Compiling...
1>LsiApplication.cpp
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2059: syntax error : 'string'
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2091: function returns function
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2802: static member 'operator new' has no formal parameters
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2333: 'sql::SQLException::operator new' : error in function declaration; skipping function body
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2059: syntax error : 'string'
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2091: function returns function
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2556: 'void *(__cdecl *sql::SQLException::operator new(void))(size_t,void *) throw()' : overloaded function differs only by return type from 'void *(__cdecl *sql::SQLException::operator new(void))(size_t) throw(std::bad_alloc)'
1> c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : see declaration of 'sql::SQLException::operator new'
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2059: syntax error : 'string'
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2091: function returns function
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2556: 'void *(__cdecl *sql::SQLException::operator new(void))(size_t,const std::nothrow_t &) throw()' : overloaded function differs only by return type from 'void *(__cdecl *sql::SQLException::operator new(void))(size_t) throw(std::bad_alloc)'
1> c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : see declaration of 'sql::SQLException::operator new'
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2059: syntax error : 'string'
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2090: function returns array
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2059: syntax error : 'string'
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2090: function returns array
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2556: 'void *(__cdecl *sql::SQLException::operator new(void))(size_t,void *) throw()' : overloaded function differs only by return type from 'void *(__cdecl *sql::SQLException::operator new(void))(size_t) throw(std::bad_alloc)'
1> c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : see declaration of 'sql::SQLException::operator new'
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2059: syntax error : 'string'
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2090: function returns array
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2556: 'void *(__cdecl *sql::SQLException::operator new(void))(size_t,const std::nothrow_t &) throw()' : overloaded function differs only by return type from 'void *(__cdecl *sql::SQLException::operator new(void))(size_t) throw(std::bad_alloc)'
1> c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : see declaration of 'sql::SQLException::operator new'
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2059: syntax error : 'string'
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2091: function returns function
1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2556: 'void *(__cdecl *sql::SQLException::operator new(void))(size_t,std::allocator<_Ty> &)' : overloaded function differs only by return type from 'void *(__cdecl *sql::SQLException::operator new(void))(size_t) throw(std::bad_alloc)'
1> with
1> [
1> _Ty=sql::SQLException
1> ]
1> c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : see declaration of 'sql::SQLException::operator new'
1>Build log was saved at "file://d:\Serg\2005\iLabFilter\source\trunc\Filter\LastSaleInserter\Debug\BuildLog.htm"
1>LastSaleInserter - 21 error(s), 0 warning(s)



When comment next code al work right
//MEMORY_ALLOC_OPERATORS(SQLException)

Viewing all articles
Browse latest Browse all 527

Trending Articles