https://bugs.openldap.org/show_bug.cgi?id=9332
--- Comment #3 from stacey.marshall@gmail.com --- Thanks Howard, it is an odd error message!
The compiler being used is
/opt/solarisstudio12.4/bin/cc -V cc: Sun C 5.13 SunOS_i386 Patch 151633-10 2020/04/08
I have tried with later version too.
/opt/developerstudio12.6/bin/cc -V cc: Studio 12.6 Sun C 5.15 SunOS_i386 152882-05 2019/10/30
I shall open a bug against the compiler.
Regards, Stacey