Re: buildkernel broken at sys/cam/scsi/scsi_low.c rev. 1.14

2002-05-17 Thread Robert Drehmel

On Fri, May 17, 2002 at 07:45:36PM +0900, Hiroyuki Une wrote:
 I found this code at line 4661 of sys/cam/scsi/scsi_low.c rev. 1.14:
 
 printf(%s(%d:%d): period(%d ns) offset(%d) width(%d) flags 0x%b\n,
 slp-sl_xname, ti-ti_id, li-li_lun,
 ti-ti_maxsynch.period * 4,
 ti-ti_maxsynch.offset,
 ti-ti_width,
 li-li_flags, SCSI_LOW_BITS);
 
 Is %b correct as conversion character?

It is an extension to printf(9) which GCC 3.1 does not know about.

ciao,
-robert

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: buildkernel broken at sys/cam/scsi/scsi_low.c rev. 1.14

2002-05-17 Thread Hiroyuki Une

From: Robert Drehmel [EMAIL PROTECTED]
Date: Fri, 17 May 2002 12:52:20 +0200
Message-ID: [EMAIL PROTECTED]

  Is %b correct as conversion character?
 
 It is an extension to printf(9) which GCC 3.1 does not know about.

Thank you for your information.
I will wait until %b is implemented in GCC 3.1 .

---
Hiroyuki Une: Hiroshima Kokusai Gakuin University
[EMAIL PROTECTED] or [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: buildkernel broken at sys/cam/scsi/scsi_low.c rev. 1.14

2002-05-17 Thread Peter Wemm

Hiroyuki Une wrote:
 From: Robert Drehmel [EMAIL PROTECTED]
 Date: Fri, 17 May 2002 12:52:20 +0200
 Message-ID: [EMAIL PROTECTED]
 
   Is %b correct as conversion character?
  
  It is an extension to printf(9) which GCC 3.1 does not know about.
 
 Thank you for your information.
 I will wait until %b is implemented in GCC 3.1 .

Add  NO_WERROR=true  to /etc/make.conf  for the time being.

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
All of this is for nothing if we don't go to the stars - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message