This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Splint parseerror with <pthread.h>


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]