Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: chrisb2244 at gmail dot com
Target Milestone: ---
The [[deprecated]] prefix for a function produces multiple warnings.
In v5.2.0, there are 3 warnings for the code
[[deprecated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67860
Christian Butcher changed:
What|Removed |Added
CC||chrisb2244 at gmail dot com
nt: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: chrisb2244 at gmail dot com
Target Milestone: ---
Either of
template requires RequiresConcept
const T x(const parameter... p) const { ... }
or
template
[[deprecated]] const T x(const parameter... p) const { ... }
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68061
--- Comment #1 from Christian Butcher ---
Created attachment 36565
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36565&action=edit
Short compilable (or not) case showing problem
Commenting out the function definition for 'foo' allows comp
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: chrisb2244 at gmail dot com
Target Milestone: ---
Unsure if this is a bug or just bad code on my part. Can't produce a simple
test case.
Class compile
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68092
--- Comment #1 from Christian Butcher ---
Will keep working on a (non-compilable) test case. If someone is interested,
can upload full sources for this class
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68092
--- Comment #2 from Christian Butcher ---
Created attachment 36582
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36582&action=edit
main function (1/3)
First of 3 files to demonstrate problem. (Not)Compiled with g++ -std=c++1z
conceptFunct
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68092
--- Comment #4 from Christian Butcher ---
Created attachment 36584
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36584&action=edit
Class cpp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68092
--- Comment #3 from Christian Butcher ---
Created attachment 36583
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36583&action=edit
Class header
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68092
--- Comment #5 from Christian Butcher ---
Comment 2 has the wrong error (previous testcase with cout statements)
Correct error:
class.cpp:13:26: error: Two symbols with same comdat_group are not linked by
the same_comdat_group list.
template c
Severity: normal
Priority: P3
Component: preprocessor
Assignee: unassigned at gcc dot gnu.org
Reporter: chrisb2244 at gmail dot com
Target Milestone: ---
Code below hits ICE.
///
#include
#include
template
class
11 matches
Mail list logo