groff
[Top][All Lists]
Advanced

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

[Groff] Re: mkstemp


From: John David Anglin
Subject: [Groff] Re: mkstemp
Date: Wed, 5 Sep 2001 12:19:06 -0400 (EDT)

> I've finally added a mkstemp routine to groff.  Please test.

I downloaded the latest cvs source for groff today and tried to build
under hppa1.1-hp-hpux10.20.  The following error occured:

g++ -I. -I/xxx/gnu/groff-1.17.3/src/libs/libgroff 
-I/xxx/gnu/groff-1.17.3/objdir/src/include -I/xxx/gnu/groff-1.17.3/src/include 
-DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 
-DHAVE_SYS_DIR_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MATH_H=1 
-DHAVE_SYS_TIME_H=1 -DRET_TYPE_SRAND_IS_VOID=1 -DHAVE_SYS_NERR=1 
-DHAVE_CC_LIMITS_H=1 -DRETSIGTYPE=void -DHAVE_STRUCT_EXCEPTION=1 
-DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_FMOD=1 
-DHAVE_STRTOL=1 -DHAVE_GETCWD=1 -DHAVE_STRERROR=1 -DHAVE_PUTENV=1 
-DHAVE_RENAME=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DHAVE_GETTIMEOFDAY=1 
-DWCOREFLAG=0200  -O2 -c /xxx/gnu/groff-1.17.3/src/libs/libgroff/font.cc
In file included from /xxx/gnu/groff-1.17.3/src/libs/libgroff/font.cc:27:
/xxx/gnu/groff-1.17.3/src/include/lib.h:53: previous declaration of `int
   mkstemp(char*)' with C++ linkage
/usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/3.0.1/include/stdlib.h:246: 
conflicts
   with new declaration with C linkage

Dave
-- 
J. David Anglin                                  address@hidden
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

reply via email to

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