[Mesa-dev] [Bug 103253] blob.h:138:1: error: unknown type name 'ssize_t'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 13 08:14:20 UTC 2017


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

            Bug ID: 103253
           Summary: blob.h:138:1: error: unknown type name 'ssize_t'
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Mac OS X (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: cwabbott0 at gmail.com, jason at jlekstrand.net,
                    jljusten at gmail.com, nhaehnle at gmail.com

mesa: 79d403417cacd2728916e32ae55f4fc2a018515c (master 17.3.0-devel)

  CXX      glsl/shader_cache.lo
In file included from glsl/shader_cache.cpp:47:
./blob.h:138:1: error: unknown type name 'ssize_t'; did you mean 'size_t'?
ssize_t
^~~~~~~
size_t


commit 6935440967e2beccf017c96e75387b9cb71833b4
Author: Connor Abbott <cwabbott0 at gmail.com>
Date:   Fri Sep 15 00:29:46 2017 -0400

    compiler/blob: make blob_reserve_bytes() more useful

    Despite the name, it could only be used if you immediately wrote to the
    pointer. Noboby was using it outside of one test, so clearly this
    behavior wasn't that useful. Instead, make it return an offset into the
    data buffer so that the result isn't invalidated if you later write to
    the blob. In conjunction with blob_overwrite_bytes(), this will be
    useful for leaving a placeholder and then filling it in later, which
    we'll need to do for handling phi nodes when serializing NIR.

    v2 (Jason Ekstrand):
     - Detect overflow in the offset + to_write computation

    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

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


More information about the mesa-dev mailing list