[antlr-interest] [SOLVED] ANTLR3 C runtime in HP-UX

Jim Idle jimi at temporal-wave.com
Fri Oct 16 02:52:08 PDT 2009


What version of HPUX is this? I have it fixed for the versions I have come across I think. HPUX is such a bag of nails; it is always the odd man out.

 

Jim

 

From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-bounces at antlr.org] On Behalf Of Hugo Picado
Sent: Monday, October 12, 2009 3:09 PM
To: antlr-interest at antlr.org ANTLR
Subject: [antlr-interest] [SOLVED] ANTLR3 C runtime in HP-UX

 

Hi,

 

When compiling libantlr3c-3.2 in HP-UX it gives the following error:

 

Error 172: "src/antlr3debughandlers.c", line 302 # Undeclared variable 'TCP_NODELAY'.
                    setsockopt(delboy->socket, SOL_SOCKET, TCP_NODELAY, (const void *)&optVal, sizeof(optVal));

 

 

To solve this problem it is enough to have the following include in the file src/antlr3debughandlers.c:

 

#include  <netinet/tcp.h>

 

 

Terence, please consider this in a next release.

 

Best regards,

Hugo.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091016/10999aff/attachment.html 


More information about the antlr-interest mailing list