[Bug c/19541] need another option to support what -I- did just besides -iquote

2013-06-16 Thread rodolfo at rodsoft dot org
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

[Bug c++/45236] [C++0x] Can't access nested type of a partial class specialization involving variadic parameters

2010-08-09 Thread rodolfo at rodsoft dot org
--- 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

[Bug c++/45236] [C++0x] Can't access nested type of a partial class specialization involving variadic parameters

2010-08-09 Thread rodolfo at rodsoft dot org
--- 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

[Bug c++/45236] [C++0x] Can't access nested type of a partial class specialization involving variadic parameters

2010-08-09 Thread rodolfo at rodsoft dot org
--- 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

[Bug c++/45236] New: Can't access nested type of a partial class specialization involving variadic parameters

2010-08-09 Thread rodolfo at rodsoft dot org
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

[Bug c++/45012] Invalid ambiguity on partial class specialization matching

2010-07-20 Thread rodolfo at rodsoft dot org
--- 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

[Bug c++/45012] Invalid ambiguity on partial class specialization matching

2010-07-20 Thread rodolfo at rodsoft dot org
--- 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

[Bug c++/45012] New: Invalid ambiguity on partial class specialization matching

2010-07-20 Thread rodolfo at rodsoft dot org
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

[Bug c++/36435] Partial ordering of explicit specialization should include return type

2010-07-20 Thread rodolfo at rodsoft dot org
--- 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

[Bug c++/44753] New: [4.5 Regression] class partial specialization error

2010-07-01 Thread rodolfo at rodsoft dot org
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-

[Bug c++/32534] gcc fails to initialize template's static data members before their use in some cases

2009-06-11 Thread rodolfo at rodsoft dot org
--- 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

[Bug c++/40256] New: Explicit function template call doesn't trigger Koenig lookup when it should

2009-05-26 Thread rodolfo at rodsoft dot org
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

[Bug libstdc++/35569] New: std::[tr1::]bind result functor doesn't accept rvalues

2008-03-13 Thread rodolfo at rodsoft dot org
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

[Bug c++/35497] New: Compiling error with template part. spec. involving function call and >>

2008-03-07 Thread rodolfo at rodsoft dot org
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

[Bug c++/35477] New: Compiling error with template subclass of a variadic template class

2008-03-05 Thread rodolfo at rodsoft dot org
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

[Bug c++/35297] New: Compiling error with variadic template with fixed parameter with default type.

2008-02-22 Thread rodolfo at rodsoft dot org
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

[Bug c++/5458] address of overloaded template function as argument for template

2007-08-06 Thread rodolfo at rodsoft dot org
--- 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

[Bug c++/33005] New: Cannot specialize template function with address operator

2007-08-06 Thread rodolfo at rodsoft dot org
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

[Bug c++/33004] New: Cannot resolve call to overloaded function and template functions)

2007-08-06 Thread rodolfo at rodsoft dot org
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-

[Bug pch/26895] Bug mangling function name inside unnamed namespace, with pch

2006-03-27 Thread rodolfo at rodsoft dot org
--- 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

[Bug pch/26895] New: Bug mangling function name inside unnamed namespace, with pch

2006-03-27 Thread rodolfo at rodsoft dot org
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

[Bug pch/19541] deprecation of -I- makes precompiled headers less usable

2005-10-06 Thread rodolfo at rodsoft dot org
--- 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