I'm getting a whole stack of compile error any time I try and include a standard library from a C++ project I'm working on. Something along the lines of:
C:/Program Files/CodeBlocks/include/stdio.h:405: error: `off64_t' has not been declared
C:/Program Files/CodeBlocks/include/stdio.h:412: error: expected init-declarator before "ftello64"
C:/Program Files/CodeBlocks/include/stdio.h:412: error: expected `,' or `;' before "ftello64"
... ( goes on and on )
The wierdest thing is that I've got many other projects set up running very similar code which compile fine with no problems! This leads me to believe that I might be missing something in my code or in the build options. Currently compiling under WinXP.
Any ideas???
Ah, I think I might know the problem. I've got my own header file defined types.h which looks something like the following:
#ifndef _TYPES_H_
#define _TYPES_H_
...
#endif // _TYPES_H_
Think I've found my problem, cheers :)