This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Re: Build failure on Cygwin
- From: Christopher Faylor <cgf-use-the-mailinglist-please at sourceware dot org>
- To: mizo_hazem_2 <eng dot hossam84 at gmail dot com>, insight at sourceware dot org
- Date: Thu, 28 Apr 2011 12:52:46 -0400
- Subject: Re: Build failure on Cygwin
- References: <000001ca8bec$6d6b6d20$48424760$@com> <4B424D16.6020204@redhat.com> <31498339.post@talk.nabble.com>
On Thu, Apr 28, 2011 at 09:38:50AM -0700, mizo_hazem_2 wrote:
>
>Hi,
>
>I have faced the same problem and I have solved it by adding the following
>line to the Makefile
>CFLAGS = -D__WIN32__ -D__INSIDE_CYGWIN__
>
>Hope this can help
Please don't do this. It is definitely not the correct fix. You should
never ever add __INSIDE_CYGWIN__ to a build that isn't building the
Cygwin DLL itself.
cgf