Compilation error in bonded.cpp

GROMACS version: 2020.3
GROMACS modification: No
Here post your question

Hello All,
So I got hit with a compilation error…
[ 13%] Building CXX object src/gromacs/CMakeFiles/libgromacs.dir/listed_forces/bonded.cpp.o

/Users/gazz/gromacs-2020.3/src/gromacs/listed_forces/bonded.cpp:3984:1: error: unknown type name ‘CONSTEXPR_EXCL_OLD_CLANG’

chased it down to this part of the source code in bonded.cpp:

/* Bug in old clang versions prevents constexpr. constexpr is needed for MSVC.
*if defined(clang) && clang_major < 6

  • define CONSTEXPR_EXCL_OLD_CLANG const
    *else
  • define CONSTEXPR_EXCL_OLD_CLANG constexpr
    *endif
    */

this is where the compilation aborted.
CONSTEXPR_EXCL_OLD_CLANG std::array<BondedInteractions, F_NRE> c_bondedInteractionFunctions = {

has anyone run into that? It looks like it might just be a trivial issue…

ideas?
thanks!