Hello, On Mon, 15 Aug 2005, Angel Tsankov wrote:
> Here's the test case. Execute the run.bat file to perform the test. > Hmm, it seams that I cannot send zip files as attachments. So you may > download the test case from > http://debian.fmi.uni-sofia.bg/~angel/test_case.zip > and run run.bat to execute it. The description of `CPATH', `C_INCLUDE_PATH', `CPLUS_INCLUDE_PATH' and `OBJC_INCLUDE_PATH' from the gcc info manual says: [...] `CPATH' specifies a list of directories to be searched as if specified with `-I', but after any paths given with `-I' options on the command line. This environment variable is used regardless of which language is being preprocessed. The remaining environment variables apply only when preprocessing the particular language indicated. Each specifies a list of directories to be searched as if specified with `-isystem', but after any paths given with `-isystem' options on the command line. [...] The cause of the warnings that you see is that by the time defs.h is parsed (last in the search path) some system header file already defined the symbols __cdecl, __stdcall and __fastcall. So what are you looking for is not `CPLUS_INCLUDE_PATH' but `CPATH'. Obviously you also have to fix your include file to behave properly when __cdecl, __stdcall and __fastcall are already defined. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/