Article View: comp.std.c
Article #4442Re: Is it valid?
From: Hans Steffani
Date: Fri, 08 Dec 1995 09:26
Date: Fri, 08 Dec 1995 09:26
35 lines
1329 bytes
1329 bytes
hfst@hrz.tu-chemnitz.de (Hans Steffani) writes:
>Is something like
> ("Hallo");
>valid code? I thought it is code which does not do
>anything but is valid but my compiler complains about.
Some people answered me, that the compiler may throw
out warnings about anything it likes to. They also told
me that the mentioned line should be correct.
Here is some compiler output:
/usr/lib/cmplrs/cc/cfe: Error: strecke.c, line 36: Non function name referenced
in function call (3.3.2.2(18))
1 ("erst_x_liste aufgerufen\n");
---^
and a more complex example:
/usr/lib/cmplrs/cc/cfe: Error: strecke.c, line 147: Non function name referenced
in function call (3.3.2.2(18))
1 ("Guete %f\n", res );
-----^
The compiler I use is the cc of a DEC3000.
Hans Friedrich Steffani
--
Hans Friedrich Steffani
Institut fuer Elektrische Maschinen und Antriebe
TU Chemnitz-Zwickau
e-mail: hans.steffani@e-technik.tu-chemnitz.de
Technical Details
Message-ID:
<4a90j4$s0a@pyrrhus-f.hrz.tu-chemnitz.de>Path:
arc1-ca.pugleaf.net!news.tu-chemnitz.de!newsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.tu-chemnitz.de!news From: hfst@hrz.tu-chemnitz.de (Hans Steffani) Newsgroups: comp.std.c Subject: Re: Is it valid? Supersedes: <4a75e2$cgj@pyrrhus-f.hrz.tu-chemnitz.de> Date: 8 Dec 95 09:26:54 GMT Organization: University of Technology Chemnitz, FRG Message-ID: <4a90j4$s0a@pyrrhus-f.hrz.tu-chemnitz.de> NNTP-Posting-Host: helios.hrz.tu-chemnitz.de