Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: dkaip on September 13, 2022, 09:23:39 pm

Title: problem compile auto operator<=>
Post by: dkaip on September 13, 2022, 09:23:39 pm
I have problem with auto operator<=>(const Fraction& f) const;.
Compiler settings -std=gnu++2a but nothing.

compiler says error: declaration of 'operator<=' as non-function

I ma working at Linux Mint.
Thank you

Jim.

Title: Re: problem compile auto operator<=>
Post by: Miguel Gimenez on September 14, 2022, 11:23:35 am
Code::Blocks is an IDE, not a compiler, so compilation problems are OT here.