build world broken on r311461

From: Nilton Jose Rizzo <rizzo_at_i805.com.br>
Date: Thu, 12 Jan 2017 17:40:48 -0300
  Broken on camcontrol


clang  -O2 -pipe   -DRESCUE -MD  -MF.depend.camcontrol.o -MTcamcontrol.o -std=gn
u99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -
Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -W
return-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wc
ast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-st
yle-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety
 -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable  -Qunused-argum
ents  -c /usr/src/sbin/camcontrol/camcontrol.c -o camcontrol.o
/usr/src/sbin/camcontrol/camcontrol.c:4000:2: error: implicit declaration of
      function 'scsi_mode_sense_subpage' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
        scsi_mode_sense_subpage(&ccb->csio,
        ^
/usr/src/sbin/camcontrol/camcontrol.c:4000:2: note: did you mean
      'scsi_mode_sense_len'?
/usr/include/cam/scsi/scsi_all.h:3987:7: note: 'scsi_mode_sense_len' declared
      here
void            scsi_mode_sense_len(struct ccb_scsiio *csio, u_int32_t retries,
                ^
1 error generated.
*** Error code 1

Stop.
make[6]: stopped in /usr/src/sbin/camcontrol


root_at_valfenda:/usr # uname -a
FreeBSD valfenda 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r311461: Thu Jan  5
22:46:38 UTC 2017    
root_at_releng3.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
root_at_valfenda:/usr # 

root_at_valfenda:/usr # cat /etc/make.conf 
NO_USE_GCC="YES"
CC=clang
CXX=clang++
CPP=clang-cpp




---
/*************************************************
**Nilton José Rizzo            UFRRJ
**http://www.rizzo.eng.br      http://www.ufrrj.br
**http://lattes.cnpq.br/0079460703536198
**************************************************/
Received on Thu Jan 12 2017 - 19:57:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:09 UTC