Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: RotemR on January 25, 2022, 07:41:10 pm

Title: void argument in c++ function parameters
Post by: RotemR on January 25, 2022, 07:41:10 pm
I am trying to reverse engineer my code. this is an old c++ code so in the destructors parameters list they used to write (void) like this:
      87:
      88: CMedicationsForm::~CMedicationsForm(void).
I am getting a lot of parsing errors on this (for every dtor in the code).
is there any way I can bypass this? maybe add a Language macro?

Thanks,



Title: Re: void argument in c++ function parameters
Post by: eberline on February 08, 2022, 09:44:27 pm
A language macro won't work around this one. I suggest you submit a bug report
https://sparxsystems.com/registered/forms/reg_bug_report.html
or
https://sparxsystems.com/support/forms/bug_report.html

Over the years I've submitted many re. C++ parsing. Often the immediate response is a patch to the language parser, with a proper fix appearing in the next minor release or so.