Bug 71359 - varray.c:324:7: error: non-void function 'update_array_format' should return a value [-Wreturn-type]
Summary: varray.c:324:7: error: non-void function 'update_array_format' should return ...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium blocker
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-11-07 21:50 UTC by Vinson Lee
Modified: 2013-11-07 22:25 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

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.