bug-groff
[Top][All Lists]
Advanced

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

compile problem 1.17.2


From: Kenji Miyake
Subject: compile problem 1.17.2
Date: Thu, 13 Dec 2001 10:09:18 +0900

GROFF VERSION:
1.17.2

MACHINE:
PC AT

OS:
Solaris 2.5.1(x86)

COMPILER:
g++ 2.95.2

INPUT FILES:
none

COMMAND LINE:
none

DESCRIPTION OF INCORRECT BEHAVIOUR:
cannot compile src/preproc/html/pre-html.cc
because implicit function declaration with mkstemp

HAVE_MKSTEMP and not HAVE_MKSTEMP_PROTO case


SUGGESTED FIX [optional]:

--- ./src/include/lib.h.org     Thu Jul  5 07:51:03 2001
+++ ./src/include/lib.h Wed Dec 12 21:51:38 2001
@@ -24,6 +24,9 @@
 #endif
   const char *i_to_a(int);
   const char *if_to_a(int, int);
+#if !defined(HAVE_MKSTEMP_PROTO) && defined(HAVE_MKSTEMP)
+  int mkstemp(char *);
+#endif
 }
 
 /* stdio.h on IRIX, OSF/1, and UWIN includes getopt.h */



reply via email to

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