svn commit: r284644 - head/usr.sbin/fstyp

Allan Jude allanjude at freebsd.org
Sat Jun 20 20:46:51 UTC 2015


On 2015-06-20 16:16, Garrett Cooper wrote:
> 
>> On Jun 20, 2015, at 08:03, Allan Jude <allanjude at FreeBSD.org> wrote:
>>
>> Author: allanjude (doc committer)
>> Date: Sat Jun 20 15:03:02 2015
>> New Revision: 284644
>> URL: https://svnweb.freebsd.org/changeset/base/284644
>>
>> Log:
>>  Fix the build for gcc by lowering the WARNS level
>>
>>  Approved by:    sbruno
>>  X-MFC-With:    r284589
>>
>> Modified:
>>  head/usr.sbin/fstyp/Makefile
>>
>> Modified: head/usr.sbin/fstyp/Makefile
>> ==============================================================================
>> --- head/usr.sbin/fstyp/Makefile    Sat Jun 20 13:30:09 2015    (r284643)
>> +++ head/usr.sbin/fstyp/Makefile    Sat Jun 20 15:03:02 2015    (r284644)
>> @@ -11,7 +11,7 @@ SRCS +=    zfs.c
>>
>> MAN=    fstyp.8
>>
>> -WARNS=    6
>> +WARNS?=    0
> 
> You could also guard it by COMPILER_TYPE. As others have stated though, fixing the prototypes issues is relatively trivial...
> 

This set of changes [1] allows WARNS=5, but 6 still has some outstanding
issues [2]


[1]
https://github.com/illumos/illumos-gate/compare/master...allanjude:fix_gcc_warnings?expand=1
[2] https://reviews.freebsd.org/D2045#55692

-- 
Allan Jude

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20150620/c0a06b34/attachment.sig>


More information about the svn-src-head mailing list