This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Splint parseerror with <pthread.h>
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 21 May 2005 13:36:00 +0200
- Subject: Re: Splint parseerror with <pthread.h>
- References: <d6ll8f$vtq$1@sea.gmane.org>
- Reply-to: cygwin at cygwin dot com
On May 20 23:37, only4 wrote:
> # 19 may 2005:
> !!!!CATCHED!!!!
> I re-read the directive
> #if defined(_POSIX_THREADS) && !defined(__CYGWIN__)
> and realized that splint may have not __CYGWIN__ setted...
>
> splint +D__CYGWIN__ file.c
>
> WORKS!
> This can suggest further investigation, to find
> why the missing __CYGWIN__ ?
> are there other missing flags too?
>
> # 20-may-2005:
> I'm now investigatin who sets __CYGWIN__, and why splint don't have it.
See /lib/gcc-lib/i686-pc-cygwin/3.3.3/specs. It's set by gcc itself for
cpp. splint could set it by default, that would be pretty straightforward.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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/