svn commit: r233288 - in head/sys: boot/common libkern sys
Alexander Kabaev
kabaev at gmail.com
Sun Mar 25 20:25:43 UTC 2012
On Wed, 21 Mar 2012 20:55:22 +0000 (UTC)
Marius Strobl <marius at FreeBSD.org> wrote:
<SKIP>
> Modified: head/sys/sys/libkern.h
> ==============================================================================
> --- head/sys/sys/libkern.h Wed Mar 21 20:53:47 2012
> (r233287) +++ head/sys/sys/libkern.h Wed Mar 21 20:55:21
> 2012 (r233288) @@ -121,7 +121,7 @@ size_t strspn(const
> char *, const char char *strstr(const char *, const char *);
> int strvalid(const char *, size_t);
>
> -extern uint32_t crc32_tab[];
> +extern const uint32_t const crc32_tab[];
>
> static __inline uint32_t
> crc32_raw(const void *buf, size_t size, uint32_t crc)
Hi,
g++ produces "error: duplicate 'const'" on this changed line. Leaving
the question as to why this file is ever being compiled by C++ on the
conscience of of VirtualBox authors, I would suggest partially backing
out this commit and getting easier on 'const' for C++'s sake.
--
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20120325/bbf16271/signature.pgp
More information about the svn-src-all
mailing list