Hello! There is a function:
#include <math.h> ... void mat4x4_projection(mat4x4 m, const float fov, const float aspect, const float n, const float f) { mat4x4_identity(m); const float ctg_half_fov = 1.0f/tanf(fov/2); m[0][0] = ctg_half_fov/aspect; m[1][1] = ctg_half_fov; m[2][2] = (f+n)/(fn); m[3][2] = (-2.0f*f*n)/(fn); m[2][3] = 1.0f; m[3][3] = 0.0f; } If we replace the names of the parameters f and n with far and near respectively, then the compiler produces the error: Parameter name ommited .
The words far and near do not appear as key (looked at http://en.cppreference.com/w/c/keyword ).
Actually the question, what could be the cause of this error?
Win 10 x64 gcc 4.8.1