Changeset - r23844:c5059c19a9d0
[Not reviewed]
master
0 1 0
Charles Pigott - 5 years ago 2019-06-29 20:49:53
charlespigott@googlemail.com
Doc: Update list of supported compilers
1 file changed with 9 insertions and 21 deletions:
README.md
9
21
0 comments (0 inline, 0 general)
README.md
Show inline comments
 
@@ -580,32 +580,20 @@ no graphical user interface; you would b
 
The following compilers are known to compile OpenTTD:
 

	
 
- Microsoft Visual C++ (MSVC) 2015, 2017 and 2019.
 
- GNU Compiler Collection (GCC) 3.3 - 4.4, 4.6 - 4.8.
 
    - Versions 4.1 and earlier give bogus warnings about uninitialised variables.
 
    - Versions 4.4, 4.6 give bogus warnings about freeing non-heap objects.
 
    - Versions 4.6 and later give invalid warnings when lto is enabled.
 
- Intel C++ Compiler (ICC) 12.0.
 
- Clang/LLVM 2.9 - 3.0
 
   Version 2.9 gives bogus warnings about code nonconformity.
 
- GNU Compiler Collection (GCC) 4.8 - 9.
 
- Clang/LLVM 3.9 - 8
 

	
 
The following compilers are known not to compile OpenTTD:
 

	
 
In general, this is because these old versions do not (fully) support modern
 
C++11 language features.
 

	
 
- Microsoft Visual C++ (MSVC) 2013 and earlier.
 
   These old versions do not support modern C++ language features.
 
- GNU Compiler Collection (GCC) 3.2 and earlier.
 
   These old versions fail due to OpenTTD's template usage.
 
- GNU Compiler Collection (GCC) 4.5. It optimizes enums too aggressively.
 
   See https://github.com/OpenTTD/OpenTTD/issues/5513 and references therein.
 
- Intel C++ Compiler (ICC) 11.1 and earlier.
 
    - Version 10.0 and earlier fail a configure check and fail with recent
 
       system headers.
 
    - Version 10.1 fails to compile station_gui.cpp.
 
    - Version 11.1 fails with an internal error when compiling network.cpp.
 
- Clang/LLVM 2.8 and earlier.
 
- (Open) Watcom.
 
- GNU Compiler Collection (GCC) 4.7 and earlier.
 
- Clang/LLVM 3.8 and earlier.
 

	
 
If any of these compilers can compile OpenTTD again, please let us know.
 
Patches to support more compilers are welcome.
 
If any of these, or any other, compilers can compile OpenTTD, let us know.
 
Pull requests to support more compilers are welcome.
 

	
 
### 7.3) Compilation of base sets
 

	
0 comments (0 inline, 0 general)