Operating System - HP-UX
1822011 Members
4138 Online
109639 Solutions
New Discussion

aCC with -D_HPUX -D_POSIX_C_SOURCE=199506L

 
Ming_2
New Member

aCC with -D_HPUX -D_POSIX_C_SOURCE=199506L

Got the following error when compile using aCC with -D_HPUX_D_POSIX_C_SOURCE=199506L option:

"Error 628: cannot be defined to have an incomplete type"

on the following line:

struct sembuf semLock;

It compiles fine without the option. Any idea why this is happening? Thanks.