http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19541
--- Comment #23 from Rodolfo Schulz de Lima ---
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 file directory is always
--- 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 #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 clas
--- Comment #4 from rodolfo at rodsoft dot org 2010-08-09 14:24 ---
Well, this compiles:
template struct A {};
template struct B {};
template struct C {};
template struct foo;
template class A,
template class B,
template class C,
int...II, int J, int
ng 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 triplet: x86_64-p
--- 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 rememb
--- 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 , one should write:
template struct enable_if
alid ambiguity on partial class specialization
matching
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 d
--- 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
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 triplet: x86_64-pc-linux-gnu
GCC host triplet: x86_64-pc-linux-
--- 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://g
Explicit function template call doesn't trigger Koenig
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
Rep
nction (or functor).
--
Summary: std::[tr1::]bind result functor doesn't accept rvalues
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rodolfo at rodsoft dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35569
IRMED
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
MED
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
gnedTo: 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
--- 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 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: e
Product: 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 hos
Status: UNCONFIRMED
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-
--- 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 fo
IRMED
Severity: major
Priority: P3
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 #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