fedora 30 / gcc 9. : compilation fails

More
3 years 1 month ago #4008 by nitawa
Hi,
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.
Code:
/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.
More
3 years 1 month ago #4009 by matthiash
Hi,

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).

Best,
Matthias
The following user(s) said Thank You: nitawa
More
3 years 1 month ago #4010 by nitawa
Thanks for the hint.
Time to create page: 0.103 seconds