Bug 71359

Summary: varray.c:324:7: error: non-void function 'update_array_format' should return a value [-Wreturn-type]
Product: Mesa Reporter: Vinson Lee <vlee>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: blocker    
Priority: medium CC: chrisf, eric
Version: gitKeywords: regression
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2013-11-07 21:50:35 UTC
mesa: 6b990a7474f9183077e19613fd0243c84d3824bd

Build error with clang.

main/varray.c:324:7: error: non-void function 'update_array_format' should return a value [-Wreturn-type]

commit 1f092a95941b990f3a06fa71a3b53e15a8a112e8
Author: Chris Forbes <chrisf@ijw.co.nz>
Date:   Thu Nov 7 22:02:24 2013 +1300

    mesa: add varray support for UNSIGNED_INT_10F_11F_11F_REV type
    
    V2: fix interaction with VertexAttribFormat, since that landed after
    this was originally written
    
    Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
    Reviewed-by: Eric Anholt <eric@anholt.net>
Comment 1 Brian Paul 2013-11-07 22:25:04 UTC
Fixed with fe9284a7bfde59c450c49e6c8d58be82907e13a4

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.