Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 363656 Details for
Bug 423615
sci-geosciences/grass-6.4.2: fails to build (gcc 4.7?)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Builds here ... YMMV
grass-6.4.2-gcc.patch (text/plain), 1.70 KB, created by
Stoian Ivanov
on 2013-11-20 14:28:53 UTC
(
hide
)
Description:
Builds here ... YMMV
Filename:
MIME Type:
Creator:
Stoian Ivanov
Created:
2013-11-20 14:28:53 UTC
Size:
1.70 KB
patch
obsolete
>--- include/iostream/minmaxheap.h >+++ include/iostream/minmaxheap.h >@@ -744,7 +744,7 @@ > //heap must be empty > assert(this->size()==0); > for (i = 0; !full() && i<n; i++) { >- insert(arr[i]); >+ this->insert(arr[i]); > } > if (i < n) { > assert(i == this->maxsize); >@@ -777,13 +777,13 @@ > > if(old) { > HeapIndex n = this->size(); >- this->A = allocateHeap(this->maxsize); /* allocate a new array */ >+ this->A = this->allocateHeap(this->maxsize); /* allocate a new array */ > /* copy over the old values */ > assert(this->maxsize > n); > for(HeapIndex i=0; i<=n; i++) { /* why extra value? -RW */ > this->A[i] = old[i]; > } >- freeHeap(old); /* free up old storage */ >+ this->freeHeap(old); /* free up old storage */ > } > > } >--- lib/iostream/mm.cc >+++ lib/iostream/mm.cc >@@ -256,7 +256,7 @@ > > > /* ************************************************************ */ >-void* operator new[] (size_t sz) { >+void* operator new[] (size_t sz) throw(std::bad_alloc) { > void *p; > > MM_DEBUG cout << "new: sz=" << sz << ", register " >@@ -307,7 +307,7 @@ > > > /* ************************************************************ */ >-void* operator new (size_t sz) { >+void* operator new (size_t sz) throw(std::bad_alloc) { > void *p; > > MM_DEBUG cout << "new: sz=" << sz << ", register " >@@ -359,7 +359,7 @@ > > > /* ---------------------------------------------------------------------- */ >-void operator delete (void *ptr) { >+void operator delete (void *ptr) throw() { > size_t sz; > void *p; > >@@ -399,7 +399,7 @@ > > > /* ---------------------------------------------------------------------- */ >-void operator delete[] (void *ptr) { >+void operator delete[] (void *ptr) throw() { > size_t sz; > void *p; >
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 423615
: 363656