https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93842
kuzniar95 at o2 dot pl changed:
What|Removed |Added
Resolution|--- |INVALID
Status
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93842
kuzniar95 at o2 dot pl changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93842
--- Comment #6 from kuzniar95 at o2 dot pl ---
P.S. odr_use function signature should be:
void odr_use(const char&);
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93842
kuzniar95 at o2 dot pl changed:
What|Removed |Added
Resolution|--- |INVALID
Status
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71579
kuzniar95 at o2 dot pl changed:
What|Removed |Added
CC||kuzniar95 at o2 dot pl
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: kuzniar95 at o2 dot pl
Target Milestone: ---
Created attachment 48713
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48713&action=edit
main.ii + verbose gcc invoke command
Hi! I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93842
--- Comment #4 from kuzniar95 at o2 dot pl ---
I meant that dropping constness:
char ch = '='; // OK
results in an error:
lambda.cpp: In lambda function:
lambda.cpp:4:23: error: ‘ch’ is not captured
4 | [](auto) { return ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93842
--- Comment #3 from kuzniar95 at o2 dot pl ---
@Richard Biener changing it to
char const ch = '='; // NOT OK
doesn't solve the issue. Interestingly dropping constness:
char ch = '='; // OK
works.
So we are onto s
rsion: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: kuzniar95 at o2 dot pl
Target Milestone: ---
The following code:
--
int main() {
cons
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93311
kuzniar95 at o2 dot pl changed:
What|Removed |Added
Resolution|DUPLICATE |FIXED
--- Comment #2 from
ty: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: kuzniar95 at o2 dot pl
Target Milestone: ---
The following piece of code produces a binary but the compiler output doesn't
inform if it's a warning or an error.
Compilation
11 matches
Mail list logo