Jonathan G Rennison
509e20406f
Merge branch 'master' into cpp-11
2017-09-04 01:22:19 +01:00
adf88
b3d37c0032
(svn r27902) -Feature [FS#6614]: Preserve PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR environment variables in config.cache file (just like other variabes CFLAGS, LDFLAGS etc.) so they can be resused when OpenTTD re-configures itself
2017-08-27 16:07:24 +00:00
adf88
2aa806842f
(svn r27902) -Feature [FS#6614]: Preserve PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR environment variables in config.cache file (just like other variabes CFLAGS, LDFLAGS etc.) so they can be resused when OpenTTD re-configures itself
2017-08-27 16:07:24 +00:00
Jonathan G Rennison
f3a0aace0c
Merge branch 'master' into cpp-11
...
# Conflicts:
# src/stdafx.h
2017-08-15 18:44:17 +01:00
Jonathan G Rennison
90cd312428
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/fios.h
2017-01-17 19:11:09 +00:00
michi_cc
3e7bdb0c73
(svn r27727) -Fix(-or-not) [FS#6295]: [OSX] Out-of-the-box compilation on newer OSX versions (dunn).
2017-01-08 17:00:18 +00:00
michi_cc
8ad28478a3
(svn r27727) -Fix(-or-not) [FS#6295]: [OSX] Out-of-the-box compilation on newer OSX versions (dunn).
2017-01-08 17:00:18 +00:00
Jonathan G Rennison
5c7f36ef4b
Merge branch 'enhanced_viewport_overlay' into jgrpp
...
Further fixes for viewport lines/marker for multiplayer clients.
# Conflicts:
# src/lang/russian.txt
2016-12-26 15:38:56 +00:00
Jonathan G Rennison
56f173e15e
Merge branch 'master' into save_ext
2016-12-26 15:26:08 +00:00
frosch
d8a316d7c5
(svn r27709) -Fix-ish: Silence some warnings. (adf88)
2016-12-25 13:26:15 +00:00
frosch
4342798ff5
(svn r27709) -Fix-ish: Silence some warnings. (adf88)
2016-12-25 13:26:15 +00:00
frosch
ab3d5305a5
(svn r27703) -Change [FS#6532]: [gcc] Wnarrowing and Wfree-nonheap-object do no longer trigger in gcc 4.9.2, so reenable them.
2016-12-22 12:59:46 +00:00
frosch
41e5e7626e
(svn r27703) -Change [FS#6532]: [gcc] Wnarrowing and Wfree-nonheap-object do no longer trigger in gcc 4.9.2, so reenable them.
2016-12-22 12:59:46 +00:00
Jonathan G Rennison
f1999edbf0
Merge branch 'cpp-11' into jgrpp
2016-09-27 01:06:05 +01:00
Jonathan G Rennison
06f9c01986
Fix CPU pointer width detection in configure script.
2016-09-27 01:05:42 +01:00
Jonathan G Rennison
778d3f1352
Configure: Default to trying clang then gcc on OSX, gcc then clang elsewhere.
2016-09-08 23:14:02 +01:00
Jonathan G Rennison
5672b6c2c8
Enable custom allocator use on clang.
2016-09-08 20:09:42 +01:00
Jonathan G Rennison
8ad53acfef
Merge branch 'crashlog_improvements' into jgrpp
2016-09-08 19:41:53 +01:00
Jonathan G Rennison
c59509c2aa
Use -gline-tables-only instead of -g1 on clang.
2016-09-08 19:38:13 +01:00
Jonathan G Rennison
f7774415f2
Merge branch 'cpp-11' into crashlog_improvements
...
# Conflicts:
# src/stdafx.h
2016-09-08 19:36:00 +01:00
Jonathan G Rennison
8a2f9311a9
Include -01 in CFLAGS_BUILD when using clang.
2016-09-08 19:31:40 +01:00
Jonathan G Rennison
5e67582a64
Merge branch 'save_ext' into jgrpp
...
# Conflicts:
# config.lib
# src/saveload/extended_ver_sl.cpp
# src/saveload/saveload.cpp
2016-09-07 22:02:57 +01:00
Jonathan G Rennison
2fe7571034
Require C++11 support.
...
Set minimum compiler versions to:
GCC 4.7
clang 3.3
ICC 14.0
2016-09-05 22:45:57 +01:00
frosch
533cb7c156
(svn r27654) -Change: Enable C++11 for clang 3.3 (LordAro)
2016-09-05 19:11:01 +00:00
frosch
ac6793dace
(svn r27654) -Change: Enable C++11 for clang 3.3 (LordAro)
2016-09-05 19:11:01 +00:00
Jonathan G Rennison
349cd8a6f0
Where possible use compiler builtins for CountBits and FindFirstBit.
2016-09-04 18:01:38 +01:00
Jonathan G Rennison
7b56097f50
Merge branch 'master' into jgrpp
...
# Conflicts:
# config.lib
# src/linkgraph/demands.cpp
# src/linkgraph/mcf.cpp
# src/linkgraph/refresh.cpp
# src/linkgraph/refresh.h
# src/smallmap_gui.cpp
2016-07-24 10:16:55 +01:00
frosch
a2a69c1480
(svn r27623) -Fix (r27616) [FS#6492]: Missed two version checks, and messed one up.
2016-07-24 09:13:51 +00:00
frosch
b2fb19cc19
(svn r27623) -Fix (r27616) [FS#6492]: Missed two version checks, and messed one up.
2016-07-24 09:13:51 +00:00
frosch
f7a7f141d3
(svn r27616) -Codechange [FS#6487]: [Build] Change the GCC version detection so that it works with two-digit and truncated versions.
2016-07-17 11:10:21 +00:00
frosch
1f4489c266
(svn r27616) -Codechange [FS#6487]: [Build] Change the GCC version detection so that it works with two-digit and truncated versions.
2016-07-17 11:10:21 +00:00
rubidium
fe0d3761f7
(svn r27606) -Change/fix: GCC6 defaults to C++14, but our configure limits it to C++0x just because we want to use features from C++0x (which are also in C++14), so use the C++ standard that's the GCC6 default
2016-06-27 17:54:05 +00:00
rubidium
e956422f48
(svn r27606) -Change/fix: GCC6 defaults to C++14, but our configure limits it to C++0x just because we want to use features from C++0x (which are also in C++14), so use the C++ standard that's the GCC6 default
2016-06-27 17:54:05 +00:00
Jonathan G Rennison
74ff8b9e8e
Merge branch 'crashlog_improvements' into jgrpp
...
# Conflicts:
# Makefile.src.in
2016-06-12 21:21:55 +01:00
Jonathan G Rennison
8d078acb4e
Log registers and fault instruction in Unix crashlog.
2016-06-12 19:34:06 +01:00
Jonathan G Rennison
0951cb320c
Show ./configure invocation in crash log.
2016-06-10 23:39:26 +01:00
Jonathan G Rennison
411f91731d
Config: Fix --with-self-gdb-debug config re-exec
2016-06-10 23:39:26 +01:00
Jonathan G Rennison
abbc960e96
Linux crashlog: Use sigaction to get more info on fatal signals.
2016-06-10 23:39:26 +01:00
Jonathan G Rennison
655b329142
Merge branch 'master' into jgrpp
...
# Conflicts:
# config.lib
2016-06-02 19:25:23 +01:00
smatz
5ac736ec00
(svn r27595) -Fix: prevent GCC 6 over-optimization
2016-05-31 19:33:33 +00:00
smatz
4bd149d05a
(svn r27595) -Fix: prevent GCC 6 over-optimization
2016-05-31 19:33:33 +00:00
Jonathan G Rennison
4c0423d6d8
Merge branch 'master' into jgrpp
2016-05-13 00:25:10 +01:00
rubidium
b892103747
(svn r27557) -Fix: bashism that caused different CFLAGS with bash vs dash
2016-05-11 18:38:44 +00:00
rubidium
9ea3e42768
(svn r27557) -Fix: bashism that caused different CFLAGS with bash vs dash
2016-05-11 18:38:44 +00:00
Jonathan G Rennison
def24030a4
Merge branch 'crashlog_improvements' into jgrpp
2016-03-10 00:17:43 +00:00
Jonathan G Rennison
a609439d98
Add support for enhanced crash log stacktraces using gdb on Linux.
...
This attempts to use gdb to attach to the current process and print
a full backtrace.
2016-03-10 00:14:26 +00:00
Jonathan G Rennison
f86b5c58cb
Merge branch 'master' into crashlog_improvements
2016-02-17 22:40:40 +00:00
Jonathan G Rennison
155987a4aa
Fix override being used on gcc 4.3 to 4.6.
2016-01-08 17:01:37 +00:00
Jonathan G Rennison
42a55f9500
config: Use --static as necessary when autodetecting libs:
...
libdl, libbfd and dependecies, and cpp symbol demangler support.
2015-12-23 00:45:37 +00:00
Jonathan G Rennison
715c24a209
Merge branch 'master' into jgrpp
2015-12-19 17:38:12 +00:00
planetmaker
96aa437f85
(svn r27472) -Change [FS#6401] (r20219): On Haiku use the appropriate system variable to obtain the include dir (aarroyoc)
2015-12-15 20:43:39 +00:00
planetmaker
e78ce08287
(svn r27472) -Change [FS#6401] (r20219): On Haiku use the appropriate system variable to obtain the include dir (aarroyoc)
2015-12-15 20:43:39 +00:00
Jonathan G Rennison
6a780ffde2
Version detection: re-order SVN and Hg after git and .ottdrev-vc
2015-12-09 23:54:58 +00:00
Jonathan G Rennison
99cbd64756
Fix version detection using .ottdrev-vc
2015-12-06 12:24:39 +00:00
Jonathan G Rennison
58b6bf16c3
Linkgraph: Enable MCF custom allocator only for GCC 4.9+
...
Earlier compilers don't use std::allocator_traits to query allocators.
2015-11-29 19:10:16 +00:00
Jonathan G Rennison
73367d7209
build: include win32/win64 in output bundle name for mingw target.
2015-11-17 18:56:57 +00:00
Jonathan G Rennison
ede4bd3662
Change to config libbfd detection.
...
Include all used functions in test script, this is to catch
unsatisfied dependency link errors.
Try to compile with libiberty and then also with libintl if the
initial test fails.
Log the executed commands at level 2, for consistency with other
config test compiles.
2015-09-14 23:00:45 +01:00
Jonathan G Rennison
d7853db2fd
Add configure switches for libbfd and bfd extra debug info.
2015-09-09 20:19:26 +01:00
Jonathan G Rennison
b9f5765415
Use rm -f
instead of rm
for removing configure build temporaries.
2015-09-09 02:29:19 +01:00
Jonathan G Rennison
3a093c4b63
Use libbfd as a fallback for backtrace symbol lookup on MinGW.
...
This will try to demangle.
If bfd_find_nearest_line returns a file name but nothing else
(debugging info is turned off), scan the symbol table for the previous
symbol and use it if it looks OKish.
2015-09-09 02:14:06 +01:00
Jonathan G Rennison
99d8d1afa6
Enable existing MSVC stack backtrace code on MinGW where supported.
...
The existing code seems to work fine, though symbol lookup in
openttd.exe does not work.
2015-09-09 00:09:07 +01:00
Jonathan G Rennison
c5bc04c4b8
Compile with -g1 if using libbfd to get line numbers.
2015-09-09 00:08:24 +01:00
Jonathan G Rennison
5b755050b8
Use libbfd on Unix to get more symbols, line numbers, etc. for backtraces.
2015-09-09 00:08:21 +01:00
Jonathan G Rennison
387bf403da
GCC/Unix: Try to demangle C++ function names in crashlog stack trace.
...
Change format of stack trace lines to improve readability.
2015-09-08 00:49:34 +01:00
rubidium
eb4b6a08d0
(svn r27377) -Codechange: use the pkg-config files of ICU as well. Since they are split into separate libraries it becomes possible to split RTL support for natural sorting, although the effect will be minimal
2015-08-09 13:54:17 +00:00
rubidium
562c269770
(svn r27377) -Codechange: use the pkg-config files of ICU as well. Since they are split into separate libraries it becomes possible to split RTL support for natural sorting, although the effect will be minimal
2015-08-09 13:54:17 +00:00
rubidium
cc5b8ea6cb
(svn r27376) -Codechange: let libtimidity detection and configuration make use of pkg-config
2015-08-09 12:43:52 +00:00
rubidium
d45969779d
(svn r27376) -Codechange: let libtimidity detection and configuration make use of pkg-config
2015-08-09 12:43:52 +00:00
rubidium
2011c24502
(svn r27375) -Fix-ish: update help parameter for png configuration (it has used pkg-config for a long time)
2015-08-09 12:42:52 +00:00
rubidium
c7c93c68b7
(svn r27375) -Fix-ish: update help parameter for png configuration (it has used pkg-config for a long time)
2015-08-09 12:42:52 +00:00
rubidium
36f77b1aa7
(svn r27374) -Codechange: make zlib detection and configuration make use of pkg-config
2015-08-09 12:42:21 +00:00
rubidium
d5810e5d65
(svn r27374) -Codechange: make zlib detection and configuration make use of pkg-config
2015-08-09 12:42:21 +00:00
rubidium
c3715a025d
(svn r27373) -Codechange: make sdl detection and configuration use pkg-config
2015-08-09 12:41:54 +00:00
rubidium
95ccddd6fe
(svn r27373) -Codechange: make sdl detection and configuration use pkg-config
2015-08-09 12:41:54 +00:00
rubidium
f05d71a9a6
(svn r27372) -Codechange: make allegro detection and configuration use pkg-config
2015-08-09 12:41:35 +00:00
rubidium
b8bb123580
(svn r27372) -Codechange: make allegro detection and configuration use pkg-config
2015-08-09 12:41:35 +00:00
rubidium
f179a92007
(svn r27371) -Codechange: make freetype detection and configuration use pkg-config
2015-08-09 12:41:12 +00:00
rubidium
2f267b9207
(svn r27371) -Codechange: make freetype detection and configuration use pkg-config
2015-08-09 12:41:12 +00:00
rubidium
2aee2899e8
(svn r27370) -Codechange: move the "dedicated server" check into the pkg-config check routine
2015-08-09 12:40:17 +00:00
rubidium
a00d2b8b3c
(svn r27370) -Codechange: move the "dedicated server" check into the pkg-config check routine
2015-08-09 12:40:17 +00:00
rubidium
a08d1a044f
(svn r27369) -Cleanup: there's no need to do dependency checking of libraries in OpenTTD; zlib should always be installed if libpng is because it links to zlib
2015-08-09 12:39:26 +00:00
rubidium
a6710b7ea9
(svn r27369) -Cleanup: there's no need to do dependency checking of libraries in OpenTTD; zlib should always be installed if libpng is because it links to zlib
2015-08-09 12:39:26 +00:00
rubidium
625bc2e0e7
(svn r27368) -Cleanup: undo the special case of OSX; it works fine without it
2015-08-09 12:37:20 +00:00
rubidium
8585cdc6c6
(svn r27368) -Cleanup: undo the special case of OSX; it works fine without it
2015-08-09 12:37:20 +00:00
rubidium
ee700fd3b1
(svn r27367) -Codechange: make a distinction between the layouting part of ICU (lx) or the sorting/collation part of ICU (i18n)
2015-08-09 12:33:27 +00:00
rubidium
69fac508c3
(svn r27367) -Codechange: make a distinction between the layouting part of ICU (lx) or the sorting/collation part of ICU (i18n)
2015-08-09 12:33:27 +00:00
rubidium
bc199a4fe1
(svn r27361) -Fix-ish: when attempting to find a host, try gcc/g++ but also CC/CXX appended to the host triple. This to make cross compilation with clang alone easier
2015-08-08 08:54:49 +00:00
rubidium
9cadc0e150
(svn r27361) -Fix-ish: when attempting to find a host, try gcc/g++ but also CC/CXX appended to the host triple. This to make cross compilation with clang alone easier
2015-08-08 08:54:49 +00:00
rubidium
501ee2105a
(svn r27360) -Feature: allow configuring pkg-config in one go for all libraries
2015-08-08 08:52:21 +00:00
rubidium
b40f750243
(svn r27360) -Feature: allow configuring pkg-config in one go for all libraries
2015-08-08 08:52:21 +00:00
frosch
482714e1cf
(svn r27250) -Fix [FS#6286]: Broken error message in configure. (NG)
2015-04-26 08:59:20 +00:00
frosch
4fa052dd19
(svn r27250) -Fix [FS#6286]: Broken error message in configure. (NG)
2015-04-26 08:59:20 +00:00
planetmaker
e54ba05393
(svn r27224) -Cleanup: Duplicate #ifdef for FreeBSD (AMDim3)
2015-04-11 10:47:20 +00:00
planetmaker
5c80edb7ed
(svn r27224) -Cleanup: Duplicate #ifdef for FreeBSD (AMDim3)
2015-04-11 10:47:20 +00:00
planetmaker
acef9bb811
(svn r27223) -Add [FS#6274]: Support for DragonflyBSD (AMDmi3)
2015-04-11 10:25:36 +00:00
planetmaker
b1a9cf2ed8
(svn r27223) -Add [FS#6274]: Support for DragonflyBSD (AMDmi3)
2015-04-11 10:25:36 +00:00
planetmaker
2d3ad05aa7
(svn r27059) -Change: [Makefile] Make sure to use plain mercurial output unaltered by personal presets
2014-11-09 16:37:07 +00:00
planetmaker
bc371a2d9e
(svn r27059) -Change: [Makefile] Make sure to use plain mercurial output unaltered by personal presets
2014-11-09 16:37:07 +00:00
rubidium
6592da4952
(svn r26869) -Add: support for an all black palette to prevent the need of having a black tile of all different slopes (ic111)
2014-09-21 07:57:45 +00:00
rubidium
2361aaf601
(svn r26869) -Add: support for an all black palette to prevent the need of having a black tile of all different slopes (ic111)
2014-09-21 07:57:45 +00:00