Bug 40997

Summary: src\gallium\tests\graw\clear.c(29) : error C2059: syntax error : '.'
Product: Mesa Reporter: Vinson Lee <vlee>
Component: OtherAssignee: Dave Airlie <airlied>
Status: CLOSED FIXED QA Contact:
Severity: blocker    
Priority: highest    
Version: git   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2011-09-18 16:20:47 UTC
Compiling src\gallium\tests\graw\clear.c ...
clear.c
src\gallium\tests\graw\clear.c(29) : error C2059: syntax error : '.'


src/gallium/tests/graw/clear.c
    27  static void draw( void )
    28  {
->  29     union pipe_color_union clear_color = { .f = {1, 0, 1, 1} };
    30  


MSVC build failure introduced by commit 6dd284f7c8fac22f64c13fdf9909094f5ec59086.

commit 6dd284f7c8fac22f64c13fdf9909094f5ec59086
Author: Dave Airlie <airlied@redhat.com>
Date:   Fri Sep 16 09:39:34 2011 +0100

    gallium: move clear paths from rgba to a pointer to a color union (v2)
Comment 1 Dave Airlie 2011-09-19 02:22:40 UTC
should be fixed in master now.
Comment 2 Vinson Lee 2011-09-19 11:35:40 UTC
Build fixed with commit f8c190b0ab0f394ab1c96b7e80b728dd2577a6ce.

commit f8c190b0ab0f394ab1c96b7e80b728dd2577a6ce
Author: Dave Airlie <airlied@redhat.com>
Date:   Mon Sep 19 10:20:10 2011 +0100

    graw: fix tests to build on msvc again.
    
    Should fix https://bugs.freedesktop.org/show_bug.cgi?id=40997
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

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.