A
Atropo
Hi, all.
As you can see I'm just begining on C. with the tutorial "Sams Teach
Yourself C in 24 Hours" as a starter. on aix 5.2 when compiling a
helloWorld the gcc throws some warnings the system adminitrator
does'nt know anything about. could you point me where to check the
gcc conf. or what i'm doing wrong
Atropo@seagull> more captura.c
#include <stdio.h>
main()
{
int ch;
printf("Please type in one character:\n");
ch = getc(stdin);
printf("The character you just entered is: %c\n", ch);
return 0;
}
Atropo@seagull> gcc captura.c
In file included from /usr/include/sys/m_types.h:40,
from /usr/local/lib/gcc-lib/powerpc-ibm-
aix4.3.2.0/2.8.1/include/sys/types.h:393,
from /usr/local/lib/gcc-lib/powerpc-ibm-
aix4.3.2.0/2.8.1/include/stdio.h:366,
from captura.c:1:
/usr/include/sys/vm_types.h:65: parse error before `vmid64_t'
/usr/include/sys/vm_types.h:65: warning: data definition has no type
or storage class
/usr/include/sys/vm_types.h:66: parse error before `rpn64_t'
/usr/include/sys/vm_types.h:66: warning: data definition has no type
or storage class
/usr/include/sys/vm_types.h:67: parse error before `cnt64_t'
/usr/include/sys/vm_types.h:67: warning: data definition has no type
or storage class
/usr/include/sys/vm_types.h:86: parse error before `psize_t'
/usr/include/sys/vm_types.h:86: warning: data definition has no type
or storage class
Atropo@seagull> uname -a
AIX cofeerd1b 2 5 000C569D4C00
As you can see I'm just begining on C. with the tutorial "Sams Teach
Yourself C in 24 Hours" as a starter. on aix 5.2 when compiling a
helloWorld the gcc throws some warnings the system adminitrator
does'nt know anything about. could you point me where to check the
gcc conf. or what i'm doing wrong
Atropo@seagull> more captura.c
#include <stdio.h>
main()
{
int ch;
printf("Please type in one character:\n");
ch = getc(stdin);
printf("The character you just entered is: %c\n", ch);
return 0;
}
Atropo@seagull> gcc captura.c
In file included from /usr/include/sys/m_types.h:40,
from /usr/local/lib/gcc-lib/powerpc-ibm-
aix4.3.2.0/2.8.1/include/sys/types.h:393,
from /usr/local/lib/gcc-lib/powerpc-ibm-
aix4.3.2.0/2.8.1/include/stdio.h:366,
from captura.c:1:
/usr/include/sys/vm_types.h:65: parse error before `vmid64_t'
/usr/include/sys/vm_types.h:65: warning: data definition has no type
or storage class
/usr/include/sys/vm_types.h:66: parse error before `rpn64_t'
/usr/include/sys/vm_types.h:66: warning: data definition has no type
or storage class
/usr/include/sys/vm_types.h:67: parse error before `cnt64_t'
/usr/include/sys/vm_types.h:67: warning: data definition has no type
or storage class
/usr/include/sys/vm_types.h:86: parse error before `psize_t'
/usr/include/sys/vm_types.h:86: warning: data definition has no type
or storage class
Atropo@seagull> uname -a
AIX cofeerd1b 2 5 000C569D4C00