Currently, when compiling using --std-sdcc89 or --std-sdcc99 (but not when using --std-c89, --std-c99 or --std-c11), sdcc allows functions with return type void to return expressions of type void. Example:
void f1(void); void f2(void) { return(f1()); } In standard C, this is not allowed (unlike C++, where it can be useful in C++ templates). In anyone using this feature? If not, I'd suggest to drop it after the next release. Philipp
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet
_______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user