Bug in Anjuta during C++ class creation

Hi, ALL,

I think I found a bug in Anjuta.

I tried to create a new class as “Generic C++ class”.
In the wizard I added 2 functions - some function first and then a constructor.

When I clicked “Create”, only a class skeleton was created - no
function was pre-made.

I’m using Anjuta 3.28.0 on Gentoo Linux with GNOME 3.22…

Could someone please confirm it is actually a bug and not a feature that “Constructor/Destructor” has to be created first.
And if it is fixed in the latest Anjuta version - even better.

Thank you.

Hi,

For each function, you should have the declaration in the header file and an empty function in the .cc file. Do you get something else?

Note that if you don’t define any parameters, it’s considered as a variable and you have only a declaration in the header, nothing in the .cc file.

Regards,

Sebastien,

sgranjoux Sébastien Granjoux
December 31

Hi,

For each function, you should have the declaration in the header file and an empty function in the .cc file. Do you get something else?

I didn’t get anything - no methods and no members.

Thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.