1. 10 Sep, 2018 1 commit
  2. 12 Jan, 2018 1 commit
  3. 18 Jan, 2017 1 commit
  4. 23 Jun, 2016 1 commit
  5. 26 Apr, 2016 1 commit
    • Jose Fonseca's avatar
      scons: Move fallback HAVE_* definitions to headers. · c068610a
      Jose Fonseca authored
      These were being defined in SCons, but it's not practical:
      
      - we actually need to include Gallium headers from external source trees, with
      completely disjoint build infrastructure, and it's unsustainable to
      replicate the HAVE_xxx checks or even hard-coded defines across
      everywhere.
      
      - checking compiler version via command line doesn't really work due to
        Clang essentially being like a cameleon which can fake either GCC or
        MSVC
      
      There's no change for autoconf.
      Reviewed-by: default avatarRoland Scheidegger <sroland@vmware.com>
      Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
      c068610a
  6. 11 Feb, 2016 1 commit
  7. 02 Dec, 2015 1 commit
  8. 06 Mar, 2015 1 commit
    • Jose Fonseca's avatar
      include: Add helper header to help trap includes inside extern C. · bfb4db83
      Jose Fonseca authored
      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 ...
      In file included from include/c99_compat.h:28:0,
                       from src/mapi/u_compiler.h:4,
                       from src/mapi/u_thread.h:47,
                       from src/mapi/glapi/glapi.h:47,
                       from src/mesa/main/mtypes.h:42,
                       from src/mesa/main/errors.h:47,
                       from src/mesa/main/imports.h:41,
                       from src/mesa/main/core.h:44,
                       from src/glsl/builtin_functions.cpp:58:
      include/no_extern_c.h:48:1: error: template with C linkage
       template<class T> class _IncludeInsideExternCNotPortable;
       ^
      In file included from include/c99_compat.h:28:0,
                       from include/c11/threads.h:38,
                       from src/mapi/u_thread.h:49,
                       from src/mapi/glapi/glapi.h:47,
                       from src/mesa/main/mtypes.h:42,
                       from src/mesa/main/errors.h:47,
                       from src/mesa/main/imports.h:41,
                       from src/mesa/main/core.h:44,
                       from src/glsl/builtin_functions.cpp:58:
      include/no_extern_c.h:48:1: error: template with C linkage
       template<class T> class _IncludeInsideExternCNotPortable;
       ^
        Compiling src/glsl/builtin_types.cpp ...
        Compiling src/glsl/builtin_variables.cpp ...
      scons: *** [build/linux-x86_64-debug/glsl/builtin_functions.os] Error 1
      scons: building terminated because of errors.
      Reviewed-by: Mark Janes's avatarMark Janes <mark.a.janes@intel.com>
      bfb4db83
  9. 26 Feb, 2015 1 commit
  10. 23 Feb, 2015 2 commits
  11. 16 Dec, 2014 1 commit
  12. 14 Mar, 2013 1 commit
  13. 12 Mar, 2013 2 commits