Mail Archives: cygwin/2002/07/12/12:26:50
>>>>>> "hlenet" == hlenet <Herv> writes:
> hlenet> The atof() function, compiled with gcc, always
> returns 0.
>
> hlenet> Example :
>
> hlenet> f = atof("123.456");
> hlenet> printf("%f\n", f);
>
> hlenet> Result :
> hlenet> 0.000000
> I'm wondering wether this is the reason for the failing test
> of libslang
It is possible. I did a little checking and stdlib.h /does/ seem to be included, however (via slinclud.h), which is what seems to be the problem with the above C code, as Tim Prince pointed out. I don't have time to go too deeply into it though. I will forward your post to alt.lang.s-lang though if you do not mind (I will obviously edit identifying headers).
I get the same error as you, as you and the list both know. Since nobody has replied to my message of yesterday asking whether there was any specific info I could provide I will assume that all is required is the normal stuff, so here it is:
Cygwin Package Information
Last downloaded files to: F:\Cygwin\
Last downloaded files from: http://ftp.inf.tu-dresden.de/software/windows/cygwin32
Package Version
XFree86-base 4.2.0-1
XFree86-bin 4.2.0-1
XFree86-doc 4.2.0-1
XFree86-etc 4.2.0-1
XFree86-fenc 4.2.0-2
XFree86-fnts 4.2.0-2
XFree86-fsrv 4.2.0-1
XFree86-lib 4.2.0-3
XFree86-man 4.2.0-1
XFree86-nest 4.2.0-1
XFree86-startup-scripts4.2.0-2
XFree86-vfb 4.2.0-1
XFree86-xserv 4.2.0-10
_update-info-dir 00029-1
ash 20020131-1
bash 2.05a-3
binutils 20020706-2
bison 1.35-1
byacc 1.9-1
bzip2 1.0.2-2
compface 1.4-5
cron 3.0.1-7
crypt 1.0-1
cvs 1.11.0-1
cygrunsrv 0.95-1
cygwin 1.3.12-2
cygwin-doc 1.0-1
diff 1.0-1
diffutils 2.8.1-1
expect 20010117-1
fetchmail 5.9.13-1
fileutils 4.1-1
findutils 4.1.7-4
gawk 3.0.4-1
gcc 2.95.3-5
gdb 20010428-3
gdbm 1.8.0-4
gettext 0.11.2-2
grep 2.5-1
groff 1.17.2-1
gzip 1.3.3-1
indent 2.2.8-1
inetutils 1.3.2-18
less 374-1
libbz2_0 1.0.2-1
libbz2_1 1.0.2-2
libiconv2 1.8-2
libintl 0.10.38-3
libintl1 0.10.40-1
libintl2 0.11.2-2
libncurses5 5.2-1
libncurses6 5.2-8
libreadline4 4.1-2
libreadline5 4.2a-1
libxml2 2.4.17-1
login 1.4-3
lynx 2.8.4-1
m4 0.0
make 3.79.1-7
man 1.5g-2
mutt 1.2.5i-6
ncurses 5.2-8
openssl 0.9.6d-1
pcre 3.7-1
perl 5.6.1-2
pine 4.44-2
procmail 3.22-6
python 2.2.1-1
readline 4.2a-1
rxvt 2.7.2-10
sed 3.02-1
sh-utils 2.0-2
squid 2.4.STABLE6-1
ssmtp 2.38.7-3
tar 1.13.19-1
tcltk 20001125-1
termcap 20020403-1
terminfo 5.2-3
texinfo 4.2-3
textutils 2.0.21-1
ttcp 19980512-1
vim 6.1-2
w32api 1.5-1
which 1.5-1
whois 4.5.17-1
zlib 1.1.4-1
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Jul 12 18:15:39 2002
Windows 98 SE Ver 4.10 Build 2222
Path: C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\WINDOWS
c:\WINDOWS\COMMAND
d:\APPS\CRYPTO\GPG
d:\APPS\CRYPTO\PGP\V2-6-3
d:\APPS\EDITORS\JED\BIN
SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS
HOME = `C:\cygwin\home\Gary'
MAKE_MODE = `unix'
PWD = `/home/Gary/develop/slang'
USER = `Gary'
ANT_HOME = `D:\Apps\Develop\ant-1.4.1'
BLASTER = `A220 I5 D1 T4'
CMDLINE = `bash --login -i'
COMSPEC = `C:\WINDOWS\COMMAND.COM'
CVSROOT = `/usr/src/cvs'
GPGPATH = `D:\Apps\crypto\gpg'
HOMEDRIVE = `C:'
HOMEPATH = `\cygwin\home\Gary'
JED_ROOT = `d:\apps\editors\jed'
LYNX_CFG = `/home/Gary/.lynx.cfg'
MANPATH = `:/usr/ssl/man'
NNTPSERVER = `localhost'
OLDPWD = `/home/Gary/develop'
PGPPATH = `D:\Apps\crypto\pgp\v2-6-3'
PROMPT = `$p$g'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SHLVL = `1'
TEMP = `f:\Temp'
TERM = `cygwin'
TMP = `f:\Temp'
TZ = `GMT0BST'
WINBOOTDIR = `C:\WINDOWS'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
(default) = `/cygdrive'
cygdrive flags = 0x00000022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2
(default) = `/cygdrive'
cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
(default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/
(default) = `C:\cygwin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = `C:\cygwin/bin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = `C:\cygwin/lib'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\Program Options
a: fd N/A N/A
c: hd FAT32 995Mb 83% CP UN WIN
d: hd FAT32 1096Mb 81% CP UN APPS
e: hd FAT32 1651Mb 82% CP UN GAMES
f: hd FAT32 297Mb 45% CP UN TEMP
g: hd FAT 203Mb 73% CP UN DOWNLOAD
h: hd FAT 101Mb 25% CP UN SPOOL
i: hd FAT 101Mb 100% CP UN VIRTMEM
j: hd FAT 125Mb 72% CP UN CACHE
k: hd FAT32 1119Mb 1% CP UN
z: cd N/A N/A
. /cygdrive user binmode,cygdrive
C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode
C:\cygwin / system binmode
C:\cygwin/bin /usr/bin system binmode
C:\cygwin/lib /usr/lib system binmode
. /cygdrive user binmode,cygdrive
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: c:\WINDOWS\COMMAND\find.exe
Warning: C:\cygwin\bin\find.exe hides c:\WINDOWS\COMMAND\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\sh.exe
19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm.dll" v0.0 ts=2002/2/20 3:05
22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
"cygintl-1.dll" v0.0 ts=2001/12/13 9:28
45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
"cygform5.dll" v0.0 ts=2001/4/25 6:28
26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
"cygmenu5.dll" v0.0 ts=2001/4/25 6:27
156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++5.dll" v0.0 ts=2001/4/25 6:29
226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses5.dll" v0.0 ts=2001/4/25 6:17
15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
"cygpanel5.dll" v0.0 ts=2001/4/25 6:27
35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
"cygform6.dll" v0.0 ts=2002/1/9 6:03
20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
"cygmenu6.dll" v0.0 ts=2002/1/9 6:03
175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++6.dll" v0.0 ts=2002/1/9 6:03
202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses6.dll" v0.0 ts=2002/1/9 6:03
12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
"cygpanel6.dll" v0.0 ts=2002/1/9 6:03
17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
"cyghistory4.dll" v0.0 ts=2001/1/7 4:34
108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
"cygreadline4.dll" v0.0 ts=2001/1/7 4:34
20k 2002/01/13 C:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
"cyghistory5.dll" v0.0 ts=2002/1/13 1:27
121k 2002/01/13 C:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
"cygreadline5.dll" v0.0 ts=2002/1/13 1:27
40k 2001/11/21 C:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
"cygpcre.dll" v0.0 ts=2001/11/21 22:15
39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
"cygpcreposix.dll" v0.0 ts=2001/11/21 22:15
50k 2002/03/12 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
"cygz.dll" v0.0 ts=2002/3/12 4:38
21k 2001/06/20 C:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
"cygintl.dll" v0.0 ts=2001/6/20 18:09
58k 2002/05/07 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
"cygbz2-1.dll" v0.0 ts=2002/5/7 7:33
621k 2002/05/17 C:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
"cygcrypto.dll" v0.0 ts=2002/5/17 13:24
81k 2000/12/05 C:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
"cygitcl30.dll" v0.0 ts=2000/11/26 1:43
35k 2000/12/05 C:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
"cygitk30.dll" v0.0 ts=2000/11/26 1:43
390k 2001/01/18 C:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
"cygtcl80.dll" v0.0 ts=2001/1/18 4:44
5k 2001/01/18 C:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
10k 2001/01/18 C:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
"cygtclreg80.dll" v0.0 ts=2001/1/18 4:44
623k 2000/12/05 C:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
"cygtk80.dll" v0.0 ts=2000/11/26 1:43
54k 2002/01/27 C:\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
"cygbz21.0.dll" v0.0 ts=2002/1/27 1:07
156k 2002/05/17 C:\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
"cygssl.dll" v0.0 ts=2002/5/17 13:24
929k 2002/06/24 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
"cygiconv-2.dll" v0.0 ts=2002/6/24 19:24
23k 2002/06/24 C:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
"cygintl-2.dll" v0.0 ts=2002/6/24 5:54
1248k 2002/03/17 C:\cygwin\bin\cygxml2-2.dll - os=4.0 img=1.0 sys=4.0
"cygxml2-2.dll" v0.0 ts=2002/3/17 3:45
883k 2002/07/06 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2002/7/6 7:16
Cygwin DLL version info:
DLL version: 1.3.12
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 54
Shared data: 3
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Sat Jul 6 02:16:58 EDT 2002
CVS tag: cygwin-1-3-12-1
Shared id: cygwin1S3
Use -h to see help about each section
_______________________________________________________
The FREE service that prevents junk email http://www.mailshell.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -