Bug 86045 - cc1: error: unrecognized command line option "-Wvla" on OpenBSD
Summary: cc1: error: unrecognized command line option "-Wvla" on OpenBSD
Status: RESOLVED FIXED
Alias: None
Product: piglit
Classification: Unclassified
Component: infrastructure (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) OpenBSD
: medium blocker
Assignee: Dylan Baker
QA Contact: Piglit Mailing List
URL:
Whiteboard:
Keywords: bisected, regression
Depends on:
Blocks:
 
Reported: 2014-11-08 21:41 UTC by Vinson Lee
Modified: 2014-11-08 21:56 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2014-11-08 21:41:29 UTC
piglit: d052e50c5e78eca69eb950671d943e2811d431fb (master)

Build error on OpenBSD 5.6.

[  0%] Building C object target_api/no_api/tests/util/CMakeFiles/piglitutil.dir/piglit-log.c.o
cc1: error: unrecognized command line option "-Wvla"


commit d052e50c5e78eca69eb950671d943e2811d431fb
Author: José Fonseca <jfonseca@vmware.com>
Date:   Fri Nov 7 14:17:51 2014 +0000

    cmake: Warn when variable length arrays are used.
    
    As these are not supported on MSVC, not even MSVC 2013 since it only has
    library support for C99, it doesn't actually support C99 syntax.
    
    Suggested by Jan Vesely.
    
    Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Comment 1 Vinson Lee 2014-11-08 21:56:20 UTC
commit a4f0342dbdbaec97d35442876efce3bd53390f5a
Author: Vinson Lee <vlee@freedesktop.org>
Date:   Sat Nov 8 13:51:10 2014 -0800

    cmake: Fix GCC -Wvla flag check.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=86045
    Signed-off-by: Vinson Lee <vlee@freedesktop.org>


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.