[Bug c++/93905] Cannot use Derived type of Base containing both enum and protected destructor

2020-02-24 Thread karol.koczwara at ig dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93905 --- Comment #4 from Karol Koczwara --- gcc -version COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --en

[Bug c++/93905] Cannot use Derived type of Base containing both enum and protected destructor

2020-02-24 Thread karol.koczwara at ig dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93905 --- Comment #2 from Karol Koczwara --- Updated - not compiling code. enum class SampleEnumCausingIssue { VALUE }; struct BaseSnapshot { SampleEnumCausingIssue enumValue{SampleEnumCausingIssue::VALUE}; protected: ~BaseSnapshot() = de

[Bug c++/93905] New: Cannot use Derived type of Base containing both enum and protected destructor

2020-02-24 Thread karol.koczwara at ig dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: karol.koczwara at ig dot com Target Milestone: --- enum class SampleEnumCausingIssue { }; struct BaseSnapshot { SampleEnumCausingIssue enumValue; protected