List:MySQL++« Previous MessageNext Message »
From:gary clark Date:February 28 2007 11:00pm
Subject:Re: UPDATE routine giving exception
View as plain text  
Hi,

Ahem. Just downloaded the 2.2.1 mysql++ and rebuilt.
The UPDATE routine is still failing on windows.
Anybody else see this?

I thought maybe, just maybe the warnings I get give me
a clue:

1>c:\mysql++-2.2.1\lib\connection.h(571) : warning
C4251: 'mysqlpp::Connection::pending_options_' : class
'std::deque<_Ty>' needs to have dll-interface to be
used by clients of class 'mysqlpp::Connection'
1>        with
1>        [
1>            _Ty=mysqlpp::Connection::OptionInfo
1>        ]
1>c:\mysql++-2.2.1\lib\qparms.h(49) : warning C4251:
'std::_Vector_val<_Ty,_Alloc>::_Alval' : class
'std::allocator<_Ty>' needs to have dll-interface to
be used by clients of class
'std::_Vector_val<_Ty,_Alloc>'
1>        with
1>        [
1>            _Ty=mysqlpp::SQLString,
1>           
_Alloc=std::allocator<mysqlpp::SQLString>
1>        ]
1>        and
1>        [
1>            _Ty=mysqlpp::SQLString
1>        ]
1>        and
1>        [
1>            _Ty=mysqlpp::SQLString,
1>           
_Alloc=std::allocator<mysqlpp::SQLString>
1>        ]
1>c:\mysql++-2.2.1\lib\type_info.h(110) : warning
C4251: 'mysqlpp::mysql_ti_sql_type_info_lookup::map_'
: class 'std::map<_Kty,_Ty,_Pr>' needs to have
dll-interface to be used by clients of class
'mysqlpp::mysql_ti_sql_type_info_lookup'
1>        with
1>        [
1>            _Kty=const type_info *,
1>            _Ty=unsigned char,
1>            _Pr=mysqlpp::type_info_cmp
1>        ]
1>c:\mysql++-2.2.1\lib\field_names.h(46) : warning
C4251: 'std::_Vector_val<_Ty,_Alloc>::_Alval' : class
'std::allocator<_Ty>' needs to have dll-interface to
be used by clients of class
'std::_Vector_val<_Ty,_Alloc>'
1>        with
1>        [
1>            _Ty=std::string,
1>            _Alloc=std::allocator<std::string>
1>        ]
1>        and
1>        [
1>            _Ty=std::string
1>        ]
1>        and
1>        [
1>            _Ty=std::string,
1>            _Alloc=std::allocator<std::string>
1>        ]
1>c:\mysql++-2.2.1\lib\field_types.h(44) : warning
C4251: 'std::_Vector_val<_Ty,_Alloc>::_Alval' : class
'std::allocator<_Ty>' needs to have dll-interface to
be used by clients of class
'std::_Vector_val<_Ty,_Alloc>'
1>        with
1>        [
1>            _Ty=mysqlpp::mysql_type_info,
1>           
_Alloc=std::allocator<mysqlpp::mysql_type_info>
1>        ]
1>        and
1>        [
1>            _Ty=mysqlpp::mysql_type_info
1>        ]
1>        and
1>        [
1>            _Ty=mysqlpp::mysql_type_info,
1>           
_Alloc=std::allocator<mysqlpp::mysql_type_info>
1>        ]
1>c:\mysql++-2.2.1\lib\row.h(466) : warning C4251:
'mysqlpp::Row::is_nulls_' : class
'std::vector<_Ty,_Ax>' needs to have dll-interface to
be used by clients of class 'mysqlpp::Row'
1>        with
1>        [
1>            _Ty=bool,
1>            _Ax=std::allocator<bool>
1>        ]
1>c:\mysql++-2.2.1\lib\query.h(668) : warning C4251:
'mysqlpp::Query::parse_elems_' : class
'std::vector<_Ty>' needs to have dll-interface to be
used by clients of class 'mysqlpp::Query'
1>        with
1>        [
1>            _Ty=mysqlpp::SQLParseElement
1>        ]
1>c:\mysql++-2.2.1\lib\query.h(675) : warning C4251:
'mysqlpp::Query::parsed_nums_' : class
'std::map<_Kty,_Ty>' needs to have dll-interface to be
used by clients of class 'mysqlpp::Query'
1>        with
1>        [
1>            _Kty=std::string,
1>            _Ty=short
1>        ]

