https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77911
--- Comment #3 from Dr Hilbert Swan ---
A generous fellow offered me this workaround for the time being:
void test1(){}
void test2(){}
void test3(){}
void test4(){}
#define FUNCTION_LIST test1, test2, test3, test4
template
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77911
--- Comment #2 from Dr Hilbert Swan ---
If a similar thing is done with ints the code would look like this:
constexpr int i[] = { 1, 2, 3 };
constexpr int FindMatchingIdx(const int w, const int idx) {
return (w == i[idx]) ? (idx) : (FindMat
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77911
--- Comment #1 from Dr Hilbert Swan ---
Created attachment 39777
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39777&action=edit
Version that compiles.
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: yhueotnk at pokemail dot net
Target Milestone: ---
Created attachment 39776
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39776&action=edit
Compiler .ii ou