Bug 56410 - src/glsl/ralloc.h:57:27: fatal error: main/compiler.h: No such file or directory
Summary: src/glsl/ralloc.h:57:27: fatal error: main/compiler.h: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (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: 2012-10-25 18:53 UTC by Vinson Lee
Modified: 2012-10-26 23:54 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2012-10-25 18:53:26 UTC
mesa: d654afd89211f15a2d7ea4c7de66b9c7f5dc8ea1 (master)

$ make check
[...]
In file included from ../../../src/glsl/ralloc.c:42:0:
../../../src/glsl/ralloc.h:57:27: fatal error: main/compiler.h: No such file or directory


41b14d125196e75cdd4599a4c1069b41e7000d48 is the first bad commit
commit 41b14d125196e75cdd4599a4c1069b41e7000d48
Author: Matt Turner <mattst88@gmail.com>
Date:   Tue Oct 23 13:30:09 2012 -0700

    ralloc: Annotate printf functions with PRINTFLIKE(...)
    
    Catches problems such as (in the gles3 branch)
    
    glcpp-parse.y: In function '_glcpp_parser_handle_version_declaration':
    glcpp-parse.y:1990:39: warning: format '%lli' expects argument of type
    	'long long int', but argument 4 has type 'int' [-Wformat]
    
    As a side-effect, remove ralloc.c's likely/unlikely macros and just use
    the ones from main/compiler.h.
    
    NOTE: This is a candidate for the release branches.
    
    Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>

:040000 040000 ecc7bb72965323146613d035b6ca2e119294a41e 9e233cb3ca9aa3d009b65eff20b049965e02c9af M	src
bisect run success
Comment 1 Matt Turner 2012-10-26 23:54:45 UTC
Fixed in 67f1e7bf5f5d1482cb8684dd5a405b7bab5b1f34.


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.