Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 449060 Details for
Bug 596012
sci-chemistry/sparky-3.115-r1 : memalloc.cc:42:7: error: declaration of ‘void* operator new(size_t) throw (std::bad_alloc)’ has a different exception specifier
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sparky-3.115-c++11.patch
sparky-3.115-c++11.patch (text/plain), 758 bytes, created by
Peter Levine
on 2016-10-04 01:05:10 UTC
(
hide
)
Description:
sparky-3.115-c++11.patch
Filename:
MIME Type:
Creator:
Peter Levine
Created:
2016-10-04 01:05:10 UTC
Size:
758 bytes
patch
obsolete
>--- sparky/c++/memalloc.cc.old 2016-10-03 20:52:34.724249809 -0400 >+++ sparky/c++/memalloc.cc 2016-10-03 20:58:33.745380625 -0400 >@@ -39,7 +39,10 @@ > > // ---------------------------------------------------------------------------- > // >-void *operator new(size_t size) throw(std::bad_alloc) >+void *operator new(size_t size) >+#if __cplusplus < 201103L >+throw(std::bad_alloc) >+#endif > { > void *value = allocate(size); > if (tracking_memory) >@@ -72,7 +75,10 @@ > > // ---------------------------------------------------------------------------- > // >-void *operator new[](size_t size) throw(std::bad_alloc) >+void *operator new[](size_t size) >+#if __cplusplus < 201103L >+throw(std::bad_alloc) >+#endif > { > void *value = allocate(size); > if (tracking_memory)
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 596012
:
448928
|
448930
|
448932
| 449060