hum ... certo ...
gcc -c -g -MD -MP -Wall -Werror -pedantic --std=c99 -I./include/ src/main.c -o obj/CYGWIN_NT-10.0/pap/./src/main.debug.o
src/main.c: In function ‘conta_a’:
src/main.c:8:8: error: comparison between pointer and integer [-Werror]
if (str=='a'||str=='A'||str=='e'||str=='E'||str=='i'||str=='I'||str=='o'||str=='O'||str=='u'||str=='U') count++;
^
src/main.c:8:18: error: comparison between pointer and integer [-Werror]
if (str=='a'||str=='A'||str=='e'||str=='E'||str=='i'||str=='I'||str=='o'||str=='O'||str=='u'||str=='U') count++;
^
src/main.c:8:28: error: comparison between pointer and integer [-Werror]
if (str=='a'||str=='A'||str=='e'||str=='E'||str=='i'||str=='I'||str=='o'||str=='O'||str=='u'||str=='U') count++;
^
src/main.c:8:38: error: comparison between pointer and integer [-Werror]
if (str=='a'||str=='A'||str=='e'||str=='E'||str=='i'||str=='I'||str=='o'||str=='O'||str=='u'||str=='U') count++;
^
src/main.c:8:48: error: comparison between pointer and integer [-Werror]
if (str=='a'||str=='A'||str=='e'||str=='E'||str=='i'||str=='I'||str=='o'||str=='O'||str=='u'||str=='U') count++;
^
src/main.c:8:58: error: comparison between pointer and integer [-Werror]
if (str=='a'||str=='A'||str=='e'||str=='E'||str=='i'||str=='I'||str=='o'||str=='O'||str=='u'||str=='U') count++;
^
src/main.c:8:68: error: comparison between pointer and integer [-Werror]
if (str=='a'||str=='A'||str=='e'||str=='E'||str=='i'||str=='I'||str=='o'||str=='O'||str=='u'||str=='U') count++;
^
src/main.c:8:78: error: comparison between pointer and integer [-Werror]
if (str=='a'||str=='A'||str=='e'||str=='E'||str=='i'||str=='I'||str=='o'||str=='O'||str=='u'||str=='U') count++;
^
src/main.c:8:88: error: comparison between pointer and integer [-Werror]
if (str=='a'||str=='A'||str=='e'||str=='E'||str=='i'||str=='I'||str=='o'||str=='O'||str=='u'||str=='U') count++;
^
src/main.c:8:98: error: comparison between pointer and integer [-Werror]
if (str=='a'||str=='A'||str=='e'||str=='E'||str=='i'||str=='I'||str=='o'||str=='O'||str=='u'||str=='U') count++;
^
cc1: all warnings being treated as errors
make: *** [Makefile:67: obj/CYGWIN_NT-10.0/pap/./src/main.debug.o] Error 1
isto para não falar que está claramente errado ...
↧