| View previous topic :: View next topic |
| Author |
Message |
RTLEE
Joined: 01 Mar 2006 Posts: 19
|
Posted: Mon Apr 15, 2013 10:28 am Post subject: Fedora 18 support? |
|
|
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 |
|
| Back to top |
|
 |
jtull
Joined: 30 Jun 2004 Posts: 233
|
Posted: Mon Apr 15, 2013 1:52 pm Post subject: |
|
|
Todd,
I have asked IT to create a Fedora 18 system.
In the interim, send the following files to trs@pgroup.com
1. /usr/include/time.h
2. /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
3. gcc -E test.c >& test_gcc.i
4. pgcc -E test.c >& test_pgcc.i
and we will try to see if something obvious will get around this.
dave |
|
| Back to top |
|
 |
|