Error in stdint.h

I include stdint.h in my header file, it shows error which says " , expected ".
What is the issue? Please suggest me.
Can you post the code?

From what I have now I can make an assumption that you meant to put a period instead of a comma in the include?

Try #include <stdint.h>
I have included the file stdint.h.
I'm getting error in stdint.h file.
it shows error which says " , expected ".

How can you tell this is related to that header file.
Please post the exact text of the error message in full.
the error is
..\..\borlandc\include\stdint.h 516: , expected
Ok, what happens if you try to compile the following:
1
2
3
4
5
6
#include <stdint.h>

int main()
{

}

Does it still give the same error message? If not, try to find what is the minimum code required to generate the error.

[also the Borland compilers are very old and generally not recommended - but that's a separate topic].
Yes, it still shows me the same error.
Thanks for the reply.

In that case it looks like a problem with the compiler itself. A usual suggestion might be to try to re-install the compiler.

However as mentioned, the Borland compilers are outdated and you'd be better switching to something more up to date - unless for some reason (e.g. school or college specified) you must use a particular compiler.
Topic archived. No new replies allowed.