[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Compilation problem under Mac OS X
From: |
Gaius Mulley |
Subject: |
Re: [Groff] Compilation problem under Mac OS X |
Date: |
12 Jul 2003 19:12:12 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
"Robert D. Goulding" <address@hidden> writes:
> Trying to build latest CVS snapshot, and get this error:
>
> g++ -I. -I/Users/goulding/groff-1.19/src/devices/grohtml
> -I/Users/goulding/groff-1.19/src/include
> -I/Users/goulding/groff-1.19/src/include -DHAVE_CONFIG_H -g -O2 -c
> post-html.cpp
> post-html.cpp: In method `void html_printer::do_file_components()':
> post-html.cpp:3857: non-lvalue in assignment
> make[2]: *** [post-html.o] Error 1
> make[1]: *** [src/devices/grohtml] Error 2
> make: *** [all] Error 2
>
> Mac OS 10.1.5, with one of the older devtools (g++ -v gives:
>
> Apple Computer, Inc. version gcc-937.2, based on gcc version 2.95.2
> 19991024 (release))
Hi,
looks like it is complaining about:
split_file += '\0';
-> stdout = fopen(split_file.contents(), "w");
html.set_file(stdout);
the assignment to `stdout'. I guess the code can be written to use
another file handle..
Gaius