delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/03/11:53:29

X-Spam-Check-By: sourceware.org
Message-ID: <45E9A86E.7030803@byu.net>
Date: Sat, 03 Mar 2007 09:55:10 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: missing definition of __STRING macro in standard cygwin headers
References: <000001c75d7b$f1a52100$05ffa8c0 AT Hydrogen>
In-Reply-To: <000001c75d7b$f1a52100$05ffa8c0@Hydrogen>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jaakko Pääkkönen on 3/3/2007 3:08 AM:
> Hi 
> Shouldn't this be fixed in cygwin headers?
> http://www.audiocoding.com/modules/newbb/viewtopic.php?topic_id=448&forum=3
> 
> What the web link basically says that cygwin doesn't have 
> #define __STRING #x
> defined in any of the standard header files which means some source code
> won't compile out of the box (FAAC library in this case).

Then that's a bug in FAAC.  Using any identifier in the __ namespace is
admitting that your code is relying on implementation details, and it
deserves to break when ported to a different implementation.

That said, submit a patch, and it will probably be applied, since it won't
violate any standards to provide such a define.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF6ahu84KuGfSFAYARAt4rAJ9qQHRl4TccDRlN8xBr+URoIUeVSACdHsgP
qc3hGy5/4Y78gnHvsVDxqEg=
=/6if
-----END PGP SIGNATURE-----

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019