From owner-freebsd-hackers Wed Jun 16 5:37:28 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from titan.metropolitan.at (mail.metropolitan.at [195.212.98.131]) by hub.freebsd.org (Postfix) with ESMTP id B27B1150B7 for ; Wed, 16 Jun 1999 05:37:19 -0700 (PDT) (envelope-from mladavac@metropolitan.at) Received: by TITAN with Internet Mail Service (5.0.1458.49) id ; Wed, 16 Jun 1999 14:40:11 +0200 Message-ID: <55586E7391ACD211B9730000C110027617967A@r-lmh-wi-100.corpnet.at> From: Ladavac Marino To: 'Nick Hibma' , Ladavac Marino Cc: FreeBSD hackers mailing list Subject: compiler warnings (was: RE: Typo: sys/pci/pcisupport.c) Date: Wed, 16 Jun 1999 14:34:33 +0200 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: Nick Hibma [SMTP:nick.hibma@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 majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message