Code compiles both as C99 and C++.