bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] 1.15.1 compilation problem on Tru64 (with solution)


From: Thomas Koutcher
Subject: Re: [Bug-tar] 1.15.1 compilation problem on Tru64 (with solution)
Date: Fri, 14 Jan 2005 21:16:24 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Here is the error message:

source='argp-parse.c' object='argp-parse.o' libtool=no  DEPDIR=.deps
depmode=tru64 /bin/ksh ../config/depcomp  cc -std1 -DHAVE_CONFIG_H
-DLIBDIR=\"/usr/local/lib\" -I. -I. -I..      -g -c argp-parse.c
cc: Error: argp-parse.c, line 742: In the initializer for bad_key_err a required
set of braces is missing. (arraybrace)
       N_("(PROGRAM ERROR) Option should have been recognized!?");

The problem is that line 742, N_("xxx") is expanded to ("xxx") which
is not valid to initialize a char[] for the Tru64 compiler. If you remove
() from the macro definition as it is done in other files, then you get
"xxx" which is valid.

Regards,
Thomas.



Sergey Poznyakoff wrote :

#define N_(msgid} msgid [i.e. without () arround msgid] which
doesn't cause any problem.

Please supply exact error message your compiler gives you.






reply via email to

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