This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
I get ABI fails...Seems like a good idea...This little patch adds the C++11 const char * constructor overloads for exceptions.
but, pick one:
+#ifdef __GXX_EXPERIMENTAL_CXX0X__ + explicit logic_error(const char* __arg) + : logic_error(string(__arg)) { } +#endif
or
+ + # const char* ctors. + _ZNSt11logic_errorC1EPKc; + _ZNSt11logic_errorC2EPKc;
Ie, this should not need to be both exported and inlined. Might as well inline it, and not export it.
-benjamin
2 incompatible symbols 0 _ZNSt11logic_errorC1EPKc std::logic_error::logic_error(char const*) version status: incompatible GLIBCXX_3.4 type: function status: added
1 _ZNSt11logic_errorC2EPKc std::logic_error::logic_error(char const*) version status: incompatible GLIBCXX_3.4 type: function status: added
# of added symbols: 32 # of missing symbols: 0 # of undesignated symbols: 0 # of incompatible symbols: 2
I guess this gets outlined for some reason. Is there a better fix for this? I guess I could just add the two symbols?
Attachment:
CL_cstring_stdexcept_ctors_5
Description: Text document
Attachment:
patch_cstring_stdexcept_ctors_5
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |