http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19541
--- Comment #23 from Rodolfo Schulz de Lima rodolfo at rodsoft dot org ---
How difficult is it to add a parameter to add paths to precompiled header
search list *only*?
We have a big code base with #include pch.h in some source files.
If source
involving variadic parameters
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rodolfo at rodsoft dot org
GCC build
--- Comment #4 from rodolfo at rodsoft dot org 2010-08-09 14:24 ---
Well, this compiles:
template int... struct A {};
template int struct B {};
template int... struct C {};
template class A, class B, class C struct foo;
templatetemplateint... class A,
templateint class B
--- Comment #5 from rodolfo at rodsoft dot org 2010-08-09 14:38 ---
And I think that the original intent of the attached code (as I wrote in the
summary) was lost when I tried to reduce it. Here's the original version:
//
template class T, class S
--- Comment #12 from rodolfo at rodsoft dot org 2010-08-09 21:35 ---
Thanks for the quick fix, I have already recompiled gcc and now it compiles the
snippets I've posted.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45236
--- Comment #1 from rodolfo at rodsoft dot org 2010-07-21 02:27 ---
It also happens on 4.5.0.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36435
at gcc dot gnu dot org
ReportedBy: rodolfo at rodsoft dot org
GCC build triplet: x86_64-pc-linux-gnu
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45012
--- Comment #1 from rodolfo at rodsoft dot org 2010-07-21 02:49 ---
The code I posted was meant to be compiled in c++0x mode, but if we write
directly the definition of std::enable_if, it also happens in c++03 mode.
So, instead of #include type_traits, one should write:
template bool B
--- Comment #3 from rodolfo at rodsoft dot org 2010-07-21 03:03 ---
(In reply to comment #2)
This enum value has an anonymous type which is not valid in the
context of templates in C++03/98. It is valid in the current draft of C
++0x though. But I cannot remember if 4.5 implements
partial specialization error
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rodolfo at rodsoft dot org
GCC build
--- Comment #1 from rodolfo at rodsoft dot org 2009-06-11 16:34 ---
I've been bitten by this bug, which is almost 2 years old. I haven't tested it
with gcc 4.4 though, but I confirm that it happens with gcc-4.3.3. Is there
anyone willing to correct this?
--
http://gcc.gnu.org
lookup when it should
Product: gcc
Version: 4.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rodolfo at rodsoft dot org
GCC build
dot gnu dot org
ReportedBy: rodolfo at rodsoft dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35569
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rodolfo at rodsoft dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35497
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rodolfo at rodsoft dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35477
++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rodolfo at rodsoft dot org
GCC build triplet: *-*-*-*
GCC host triplet: *-*-*-*
GCC target triplet: *-*-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35297
Severity: major
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rodolfo at rodsoft dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http
: gcc
Version: 4.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rodolfo at rodsoft dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686
--- Comment #12 from rodolfo at rodsoft dot org 2007-08-06 14:18 ---
This is an yet simpler case where this bug shows up:
template class T void foo(T);
void foo(int);
void bar()
{
foo;
}
i686-pc-linux-gnu-g++-4.2.1 fails with:
teste.cpp: In function void bar():
teste.cpp:6
Component: pch
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rodolfo at rodsoft dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26895
--- Comment #1 from rodolfo at rodsoft dot org 2006-03-28 02:44 ---
There's an extra colon, which is a typo. The line that reads
0006 T _ZN38_GLOBAL__N_test2.cpp__D5E9623F4testEv:
Should be
0006 T _ZN38_GLOBAL__N_test2.cpp__D5E9623F4testEv
Sorry
--- Comment #3 from rodolfo at rodsoft dot org 2005-10-06 20:41 ---
This also happens with 3.4.4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19541
22 matches
Mail list logo