c/9894: sscanf %d doesn't work with short data type

Park JongAm jongampark@hotmail.com
Wed Mar 5 20:06:00 GMT 2003


The following reply was made to PR c/9894; it has been noted by GNATS.

From: "Park JongAm" <jongampark@hotmail.com>
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  
 



More information about the Gcc-prs mailing list