Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 212445 Details for
Bug 282898
[EBUILD] MySQL Connector/C++
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
07_attribute_visibility_default_for_exceptions.diff
07_attribute_visibility_default_for_exceptions.diff (text/plain), 2.19 KB, created by
Hanno Zysik (geki)
on 2009-12-08 12:49:29 UTC
(
hide
)
Description:
07_attribute_visibility_default_for_exceptions.diff
Filename:
MIME Type:
Creator:
Hanno Zysik (geki)
Created:
2009-12-08 12:49:29 UTC
Size:
2.19 KB
patch
obsolete
>diff -urNad mysql-connector-c++-1.1.0~r791~/cppconn/exception.h mysql-connector-c++-1.1.0~r791/cppconn/exception.h >--- mysql-connector-c++-1.1.0~r791~/cppconn/exception.h 2009-12-02 19:07:54.000000000 +0100 >+++ mysql-connector-c++-1.1.0~r791/cppconn/exception.h 2009-12-02 19:11:55.000000000 +0100 >@@ -17,6 +17,8 @@ > #include <string> > #include <memory> > >+#define CPPCONN_PUBLIC_EXCEPTION __attribute__((visibility("default"))) >+ > namespace sql > { > >@@ -37,7 +39,7 @@ > #pragma warning(push) > #pragma warning(disable: 4275) > #endif >-class CPPCONN_PUBLIC_FUNC SQLException : public std::runtime_error >+class CPPCONN_PUBLIC_EXCEPTION SQLException : public std::runtime_error > { > #ifdef _WIN32 > #pragma warning(pop) >@@ -83,26 +85,26 @@ > MEMORY_ALLOC_OPERATORS(SQLException) > }; > >-struct CPPCONN_PUBLIC_FUNC MethodNotImplementedException : public SQLException >+struct CPPCONN_PUBLIC_EXCEPTION MethodNotImplementedException : public SQLException > { > MethodNotImplementedException(const MethodNotImplementedException& e) : SQLException(e.what(), e.sql_state, e.errNo) { } > MethodNotImplementedException(const std::string& reason) : SQLException(reason, "", 0) {} > }; > >-struct CPPCONN_PUBLIC_FUNC InvalidArgumentException : public SQLException >+struct CPPCONN_PUBLIC_EXCEPTION InvalidArgumentException : public SQLException > { > InvalidArgumentException(const InvalidArgumentException& e) : SQLException(e.what(), e.sql_state, e.errNo) { } > InvalidArgumentException(const std::string& reason) : SQLException(reason, "", 0) {} > }; > >-struct CPPCONN_PUBLIC_FUNC InvalidInstanceException : public SQLException >+struct CPPCONN_PUBLIC_EXCEPTION InvalidInstanceException : public SQLException > { > InvalidInstanceException(const InvalidInstanceException& e) : SQLException(e.what(), e.sql_state, e.errNo) { } > InvalidInstanceException(const std::string& reason) : SQLException(reason, "", 0) {} > }; > > >-struct CPPCONN_PUBLIC_FUNC NonScrollableException : public SQLException >+struct CPPCONN_PUBLIC_EXCEPTION NonScrollableException : public SQLException > { > NonScrollableException(const NonScrollableException& e) : SQLException(e.what(), e.sql_state, e.errNo) { } > NonScrollableException(const std::string& reason) : SQLException(reason, "", 0) {}
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 282898
:
202393
|
202580
|
202582
|
202584
|
202586
|
202587
|
207072
|
207074
|
210731
| 212445 |
212446
|
224229
|
225089