Operating System - HP-UX
1753498 Members
4514 Online
108794 Solutions
New Discussion

Re: HP XPADE compiling error

 
Aaron Ooi
Occasional Advisor

HP XPADE compiling error

Hi all,

 

I have an issue with HP ARIES/XPADE when compiling my code. The error is as specify below:-

 

aprss013@aoadmin:#more *.err
"/jde/jdedwardsoneworld/b7334/lsc/system/include/jdekstrt.h", line 3323: error #4205-D: HP_ALIGN pragma is no longer supported; use the "pack" and/or "unalign" pragmas instead
        #pragma HP_ALIGN NOPADDING PUSH
        ^

"/jde/jdedwardsoneworld/b7334/lsc/system/include/jdekstrt.h", line 3381: error #4205-D: HP_ALIGN pragma is no longer supported; use the "pack" and/or "unalign" pragmas instead
        #pragma HP_ALIGN POP
        ^

2 errors detected in the compilation of "f0101.c".

 

I have checked the file /jde/jdedwardsoneworld/b7334/lsc/system/include/jdekstrt.h the HP_ALIGN pragma is already mark with #.

 

Do let me know what else info that require.

 

Thx

1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: HP XPADE compiling error

>error #4205-D: HP_ALIGN pragma is no longer supported; use the "pack" and/or "unalign" pragmas instead

 

This means what it says, you can't use the obsolete HP_ALIGN pragma for aC++.

You appear to be using the aC++ compiler to compile C code.

You should be using the PA HPC compiler under XPADE.

 

Try compiling with the -v & -V option to see what compilers you're using.