[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in groff 1.17 with Sun C++ compiler
From: |
Werner LEMBERG |
Subject: |
Re: Bug in groff 1.17 with Sun C++ compiler |
Date: |
Fri, 20 Apr 2001 23:51:29 +0200 (CEST) |
> FYI, attached below is our current patch to get groff 1.17 compiled
> with Sun C++ 5.2, HP-UX C++ A.03.30, and IRIX C++ 7.3.1.2m.
Thanks.
> It does the following:
>
> 1. Provide an autoconf test to determine if mkstemp has
> a prototype. FYI, Solaris 2.5.1 has a function prototype
> for mktemp.
I really don't know :-) Someone has sent a fix which I've applied.
> 2. Remove cast of string literals to char * (allowed by C++ but
> not pretty). Use const char * instead.
Agreed.
> 3. Use void return type for functions not returning a value.
I've fixed these meanwhile.
> Next up is #ifdef'ing out the functions in
> src/preproc/html/pre-html.cc for abs, min, etc. which are already
> provided by the system. I'll send in another patch when I'm done.
I've already started that...
> Should I be trying to build the latest snapshot instead?
Please do so.
> Plans for a 1.17.1 or 1.18 any time soon?
`Soon' is 1.17.1 in a few weeks, I think...
Werner