[Bug c++/104343] New: Too many arguments error reported for a variadic-argument function if std::endl is passed

2022-02-02 Thread ethouris at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ethouris at gmail dot com Target Milestone: --- I have the following definition (requires `` and ``): ``` template inline Stream& Print(Stream& in)

[Bug c++/96266] New: Macro defined as enum in parens resolves to 1

2020-07-21 Thread ethouris at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: ethouris at gmail dot com Target Milestone: --- Created attachment 48906 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48906=edit Preprocessed C++ file with example. I'm attaching a quite long preprocessed f

[Bug c/66658] missing -Wunused-value negating a function result in a comma expression

2018-09-11 Thread ethouris at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66658 Michal Malecki changed: What|Removed |Added CC||ethouris at gmail dot com --- Comment

[Bug c++/70163] New: C++ DR 257 constructor forward to virtual base class's constructor in an abstract class required

2016-03-10 Thread ethouris at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ethouris at gmail dot com Target Milestone: --- Sorry if this already passed through somehow, but there was no trace of this problem so far in gcc

[Bug c++/65448] Allow for cascade includes in error messages

2015-03-26 Thread ethouris at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65448 --- Comment #2 from Michal Malecki ethouris at gmail dot com --- (In reply to Manuel López-Ibáñez from comment #1) Which tools? Shouldn't those tools be fixed instead? The problem is that it's very easy to interpret the format that every line

[Bug c++/65448] New: Allow for cascade includes in error messages

2015-03-17 Thread ethouris at gmail dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ethouris at gmail dot com When gcc reports a compile error that refers to a line in a file that is included by another include file, which is finally included by the *.cpp file being compiled, it reports the error more-less

[Bug c++/31397] Useful compiler warning missing (virtual functions in derived classes used without 'virtual')

2013-05-22 Thread ethouris at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31397 Michal Malecki ethouris at gmail dot com changed: What|Removed |Added CC||ethouris

[Bug c++/52008] [Core/1495] ICE when adding partial specialization for variadic-templated structure

2012-11-06 Thread ethouris at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52008 --- Comment #14 from Michal Malecki ethouris at gmail dot com 2012-11-06 23:32:36 UTC --- (In reply to comment #13) if the DR makes it ill-formed and GCC rejects it is this FIXED? GCC rejects it by doing ICE. I don't think

[Bug c++/52008] [Core/1495] ICE when adding partial specialization for variadic-templated structure

2012-11-06 Thread ethouris at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52008 --- Comment #16 from Michal Malecki ethouris at gmail dot com 2012-11-07 07:17:46 UTC --- (In reply to comment #15) (In reply to comment #14) GCC rejects it by doing ICE. I don't think this is the right thing that GCC should do

[Bug c++/53528] Support C++11 generalized attributes

2012-07-26 Thread ethouris at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53528 --- Comment #5 from Michal Malecki ethouris at gmail dot com 2012-07-26 20:18:36 UTC --- Looks nice. Is that a big deal if you also make a standard [[noreturn]] attribute simply an alias to [[gnu::noreturn]]? As far as I know the standard

[Bug c++/53528] Support C++11 generalized attributes

2012-06-25 Thread ethouris at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53528 Michal Malecki ethouris at gmail dot com changed: What|Removed |Added CC||ethouris

[Bug c++/52008] [C++0x] ICE when adding partial specialization for variadic-templated structure

2012-04-23 Thread ethouris at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52008 --- Comment #10 from Michal Malecki ethouris at gmail dot com 2012-04-23 12:38:47 UTC --- (In reply to comment #9) (In reply to comment #8) 2. The code is rejected the following way: the template specialization definition is itself rejected

[Bug c++/52008] [C++0x] ICE when adding partial specialization for variadic-templated structure

2012-04-21 Thread ethouris at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52008 --- Comment #8 from Michal Malecki ethouris at gmail dot com 2012-04-21 12:06:36 UTC --- Jason, There is no better or worse specialization - the first one is a primary template, not a specialization. The example of tuple_slice1, int, int, int

[Bug c++/52008] [C++0x] ICE when adding partial specialization for variadic-templated structure

2012-04-20 Thread ethouris at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52008 Michal Malecki ethouris at gmail dot com changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug c++/52008] New: [C++0x] ICE when adding partial specialization for variadic-templated structure

2012-01-26 Thread ethouris at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52008 Bug #: 52008 Summary: [C++0x] ICE when adding partial specialization for variadic-templated structure Classification: Unclassified Product: gcc Version: 4.7.0

[Bug c++/50998] [C++0x] ICE partial specialization error at cp/pt.c

2012-01-04 Thread ethouris at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50998 Michal Malecki ethouris at gmail dot com changed: What|Removed |Added CC||ethouris

[Bug c++/50563] New: Weird syntax acceptance rules for non-static data members initialized in place (C++0x)

2011-09-29 Thread ethouris at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50563 Bug #: 50563 Summary: Weird syntax acceptance rules for non-static data members initialized in place (C++0x) Classification: Unclassified Product: gcc Version: 4.7.0

[Bug c++/48489] New: Invalid error message 'has no member named' when referring directly to the base class

2011-04-07 Thread ethouris at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48489 Summary: Invalid error message 'has no member named' when referring directly to the base class Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: minor

[Bug c/31367] Should not warn about use of deprecated type in deprecated struct

2010-05-18 Thread ethouris at gmail dot com
--- Comment #4 from ethouris at gmail dot com 2010-05-18 07:14 --- No matter which entity is actually affected in the example above, 'foo' is a type of field used inside the entity. In all these cases, deprecation warning should not be reported for the field of type 'foo'. It should

[Bug c++/37737] [c++0x] ICE in get_innermost_template_args at cp/pt.c:516 during variadic function overload deduction

2009-01-27 Thread ethouris at gmail dot com
--- Comment #7 from ethouris at gmail dot com 2009-01-27 18:33 --- Created an attachment (id=17194) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17194action=view) Preprocessed source that caused the problem The problem is reported for line 40 in msigslot.h, where a 'friend

[Bug c++/37737] [c++0x] ICE in get_innermost_template_args at cp/pt.c:516 during variadic function overload deduction

2009-01-27 Thread ethouris at gmail dot com
--- Comment #8 from ethouris at gmail dot com 2009-01-27 18:35 --- I added as attachment the code that causes the same error message. Please note that this code was compiling and working correctly with the old Doug Gregor's patch, which was the first version of 'variadic template