🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41859

gcc-2.6.3 can compile tar-1.11.8, gcc-2.7.2 not.

#41859
From: Franz Fehringer
Date: Thu, 08 Feb 1996 00:00
23 lines
1104 bytes
Dear netters,

I am trying to compile tar-1.11.8 on a SunOs4.1.4 machine
using gcc.
This tar code contains many instances of a strange construct,
which gcc-2.6.3 accepts, but gcc-2.7.2 rejects with the
error message "invalid use of void expression"
This construct consists in saying 
fputs(_("some text"), stderr) instead of fputs("some text", stderr).
as can be seen for example in tar-1.11.8/src/tar.c.
What is the intention of this construct and why is it accepted
by gcc-2.6.3 on not by gcc-2.7.2?

Thanks and best regards

Franz Fehringer

-- 
Franz Fehringer
fehrin@math.TU-Berlin.DE
Telefon +49 30 314 23607
Telefax +49 30 314 21110
Technical Details
Message-ID: <52u412ow3g.fsf@thales.math.TU-Berlin.DE>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,a68376ea8f30b178,start
X-Google-Attributes: gid11318c,public
From: fehrin@math.TU-Berlin.DE (Franz Fehringer)
Subject: gcc-2.6.3 can compile tar-1.11.8, gcc-2.7.2 not.
Date: 1996/02/08
Message-ID: <52u412ow3g.fsf@thales.math.TU-Berlin.DE>
X-Deja-AN: 138424594
sender: fehrin@thales.math.TU-Berlin.DE
organization: FB3, TU-Berlin, Germany.
newsgroups: gnu.gcc.help