RTLEE1
1
I just tried 13.4 with Fedora 18 and still have this issue:
If I include <sys/time.h> and <stdlib.h>, I get this strange error:
PGC-S-0040-Illegal use of symbol, __syscall_slong_t (/usr/include/time.h: 123)
PGC-W-0156-Type not specified, ‘int’ assumed (/usr/include/time.h: 123)
No issues on a similar Fedora 17 box. Any hope of getting this fixed?
Thanks!
Todd
tull
2
Todd,
I have asked IT to create a Fedora 18 system.
In the interim, send the following files to trs@pgroup.com
- /usr/include/time.h
- /usr/include/sys/time.h
Take a program like hello.c
% more hello.c
#include <stdio.h>
int main()
{
printf(" hello\n");
}
add the headers as you did in the failing case, and
create
test.c, that passes with gcc and fails as reported with pgcc.
Send
- gcc -E test.c >& test_gcc.i
- pgcc -E test.c >& test_pgcc.i
and we will try to see if something obvious will get around this.
dave