#122722 - sgeos - Wed Mar 21, 2007 3:17 pm
Split from "Is this font readable?"
This produced no warnings:
Other compilers may complain about these implicit casts and gcc should complain about them.
If it does, I don't know how to get gcc to complain. Does this behavior conform to the standard?
-Brendan
HyperHacker wrote: | ||
|
This produced no warnings:
Code: |
int main(void)
{ signed int sh = 0xffffffff; signed int sn = -1; unsigned int uh = 0xffffffff; unsigned int un = -1; return sh + sn + uh + un ; } |
Code: |
USER@Stardust ~/c/test
$ gcc -Wall -Wextra -pedantic -Werror -o test test.c USER@Stardust ~/c/test $ gcc -Wall -Wextra -ansi -pedantic -Werror -o test test.c USER@Stardust ~/c/test $ |
Other compilers may complain about these implicit casts and gcc should complain about them.
If it does, I don't know how to get gcc to complain. Does this behavior conform to the standard?
-Brendan