delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/22/16:50:22

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.4 required=5.0 tests=AWL,BAYES_00,BOTNET
X-Spam-Check-By: sourceware.org
Message-id: <4B82FBF9.6020800@cygwin.com>
Date: Mon, 22 Feb 2010 16:49:45 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: warning: `cygwin_conv_to_win32_path' is deprecated (declared at /usr/include/sys/cygwin.h:50)
References: <BLU0-SMTP1209697EA3C67554F27207AD440 AT phx DOT gbl>
In-reply-to: <BLU0-SMTP1209697EA3C67554F27207AD440@phx.gbl>
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

On 02/21/2010 09:36 AM, John Berlet wrote:
> My compilation continues to spew out these Warning messages and I am
> not sure if this caused by the fact that the sqlite libraries are
> trying to call what I believe is a
> deprecated function (cygwin_conv_to_win32_path). I am running cygwin
> 1.7.1 and up until this point I did not have issues building from
> source php 5.2.9 in cygwin. I am getting these warning messages when I
> try to build php 5.3.1 as well. As far as I can tell this sqlite
> method call to cygwin_conv_to_win32_path has not changed and I suspect
> that if I went back and tried to rebuild php 5.2.9 with my current
> Cygwin environment I would get these warning messages too.
>
> Question - is this really an issue that would prevent me building
> current or subsequent versions of php?
> Question - Is there a potential workaround to this other than
> downgrading my Cygwin install?

You should switch-over any use of cygwin_to_win32_path() to
cygwin_conv_path().  This new API is documented in the API
documentation along with other Cygwin-specific APIs.  Take a
look:

<http://cygwin.com/cygwin-api/cygwin-api.html>

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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