bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Workaround for bug in HP-UX 11.00 C compiler


From: bug-ncurses
Subject: Workaround for bug in HP-UX 11.00 C compiler
Date: Sun, 29 Jul 2001 11:40:27 -0500
User-agent: Mutt/1.2.5i

The HP-UX 11.00 C compiler incorrectly barfs on the construct below.
Patch to work around. We have the latest version of the C compiler but
have not upgraded to it yet.

# what /opt/ansic/bin/cc
/opt/ansic/bin/cc:
         LINT A.11.01.21505.GP CXREF A.11.01.21505.GP
        HP92453-01 A.11.01.21505.GP HP C Compiler
         $ CUPI80_IC7  Jan  7 1999 11:20:34 $ 

-- 
albert chin (address@hidden)

-- snip snip
--- form/form.h.orig    Sun Jul 29 11:37:36 2001
+++ form/form.h Sun Jul 29 11:37:43 2001
@@ -332,7 +332,7 @@
 
 extern NCURSES_EXPORT(FORM *)  new_form (FIELD **);
 
-extern NCURSES_EXPORT(FIELD **)form_fields (const FORM *);
+extern NCURSES_EXPORT(FIELD **)        form_fields (const FORM *);
 extern NCURSES_EXPORT(FIELD *) current_field (const FORM *);
 
 extern NCURSES_EXPORT(WINDOW *)        form_win (const FORM *);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]