[Issue 10123] New: Allow compilation with new compilers