delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
Message-ID: | <41374c9c$0$173$cc7c7865@news.luth.se> |
From: | Martin Str|mberg <ams AT speedy DOT ludd DOT ltu DOT se> |
Subject: | Re: scanf: strange behavior? |
Newsgroups: | comp.os.msdos.djgpp |
References: | <20040902144152 DOT GH6858 AT webhome DOT cz> <2pp00iFnf7nsU1 AT uni-berlin DOT de> |
User-Agent: | tin/1.4.6-20020816 ("Aerials") (UNIX) (NetBSD/1.6Q (alpha)) |
Date: | 02 Sep 2004 16:38:52 GMT |
Lines: | 22 |
NNTP-Posting-Host: | speedy.ludd.ltu.se |
X-Trace: | 1094143132 news.luth.se 173 130.240.16.13 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Martin Ambuhl <mambuhl AT earthlink DOT net> wrote: > Egon Eckert wrote: >> int main(int, const char**) > ^^^^^^^^^^^^^^^^^^^^^^^^^^ > After correcting this illegal and uncompilable line, >> gives: >> >> 1 in GNU libc (on Linux) >> 1 in Borland C++ 3.1 (on DOS) >> -1 in djgpp > djgpp yields 1. Which is not compliant to the C99 standard. I think Egon is using 2.04 (or even CVS version) and Martin 2.03. Right, MartinS
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |