fedora 30 / gcc 9. : compilation fails

I am trying to compile Netgen 6.2.2101 on Fedora 30 & gcc 9.0.1 and unfortunately, I am experiencing a compilation issue.
Somehow gcc fails to interpret several macros.

/improve2.cpp:189:13: erreur: expected identifier before « { » token

I can of course use a more recent compiler, but is this a known issue, and do we have some workaround, that one can apply here to resolve the compilation issue ?

Thanks for your valuable help.


gcc 9.0.1 is a pre-release version. I suggest to update gcc to a newer version (for instance 9.3, which is compiling Netgen correctly on Ubuntu 20.04).


Thanks for the hint.