> -----Original Message-----
> From: Nick Hibma [SMTP:nick.hi...@jrc.it]
> Sent: Wednesday, June 16, 1999 2:27 PM
> To:   Ladavac Marino
> Cc:   FreeBSD hackers mailing list
> Subject:      RE: Typo: sys/pci/pcisupport.c
> It does, just no one checking. Someone needs to go and fix warnings
> again in CURRENT. 
> 
        [ML]  my dearest warning is SNI CC "Computation serves no
purpose".

        There is a story behind it:  our product was shipping for hpux
and was later ported to sinix.  It had some instabilities during
development (it was first developed for hpux, then the enhancements were
ported to sinix, almost in parallel).

        A colleague wrote (paraphrased)

        pointer->pointer->object.method;

        where he wanted

        pointer->pointer->object.method();

        hpux CC did not say a word.  Naturally, the method had desired
side effects :)

        /Marino



> To Unsubscribe: send mail to majord...@freebsd.org
> with "unsubscribe freebsd-hackers" in the body of the message


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to