[
https://issues.apache.org/jira/browse/STDCXX-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585793#action_12585793
]
elemings edited comment on STDCXX-827 at 4/4/08 3:09 PM:
-------------------------------------------------------------
Haven't tested it yet but I figure this is the patch for this issue:
{noformat}
$ svn diff
Index: include/loc/_moneypunct.h
===================================================================
--- include/loc/_moneypunct.h (revision 644937)
+++ include/loc/_moneypunct.h (working copy)
@@ -66,7 +66,11 @@
string_type;
_EXPLICIT moneypunct (_RWSTD_SIZE_T __refs = 0)
- : _RW::__rw_facet (__refs) { }
+ : _RW::__rw_facet (__refs)
+#if !defined _MSC_VER || 1400 >= _MSC_VER // not MSVC 7.1 or earlier
+ , money_base ()
+#endif // defined _MSC_VER
+ { }
char_type decimal_point () const {
return do_decimal_point ();
Index: include/loc/_messages.h
===================================================================
--- include/loc/_messages.h (revision 644937)
+++ include/loc/_messages.h (working copy)
@@ -82,7 +82,11 @@
allocator<char_type> > string_type;
_EXPLICIT messages (_RWSTD_SIZE_T __refs = 0)
- : _RW::__rw_facet (__refs) { }
+ : _RW::__rw_facet (__refs)
+#if !defined _MSC_VER || 1400 >= _MSC_VER // not MSVC 7.1 or earlier
+ , messages_base ()
+#endif // defined _MSC_VER
+ { }
catalog open (const string& __fun, const locale& __loc) const {
{noformat}
Currently building and testing it.
was (Author: elemings):
Haven't tested it yet but I figure this is the patch for this issue:
{noformat}
$ svn diff
Index: include/loc/_moneypunct.h
===================================================================
--- include/loc/_moneypunct.h (revision 644937)
+++ include/loc/_moneypunct.h (working copy)
@@ -66,7 +66,11 @@
string_type;
_EXPLICIT moneypunct (_RWSTD_SIZE_T __refs = 0)
- : _RW::__rw_facet (__refs) { }
+ : _RW::__rw_facet (__refs)
+#if !defined _MSC_VER || 1400 >= _MSC_VER // not MSVC 7.1 or earlier
+ , messages_base ()
+#endif // defined _MSC_VER
+ { }
char_type decimal_point () const {
return do_decimal_point ();
Index: include/loc/_messages.h
===================================================================
--- include/loc/_messages.h (revision 644937)
+++ include/loc/_messages.h (working copy)
@@ -82,7 +82,11 @@
allocator<char_type> > string_type;
_EXPLICIT messages (_RWSTD_SIZE_T __refs = 0)
- : _RW::__rw_facet (__refs) { }
+ : _RW::__rw_facet (__refs)
+#if !defined _MSC_VER || 1400 >= _MSC_VER // not MSVC 7.1 or earlier
+ , money_base ()
+#endif // defined _MSC_VER
+ { }
catalog open (const string& __fun, const locale& __loc) const {
{noformat}
Currently building and testing it.
> SIGBUS in 22.locale.stdcxx-554
> ------------------------------
>
> Key: STDCXX-827
> URL: https://issues.apache.org/jira/browse/STDCXX-827
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Tests
> Affects Versions: trunk
> Environment: HP aCC 3.73/HP-UX/PA-RISC, Sun C++/Solaris
> Reporter: Martin Sebor
> Assignee: Eric Lemings
> Fix For: 4.2.1
>
> Original Estimate: 3h
> Remaining Estimate: 3h
>
> The regression test
> [22.locale.stdcxx-554.cpp|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/regress/22.locale.stdcxx-554.cpp]
> abends with SIGBUS on some platforms:
> * HP aCC 3.73 on HP-UX/PA-RISC
> * gcc 4.1.1 or Sun C++ 5.9 on Solaris 10/SPARC
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.