wiki:SupportedCompilers

Version 37 (modified by Kurt Schwehr, 6 years ago) ( diff )

Majorly cut down the list after RFC 68 implementation for GDAL 2.3 with C++11 as the minumum

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
............

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
Note: See TracWiki for help on using the wiki.