Smaller C fixes and improvements:
- move va_list type detection under #ifdef as it's rarely needed anyway - allow up to 254 characters in a string literal - generate a warning when an integer is passed instead of a pointer (and vice versa) as a function parameter (pass -Wall for this) - when printing an unexpected token, print identifier tokens instead of '<tokIdent>' - fix: allow most control characters inside '' and "" - fix handling of -I<path> and -SI<path> - switch() now supports Duff's device - for() now supports declarations in its first clause as in C99/C++
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
extern int printf();
|
||||
|
||||
int main()
|
||||
main()
|
||||
{
|
||||
printf ("Hello, SmallC World!\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user