Bug 83381

Summary: dri_screen.c:72:10: error: expected '}'
Product: Mesa Reporter: Vinson Lee <vlee>
Component: OtherAssignee: mesa-dev
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2014-09-02 04:10:21 UTC
mesa: 94a909ec2df779bfdac6f42a25077b427b3873ea (master 10.4.0-devel)

Build error with SCons and clang on Fedora

  Compiling src/gallium/state_trackers/dri/dri_screen.c ...
In file included from src/gallium/state_trackers/dri/dri_screen.c:32:
In file included from src/mesa/drivers/dri/common/utils.h:31:
In file included from include/GL/gl.h:2055:
In file included from include/GL/glext.h:1376:
In file included from /usr/include/inttypes.h:25:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
  ^
src/gallium/state_trackers/dri/dri_screen.c:72:10: error: expected '}'
         DRI_CONF_ALLOW_GLSL_EXTENSION_DIRECTIVE_MIDSHADER("false")
         ^
src/gallium/state_trackers/dri/dri_screen.c:51:60: note: to match this '{'
const __DRIconfigOptionsExtension gallium_config_options = {
                                                           ^
Comment 1 Emil Velikov 2014-09-22 16:53:09 UTC
Vinson is this a regression, can you bisect please ?
Comment 2 Vinson Lee 2014-10-03 00:56:39 UTC
mesa: 8df3c02cdc0a81db43f63e5a93fbae1b3435d23d (master 10.4.0-devel)

I'm unable to reproduce the error anymore. Closing as WORKSFORME.

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.