This is the mail archive of the
mailing list for the Cygwin project.
Re: Please help on cscope15.5 compiling errors
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin at cygwin dot com
- Date: Wed, 29 Mar 2006 06:39:34 -0700
- Subject: Re: Please help on cscope15.5 compiling errors
- References: <BAY102-F4195DF4622FCA54E7A76DEA8D00@phx.gbl>
-----BEGIN PGP SIGNED MESSAGE-----
According to Hong Sun on 3/28/2006 10:24 PM:
> I was not able to attach the cyhcheck.out file as it was bounced back as
I'm not sure it was the cygcheck.out that triggered the filter, especially
since most people have no problems in attaching a file named just that; it
could have been your choice of subject line, the use of HTML, or some
other problem. However, you could try renaming the attachment
cygcheck.txt and see if that helps.
> Anyway, I got errors when compling cscope15.5 on cygwin 15.1.9-4
> downloaded on March 27,2006. The error compains that function getline()
> was re-declared in cscope package's global.h, which was delcared in
> cygwin's /usr/include/sys/stdio.h at line 31.
This has been discussed previously on the list, in January and February.
One option is for you to "#define readline rpl_readline" immediately after
including stdio.h, but before any use of readline in your package, so that
the two definitions don't conflict. The other option is to upgrade to a
snapshot, including updated headers, where the cygwin getline is properly
guarded behind the _GNU_SOURCE feature test.
> I commented out line 31 in stdio but still got other errors. Since I
> complied and installed cscope15.5 on previous cygwin release in 2003, it
> might be a bug in cygwin 1.5.19-4.
Changing system headers that don't belong to your package, in order to get
your package to compile, is usually a very risky effort that should not
normally be attempted.
Life is short - so eat dessert first!
Eric Blake firstname.lastname@example.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v220.127.116.11 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html