Elliott C. Back: Internet & Technology

Visual Studio’s C Compiler

Posted in Code, Microsoft by Elliott Back on November 8th, 2004.

According to my CS partner of the semester, Visual Studio’s C compiler, CL.EXE will spew 50 lines of errors, at the bottom of which is the real error, in the case of a mismatched function parameter type. I’ve run into this too. It can be confusing at first, so check your function arguments!

(03:03:23) phantom01011: Ok, so
(03:03:26) phantom01011: let it be known
(03:03:33) phantom01011: EVERY SINGLE error that says
(03:03:42) phantom01011: “too few arguments for call through pointer-to-function”
(03:03:46) phantom01011: means one of the args is broken
(03:03:48) phantom01011: grrrr

(03:04:04) liten fugl: I will make sure the world knows this.
(03:04:08) liten fugl: By posting it on my blog.

This entry was posted on Monday, November 8th, 2004 at 4:12 am and is tagged with parameter type, c compiler, args, liten, visual studio, grrrr, pointer, blog. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback.

Leave a Reply

Powered by WP Hashcash