Skip to content
  • Jose Fonseca's avatar
    include: Add helper header to help trap includes inside extern C. · bfb4db83
    Jose Fonseca authored and Jose Fonseca's avatar Jose Fonseca committed
    This is just to help repro and fixing these issues with any C++ compiler --
    
    Commiting this will of course wait until all issues are addressed.
    
    $ scons src/glsl/
    scons: Reading SConscript files ...
    Checking for GCC ...  yes
    Checking for Clang ...  no
    Checking for X11 (x11 xext xdamage xfixes glproto >= 1.4.13)... yes
    Checking for XCB (x11-xcb xcb-glx >= 1.8.1 xcb-dri2 >= 1.8)... yes
    Checking for XF86VIDMODE (xxf86vm)... yes
    Checking for DRM (libdrm >= 2.4.38)... yes
    Checking for UDEV (libudev >= 151)... yes
    warning: LLVM disabled: not building llvmpipe
    scons: done reading SConscript files.
    scons: Building targets ...
    scons: building associated VariantDir targets: build/linux-x86_64-debug/glsl
      Compiling src/glsl/ast_array_index.cpp ...
      Compiling src/glsl/ast_expr.cpp ...
      Compiling src/glsl/ast_function.cpp ...
      Compiling src/glsl/ast_to_hir.cpp ...
      Compiling src/glsl/ast_type.cpp ...
      Compiling src/glsl/builtin_functions.cpp ...
    I...
    bfb4db83