Feature Requests item #1901171, was opened at 2008-02-25 07:33
Message generated for change (Settings changed) made by borutr
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=350599&aid=1901171&group_id=599
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: Borut Ražem (borutr)
>Assigned to: Borut Ražem (borutr)
Summary: inerger promotion of casted varargs
Initial Comment:
Sdcc doesn't perform the integer promotion for variable arguments which are explicitly casted. This is a nonconformity with the ISO C standard and is treated as an sdcc extension.
Sdcc should be conform to the ISO C standard in case the --std-cXX command line option is defined.
For reference see bug #1874922: "explicit typecast is ineffective for unsigned char parameter" at https://sourceforge.net/tracker/index.php?func=detail&aid=1874922&group_id=599&atid=100599 .
Request for help: I don't have ISO C89 standard (I have ISO C99), so I don't know if the requirements for integer promotion for variable arguments are same in both. Any help appreciated!
Borut
----------------------------------------------------------------------
Comment By: Borut Ražem (borutr)
Date: 2008-02-26 08:06
Message:
Logged In: YES
user_id=568035
Originator: YES
Implemented in svn revision #5050.
Borut
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=350599&aid=1901171&group_id=599
|