Bug 53062

Summary: tests\spec\arb_uniform_buffer_object\maxblocks.c(239) : error C2057: expected constant expression
Product: piglit Reporter: Vinson Lee <vlee>
Component: testsAssignee: Eric Anholt <eric>
Status: RESOLVED FIXED QA Contact: Eric Anholt <eric>
Severity: blocker    
Priority: medium CC: brianp, jfonseca
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2012-08-01 23:47:02 UTC
piglit: 1c13336c1c5d1310087ebb191eaefd9e452ae822 (master)

tests\spec\arb_uniform_buffer_object\maxblocks.c(201) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
tests\spec\arb_uniform_buffer_object\maxblocks.c(202) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
tests\spec\arb_uniform_buffer_object\maxblocks.c(203) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
tests\spec\arb_uniform_buffer_object\maxblocks.c(204) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
tests\spec\arb_uniform_buffer_object\maxblocks.c(229) : warning C4244: 'return' : conversion from 'int' to '_Bool', possible loss of data
tests\spec\arb_uniform_buffer_object\maxblocks.c(183) : warning C4100: 'prog' : unreferenced formal parameter
tests\spec\arb_uniform_buffer_object\maxblocks.c(239) : error C2057: expected constant expression
tests\spec\arb_uniform_buffer_object\maxblocks.c(239) : error C2466: cannot allocate an array of constant size 0
tests\spec\arb_uniform_buffer_object\maxblocks.c(239) : error C2133: 'bos' : unknown size
tests\spec\arb_uniform_buffer_object\maxblocks.c(243) : warning C4034: sizeof returns 0
Comment 1 Brian Paul 2012-08-02 21:07:47 UTC
Fixed with commit 460dd03f8c40b5661ac17d46215721fdd9dcfdd5

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.