Operating System - HP-UX
1833536 Members
2914 Online
110061 Solutions
New Discussion

alignment on hpux 11 in 'C'

 
steven vanhoof
Occasional Contributor

alignment on hpux 11 in 'C'

I'm porting some applications from hpux 10.20 to hpux11.
Development is in C.
It seems to me that the use of
#pragma HP_ALIGN HPUX_WORD is no longer enough to have all alignments on half-word boundaries?

Who can give me the preferred way to get half-word alignment on hpux 11 and hpux 11i

Where do I have to put the alignement-rules
Only at declaration or also on allocation?
filling the gaps
1 REPLY 1
Steve Steel
Honored Contributor

Re: alignment on hpux 11 in 'C'

Hi

http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2504,00.html

Choose your language

there is a full documentation


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)