Bug 83381 - dri_screen.c:72:10: error: expected '}'
Summary: dri_screen.c:72:10: error: expected '}'
Status: RESOLVED WORKSFORME
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-02 04:10 UTC by Vinson Lee
Modified: 2014-10-03 00:56 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.