Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2001 07:29:34 +0100
From:      "Richard Smith" <rdls@satamatics.com>
To:        "Mike Meyer" <mwm@mired.org>
Cc:        <questions@freebsd.org>
Subject:   RE: applixware
Message-ID:  <703AB71471B6024CB86D219058DB64FB02E14A@matrix.satamatics.net>

next in thread | raw e-mail | index | archive | help
From: Mike Meyer [mailto:mwm@mired.org]
> Richard Smith <rdls@satamatics.com> types:
> > > From: Mike Meyer [mailto:mwm@mired.org]
> > > Richard Smith <rdls@satamatics.com> types:
> > > > > #include <sys/types.h>
> > > > > int getresuid(uid_t *a, uid_t *b, uid_t *c) { return 1; }
> > > > Pretty, but:
> > > >     int getresuid(uid_t *, uid_t *, uid_t *) { return 1; }
> > > > would be better. I don't like sloppy code either ;-)
> > > That doesn't compile for me - it complains about the=20
> paramenter name
> > > being omitted. I agree that it would be better to omit=20
> them, but the
> > > compiler won't let me. If you can tell me how to make it=20
> do that, I'd
> > > appreciate it.
> > Would you beleive it? The reason I adopted the practice of omitting
> > unused
> > parameters in the first place, was because the compiler=20
> used to warn me=20
> > about it (this was back in the 3.x days).=20
> >=20
> > I've just discovered that the version of cc/gcc (2.95.3)=20
> that comes with
> >=20
> > 4.3-RELEASE doesn't care if I do or I don't, (with any -W=20
> settings) :-/
> >=20
> > So which compiler/version are you using?
>=20
> What was on 4-STABLE as of late June. It identifies itself as
> 2.95.3. I'm not using any -W switch, and trying "-Wall" doesn't change
> anything.

Intriguing. What's the exact command line + file + error message?

--
Richard Smith
Network Systems Director
Satamatics Ltd
Green Lane, Tewkesbury, GL20 8HD, United Kingdom
Tel: +44 1684 278610
Fax: +44 1684 278611

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?703AB71471B6024CB86D219058DB64FB02E14A>