On 11/12/13 3:37 PM, Stefan Weil wrote:
The buildbot shows these compiler warnings:
block/vvfat.c: In function 'create_short_and_long_name':
block/vvfat.c:620: warning: array size (8) smaller than bound length (11)
block/vvfat.c:620: warning: array size (8) smaller than bound length (11)
block/vvfat.c:635: warning: array size (8) smaller than bound length (11)
block/vvfat.c:635: warning: array size (8) smaller than bound length (11)
This is due to an OpenBSD specific GCC bounds checker.
- gcc recognizes a new flag, -Wbounded, to perform basic checks
on functions which accept buffers and sizes. An extra
attribute, __bounded__, has been added to mark functions that
can be checked this way.
There was another issue here..
CC hw/display/exynos4210_fimd.o
hw/display/exynos4210_fimd.c: In function 'exynos4210_fimd_reset':
hw/display/exynos4210_fimd.c:1342: warning: array size (16) smaller than
bound length (192)
hw/display/exynos4210_fimd.c:1342: warning: array size (16) smaller than
bound length (192)
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.