pts/smallpt-1.2.1 fails with Clang
marxin opened this issue · comments
Martin Liška commented
Fails to build with CC=clang CXX=clang++
due to:
ERROR: smallpt.cpp:88:41: error: non-constant-expression cannot be narrowed from type 'int' to 'unsigned short' in initializer list [-Wc++11-narrowing]