From owner-p4-projects Sat Jun 29 14:20:25 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 2B88237B401; Sat, 29 Jun 2002 14:20:10 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BACB137B400 for ; Sat, 29 Jun 2002 14:20:09 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B59643E09 for ; Sat, 29 Jun 2002 14:20:08 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.4/8.12.4) with SMTP id g5TLK6bM040618; Sat, 29 Jun 2002 17:20:06 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sat, 29 Jun 2002 17:20:06 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Adam Migus Cc: Perforce Change Reviews Subject: RE: PERFORCE change 13617 for review In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Not sure if this will cause errors, but there is other stuff in the integ'd assembly code that requires a new compiler. What I'm doing until I trust the new code base is using a compiler local to the build tree: make buildworld make buildkernel KERNCONF=MYMAC If you do buildworld first, buildkernel will use the compiler from the obj tree from buildworld. Make sure you don't installworld unless you mean to :-) Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories On Sat, 29 Jun 2002, Adam Migus wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Will this cause errors if I compile with the old compiler? > > > -----Original Message----- > > From: Robert Watson [mailto:rwatson@freebsd.org] > > Sent: Saturday, June 29, 2002 4:27 PM > > To: Perforce Change Reviews > > Subject: PERFORCE change 13617 for review > > > > > > http://people.freebsd.org/~peter/p4db/chv.cgi?CH=13617 > > > > Change 13617 by rwatson@rwatson_tislabs on 2002/06/29 13:26:29 > > > > Fix var args handling in a macro, ## is not needed and was > > generating a token warning with the new compiler. > > > > Affected files ... > > > > .. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#155 edit > > > > Differences ... > > > > ==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#155 > > (text+ko) ==== > > > > @@ -175,7 +175,7 @@ > > LIST_FOREACH(mpc, &mac_policy_list, mpc_list) { \ > > if (mpc->mpc_ops.mpo_ ## check != NULL) \ > > error = error_select( \ > > - mpc->mpc_ops.mpo_ ## check (## args), \ > > + mpc->mpc_ops.mpo_ ## check (args), \ > > error); \ > > } \ > > MAC_POLICY_LIST_UNBUSY(); \ > > @@ -196,7 +196,7 @@ > > LIST_FOREACH(mpc, &mac_policy_list, mpc_list) { \ > > if (mpc->mpc_ops.mpo_ ## operation != NULL) \ > > result = result composition \ > > - mpc->mpc_ops.mpo_ ## operation ( ## args); \ > > + mpc->mpc_ops.mpo_ ## operation (args); \ > > } \ > > MAC_POLICY_LIST_UNBUSY(); \ > > } while (0) > > @@ -211,7 +211,7 @@ > > MAC_POLICY_LIST_BUSY(); \ > > LIST_FOREACH(mpc, &mac_policy_list, mpc_list) { \ > > if (mpc->mpc_ops.mpo_ ## operation != NULL) \ > > - mpc->mpc_ops.mpo_ ## operation (## args); \ > > + mpc->mpc_ops.mpo_ ## operation (args); \ > > } \ > > MAC_POLICY_LIST_UNBUSY(); \ > > } while (0) > > -----BEGIN PGP SIGNATURE----- > Version: PGP 7.1 > > iQA/AwUBPR4jCHYIuWxy/CTSEQI7MACdHlABZrdixPd3iebnG6GSKS0PPq8Aniaz > nR0aGoO07fvNyIC1X91Z5w9g > =vXQl > -----END PGP SIGNATURE----- > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message