Home » Developer & Programmer » Precompilers, OCI & OCCI » Proc Error on ras.h on AIX
Proc Error on ras.h on AIX [message #176306] Wed, 07 June 2006 15:56 Go to next message
munish0977
Messages: 2
Registered: June 2006
Junior Member
Hi,

I am trying to compile Pro*C code on AIX 5.3 and it is erroring out on inclusion of ras.h file which is a standard header file for AIX.

Error at line 247, column 29 in file /usr/include/sys/ras.h
RAS_FILE_ASSERT( baddomain, RASC_COMMAND(0x100, 0x1) == -1LL );
............................1
PCC-S-02201, Encountered the symbol "L" when expecting one of the following:

It seems Pro*C precompiler did not like "LL" at the end. Can anyone suggest something to fix it or bypass?

Thanks
Munish
Re: Proc Error on ras.h on AIX [message #177196 is a reply to message #176306] Tue, 13 June 2006 06:58 Go to previous messageGo to next message
grat
Messages: 1
Registered: June 2006
Junior Member
I have exactly the same problem. Did you have any solution since you posted your request ?

TG
Re: Proc Error on ras.h on AIX [message #177910 is a reply to message #177196] Sat, 17 June 2006 12:10 Go to previous messageGo to next message
munish0977
Messages: 2
Registered: June 2006
Junior Member
No solution yet. Pro*C compiler does not support long long. So I had to separate the code which was using shm.h file which inturn included ras.h.
Re: Proc Error on ras.h on AIX [message #284699 is a reply to message #177910] Fri, 30 November 2007 11:02 Go to previous messageGo to next message
italofreitas
Messages: 2
Registered: November 2007
Location: Brazil
Junior Member
I have exactly the same problem. Did you have any solution since you posted your request ?
Re: Proc Error on ras.h on AIX [message #284712 is a reply to message #284699] Fri, 30 November 2007 11:29 Go to previous messageGo to next message
Michel Cadot
Messages: 68624
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Isn't "I had to separate the code which was using shm.h file which inturn included ras.h" a solution?

Regards
Michel
Re: Proc Error on ras.h on AIX [message #285417 is a reply to message #284712] Tue, 04 December 2007 08:08 Go to previous messageGo to next message
italofreitas
Messages: 2
Registered: November 2007
Location: Brazil
Junior Member
Yes, I had to separate the code. But I need the support long long by Pro*C compiler.
Re: Proc Error on ras.h on AIX [message #285419 is a reply to message #285417] Tue, 04 December 2007 08:16 Go to previous message
Michel Cadot
Messages: 68624
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Quote:

Pro*C compiler does not support long long

Quote:

But I need the support long long by Pro*C compiler

Submit a request to Oracle.

Regards
Michel
Previous Topic: fwrite
Next Topic: warning message on .pc to .c file conversion
Goto Forum:
  


Current Time: Thu Mar 28 05:35:28 CDT 2024