Bug 213891
Summary: | GCC parse error in template argument list (testcase) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Philippe Rigault <prigault> |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6 | CC: | aoliva, hcmeyer, nvwarr |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 4.1.1-31 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-11-11 08:55:15 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Philippe Rigault
2006-11-03 17:00:33 UTC
The same problem prevents compilation of the root package from CERN (http://root.cern.ch) which fails with: include/TProofDraw.h:226: error: parse error in template argument list make: *** [proof/src/TProofDraw.o] Error 1 The file include/TProofDraw.h has the following lines (223-232): public: TProofVectorContainer<T>(std::vector<T>* anVector) : fVector(anVector) { }; TProofVectorContainer<T>() : fVector(0) { }; ~TProofVectorContainer<T>() { delete fVector; } std::vector<T> *GetVector() const { return fVector; } Long64_t Merge(TCollection* list); ClassDef(TProofVectorContainer,1) //Class describing a vector container }; This is GCC PR c++/29408, already fixed in gcc-4.1.1-31 Yes, I can confirm, it works with both the old 4.1.1-1.fc5 and the new 4.1.1-32 versions. I hope this fix will find its way into the updates tree quickly. It will be fixed in the next FC6 gcc updates, ETA around 3 weeks from now. |