Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 312751 Details for
Bug 334797
media-sound/rezound-0.12.3_beta-r2 build fails on linking problem with -O2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Let gcc handle template instantiation
gentoo334797b.patch (text/plain), 2.30 KB, created by
Martin von Gagern
on 2012-05-22 20:12:07 UTC
(
hide
)
Description:
Let gcc handle template instantiation
Filename:
MIME Type:
Creator:
Martin von Gagern
Created:
2012-05-22 20:12:07 UTC
Size:
2.30 KB
patch
obsolete
>Let gcc handle template instantiation of TPoolFile. > >http://bugs.gentoo.org/334797 > >2012-05-22 Martin von Gagern <Martin.vGagern@gmx.net> > >Index: rezound-0.12.3beta/src/PoolFile/TPoolFile.h >=================================================================== >--- rezound-0.12.3beta.orig/src/PoolFile/TPoolFile.h >+++ rezound-0.12.3beta/src/PoolFile/TPoolFile.h >@@ -403,10 +403,8 @@ private: > > }; > >-/* this would be needed if I were utilizing gcc's implicit instantiation for TPoolFile > #define __TPoolFile_H__CPP > #include "TPoolFile.cpp" > #undef __TPoolFile_H__CPP >-*/ > > #endif >Index: rezound-0.12.3beta/src/PoolFile/TPoolFile.cpp >=================================================================== >--- rezound-0.12.3beta.orig/src/PoolFile/TPoolFile.cpp >+++ rezound-0.12.3beta/src/PoolFile/TPoolFile.cpp >@@ -20,11 +20,9 @@ > * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA > */ > >-/* this would be needed if I were utilizing gcc's implicit instantiation for TPoolFile > #ifndef __TPoolFile_H__CPP > #error this file must be included through TPoolFile.h NOT compiled on its own > #endif >-*/ > > /* ??? > * There are places that I have to do: container.erase(container.begin+index); >Index: rezound-0.12.3beta/src/backend/CSound.cpp >=================================================================== >--- rezound-0.12.3beta.orig/src/backend/CSound.cpp >+++ rezound-0.12.3beta/src/backend/CSound.cpp >@@ -2286,7 +2286,7 @@ void CSound::setUserNotes(const string & > > > // this is the explicit instantiation of the TPoolFile for CSound's purposes >-#include <TPoolFile.cpp> >+// #include <TPoolFile.cpp> > template class TPoolFile<sample_pos_t,uint64_t>; > > // Some explicit template method instantiations (not sure why some are necessary and some aren't) >Index: rezound-0.12.3beta/src/backend/CrezSoundTranslator.cpp >=================================================================== >--- rezound-0.12.3beta.orig/src/backend/CrezSoundTranslator.cpp >+++ rezound-0.12.3beta/src/backend/CrezSoundTranslator.cpp >@@ -43,7 +43,7 @@ CrezSoundTranslator::~CrezSoundTranslato > > // need to include this I use some of the template *methods* for types that are no where else > // so the explicit instantation at the bottom of CSound.cpp doesn't instantiate everything >-#include <TPoolFile.cpp> >+// #include <TPoolFile.cpp> > > struct RFormatInfo1 > {
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 334797
:
244917
|
259521
|
259698
|
259699
| 312751