Any ideas?

Thanks,
Garyc
--- gary clark <burslem2001@stripped> wrote:

> Much appreciated Warren.
> 
> Garyc
> --- Warren Young <mysqlpp@stripped> wrote:
> 
> > gary clark wrote:
> > > 
> > > I must apologise for my ignorance in advance
> what
> > is
> > > svn and where do I get it?
> > 
> > "svn" is short for "Subversion".  The easiest way
> > for Windows users to 
> > get it is to install Cygwin (http://cygwin.com/). 
> > Subversion is not 
> > part of the default Cygwin install, so you'll have
> > to dig through the 
> > package tree during the installation to turn it
> on.
> > 
> > You can get further pointers by searching for
> > "Subversion" on the main 
> > MySQL++ page.
> > 
> > > Dont know too much about this svn version?
> > 
> > We keep the MySQL++ source code in an svn
> > repository.  So, this gets you 
> > access to the live copy of the source I'm working
> on
> > right now.
> > 
> > -- 
> > MySQL++ Mailing List
> > For list archives: http://lists.mysql.com/plusplus
> > To unsubscribe:   
> >
>
http://lists.mysql.com/plusplus?unsub=1
> > 
> > 
> 
> 
> -- 
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe:   
>
http://lists.mysql.com/plusplus?unsub=1
> 
> 

Thread
Two bugs in 2.2.0Joseph Artsimovich12 Feb
  • Column sizesgary clark12 Feb
    • Re: Column sizesWarren Young13 Feb
      • Re: Column sizesgary clark16 Feb
        • Re: Column sizesWarren Young16 Feb
          • Re: Column sizesgary clark16 Feb
            • UPDATE routine giving exceptiongary clark16 Feb
              • Re: UPDATE routine giving exceptionJonathan Wakely17 Feb
                • Re: UPDATE routine giving exceptiongary clark18 Feb
                  • Re: UPDATE routine giving exceptionJames Vanns19 Feb
                    • Re: UPDATE routine giving exceptiongary clark19 Feb
                      • Re: UPDATE routine giving exceptiongary clark23 Feb
                        • Re: UPDATE routine giving exceptionWarren Young23 Feb
                          • Re: UPDATE routine giving exceptiongary clark23 Feb
                            • Re: UPDATE routine giving exceptionWarren Young24 Feb
                              • Re: UPDATE routine giving exceptionIan Miller24 Feb
                              • Re: UPDATE routine giving exceptiongary clark24 Feb
                                • Re: UPDATE routine giving exceptiongary clark28 Feb
                                  • Re: UPDATE routine giving exceptionWarren Young1 Mar
                                    • Re: UPDATE routine giving exceptiongary clark1 Mar
                                    • Re: UPDATE routine giving exceptiongary clark19 Mar
                                      • Re: UPDATE routine giving exceptionWarren Young19 Mar
                                        • Re: UPDATE routine giving exceptiongary clark19 Mar
                                          • Re: UPDATE routine giving exceptionWarren Young19 Mar
                                            • Re: UPDATE routine giving exceptiongary clark20 Mar
  • Re: Two bugs in 2.2.0Warren Young20 Feb
    • Re: Two bugs in 2.2.0Joseph Artsimovich20 Feb
      • Re: Two bugs in 2.2.0Jonathan Wakely20 Feb
        • Re: Two bugs in 2.2.0Joseph Artsimovich20 Feb
          • Re: Two bugs in 2.2.0Jonathan Wakely20 Feb
            • Re: Two bugs in 2.2.0Joseph Artsimovich20 Feb
              • Re: Two bugs in 2.2.0Jonathan Wakely20 Feb
        • Re: Two bugs in 2.2.0Warren Young20 Feb