View Single Post
  #21   Spotlight this post!  
Unread 03-02-2005, 23:57
Plloyd Plloyd is offline
Registered User
no team
 
Join Date: Sep 2004
Location: Toronto
Posts: 6
Plloyd is an unknown quantity at this point
Re: 2005 default code won't compile

I am also having a problem with printf_lib.h

I can compile the default code, however, if i add the printf_lib.h and .c files that are in the default code directory, and attempt to use the printf function, it gives me the following error:

[path]\printf_lib.h:15:Error [1109] type mismatch in redeclaration of 'printf'

I am using v2.4 of the compiler (new computer - old version was never installed), and my build paths are all correct.

The error occurs whenever i include the printf_lib.h file
(ie, i can delete #include "printf_lib.h" and it will compile perfectly... put it back and i get the same error again).

Any help would be greatly appreciated.

Thanks,
Plloyd