Re: g++ defines for win32

2005-08-15 Thread Danny Smith
On Sun, 14 Aug 2005, Angel Tsankov wrote: > It seems I've come upon an interesting issue, probably a bug. Here it > is: > I have a header file that defines __stdcall, __fastdecl and __cdecl. > If the preprocessor uses the CPLUS_INCLUDE_PATH to find that header > file, then it does not issue a warn

Re: g++ defines for win32

2005-08-15 Thread Angel Tsankov
Angel Tsankov [EMAIL PROTECTED] - Original Message - From: "Angel Tsankov" <[EMAIL PROTECTED]> To: "Pavel Tsekov" <[EMAIL PROTECTED]> Cc: "cygwin mailing list" Sent: Monday, August 15, 2005 5:37 PM Subject: Re: g++ defines for win32 - O

Re: g++ defines for win32

2005-08-15 Thread Angel Tsankov
- Original Message - From: "Pavel Tsekov" <[EMAIL PROTECTED]> To: "Angel Tsankov" <[EMAIL PROTECTED]> Cc: "cygwin mailing list" Sent: Monday, August 15, 2005 3:04 PM Subject: Re: g++ defines for win32 Hello, On Mon, 15 Aug 2005, Angel Tsan

Re: g++ defines for win32

2005-08-15 Thread Pavel Tsekov
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

Re: g++ defines for win32

2005-08-14 Thread Angel Tsankov
- Original Message - From: "Pavel Tsekov" <[EMAIL PROTECTED]> To: "Angel Tsankov" <[EMAIL PROTECTED]> Cc: "cygwin mailing list" Sent: Sunday, August 14, 2005 4:50 PM Subject: Re: g++ defines for win32 Hello, On Sun, 14 Aug 2005, Angel T

Re: g++ defines for win32

2005-08-14 Thread Pavel Tsekov
Hello, On Sun, 14 Aug 2005, Angel Tsankov wrote: > It seems I've come upon an interesting issue, probably a bug. Here it > is: > I have a header file that defines __stdcall, __fastdecl and __cdecl. > If the preprocessor uses the CPLUS_INCLUDE_PATH to find that header > file, then it does not issu

Re: g++ defines for win32

2005-08-14 Thread Angel Tsankov
14, 2005 9:46 AM Subject: Re: g++ defines for win32 another way: echo "#include " | gcc -dM -E - ... but this only shows macros defined for the current target platform unlike -dumpspecs which shows everything. (in the above, the include file used could be removed, or other files could be

Re: g++ defines for win32

2005-08-13 Thread Chan Kar Heng
another way: echo "#include " | gcc -dM -E - ... but this only shows macros defined for the current target platform unlike -dumpspecs which shows everything. (in the above, the include file used could be removed, or other files could be specified instead). rgds, kh Gerrit P. Haase wrote:

Re: g++ defines for win32

2005-08-13 Thread Gerrit P. Haase
Angel Tsankov wrote: I downloaded g++ from cygwin and installed it. I noticed that it has built-in definitions of __stdcall, __cdecl and __fastcall. I've come across other g++ builds for Windows that do not have definitions for these identifiers, so I had to filter them out from my source code

g++ defines for win32

2005-08-13 Thread Angel Tsankov
I downloaded g++ from cygwin and installed it. I noticed that it has built-in definitions of __stdcall, __cdecl and __fastcall. I've come across other g++ builds for Windows that do not have definitions for these identifiers, so I had to filter them out from my source code with the help of macr