Re: Compilation errors in Standard header files
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Thu, 29 Sep 2005 15:54:17 -0400
Sriram <Sriram@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> I was trying to build the .exe for our project and its giving me
> compilation errors in standard header files supplied by VC++ like
> stdlib.h, objbase.h etc. When I write a simple C file, its not giving
> these compilation erros. My question is if its a real problem in
> header files, it should give the same erros for every aplication I
> build.So I doubt if I am missing any compiler/linker options.
>
> I am copying the errors occuring here:
>
> c:\program files\microsoft visual studio\vc98\include\stdlib.h(249) :
> error C2226: syntax error : unexpected type 'T'
Most likely, you are including a badly written header before the
standard one. E.g. a header with unbalanced parentheses or braces will
cause weird errors that would seem to come from the subsequent code.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- Prev by Date: Where is the Error Log?
- Next by Date: Re: using STL with unicode files
- Previous by thread: Where is the Error Log?
- Next by thread: Re: Compilation errors in Standard header files
- Index(es):
Relevant Pages
|