This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: syntax error before 'cid_t'


Ed L. a écrit :
On Wednesday January 25 2006 9:23 am, Olivier Fourdan wrote:
Works here. gcc 3.3; HP-UX 11.11 on PA-RISC 2.0.

Yeah, it works on our earlier 11.23 releases, but not latest:


$  gcc -DXOPEN_SOURCE -c s.c
In file included from s.c:1:
/usr/include/sys/ipc.h:51: error: syntax error before 'cid_t'
/usr/include/sys/ipc.h:56: error: syntax error before '}' token

That header file has changed radically between those 11.23
releases, and cid_t is new in this release.

You should check this link on HP forums:


http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=964154

It discusses and gives a fix for that particular issue.

HTH,
Cheers,
Olivier.

--
Olivier Fourdan - SOGETI - 05.62.14.34.97


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]