svn commit: r193245 - head/sys/dev/aic7xxx/aicasm

Xin LI delphij at delphij.net
Mon Jun 1 19:10:57 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roman Divacky wrote:
> On Mon, Jun 01, 2009 at 08:49:37PM +0200, Roman Divacky wrote:
>> On Mon, Jun 01, 2009 at 11:48:34AM -0700, Doug Barton wrote:
>>> Xin LI wrote:
>>>> Author: delphij
>>>> Date: Mon Jun  1 18:43:33 2009
>>>> New Revision: 193245
>>>> URL: http://svn.freebsd.org/changeset/base/193245
>>>>
>>>> Log:
>>>>   Mark as WARNS=6.
>>>>
>>>> Modified:
>>>>   head/sys/dev/aic7xxx/aicasm/Makefile
>>>>
>>>> Modified: head/sys/dev/aic7xxx/aicasm/Makefile
>>>> ==============================================================================
>>>> --- head/sys/dev/aic7xxx/aicasm/Makefile	Mon Jun  1 18:42:16 2009	(r193244)
>>>> +++ head/sys/dev/aic7xxx/aicasm/Makefile	Mon Jun  1 18:43:33 2009	(r193245)
>>>> @@ -15,6 +15,7 @@ SRCS=	${GENHDRS} ${CSRCS} ${YSRCS} ${LSR
>>>>  CLEANFILES+= ${GENHDRS} ${YSRCS:R:C/(.*)/\1.output/g}
>>>>  DPADD=	${LIBL}
>>>>  LDADD=	-ll
>>>> +WARNS?=	6
>>>>  
>>>>  # Correct path for kernel builds
>>>>  # Don't rely on the kernel's .depend file
>>>>
>>> Is there more coming?
>>>
>>> cc -O2 -pipe -ggdb -nostdinc -I/usr/include -I.
>>> -I/usr/local/src/sys/dev/aic7xxx/aicasm -ggdb -std=gnu99
>>                                                 ^^^^^^^^^^
>>
>> how did you get this? this should be used for userland compilation,
>> kernel is done with -std=c99, can you show me how you got this?
> 
> ok.. when you
> 
> cd /usr/src
> make
> 
> you build the kernel with -std=gnu99 instead of -std=c99. which is a bug. I am
> trying to fix this. if anyone has any idea please mail me..

This is strange...  Let me take a look at this, I have reverted the
WARNS?=6 change for now.

Cheers,
- --
Xin LI <delphij at delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAkokJ3EACgkQi+vbBBjt66AnHACfXXyxcoKUsfCORzcOv4Nz8X3D
IJoAn2dXFSLAq/HzO+S0XXuFbFFTJuhJ
=3Uqo
-----END PGP SIGNATURE-----


More information about the svn-src-all mailing list