[Bug 88252] New: build error sna_dri2.c mark_stale

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 9 11:44:34 PST 2015


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

            Bug ID: 88252
           Summary: build error sna_dri2.c mark_stale
           Product: xorg
           Version: git
          Hardware: Other
                OS: NetBSD
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/intel
          Assignee: chris at chris-wilson.co.uk
          Reporter: prlw1 at cam.ac.uk
        QA Contact: intel-gfx-bugs at lists.freedesktop.org

There is an error in the DRI2INFOREC_VERSION logic:

  CC       sna_dri2.lo
../../../src/sna/sna_dri2.c: In function 'sna_dri2_flip':
../../../src/sna/sna_dri2.c:1518:2: error: implicit declaration of function
'mark_stale' [-Werror=implicit-function-declaration]
  mark_stale(info->back);



mark_stale is defined #if DRI2INFOREC_VERSION >= 6 and is used #if
DRI2INFOREC_VERSION >= 4.

I have DRI2INFOREC_VERSION=5, hence the failure.

It seems to me that the #if DRI2INFOREC_VERSION < 6 section before mark_stale
should have its #endif before mark_stale, but I tried and that causes other
problems...

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20150109/233570bb/attachment.html>


More information about the intel-gfx-bugs mailing list