I use a pretty new Cygwin release and I notice that the strtof function is
missing in stdlib.h. On my Linux system the function is declared in stdlib.h.
Can anybody help me? I should have to convert a string to a flat and this
seems to be the only possibility. (O do not want to have double).
TI
Hi,
Sunday, November 24, 2002, 9:04:04 AM, you wrote:
j> I use a pretty new Cygwin release and I notice that the strtof function is
j> missing in stdlib.h. On my Linux system the function is declared in stdlib.h.
j> Can anybody help me? I should have to convert a string to a flat and this
j> s
On Sun, Nov 24, 2002 at 10:34:37AM +1000, Arseny Slobodjuck wrote:
> Sunday, November 24, 2002, 9:04:04 AM, you wrote:
>
> j> I use a pretty new Cygwin release and I notice that the strtof function is
> j> missing in stdlib.h. On my Linux system the function is declared in stdlib.h.
>
> j> Can a
> However, I just had a look into newlib and there's a function
>
> float strtodf (const char *, char **);
>
> defined.
Thx, I saw that too. There were sevaral ways to work around this "problem"
but I when I came across it, I simply wanted to report it.
JB
--
Unsubscribe info: http://c
Corinna Vinschen wrote:
On Sun, Nov 24, 2002 at 10:34:37AM +1000, Arseny Slobodjuck wrote:
Sunday, November 24, 2002, 9:04:04 AM, you wrote:
j> I use a pretty new Cygwin release and I notice that the strtof function is
j> missing in stdlib.h. On my Linux system the function is declared in stdl
On Wed, Dec 04, 2002 at 02:47:36PM -0500, J. Johnston wrote:
> It is not a typo. Newlib was created to be ANSI with some Unix extensions.
> Originally, strtodf was added in 1992 as an extension. Since then, C99
> has defined strtof.
>
> Now, that said, since there is a strtof() routine defined i
On Thu, 2002-12-05 at 20:34, Corinna Vinschen wrote:
> Removing the symbol might
> break these applications (though I assume there aren't that much apps
> using strtodf).
We can just export it twice from cygwin.din. That + Jeff's patch will
keep backwards compatability and provide the right API
On Thu, Dec 05, 2002 at 08:37:22PM +1100, Robert Collins wrote:
>On Thu, 2002-12-05 at 20:34, Corinna Vinschen wrote:
>>Removing the symbol might break these applications (though I assume
>>there aren't that much apps using strtodf).
>
>We can just export it twice from cygwin.din. That + Jeff's pa
> -Original Message-
> From: Robert Collins [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 05, 2002 4:37 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: strtof is missing
>
>
> On Thu, 2002-12-05 at 20:34, Corinna Vinschen wrote:
Chris,
Can you clarify. Do you want me to duplicate the routine or
stick with the solution I originally presented which is to rename
the routine and leave a #define that maps the old name to the
new one.
-- Jeff J.
Christopher Faylor wrote:
On Thu, Dec 05, 2002 at 08:37:22PM +1100, Robert Co
On Thu, Dec 05, 2002 at 02:54:08PM -0500, J. Johnston wrote:
>Chris,
>
> Can you clarify. Do you want me to duplicate the routine or
>stick with the solution I originally presented which is to rename
>the routine and leave a #define that maps the old name to the
>new one.
I think your plan is fi
Wouldn't it be more helpful to point out that the function is
deprecated?
-Rolf
> -Original Message-
> From: Christopher Faylor [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 05, 2002 5:21 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject
On Thu, Dec 05, 2002 at 05:34:46PM -0500, Rolf Campbell wrote:
>Wouldn't it be more helpful to point out that the function is
>deprecated?
That's Jeff's call. I don't care. We still have to do cygwin def file
magic one way or the other so there could still conceivably be
applications using strto
13 matches
Mail list logo