Re: Error compiling 0.75



On Tue, Nov 06, 2001 at 01:56:08AM -0500, Louis Garcia wrote:
Nope, my copy has that line. Must be something else.

Louis

On Tue, 2001-11-06 at 01:03, Wayne Schuller wrote:
hi,

From gnumeric 0.73 and up compile fails at:

dialog-printer-setup.c: In function 'create_hf_preview_canvas':
dialog-printer-setup.c:1244: 'DEFAULT_FONT' undeclared (first use in
this function)
dialog-printer-setup.c:1244: (Each undeclared identifier is reported
only once
dialog-printer-setup.c:1244: for each function it appears in.)
make[3]: *** [dialog-printer-setup.o] Error 1

Your copy of dialog-printer-setup.c is missing the line:
#include "style.h"
(around line 25 at the top of the file)

This will fix it.

I'm pretty sure that the cvs version has this line, so I don't know why yours is
missing it.

ta,
wayne

I can not replicate this.  There is something funny going on.   We
do actually compile test these things before they go out.  If your
style.h has that declaration then something is confusing things.  My
suggestion would be to dump the preprocessed result of the compile
(flag -E) delete the lines starting with '#' in the result then
compile the result.  That will let you see what the compiler is
seeing.  My guess is that DEFAULT_FONT is probably too generic a
name on your platform and something has already claimed it.

Good luck
    Jody



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