Closed afernandezody closed 3 years ago
Thanks for the bug report. I think you're the first one to try using GNU 11.
If I find the w3ai00.f file in the Github repository, I will push a PR this evening.
@afernandezody it is here: https://github.com/NOAA-EMC/NCEPLIBS-w3emc/blob/develop/src/w3ai00.f
Hi @edwardhartnett, I might have chosen the wrong title. My objective here is simply to compile UPP so I'm unsure which is better either the regular NCEPLIBS or the NCEPLIBS-w3emc version. Said that, the issue is simply that MIN0 and MAX0 were long phased out and GCC11 doesn't accept them anymore. I'll submit the PRs and close the issue. Best.
I submitted the PR from the coder account. Not sure if for my purposes, I should simply go with wrf_io.
Thanks for the PR. I have approved it. This won't reflect immediately when building NCEPLIBS though as we have to tag a release and update the version here.
Hello, The compilation with GNU 11.1.0 is producing the following error:
I used cmake 3.20.2 for configuration before running make. Ealier GCC versions compiled w/o this issue. A bit of research points to "127_8" not being a default integer kind and that accepting non-default integers is an extension (maybe the GNU Team is deprecating it from v11 on). Thank you.