[Mesa-dev] [Bug 99481] glsl_parser_extras.cpp:1253:18: error: expected ')' before 'PRId64'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jan 21 07:43:10 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99481

            Bug ID: 99481
           Summary: glsl_parser_extras.cpp:1253:18: error: expected ')'
                    before 'PRId64'
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Keywords: bisected, regression
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: vlee at freedesktop.org
        QA Contact: mesa-dev at lists.freedesktop.org
                CC: airlied at freedesktop.org, idr at freedesktop.org,
                    mattst88 at gmail.com, nhaehnle at gmail.com

mesa: bb5db5564ffa5beeda19279c67fca5f623a36d03 (master 17.1.0-devel)

  CXX      glsl/glsl_parser_extras.lo
glsl/glsl_parser_extras.cpp: In member function 'virtual void
ast_expression::print() const':
glsl/glsl_parser_extras.cpp:1253:18: error: expected ')' before 'PRId64'
       printf("%" PRId64 " ", primary_expression.int64_constant);
                  ^

$ gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


commit bbce1c538dc0cb8bf3769510283d11847dc07540
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Jun 9 09:39:48 2016 +1000

    glsl/ast/ir: Add 64-bit integer constant support

    This adds support for 64-bit integer constants to the parser,
    ast and ir.

    v2: fix a few issues found in testing.

    v3: Add missing ir_constant copy contructor support.

    v4: Use PRIu64 and PRId64 in printfs in glsl_parser_extras.cpp.
    Suggested by Nicolai.  Rebase on Marek's linalloc changes.

    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com> [v2]
    Reviewed-by: Matt Turner <mattst88 at gmail.com> [v3]
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170121/616d68b2/attachment.html>


More information about the mesa-dev mailing list