From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7978 invoked by alias); 5 Mar 2003 20:06:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 7964 invoked by uid 71); 5 Mar 2003 20:06:00 -0000 Date: Wed, 05 Mar 2003 20:06:00 -0000 Message-ID: <20030305200600.7963.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Park JongAm" Subject: Re: c/9894: sscanf %d doesn't work with short data type Reply-To: "Park JongAm" X-SW-Source: 2003-03/txt/msg00225.txt.bz2 List-Id: The following reply was made to PR c/9894; it has been noted by GNATS. From: "Park JongAm" To: cgf@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, jongampark@hotmail.com, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Cc: Subject: Re: c/9894: sscanf %d doesn't work with short data type Date: Thu, 06 Mar 2003 04:59:00 +0900 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@gcc.gnu.org >Reply-To: cgf@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, jongampark@hotmail.com, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org >To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, jongampark@hotmail.com, nobody@gcc.gnu.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