bug-groff
[Top][All Lists]
Advanced

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

Compilation-Problem for groff 1.17 on HPUX 10.20 using HP cc and aCC


From: Jost Martin
Subject: Compilation-Problem for groff 1.17 on HPUX 10.20 using HP cc and aCC
Date: Thu, 10 May 2001 14:27:06 +0200

GROFF VERSION:
1.17

MACHINE:
HP C3600

OS:
HPUX 10.20

COMPILER:
HP Ansi C 
/opt/ansic/bin/cc:
              LINT A.10.32.30 CXREF  A.10.32.30
        HP92453-01 A.10.32.30 HP C Compiler
         /usr/lib/libc: $Revision: 76.3 $

HP ANSI C++
/opt/aCC/bin/aCC:
        HP aC++ B3910B A.01.27
        HP aC++ B3910B A.01.19.02 Language Support Library


INPUT FILES:
NA [Compilation-problems]

COMMAND LINE:
NA [Compilation-problems]


DESCRIPTION OF INCORRECT BEHAVIOUR:

Compiling barfs on:
./src/preproc/html/pre-html.cc
This is already defined by System-Includes
<stdlib.h>
Could Configure check for this and only conditionally include this if needed ?


./src/utils/pfbtops/pfbtops.c
C++-Comments in C-File


SUGGESTED FIX [optional]:

./src/utils/pfbtops/pfbtops.c
50c50
<     case CHAR_MAX + 1: // --help
---
>     case CHAR_MAX + 1: /* --help */


Maybe gcc likes this; HP ANSI-C doesn't !

[After fixing these problems it compiles and links just fine]

Thanks !

Martin




reply via email to

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