||2019-09-08
CC||carlo at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #2 from Carlo Wood ---
I ran into the same problem.
I confirm this problem still exists in the current HEAD (10.0.0),
as well as 9.x and 8
++
Assignee: unassigned at gcc dot gnu.org
Reporter: carlo at gcc dot gnu.org
Target Milestone: ---
Compiling the following code snippet:
struct Base
{
int foo(int n) { return do_foo(n); }
virtual int do_foo(int n) = 0;
};
struct Derived : public Base
{
int do_foo(int n
ty: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: carlo at gcc dot gnu.org
Target Milestone: ---
I'm getting a warning for many many classes along of the lines:
../../../speech/src/xml/catalog_test.cpp:73:7: warning:
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: carlo at gcc dot gnu.org
Target Milestone: ---
Although similar to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8570 from
2002, I guess I'll report it agai
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: carlo at gcc dot gnu.org
Target Milestone: ---
g++ 7.0.1 fails on
#include
struct B { B(B&&) = delete; };
std::vector v;
int main() { v.reserve(8); }
error: use of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80579
Carlo Wood changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66139
Carlo Wood changed:
What|Removed |Added
CC||carlo at gcc dot gnu.org
: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: carlo at gcc dot gnu.org
Assuming en.cppreference.com is right, this member function should exist since
C++11. See
http://en.cppreference.com/w/cpp/thread/promise/set_value_at_thread_exit
It exists/works in clang 3.5. I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65165
--- Comment #1 from Carlo Wood ---
The same for std::promise::set_exception_at_thread_exit I guess.
: 4.7.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: carlo at gcc dot gnu.org
The following code snippet should compile, but it doesn't.
template
void f(T&, float&
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63263
--- Comment #1 from Carlo Wood ---
Guess the float isn't needed:
template void f(T&) { T(1); }
struct B;
template<> void f(B&) { }
struct B { friend void f(B&); };
void g() { B b; f(b); }
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48006
Summary: Inefficient optimization depends on builtin integer
type of same size.
Product: gcc
Version: 4.4.5
Status: UNCONFIRMED
Severity: normal
Priority: P3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48006
Carlo Wood changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48006
Carlo Wood changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50481
Carlo Wood changed:
What|Removed |Added
CC||carlo at gcc dot gnu.org
--- Comment #8
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: carlo at gcc dot gnu.org
Target Milestone: ---
Invalid code.
struct A {
int const a = 1;
int const b = 2;
};
struct B : A {
using A::a;
using A::b;
int const c = 3;
int
NCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: carlo at gcc dot gnu.org
Target Milestone: ---
The following snippet:
```
template
struct SymbolRef { };
struct Symbol {
int const id_;
consteval Symb
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114311
Carlo Wood changed:
What|Removed |Added
Summary|wrong "error: ‘this’ is not |Possibly wrong "error:
|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114311
--- Comment #2 from Carlo Wood ---
I meant `constexpr Symbol x;` inside main - with the same error.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114311
--- Comment #5 from Carlo Wood ---
Hey Andrew :)
You probably mean https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98752
But they are different in that I think that this report is invalid...
See "discussion" here: https://stackoverflow.com/a/781427
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15736
--- Comment #9 from Carlo Wood ---
Just curious... what caused the 20 years of delay?
21 matches
Mail list logo