https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77633
--- Comment #2 from Wenzel Jakob <wen...@mitsuba-renderer.org> --- I just tried compiling this snippet with ICC 17.0.0. It accepts it without warnings (-Wall -Wconversion -Wextra). So even if the signature is different, ICC seems to be more relaxed about passing an integer value to an enum parameter.