wiki:SupportedCompilers

Supported Compilers

This page has been updated to reflect GDAL 2.3 (dev; trunk at r41082)

GDAL head requires C++11, which limits which compilers are supported.

wiki:rfc68_cplusplus11

This is list of supported compilers:

CompilerVendorNotes
GCCGNU >= 4.8.1 Including GCC from Cygwin
https://clang.llvm.org/ >= 3.3
Microsoft Visual C++MicrosoftAll versions >= 14.0

Should work with 32-bit and 64-bit builds.

Tested Environments

Recent SunPro? and Intel compilers may work too.

See CI runs:

Please, add your environment if it's not listed below yet and you've built GDAL with it successfully.

Operating SystemArchitectureCompiler versionNotes
GNU/Linuxx86-64GCC 4.8.4 Trusty
Mac OS X 10.12.6x86-32bit Which clang? Reports llvm 9.0.0
Microsoft Windowsx86Microsoft Visual C++ 2013 MSVC_VER=1800 AppVeyor?
Microsoft Windowsx64Microsoft Visual C++ 2015 MSVC_VER=1900 AppVeyor?
Microsoft Windowsx86Microsoft Visual C++ 2017 15.0 MSVC_VER=1910
Microsoft Windowsx64Microsoft Visual C++ 2017 15.0 MSVC_VER=1910
Microsoft Windowsx86Microsoft Visual C++ 2017 15.3 MSVC_VER=1911
Microsoft Windowsx64Microsoft Visual C++ 2017 15.3 MSVC_VER=1911
Microsoft Windowsx86Microsoft Visual C++ 2017 15.5 MSVC_VER=1913
Microsoft Windowsx64Microsoft Visual C++ 2017 15.5 MSVC_VER=1913
............

Note, the list may actually include compilers listed below as unsupported, but it does not change a compiler support status.

Unsupported Compilers

Anything that can't do C++11 is definitely unsupported.

This is list of officially not supported compilers:

CompilerVendorNotes
MSVC older than 2013 Microsoft
MinGW32
GCC from MinGWGNUIt has been done, but some fiddling required
Borland C++ BuilderCodeGear (Borland)
Turbo C++Borland
Open Watcom C/C++Sybase
Last modified 4 months ago Last modified on Dec 20, 2017 1:54:24 AM