[Mesa-dev] [Bug 57374] New: compilation issue with gcc 4.7.2

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 21 07:07:59 PST 2012


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

          Priority: medium
            Bug ID: 57374
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: compilation issue with gcc 4.7.2
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: andreas at grapentin.org
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: 9.0
         Component: Other
           Product: Mesa

Mesa-9.0.1/src/gallium/auxiliary/draw/draw_vs.h:170

  #if HAVE_LLVM
     [...]
  #endif

some other files have this construct, too.

I guess that's not valid anymore with recent gcc versions?
please enlighten me :)

if my assumption is correct, this can be fixed by using

  #if defined(HAVE_LLVM)
     [...]
  #endif

instead.

I'll create a patch for that. if you want it, send a ping :)

Thanks,
Andy

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121121/35f3eced/attachment.html>


More information about the mesa-dev mailing list