Archived

This topic is now archived and is closed to further replies.

Strange syntax error...

This topic is 5131 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m compiling C with MSVC++ 6, and the following function: void GL_Set3dParams(float fov,float near,float far) { _3d_fov = fov; _3d_near = near; _3d_far = far; } gives me the error: D:\dev\battlesim\gl_viewport.c(29) : error C2055: expected formal parameter list, not a type list I do not think it is something else in the file, because if I remove this function from the file everything compiles... Thanks, ~SPH

Share this post


Link to post
Share on other sites