We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e523a43 commit 434f1f3Copy full SHA for 434f1f3
src/cfront.c
@@ -446,6 +446,13 @@ token_t get_next_token()
446
}
447
448
/* end of file */
449
+ /* "FIXME: The signedness of 'char' in the C programming language is indeed
450
+ * implementation-specific. For example, gcc for Arm treats 'char' as
451
+ * unsigned, while gcc for x86(-64) treats 'char' as signed. The warning
452
+ * below is raised in gcc for Arm:
453
+ * warning: comparison is always false due to limited range of data type
454
+ * [-Wtype-limits]
455
+ */
456
if ((next_char == 0) || (next_char == -1))
457
return T_eof;
458
0 commit comments