An update will be applied December 9th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

  1. 09 Jan, 2015 4 commits
    • Ben Boeckel's avatar
      Add missing malloc return value casts · 425fa73e
      Ben Boeckel authored and Brad King's avatar Brad King committed
      Clang 3.5.0 errors out on the implicit void* -> T* cast.
      
      Change-Id: Ie0b0dd25a32e1a5692900d9f1035a423a056c413
      425fa73e
    • Stephen Kelly's avatar
      Workaround SolarisStudio bug with libstdc++. · d30c9b03
      Stephen Kelly authored and Brad King's avatar Brad King committed
      Using iostream and cxxabi.h together causes a compile failure
      
       .../CC-gcc/include/c++/4.8.2/cxxabi.h", line 131: Error: Only one of a
       set of overloaded functions can be extern "C".
      
      See https://community.oracle.com/thread/3644901 for details.
      
      This only happens if the iostream include is before the cxxabi include.
      
      The available solutions are: re-order the includes in
      SystemInformation.cxx, skip the test for KWSYS_CXX_HAS_CXXABI, or cause
      it to fail by adding the include.  Do the latter for now.
      
      Change-Id: Ia1a6a6fca12eb9a42f4a4be5252f22fb6e74a318
      d30c9b03
    • Stephen Kelly's avatar
      SystemTools: Fix build with SunCC/stlport. · af86ac7d
      Stephen Kelly authored and Brad King's avatar Brad King committed
      The <fcntl.h> header needs to be included before <string> is included
      when using stlport. Otherwise:
      
      "SystemTools.cxx", line 1240: Error: UTIME_OMIT is not defined.
      "SystemTools.cxx", line 1240: Error: UTIME_NOW is not defined.
      "SystemTools.cxx", line 1241: Error: AT_FDCWD is not defined.
      
      Change-Id: I3441ae3a7007c53ad97dea42ec48fedca8cc010c
      af86ac7d
    • Stephen Kelly's avatar
      SystemTools: Refactor selection of Windows directory APIs · e4fe1d1a
      Stephen Kelly authored and Brad King's avatar Brad King committed
      Change-Id: I08ee07db55b21ab886658d2ae50a82775180f037
      e4fe1d1a
  2. 08 Jan, 2015 1 commit
  3. 23 Dec, 2014 1 commit
  4. 18 Dec, 2014 1 commit
  5. 16 Dec, 2014 1 commit
    • Brad King's avatar
      Directory: Work around PGI problem with Linux Large File Support · cc4046a8
      Brad King authored
      The "/usr/include/dirent.h" header on Linux uses a glibc __REDIRECT
      to map readdir to readdir64, but that is defined only when using
      a GNU-like compiler.  Otherwise it defines readdir to readdir64
      via the C preprocessor, but forgets to define dirent to dirent64.
      
      The fix in commit 2f3c4192 (add support for the Portland Compiler to
      CMake, 2007-09-17) does not seem to work on all machines.  Instead try
      to map dirent to dirent64 whenever the preprocessor defines readdir to
      readdir64 with PGI and glibc.
      
      Change-Id: I6d4fc4cb48e5481f6ac8ed3928c0eb6c6ef0564d
      cc4046a8
  6. 15 Dec, 2014 1 commit
  7. 12 Dec, 2014 2 commits
  8. 10 Dec, 2014 1 commit
    • Jean-Christophe Fillion-Robin's avatar
      SystemInformation: Improve Get(Available/Total)VirtualMemory for windows · c38ba638
      Jean-Christophe Fillion-Robin authored
      Currently kwsys can only return ullTotalVirtual, which is not
      a very useful value, as memory allocation will fail if we exhaust
      the ullTotalPageFile limit.
      
      For example, on a windows workstation, GlobalMemoryStatusEx
      returns:
      ullTotalVirtual = 128TB
      ullTotalPageFile = 16GB
      
      This commit updates the function Get(Available/Total)VirtualMemory to
      use page file size.
      
      Change-Id: I461e5f0a975432c31fc7370efe8467c61fea1bb3
      c38ba638
  9. 14 Nov, 2014 1 commit
    • Brad King's avatar
      SharedForward: Hard-code the ldpath buffer size to below VS 14 limit · dec9c30b
      Brad King authored
      Visual Studio 14 (2015) complains if a static character array is
      declared with more than 65535 elements.  This limit should be large
      enough for SharedForward clients, so just hard-code that instead of
      trying to compute a limit.
      
      Change-Id: Ib24195b0d0972bdabaf5a18b93a1a9b8c43dc773
      dec9c30b
  10. 12 Nov, 2014 1 commit
  11. 11 Nov, 2014 1 commit
  12. 31 Oct, 2014 1 commit
  13. 16 Oct, 2014 10 commits
  14. 14 Oct, 2014 1 commit
    • Ben Boeckel's avatar
      Avoid if() quoted auto-dereference · 9bf03363
      Ben Boeckel authored
      When testing CMAKE_C_COMPILER_ID values, do not explicitly dereference
      or quote the variable.  We want if() to auto-dereference the variable
      and not its value.  While at it, use STREQUAL instead of MATCHES.
      
      Change-Id: I7098fb6474500605b0fe78d764dd2d8afe385f50
      9bf03363
  15. 02 Oct, 2014 1 commit
  16. 25 Sep, 2014 1 commit
    • Brad King's avatar
      Suppress deprecation warnings for GetVersionEx · 29ffaf43
      Brad King authored
      Visual Studio 12 (2013) deprecated GetVersionEx:
      
        warning C4996: 'GetVersionExW': was declared deprecated
      
      in favor of either "versionhelpers.h" or VerifyVersionInfo, neither of
      which exist in some of the older compilers we support.  Rather than
      try to port conditionally to VerifyVersionInfo, simply suppress the
      warning for now.
      
      Change-Id: I85a6547c7dc25a104d4fe9b4034efdc5cea215ef
      29ffaf43
  17. 19 Sep, 2014 1 commit
    • Sean McBride's avatar
      SystemInformation: Fix clang -Wtautological-pointer-compare warning · 6aa1f800
      Sean McBride authored and Brad King's avatar Brad King committed
      warning: comparison of array 'unameInfo.release' not equal to a null
               pointer is always true [-Wtautological-pointer-compare]
        if( unameInfo.release!=0 && strlen(unameInfo.release)>=3 )
            ~~~~~~~~~~^~~~~~~  ~
      
      Indeed an array declared as 'char foo[x]' can never be NULL.
      Removed check against null.
      
      Change-Id: I0352ad50049d926e78b9ecc796493e898b1bfdb7
      6aa1f800
  18. 08 Sep, 2014 2 commits
  19. 06 Sep, 2014 1 commit
  20. 11 Aug, 2014 1 commit
  21. 07 Aug, 2014 2 commits
  22. 04 Aug, 2014 1 commit
  23. 30 Jul, 2014 3 commits