This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/9894: sscanf %d doesn't work with short data type
- From: "Park JongAm" <jongampark at hotmail dot com>
- To: cgf at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jongampark at hotmail dot com, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
- Date: Thu, 06 Mar 2003 04:59:00 +0900
- Subject: Re: c/9894: sscanf %d doesn't work with short data type
- Bcc:
Maybe it's not a "bug" of the gcc. However it doesn't work like other
compilers, and that can make people confused.
For example, Visual C++ compiler doesn't have as serious problem
as the gcc on this subject.
Wouldn't it be better to display error message, "Type not compatible",
etc?
--
Try not to become a man of success but rather to become a man of value.
- A. Einstein
From: cgf at gcc dot gnu dot org
Reply-To: cgf at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org,
jongampark at hotmail dot com, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jongampark at hotmail dot com,
nobody at gcc dot gnu dot org
Subject: Re: c/9894: sscanf %d doesn't work with short data type
Date: 1 Mar 2003 07:28:50 -0000
Synopsis: sscanf %d doesn't work with short data type
State-Changed-From-To: open->closed
State-Changed-By: cgf
State-Changed-When: Sat Mar 1 07:28:50 2003
State-Changed-Why:
This is not a gcc problem. Read the documentation for sscanf to find
out how to interpret short arguments.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9894
_________________________________________________________________
책상위에 다리 올리고 느긋하게 즐긴다... MSN 온라인 상영관
http://vod.msn.co.kr