[Mesa-dev] [Bug 89477] include/no_extern_c.h:47:1: error: template with C linkage

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 6 12:01:42 PST 2015


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

            Bug ID: 89477
           Summary: include/no_extern_c.h:47:1: error: template with C
                    linkage
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Keywords: bisected, regression
          Severity: blocker
          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: jfonseca at vmware.com, mark.a.janes at intel.com

mesa: bf061a3d2ec00aa486cda0fb4af04e50e8522868 (master 10.6.0-devel)

  CXX      codegen/nv50_ir_from_tgsi.lo
In file included from ../../../../include/c99_compat.h:28:0,
                 from ../../../../src/gallium/include/pipe/p_compiler.h:32,
                 from ../../../../src/gallium/auxiliary/tgsi/tgsi_dump.h:31,
                 from codegen/nv50_ir_from_tgsi.cpp:24:
../../../../include/no_extern_c.h:47:1: error: template with C linkage
 template<class T> class _IncludeInsideExternCNotPortable;
 ^


Build error is introduced with commit bfb4db83b618d57fcc5f0c9e9fdb3a7ff33d07f3.

commit bfb4db83b618d57fcc5f0c9e9fdb3a7ff33d07f3
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Dec 11 22:14:14 2014 +0000

    include: Add helper header to help trap includes inside extern C.

    This is just to help repro and fixing these issues with any C++ compiler --

-- 
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: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150306/6a99e213/attachment.html>


More information about the mesa-dev mailing list