Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 8162 Details for
Bug 1307
mysql++-1.7.9-r1.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch that corrects some throw() errors during compiling custom projects againts mysql++ api
mysql++-gcc_throw.patch (text/plain), 3.09 KB, created by
Sascha Herrmann
on 2003-02-11 11:16:29 UTC
(
hide
)
Description:
patch that corrects some throw() errors during compiling custom projects againts mysql++ api
Filename:
MIME Type:
Creator:
Sascha Herrmann
Created:
2003-02-11 11:16:29 UTC
Size:
3.09 KB
patch
obsolete
>diff -rc mysql++-1.7.9/sqlplusint/connection1.hh mysql++-1.7.9.patched/sqlplusint/connection1.hh >*** mysql++-1.7.9/sqlplusint/connection1.hh Tue Feb 11 14:41:33 2003 >--- mysql++-1.7.9.patched/sqlplusint/connection1.hh Tue Feb 11 14:45:20 2003 >*************** >*** 11,19 **** > #include <vector.h> > #include <deque.h> > #include <list.h> >! #include <slist.h> >! #include <set.h> >! #include <map.h> > #include <multiset.h> > #include "define_short" > #include "exceptions.hh" >--- 11,19 ---- > #include <vector.h> > #include <deque.h> > #include <list.h> >! #include <ext/slist> >! #include <set> >! #include <map> > #include <multiset> > #include "define_short" > #include "exceptions.hh" >diff -rc mysql++-1.7.9/sqlplusint/convert1.hh mysql++-1.7.9.patched/sqlplusint/convert1.hh >*** mysql++-1.7.9/sqlplusint/convert1.hh Sat May 19 18:44:48 2001 >--- mysql++-1.7.9.patched/sqlplusint/convert1.hh Tue Feb 11 14:47:48 2003 >*************** >*** 16,22 **** > operator TYPE () {return num;}\ > };\ > >! extern double strtod (const char *, char **); > > mysql__convert(float, strtod) > mysql__convert(double, strtod) >--- 16,22 ---- > operator TYPE () {return num;}\ > };\ > >! extern double strtod (const char *, char **) throw (); > > mysql__convert(float, strtod) > mysql__convert(double, strtod) >*************** >*** 33,40 **** > operator TYPE () {return num;}\ > };\ > >! extern long strtol(const char *str, char **ptr, int base); >! extern unsigned long strtoul(const char *str, char **ptr, int base); > > mysql__convert(char, strtol) > mysql__convert(signed char, strtol) >--- 33,40 ---- > operator TYPE () {return num;}\ > };\ > >! extern long strtol(const char *str, char **ptr, int base) throw(); >! extern unsigned long strtoul(const char *str, char **ptr, int base) throw(); > > mysql__convert(char, strtol) > mysql__convert(signed char, strtol) >*************** >*** 58,65 **** > extern "C" { > extern char *longlong2str(longlong val,char *dst,int radix); > extern char *longlong10_to_str(longlong val,char *dst,int radix); >! extern longlong strtoll(const char *nptr,char **endptr,int base); >! extern ulonglong strtoull(const char *nptr,char **endptr,int base); > } > mysql__convert(longlong, strtoll) > mysql__convert(ulonglong, strtoull) >--- 58,65 ---- > extern "C" { > extern char *longlong2str(longlong val,char *dst,int radix); > extern char *longlong10_to_str(longlong val,char *dst,int radix); >! extern longlong strtoll(const char *nptr,char **endptr,int base) throw(); >! extern ulonglong strtoull(const char *nptr,char **endptr,int base) throw(); > } > mysql__convert(longlong, strtoll) > mysql__convert(ulonglong, strtoull) >diff -rc mysql++-1.7.9/sqlplusint/exceptions.hh mysql++-1.7.9.patched/sqlplusint/exceptions.hh >*** mysql++-1.7.9/sqlplusint/exceptions.hh Tue Feb 11 14:41:33 2003 >--- mysql++-1.7.9.patched/sqlplusint/exceptions.hh Tue Feb 11 14:43:28 2003 >*************** >*** 1,6 **** >--- 1,7 ---- > /* sqlplusint/exceptions.hh. Generated automatically by configure. */ > #ifndef __MYSQLPLUS_EXCEPTIONS__ > #define __MYSQLPLUS_EXCEPTIONS__ >+ using namespace std; > #include <string> > > /* #undef USE_STANDARD_EXCEPTION */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1307
:
419
|
4684
|
4685
|
4710
|
5049
|
6173
|
6174
|
6175
|
6176
|
8161
| 8162