https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109169
--- Comment #14 from steve02081504 ---
(In reply to Andrew Pinski from comment #13)
> See http://womble.decadent.org.uk/c++/template-faq.html#disambiguation also
> to better understand the reason why GCC implements it this way and why it is
> ha
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109169
--- Comment #11 from steve02081504 ---
(In reply to Andrew Pinski from comment #10)
> Take:
> type_info.can_convert_to
>
> The first part is dependent so when it goes to parse the next identifier,
> the parser does not know that can_convert_to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109169
--- Comment #9 from steve02081504 ---
I don't quite understand why this is correct, can you elaborate on why and how
to change the code to bypass the error reporting?
Thanks.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109169
steve02081504 changed:
What|Removed |Added
Version|unknown |12.2.0
--- Comment #7 from steve0208150
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109169
--- Comment #6 from steve02081504 ---
Created attachment 54696
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54696&action=edit
temp.cpp
(In reply to Andrew Pinski from comment #4)
> You provide a full example of what you want?
> Because
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109169
--- Comment #1 from steve02081504 ---
(Corrected code)
```c++
template
struct type_info_t{
//...
template
static constexpr bool can_convert_to=XXX;
//...
};
template
constexpr type_info_ttype_info{};
```
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109169
Bug ID: 109169
Summary: Feature request: Allow omitted template prompts
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Componen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109142
--- Comment #2 from steve02081504 ---
Created attachment 54672
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54672&action=edit
cpp file
Here's the pre-processed file you want,hope it helps
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109142
Bug ID: 109142
Summary: auto tmp=*(data_type*)&v: expected
primary-expression before ')' token
Product: gcc
Version: 12.2.0
Status: UNCONFIRMED
Severity: norma
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710
steve02081504 changed:
What|Removed |Added
Resolution|--- |INVALID
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710
--- Comment #5 from steve02081504 ---
(In reply to Andrew Pinski from comment #3)
> (In reply to Andrew Pinski from comment #2)
> > Can you re-upload the zip file as it seems be corrupted?
>
> Never mind, I was able to extract it, I had to use
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710
--- Comment #4 from steve02081504 ---
Created attachment 51235
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51235&action=edit
.ii file & .s file & output - Deflate64
Deflate64 zip added.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710
steve02081504 changed:
What|Removed |Added
Attachment #51231|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710
Bug ID: 101710
Summary: Sometimes constexpr cannot be used as constexpr
Product: gcc
Version: 11.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component
14 matches
Mail list logo