[Issue 9544] Compilation error when enabling SLAPI