From owner-cvs-src@FreeBSD.ORG Thu Oct 23 23:59:37 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 611F416A4B3; Thu, 23 Oct 2003 23:59:37 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 497AF43F93; Thu, 23 Oct 2003 23:59:35 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3p2/8.8.7) with ESMTP id QAA16167; Fri, 24 Oct 2003 16:59:26 +1000 Date: Fri, 24 Oct 2003 16:59:19 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Stefan Farfeleder In-Reply-To: <20031023182837.GA609@wombat.fafoe.narf.at> Message-ID: <20031024163602.A8908@gamplex.bde.org> References: <200310231342.h9NDg3EG049272@repoman.freebsd.org> <20031023182837.GA609@wombat.fafoe.narf.at> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: Dag-Erling Smorgrav Subject: Re: cvs commit: src/sys/dev/aic7xxx ahc_pci.c ahd_pci.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2003 06:59:37 -0000 On Thu, 23 Oct 2003, Stefan Farfeleder wrote: > On Thu, Oct 23, 2003 at 06:42:03AM -0700, Dag-Erling Smorgrav wrote: > > des 2003/10/23 06:42:03 PDT > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/aic7xxx ahc_pci.c ahd_pci.c > > Log: > > 0x7FFFFFFFFF is >32 bits and needs an explicit LL. > ^^^^^^^^^^^^^^^^^^^^ > That's not true. Its type is long long on 32 bit architectures even > without the LL suffix. That is correct for C99, but we don't have all of C99 yet. Perhaps gcc with certain options warns about it rtto help detect compatibility problems. I can't find any options that make it complain now. ISTR it complaining about even 0xFFFFFFFF because it is so large that it is unsigned on 32-bit systems. For C90 on 32-bit systems, 0x7FFFFFFFFF is constraint error. 0x7FFFFFFFFFLL is a syntax error for C90 on all systems. Bruce