[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2021-04-17 Thread db0451 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 DB changed: What|Removed |Added CC||db0451 at gmail dot com --- Comment #10 from DB

[Bug c++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 --- Comment #16 from DB --- > -fno-ms-extensions will allow you to compile it, as long as you aren't > relying on any of the other MSVC compatibility quirks. That indeed fixes the problem, as well as squashing lots of other spurious warnings

[Bug c++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 --- Comment #15 from DB --- Aha, many thanks for the findings. IMO the MS extensions should really be off by default, esp if compiling in a Standard mode, until the user actually says they want them... right? They seem liable to lead to issues.

[Bug c++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 --- Comment #8 from DB --- > I can reproduce it using x86_64-w64-mingw32-g++ 9.2.1 Thanks again for testing! > I'm not yet convinced this isn't a ranges-v3 bug. I will of course defer to your expertise! It could well be caused by something

[Bug libstdc++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 --- Comment #4 from DB --- Created attachment 48470 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48470=edit test.ii from --save-temps

[Bug libstdc++/94973] compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973 --- Comment #3 from DB --- > Please read https://gcc.gnu.org/bugs and provide the missing information. Fair point. Let me know if I missed anything still. the exact version of GCC; g++.exe (Rev2, Built by MSYS2 project) 9.3.0 the

[Bug libstdc++/94973] New: compile error when trying to use pointer-to-member function as invokable projection to ranges::find()

2020-05-06 Thread db0451 at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: db0451 at gmail dot com Target Milestone: --- `range-v3` has the concept of "invocable projections", i.e. simple transformation

[Bug c++/93154] can't constrain captured functions to be invocable w/ lambda arg - func/lambda template args mixed up?

2020-01-06 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93154 --- Comment #3 from DB --- still occurs with the new g++-10 (Debian 10-20200104-1) 10.0.0 20200104 (experimental) [trunk revision 279880]

[Bug c++/93152] derived_from on lambda arg causes ICE / uses wrong base, for some orders of template args on containing function

2020-01-06 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93152 --- Comment #6 from DB --- still occurs with the new g++-10 (Debian 10-20200104-1) 10.0.0 20200104 (experimental) [trunk revision 279880]

[Bug c++/93152] Order of template args in decl makes derived_from expect wrong base / causes ICE

2020-01-04 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93152 DB changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill |

[Bug c++/93154] can't constrain captured functions to be invocable with lambda arg - unknown "constraints not satisfied"

2020-01-04 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93154 --- Comment #2 from DB --- A reduced version, without a variadic pack of functions... ``` #include void f1(int) {} template auto make_lambda(F f) { return [f] requires std::invocable (Arg a)

[Bug c++/93154] can't constrain captured functions to be invocable with lambda arg - unknown "constraints not satisfied"

2020-01-04 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93154 --- Comment #1 from DB --- > preprocessed source: Ah, whoops. It's not interesting anyway, but maybe I just don't remember how to do it right... I just passed `-E`.

[Bug c++/93154] New: can't constrain captured functions to be invocable with lambda arg - unknown "constraints not satisfied"

2020-01-04 Thread db0451 at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: db0451 at gmail dot com Target Milestone: --- Surely the below should work? I'm currently trying to go overboard with declaring c

[Bug c++/93152] Order of template args in decl makes derived_from expect wrong base / causes ICE

2020-01-04 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93152 --- Comment #4 from DB --- Simplifying further, by getting rid of the Other structs/arguments, we get: ``` #include #include struct WeirdBase {}; struct WeirdSub: WeirdBase {}; template WeirdSub1> auto make_lambda() { return

[Bug c++/93152] Order of template args in decl makes derived_from expect wrong base / causes ICE

2020-01-04 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93152 --- Comment #3 from DB --- The pointer-to-member-function and template argument deduction through it is not required; rather, simply the presence of any other template argument in the 1st position is sufficient: ``` #include #include struct

[Bug c++/93050] throw within constructor initialisation list causes invalid free in destructor

2020-01-04 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93050 --- Comment #1 from DB --- This bug does not seem to occur with g++ (Debian 9.2.1-21) 9.2.1 20191130 so either it was fixed between 9.2.0 and 9.2.1, or something peculiar to MSYS2/MinGW64/Windows is causing it.

[Bug c++/93152] Order of template args in decl makes derived_from expect wrong base / causes ICE

2020-01-04 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93152 --- Comment #2 from DB --- another reduction: the Args... are not required in the templates (since the member function takes none), and the same failure/success patterns occur either way.

[Bug c++/93152] Order of template arguments in declaration makes std::derived_from fail due to expecting wrong base class

2020-01-04 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93152 --- Comment #1 from DB --- I believe this is also probably related to the fact that the WeirdSub1 template argument is coming via a pointer-to-member function, although I haven't 100% narrowed that down yet, I don't think. The mentioned ICE can

[Bug c++/93152] New: Order of template args in decl makes std::invocable fail

2020-01-04 Thread db0451 at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: db0451 at gmail dot com Target Milestone: --- This is as far as I've yet reduced this from my own project, compiling with `g++-10 (Debian 10-20191217-1) 10.0.0 20191217 (experimental) [trunk

[Bug c++/93050] New: throw within constructor initialisation list causes invalid free in destructor

2019-12-23 Thread db0451 at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: db0451 at gmail dot com Target Milestone: --- I've come across this error at least twice when trying to throw from constructor initialisation lists, so I don't *think

[Bug libstdc++/82212] New: libstdc++ makes (integer|index)_sequence available with -std=c++11, but they're C++14 features

2017-09-14 Thread db0451 at gmail dot com
://bugzilla.gnome.org/show_bug.cgi?id=787648 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: db0451 at gmail dot com Target Milestone: --- https://github.com/gcc-mirror

[Bug c++/81140] Update docs to reflect P0612R0: clarify meaning of "volatile access" + that it includes any glvalue

2017-06-21 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81140 DB changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill |

[Bug c++/81140] Update docs to reflect P0612R0: clarify meaning of "volatile access" + that it includes any glvalue

2017-06-21 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81140 --- Comment #1 from DB --- Hm, in fact, I'm not sure the GCC/g++ docs ever address what happens when a declared non-volatile object is accessed through a volatile-qualified reference/pointer, which by my understanding is the crux of the NB

[Bug c/44943] Need documentation on the intended semantics of "volatile" (in C)

2017-06-20 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44943 DB changed: What|Removed |Added CC||db0451 at gmail dot com --- Comment #2 from DB

[Bug c/33053] adopt accesses through a volatile-casted pointer as a GNU C extension

2017-06-20 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33053 DB changed: What|Removed |Added CC||db0451 at gmail dot com --- Comment #2 from DB

[Bug c++/81140] New: Update docs to reflect P0612R0: clarify meaning of "volatile access" + that it includes any glvalue

2017-06-20 Thread db0451 at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: db0451 at gmail dot com Target Milestone: --- As far as I can tell, according to P0162R0: NB comment CH 2 http://open-std.org/JTC1/SC22

[Bug c++/68070] Undefined reference to default constructor of member template class

2017-06-18 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68070 DB changed: What|Removed |Added CC||db0451 at gmail dot com --- Comment #1 from DB

[Bug c++/69953] [5/6 Regression] Using lto causes gtkmm/gparted and gtkmm/inkscape compile to fail

2017-06-01 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69953 --- Comment #31 from DB --- Uh, sorry. I mean when compiling my own application against glibmm and gtkmm, using LTO on my app (only).

[Bug c++/69953] [5/6 Regression] Using lto causes gtkmm/gparted and gtkmm/inkscape compile to fail

2017-06-01 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69953 DB changed: What|Removed |Added CC||db0451 at gmail dot com --- Comment #30 from DB

[Bug c++/67054] Constructor inheritance with non-default constructible members

2017-05-22 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67054 DB changed: What|Removed |Added CC||db0451 at gmail dot com --- Comment #3 from DB

[Bug c++/80851] All versions that support C++11 are confused by combination of inherited constructors with member initializer that captures this

2017-05-22 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80851 DB changed: What|Removed |Added CC||db0451 at gmail dot com --- Comment #1 from DB

[Bug c++/55922] brace initializing parent cause bogus virtual base constructor calls

2017-05-21 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55922 --- Comment #11 from DB --- This still occurs in 6.3.0 In the duplicate https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80849 I showed that whether or not this occurs can sometimes (I say because my results don't seem consistent with everyone

[Bug c++/55922] brace initializing parent cause bogus virtual base constructor calls

2017-05-21 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55922 --- Comment #10 from DB --- *** Bug 80849 has been marked as a duplicate of this bug. ***

[Bug c++/80849] Brace-init causes multiple runs of virtual base constructor if any ctor in the hierarchy has >1 argument

2017-05-21 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80849 DB changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/80849] Brace-init causes multiple runs of virtual base constructor if any ctor in the hierarchy has >1 argument

2017-05-21 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80849 DB changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|DUPLICATE

[Bug c++/55922] brace initializing parent cause bogus virtual base constructor calls

2017-05-21 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55922 DB changed: What|Removed |Added CC||db0451 at gmail dot com --- Comment #9 from DB

[Bug c++/80849] Brace-init causes multiple runs of virtual base constructor if any ctor in the hierarchy has >1 argument

2017-05-21 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80849 DB changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/80849] Brace-init causes multiple runs of virtual base ctor if its signature differs from its derived classes' ctors

2017-05-21 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80849 --- Comment #1 from DB --- (In reply to DB from comment #0) > With additional testing, on 6.3.0, I determined that - much like that other > old bug - this problem only occurs if the virtual base constructor and the > constructors of the

[Bug c++/80849] New: Brace-init causes multiple runs of virtual base ctor if its signature differs from its derived classes' ctors

2017-05-21 Thread db0451 at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: db0451 at gmail dot com Target Milestone: --- This appears to be a lingering offshoot of this: https://gcc.gnu.org

[Bug c++/53479] Control flow analysis reports warnings in switch over an enum class even if all possible values have their branches

2016-10-02 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53479 --- Comment #19 from DB --- just for anyone finding this later, note this has been raised at the level of the C++ Standard - http://wg21.link/p0375r0 - with the conclusion being: > EWG pointed out that most enumerations are exhaustive, and > we

[Bug c++/53479] Control flow analysis reports warnings in switch over an enum class even if all possible values have their branches

2016-09-12 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53479 --- Comment #18 from DB --- (In reply to Jonathan Wakely from comment #17) > (In reply to DB from comment #12) > > (In reply to Jonathan Wakely from comment #11) > > > Given enum E { E1 = 1, E3 = 3 } the values of the type are 0, 1, 2 and 3 > >

[Bug c++/53479] Control flow analysis reports warnings in switch over an enum class even if all possible values have their branches

2016-09-11 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53479 --- Comment #12 from DB --- (In reply to Jonathan Wakely from comment #11) > Given enum E { E1 = 1, E3 = 3 } the values of the type are 0, 1, 2 and 3 and > -fstrict-enums tells the compiler it will never have a value outside that > range. It

[Bug c++/53479] Control flow analysis reports warnings in switch over an enum class even if all possible values have their branches

2016-09-11 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53479 --- Comment #10 from DB --- (In reply to Manuel López-Ibáñez from comment #8) Thanks for the thoughts! > Those "artificial kludges" not only silence the warning, but also make the > code more readable and help the optimizer. A call to

[Bug c++/53479] Control flow analysis reports warnings in switch over an enum class even if all possible values have their branches

2016-09-11 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53479 --- Comment #7 from DB --- Interesting switch, thanks - doesn't make any difference to warnings at the moment, though. But it hits on what I'm going for: ensuring the compiler that I'll only use named enumerator values. Ideally though, the

[Bug c++/53479] Control flow analysis reports warnings in switch over an enum class even if all possible values have their branches

2016-09-10 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53479 DB changed: What|Removed |Added CC||db0451 at gmail dot com --- Comment #5 from DB

[Bug c++/66847] Derived class calling protected base ctor using C++11 {brace} init = spurious access denied error

2016-07-25 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66847 --- Comment #9 from DB --- Will the fix hit any previous major versions, esp. 6?

[Bug rtl-optimization/71793] Volatile local variable passed by value is (wrongly?) optimised away, but the containing loop is not

2016-07-18 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71793 --- Comment #4 from DB --- (In reply to Richard Biener from comment #3) > Well, if you look at the out-of-line copies of the function then he is > correct. > But the inline copy in main() does not have this constraint and is still > mishandled.

[Bug c++/71909] New: g++ accepts an unreachable function catch block that lacks a corresponding try

2016-07-17 Thread db0451 at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: db0451 at gmail dot com Target Milestone: --- via http://stackoverflow.com/questions/38415131 The Standard requires a function-try block to have a corresponding post

[Bug rtl-optimization/71793] Volatile local variable passed by value is (wrongly?) optimised away, but the containing loop is not

2016-07-07 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71793 --- Comment #2 from DB --- Thanks Richard! About this - > RTL expansion expands x as register copy for some reason - is this person's explanation about this originating in the ABI accurate? http://stackoverflow.com/a/38248847/2757035 If so -

[Bug c++/71793] New: Volatile local variable passed by value is (wrongly?) optimised away, but the containing loop is not

2016-07-07 Thread db0451 at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: db0451 at gmail dot com Target Milestone: --- Here's the original SO thread with more info and/or meandering pondering: http://stackoverflow.com

[Bug c++/63151] [5/6/7 regression] Accessibility error when brace-constructing base class with protected defaulted constructor and member variable

2016-07-06 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63151 --- Comment #3 from DB --- see also 66847, 66617, 55922

[Bug c++/71774] [5/6/7 regression] Bogus "is protected" error when list-initializing a base class with a defaulted protected constructor and a virtual function

2016-07-06 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71774 --- Comment #2 from DB --- see also 66847, 66617, 55922

[Bug c++/66847] New: Derived class calling protected base ctor using C++11 {brace} init = spurious access denied error

2015-07-12 Thread db0451 at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: db0451 at gmail dot com Target Milestone: --- Created attachment 35953 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35953action=edit source file

[Bug c++/66847] Derived class calling protected base ctor using C++11 {brace} init = spurious access denied error

2015-07-12 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66847 DB db0451 at gmail dot com changed: What|Removed |Added CC||db0451 at gmail dot com

[Bug c++/63151] Accessibility error when brace-constructing base class with protected defaulted constructor and member variable

2015-07-12 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63151 DB db0451 at gmail dot com changed: What|Removed |Added CC||db0451 at gmail dot com

[Bug c++/66847] Derived class calling protected base ctor using C++11 {brace} init = spurious access denied error

2015-07-12 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66847 --- Comment #3 from DB db0451 at gmail dot com --- Created attachment 35956 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35956action=edit -save-temps output .ii file

[Bug c++/66847] Derived class calling protected base ctor using C++11 {brace} init = spurious access denied error

2015-07-12 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66847 --- Comment #2 from DB db0451 at gmail dot com --- Created attachment 35955 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35955action=edit command line output after adding -v and -save-temps

[Bug c++/66617] C++11 {brace} initialisation of virtually inherited derived class = failure to override base virtual function, unless all base ctors have same signature

2015-07-12 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66617 --- Comment #7 from DB db0451 at gmail dot com --- I just found a similar, possibly related issue with {brace} ctor call and access specifiers https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66847 As mentioned in the comment there, we're looking

[Bug c++/66847] Derived class calling protected base ctor using C++11 {brace} init = spurious access denied error

2015-07-12 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66847 --- Comment #5 from DB db0451 at gmail dot com --- Another note is that, as per the other tickets, G++ seems to have multiple possible causes of its confusion with brace-init: * presence of virtual base in class hierarchy * signature of calling

[Bug c++/66847] Derived class calling protected base ctor using C++11 {brace} init = spurious access denied error

2015-07-12 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66847 --- Comment #4 from DB db0451 at gmail dot com --- It should be noted that although I have a commented-out {brace} ctor for the final class in main(), that was just a test; both {brace} and (parenthesis) init in that context produce the same

[Bug c++/66617] C++11 {brace} initialisation of virtually inherited derived class = failure to override base virtual function, unless all base ctors have same signature

2015-06-24 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66617 --- Comment #5 from DB db0451 at gmail dot com --- Created attachment 35847 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35847action=edit -save-temps output files plus the triggering cpp file see corresponding -v output added in latest

[Bug c++/66617] C++11 {brace} initialisation of virtually inherited derived class = failure to override base virtual function, unless all base ctors have same signature

2015-06-24 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66617 --- Comment #4 from DB db0451 at gmail dot com --- Attaching verbose output and tempfiles as recommended by bug reporting guide. $ gcc -v -save-temps -std=c++11 virtual2.cpp -o virtual2.exe Using built-in specs. COLLECT_GCC=C:\msys64\mingw64

[Bug c++/66617] C++11 {brace} initialisation of virtually inherited derived class = failure to override base virtual function, unless all base ctors have same signature

2015-06-21 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66617 --- Comment #1 from Daniel Boles db0451 at gmail dot com --- Forgot to add the minimal replication steps mentioned, prepared by a fellow SO users: http://coliru.stacked-crooked.com/a/c4d031382115b59a thanks

[Bug c++/66617] C++11 {brace} initialisation of virtually inherited derived class = failure to override base virtual function, unless all base ctors have same signature

2015-06-21 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66617 Daniel Boles db0451 at gmail dot com changed: What|Removed |Added Attachment #35822|0 |1

[Bug c++/66617] New: C++11 {brace} initialisation of virtually inherited derived class = failure to override base virtual function, unless all base ctors have same signature

2015-06-21 Thread db0451 at gmail dot com
Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: db0451 at gmail dot com Target Milestone: --- Created attachment 35822

[Bug c++/66617] C++11 {brace} initialisation of virtually inherited derived class = failure to override base virtual function, unless all base ctors have same signature

2015-06-21 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66617 --- Comment #3 from Daniel Boles db0451 at gmail dot com --- Created attachment 35824 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35824action=edit 3 cpp files showing various permutations from totally broken braces, to fully working