|
Welcome,
Guest
|
Welcome to the BTPro OpenTTD Community ![]()
This community was build around the game: OpenTTD
OpenTTD is an (Free) open source simulation game based upon Transport Tycoon Deluxe
!!! I have done some hardening of the Apache Webserver / PHP version !!!
!!! I will keep on monitoring the site if the exploits return, but for now the server seems clean !!!
!!! Long live a decent backup strategy !!!
Please take a look at BTPro's VIP Membership ![]()

Please click here for more information or to sign-up.

Make sure to download the newest version of the Modified OpenTTD Client from the "BTPro OpenTTD Client Talk" Forum!
!!! BTPro Client Latest Update: the 14th of April 2026 !!!
!!! Current OpenTTD Version: 15.3 !!!

Goto the "BTPro OpenTTD Client Talk" forum to download the client and leave a message if it's working for you ![]()
Currently we have 5 Server Operators:
Frank, ST2, Wacko1976, Inscius & Pilsiefromhell!
We are badly looking for moderators!
Want to be part of the team?! Want to help?! Read below...
NOTE:
Admins will act on the basis that ALL players know the game and it's mechanics.
We think that no one goes to an online game without first some practice and know how to play it.
Companies without registered nicknames (as shown in Client List) on it, can be reset without warning!
To learn OpenTTD mechanics, there is a forum/wiki and... a Single Player mode!!
Practice before playing on BTPro, and if you decide to start, READ THE RULES first.
If you wish to become part of the BTPro Server Operator family, ensuring that the rules are upheld with fairly and justly,
the willingness to teach new players on how to play the game and to make sure BTPro is one of the most relaxed,
entertaining servers out there for OpenTTD then apply in the Moderator Applications section below!
Also do not hesitate to ask us a question in the forums or when you see us online on one of the servers!
Happy Gaming!
TOPIC:
How to run OpenTTD 1.9.3 BTPro client on Mac OSX 6 years 7 months ago #7051
|
I'm working through this now, too. I haven't gotten all the way through, but at this step, it appears the problem isn't that zlib is missing, but the command that checks for it (pkg-config) is missing. If you have homebrew installed, you can run:
brew install pkg-config to set it up. In the process of debugging I did some other stuff, including trying to set the CPATH where the zlib headers are. I'm not sure if this is necessary, but just in case, I added this to ~/.bashrc: export CPATH=`xcrun --show-sdk-path`/usr/include That at least gets me through the config step. Good luck.
The following user(s) said Thank You: Frank, trastanechora
|
|
|
Please Log in or Create an account to join the conversation. |
How to run OpenTTD 1.9.3 BTPro client on Mac OSX 6 years 7 months ago #7052
|
Hi TotorLemposchka
Did you run the command for step 6 as below? ./configure --without-liblzo2If you still have any issue then try to run code below, it will install GCC that is necessary to run the make compiler xcode-select --install |
|
|
Please Log in or Create an account to join the conversation. |
How to run OpenTTD 1.9.3 BTPro client on Mac OSX 6 years 5 months ago #7123
|
Hi guys,
I'm having trouble getting my compiled version to work. Up until 1.9.3 with BTPro client B everything compiled and worked fine. I am now on MacOs Catalina 10.15.4 with the latest xcode installed and I can not get a compiled version to work anymore. As soon as i start the app it just gets me the bouncing icon on the dock and nothing happens. I got all the dependencies with brew, I got the 1.9.3 source from the official site, here: cdn.openttd.org/openttd-releases/1.9.3/ patching the .diff file - no issues ./configure - no issues (either with or without liblzo2) make - 7 warnings, no errors trying to run the executable - does not work I also tried to compile a vanilla version without patching the diff file - same result. any help / similar experience ? edit: I have found a working solution Turns out the updated Command Line Tools for Xcode 11.4 are the culprit. I have tried compiling the BTPro client with Command Line Tools for Xcode version 11.3.1 and no problems arise anymore. I have described my process on the official OpenTTD forums here: www.tt-forums.net/viewtopic.php?f=33&t=86812&p=1230823#p1230823
The following user(s) said Thank You: Eld
|
|
|
Please Log in or Create an account to join the conversation.
Last edit: by M-Trac.
|
How to run OpenTTD 1.9.3 BTPro client on Mac OSX 6 years 5 months ago #7146
|
Did you also downgrade Xcode itself? I tried the following version of Xcode Command Line Tools:
version: 11.3.1.0.1.1576735732 Ran the configure, make, and make bundle again but ended up with the same result of the endlessly bouncing dock icon, or the endless process kicked off from the terminal. I still saw a lot of red warnings towards the end of the make output. |
|
|
Please Log in or Create an account to join the conversation. |
How to run OpenTTD 1.9.3 BTPro client on Mac OSX 6 years 5 months ago #7149
I did not downgrade Xcode itself. I currently have version 11.4 (11E146) of Xcode installed. I just tried compiling the new 1.10.1 version of the BTPro client and had no issues. I am still on Catalina 10.15.4 and got the dependencies from/with homebrew (xz, lzo and pkg-config). I use the same Command line tools version as you do. I logged my terminal to a text file, but the attachment function does not seem to work on this forum. I get 13 generated warnings on ./configure of the patched source files. During make I get quite some warnings, mostly about pointers missing a nullability type specifier in sdtio.h and stdlib.h. Then further warnings on cargoaction.cpp, driver.cpp, landscape.cpp, misc.cpp, etc. But no errors. Nothing when linking, and this is where I saw the majore difference when comparing to Command line tools 11.4, where a lot of warnings were generated during linking. Check this link for my terminal output during compile: justpaste.it/7fi2u
The following user(s) said Thank You: Eld
|
|
|
Please Log in or Create an account to join the conversation.
Last edit: by M-Trac. Reason: added link to terminal text for reference.
|
How to run OpenTTD 1.9.3 BTPro client on Mac OSX 6 years 4 months ago #7154
|
Thanks for the output! I tried again and my output looks pretty much identical to yours, but still the app just hangs on launch. No output whatsoever. I'm convinced it's something Gatekeeper / security related but can't figure it out.
Krispy@Kristians-MacBook-Pro openttd-1.10.1 % ./configure
checking awk... awk
detecting OS... OSX
checking build system type... x86_64-apple-darwin19.4.0
checking host system type... x86_64-apple-darwin19.4.0
checking universal build... no
checking build cc... gcc
checking host cc... gcc
checking build c++... g++
checking host c++... g++
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
checking host strip... strip
checking builtin depend... yes
checking makedepend... disabled
detecting cpu-type... 64 bits
detecting SSE... found
checking static... no
checking unicode... no
using debug level... no
using desync debug level... no
using link time optimization... no
checking OSX sysroot... no (use system default)
checking Allegro... OSX, skipping
checking SDL... OSX, skipping
checking COCOA... found
checking whether to enable the Quartz window subdriver... yes
checking Quickdraw window subdriver... disabled (64 bits)
checking GDI video driver... not Windows, skipping
checking dedicated... not selected
checking console application... not Windows, skipping
checking squirrel... found
checking translator... no
checking assert... disabled
checking zlib... found
checking liblzma... found
checking lzo2... found
checking Uniscribe text layout... not Windows, skipping
checking libxdg-basedir... not found
checking libpng... not found
checking freetype2... not found
checking libfontconfig... OSX, skipping
checking icu-lx... OSX, skipping
checking icu-i18n... OSX, skipping
checking fluidsynth... not found
checking direct-music... not Windows, skipping
checking xaudio2... not Windows, skipping
checking sort... sort
suppress language errors... no
checking stripping... strip
checking distcc... no (only used when forced)
checking ccache... no (only used when forced)
checking grfcodec... not found
checking nforenum... not found
detecting ppc970 (G5)... no
checking revision... source tarball
checking iconv... found
checking if iconv has non-const inbuf... yes
checking whether to link to iconv... yes
personal home directory... Documents/OpenTTD
shared data directory... /Library/Application\ Support/OpenTTD
installation directory... /
icon theme directory... none
manual page directory... share/man/man6
menu item directory... none
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
using CFLAGS_BUILD... -fno-strict-aliasing -Wall -W -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-multichar -Wno-self-assign -Wno-c++11-extensions -Wno-parentheses -Wno-sign-compare -Wno-unused-variable -DOSX -D_FORTIFY_SOURCE=2 -O1 -DNDEBUG
using CXXFLAGS_BUILD... -std=c++11
using LDFLAGS_BUILD... -rdynamic
using CFLAGS... -O2 -fomit-frame-pointer -fno-strict-aliasing -Wall -W -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-multichar -Wno-self-assign -Wno-c++11-extensions -Wno-parentheses -Wno-sign-compare -Wno-unused-variable -DOSX -D_FORTIFY_SOURCE=2 -DWITH_SSE -isystem/opt/local/include -DNO_QUICKTIME -DUNIX -DWITH_COCOA -DENABLE_COCOA_QUARTZ -DWITH_ZLIB -DWITH_LIBLZMA -I/usr/local/Cellar/xz/5.2.5/include -DWITH_LZO -D_SQ64 -I/Users/Krispy/OpenTTD/openttd-1.10.1/src/3rdparty/squirrel/include -DWITH_ICONV -DNDEBUG -DWITH_PERSONAL_DIR -DPERSONAL_DIR=\"Documents/OpenTTD\" -DWITH_SHARED_DIR -DSHARED_DIR=\"/Library/Application\ Support/OpenTTD\" -DGLOBAL_DATA_DIR=\"/usr/local/share/games/openttd\"
using CXXFLAGS... -std=c++11
using LDFLAGS... -lc -F/System/Library/Frameworks -framework Cocoa -framework Carbon -framework AudioUnit -framework AudioToolbox -lz -L/usr/local/Cellar/xz/5.2.5/lib -llzma -llzo2 -liconv -rdynamic -framework Cocoa
Generating Makefile...
Generating lang/Makefile...
Generating setting/Makefile...
Generating grf/Makefile...
Generating objs/Makefile...
Krispy@Kristians-MacBook-Pro openttd-1.10.1 % ls
COMPILING.md Makefile.bundle.in azure-pipelines config.cache.source.list media
CONTRIBUTING.md Makefile.grf.in azure-pipelines-ci.yml config.lib objs
COPYING.md Makefile.in azure-pipelines-release-stable.yml config.log os
CREDITS.md Makefile.lang.in azure-pipelines-release.yml config.pwd patch.diff
Doxyfile Makefile.msvc bin configure projects
Makefile Makefile.setting.in changelog.txt docs source.list
Makefile.am Makefile.src.in config.cache findversion.sh src
Makefile.bundle README.md config.cache.pwd known-bugs.txt
Krispy@Kristians-MacBook-Pro openttd-1.10.1 % make
[LANG] Compiling core/alloc_func.cpp
[LANG] Compiling string.cpp
[LANG] Compiling strgen/strgen_base.cpp
[LANG] Compiling strgen/strgen.cpp
[LANG] Compiling getoptdata.cpp
[LANG] Compiling and Linking strgen
[LANG] Generating table/strings.h
[LANG] Compiling language afrikaans
[LANG] Compiling language arabic_egypt
[LANG] Compiling language basque
[LANG] Compiling language belarusian
[LANG] Compiling language brazilian_portuguese
[LANG] Compiling language bulgarian
[LANG] Compiling language catalan
[LANG] Compiling language croatian
[LANG] Compiling language czech
[LANG] Compiling language danish
[LANG] Compiling language dutch
[LANG] Compiling language english
[LANG] Compiling language english_AU
[LANG] Compiling language english_US
[LANG] Compiling language esperanto
[LANG] Compiling language estonian
[LANG] Compiling language faroese
[LANG] Compiling language finnish
[LANG] Compiling language french
[LANG] Compiling language gaelic
[LANG] Compiling language galician
[LANG] Compiling language german
[LANG] Compiling language greek
[LANG] Compiling language hebrew
[LANG] Compiling language hungarian
[LANG] Compiling language icelandic
[LANG] Compiling language indonesian
[LANG] Compiling language irish
[LANG] Compiling language italian
[LANG] Compiling language japanese
[LANG] Compiling language korean
[LANG] Compiling language latin
[LANG] Compiling language latvian
[LANG] Compiling language lithuanian
[LANG] Compiling language luxembourgish
[LANG] Compiling language malay
[LANG] Compiling language norwegian_bokmal
[LANG] Compiling language norwegian_nynorsk
[LANG] Compiling language polish
[LANG] Compiling language portuguese
[LANG] Compiling language romanian
[LANG] Compiling language russian
[LANG] Compiling language serbian
[LANG] Compiling language simplified_chinese
[LANG] Compiling language slovak
[LANG] Compiling language slovenian
[LANG] Compiling language spanish
[LANG] Compiling language spanish_MX
[LANG] Compiling language swedish
[LANG] Compiling language tamil
[LANG] Compiling language thai
[LANG] Compiling language traditional_chinese
[LANG] Compiling language turkish
[LANG] Compiling language ukrainian
[LANG] Compiling language vietnamese
[LANG] Compiling language welsh
[SETTING] Compiling core/alloc_func.cpp
[SETTING] Compiling string.cpp
[SETTING] Compiling ini_load.cpp
[SETTING] Compiling settingsgen/settingsgen.cpp
[SETTING] Compiling getoptdata.cpp
[SETTING] Compiling and Linking settings_gen
[SETTING] Generating table/settings.h
[BASESET] Collecting baseset translations
[BASESET] Updating orig_dos.obg
[BASESET] Updating orig_dos_de.obg
[BASESET] Updating orig_win.obg
[BASESET] Updating orig_dos.obs
[BASESET] Updating orig_win.obs
[BASESET] Updating no_sound.obs
[BASESET] Updating orig_dos.obm
[BASESET] Updating orig_win.obm
[BASESET] Updating no_music.obm
[BASESET] Updating orig_tto.obm
[SRC] Compiling and linking depend
[SRC] DEP CHECK (all files)
[SRC] Compiling 3rdparty/md5/md5.cpp
[SRC] Compiling 3rdparty/squirrel/sqstdlib/sqstdaux.cpp
[SRC] Compiling 3rdparty/squirrel/sqstdlib/sqstdmath.cpp
[SRC] Compiling 3rdparty/squirrel/squirrel/sqapi.cpp
[SRC] Compiling 3rdparty/squirrel/squirrel/sqbaselib.cpp
[SRC] Compiling 3rdparty/squirrel/squirrel/sqclass.cpp
[SRC] Compiling 3rdparty/squirrel/squirrel/sqcompiler.cpp
[SRC] Compiling 3rdparty/squirrel/squirrel/sqdebug.cpp
[SRC] Compiling 3rdparty/squirrel/squirrel/sqfuncstate.cpp
[SRC] Compiling 3rdparty/squirrel/squirrel/sqlexer.cpp
[SRC] Compiling 3rdparty/squirrel/squirrel/sqmem.cpp
[SRC] Compiling 3rdparty/squirrel/squirrel/sqobject.cpp
[SRC] Compiling 3rdparty/squirrel/squirrel/sqstate.cpp
[SRC] Compiling 3rdparty/squirrel/squirrel/sqtable.cpp
[SRC] Compiling 3rdparty/squirrel/squirrel/sqvm.cpp
[SRC] Compiling ai/ai_config.cpp
[SRC] Compiling ai/ai_core.cpp
[SRC] Compiling ai/ai_gui.cpp
[SRC] Compiling ai/ai_info.cpp
[SRC] Compiling ai/ai_instance.cpp
[SRC] Compiling ai/ai_scanner.cpp
[SRC] Compiling aircraft_cmd.cpp
[SRC] Compiling aircraft_gui.cpp
[SRC] Compiling airport.cpp
[SRC] Compiling airport_gui.cpp
[SRC] Compiling animated_tile.cpp
[SRC] Compiling articulated_vehicles.cpp
[SRC] Compiling autoreplace.cpp
[SRC] Compiling autoreplace_cmd.cpp
[SRC] Compiling autoreplace_gui.cpp
[SRC] Compiling base64.cpp
[SRC] Compiling base_consist.cpp
[SRC] Compiling blitter/32bpp_anim.cpp
[SRC] Compiling blitter/32bpp_anim_sse2.cpp
[SRC] Compiling blitter/32bpp_anim_sse4.cpp
[SRC] Compiling blitter/32bpp_base.cpp
[SRC] Compiling blitter/32bpp_optimized.cpp
[SRC] Compiling blitter/32bpp_simple.cpp
[SRC] Compiling blitter/32bpp_sse2.cpp
[SRC] Compiling blitter/32bpp_sse4.cpp
[SRC] Compiling blitter/32bpp_ssse3.cpp
[SRC] Compiling blitter/8bpp_base.cpp
[SRC] Compiling blitter/8bpp_optimized.cpp
[SRC] Compiling blitter/8bpp_simple.cpp
[SRC] Compiling blitter/null.cpp
[SRC] Compiling bmp.cpp
[SRC] Compiling bootstrap_gui.cpp
[SRC] Compiling bridge_gui.cpp
[SRC] Compiling bridge_map.cpp
[SRC] Compiling build_vehicle_gui.cpp
/Users/Krispy/OpenTTD/openttd-1.10.1/src/build_vehicle_gui.cpp:1643:21: warning: 'OnHotkey' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual EventState OnHotkey(int hotkey)
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/widgets/../window_gui.h:606:21: note: overridden virtual function is here
virtual EventState OnHotkey(int hotkey);
^
1 warning generated.
[SRC] Compiling cargo_table_gui.cpp
[SRC] Compiling cargoaction.cpp
[SRC] Compiling cargomonitor.cpp
[SRC] Compiling cargopacket.cpp
[SRC] Compiling cargotype.cpp
[SRC] Compiling cheat.cpp
[SRC] Compiling cheat_gui.cpp
[SRC] Compiling clear_cmd.cpp
[SRC] Compiling command.cpp
[SRC] Compiling commands_token_gui.cpp
[SRC] Compiling company_cmd.cpp
[SRC] Compiling company_gui.cpp
[SRC] Compiling console.cpp
[SRC] Compiling console_cmds.cpp
[SRC] Compiling console_gui.cpp
[SRC] Compiling core/alloc_func.cpp
[SRC] Compiling core/bitmath_func.cpp
[SRC] Compiling core/geometry_func.cpp
[SRC] Compiling core/math_func.cpp
[SRC] Compiling core/pool_func.cpp
[SRC] Compiling core/random_func.cpp
[SRC] Compiling cpu.cpp
[SRC] Compiling crashlog.cpp
[SRC] Compiling currency.cpp
[SRC] Compiling date.cpp
[SRC] Compiling date_gui.cpp
[SRC] Compiling debug.cpp
[SRC] Compiling dedicated.cpp
[SRC] Compiling depot.cpp
[SRC] Compiling depot_cmd.cpp
[SRC] Compiling depot_gui.cpp
/Users/Krispy/OpenTTD/openttd-1.10.1/src/depot_gui.cpp:1052:21: warning: 'OnHotkey' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual EventState OnHotkey(int hotkey)
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/window_gui.h:606:21: note: overridden virtual function is here
virtual EventState OnHotkey(int hotkey);
^
1 warning generated.
[SRC] Compiling disaster_vehicle.cpp
[SRC] Compiling dock_gui.cpp
[SRC] Compiling driver.cpp
[SRC] Compiling economy.cpp
[SRC] Compiling effectvehicle.cpp
[SRC] Compiling elrail.cpp
[SRC] Compiling engine.cpp
[SRC] Compiling engine_gui.cpp
[SRC] Compiling error_gui.cpp
[SRC] Compiling fileio.cpp
[SRC] Compiling fios.cpp
[SRC] Compiling fios_gui.cpp
[SRC] Compiling fontcache.cpp
[SRC] Compiling fontdetection.cpp
[SRC] Compiling framerate_gui.cpp
[SRC] Compiling game/game_config.cpp
[SRC] Compiling game/game_core.cpp
[SRC] Compiling game/game_info.cpp
[SRC] Compiling game/game_instance.cpp
[SRC] Compiling game/game_scanner.cpp
[SRC] Compiling game/game_text.cpp
[SRC] Compiling gamelog.cpp
[SRC] Compiling genworld.cpp
[SRC] Compiling genworld_gui.cpp
[SRC] Compiling gfx.cpp
[SRC] Compiling gfx_layout.cpp
[SRC] Compiling gfxinit.cpp
[SRC] Compiling goal.cpp
[SRC] Compiling goal_gui.cpp
[SRC] Compiling graph_gui.cpp
[SRC] Compiling ground_vehicle.cpp
[SRC] Compiling group_cmd.cpp
[SRC] Compiling group_gui.cpp
[SRC] Compiling heightmap.cpp
[SRC] Compiling highscore.cpp
[SRC] Compiling highscore_gui.cpp
[SRC] Compiling hotkeys.cpp
[SRC] Compiling industry_cmd.cpp
[SRC] Compiling industry_gui.cpp
[SRC] Compiling ini.cpp
[SRC] Compiling ini_load.cpp
[SRC] Compiling intro_gui.cpp
/Users/Krispy/OpenTTD/openttd-1.10.1/src/intro_gui.cpp:61:8: warning: 'OnQueryTextFinished' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void OnQueryTextFinished(char *str) {
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/window_gui.h:736:15: note: overridden virtual function is here
virtual void OnQueryTextFinished(char *str) {}
^
1 warning generated.
[SRC] Compiling landscape.cpp
[SRC] Compiling linkgraph/demands.cpp
[SRC] Compiling linkgraph/flowmapper.cpp
[SRC] Compiling linkgraph/linkgraph.cpp
[SRC] Compiling linkgraph/linkgraph_gui.cpp
[SRC] Compiling linkgraph/linkgraphjob.cpp
[SRC] Compiling linkgraph/linkgraphschedule.cpp
[SRC] Compiling linkgraph/mcf.cpp
[SRC] Compiling linkgraph/refresh.cpp
[SRC] Compiling main_gui.cpp
/Users/Krispy/OpenTTD/openttd-1.10.1/src/main_gui.cpp:482:16: warning: 'OnMouseOver' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual void OnMouseOver(Point pt, int widget)
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/linkgraph/../window_gui.h:674:15: note: overridden virtual function is here
virtual void OnMouseOver(Point pt, int widget) {}
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/main_gui.cpp:492:8: warning: variable 'tile' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if (viewport_is_in_map_mode) {
^~~~~~~~~~~~~~~~~~~~~~~
/Users/Krispy/OpenTTD/openttd-1.10.1/src/main_gui.cpp:501:8: note: uninitialized use occurs here
if (tile >= MapSize()) return;
^~~~
/Users/Krispy/OpenTTD/openttd-1.10.1/src/main_gui.cpp:492:4: note: remove the 'if' if its condition is always false
if (viewport_is_in_map_mode) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/Krispy/OpenTTD/openttd-1.10.1/src/main_gui.cpp:488:18: note: initialize the variable 'tile' to silence this warning
TileIndex tile;
^
= 0
2 warnings generated.
[SRC] Compiling map.cpp
[SRC] Compiling misc.cpp
[SRC] Compiling misc/countedobj.cpp
[SRC] Compiling misc/dbg_helpers.cpp
[SRC] Compiling misc/getoptdata.cpp
[SRC] Compiling misc_cmd.cpp
[SRC] Compiling misc_gui.cpp
/Users/Krispy/OpenTTD/openttd-1.10.1/src/misc_gui.cpp:1589:24: warning: enumeration value 'TCC_NONE' not handled in switch [-Wswitch]
switch (this->close_cond) {
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/misc_gui.cpp:1589:24: note: add missing switch cases
switch (this->close_cond) {
^
1 warning generated.
[SRC] Compiling mixer.cpp
[SRC] Compiling music.cpp
[SRC] Compiling music/cocoa_m.cpp
[SRC] Compiling music/extmidi.cpp
[SRC] Compiling music/midifile.cpp
[SRC] Compiling music/null_m.cpp
[SRC] Compiling music/qtmidi.cpp
[SRC] Compiling music_gui.cpp
[SRC] Compiling network/core/address.cpp
[SRC] Compiling network/core/core.cpp
[SRC] Compiling network/core/host.cpp
[SRC] Compiling network/core/packet.cpp
[SRC] Compiling network/core/tcp.cpp
[SRC] Compiling network/core/tcp_admin.cpp
[SRC] Compiling network/core/tcp_connect.cpp
[SRC] Compiling network/core/tcp_content.cpp
[SRC] Compiling network/core/tcp_game.cpp
[SRC] Compiling network/core/tcp_http.cpp
[SRC] Compiling network/core/udp.cpp
[SRC] Compiling network/network.cpp
/Users/Krispy/OpenTTD/openttd-1.10.1/src/network/network.cpp:762:31: warning: private field 'conn' is not used [-Wunused-private-field]
NetworkHTTPContentConnecter *conn;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/network/network.cpp:847:31: warning: private field 'conn' is not used [-Wunused-private-field]
NetworkHTTPContentConnecter *conn;
^
2 warnings generated.
[SRC] Compiling network/network_admin.cpp
[SRC] Compiling network/network_chat_gui.cpp
[SRC] Compiling network/network_client.cpp
[SRC] Compiling network/network_command.cpp
[SRC] Compiling network/network_content.cpp
[SRC] Compiling network/network_content_gui.cpp
[SRC] Compiling network/network_gamelist.cpp
[SRC] Compiling network/network_gui.cpp
[SRC] Compiling network/network_server.cpp
[SRC] Compiling network/network_udp.cpp
[SRC] Compiling newgrf.cpp
[SRC] Compiling newgrf_airport.cpp
[SRC] Compiling newgrf_airporttiles.cpp
[SRC] Compiling newgrf_canal.cpp
[SRC] Compiling newgrf_cargo.cpp
[SRC] Compiling newgrf_commons.cpp
[SRC] Compiling newgrf_config.cpp
[SRC] Compiling newgrf_debug_gui.cpp
[SRC] Compiling newgrf_engine.cpp
[SRC] Compiling newgrf_generic.cpp
[SRC] Compiling newgrf_gui.cpp
[SRC] Compiling newgrf_house.cpp
[SRC] Compiling newgrf_industries.cpp
[SRC] Compiling newgrf_industrytiles.cpp
[SRC] Compiling newgrf_object.cpp
[SRC] Compiling newgrf_profiling.cpp
[SRC] Compiling newgrf_railtype.cpp
[SRC] Compiling newgrf_roadtype.cpp
[SRC] Compiling newgrf_sound.cpp
[SRC] Compiling newgrf_spritegroup.cpp
[SRC] Compiling newgrf_station.cpp
[SRC] Compiling newgrf_storage.cpp
[SRC] Compiling newgrf_text.cpp
[SRC] Compiling newgrf_town.cpp
[SRC] Compiling newgrf_townname.cpp
[SRC] Compiling news_gui.cpp
[SRC] Compiling object_cmd.cpp
[SRC] Compiling object_gui.cpp
[SRC] Compiling openttd.cpp
[SRC] Compiling order_backup.cpp
[SRC] Compiling order_cmd.cpp
[SRC] Compiling order_gui.cpp
[SRC] Compiling os/macosx/crashlog_osx.cpp
[SRC] Compiling os/macosx/splash.cpp
[SRC] Compiling os/macosx/string_osx.cpp
[SRC] Compiling os/unix/unix.cpp
[SRC] Compiling osk_gui.cpp
[SRC] Compiling pathfinder/npf/aystar.cpp
[SRC] Compiling pathfinder/npf/npf.cpp
[SRC] Compiling pathfinder/npf/queue.cpp
[SRC] Compiling pathfinder/yapf/yapf_rail.cpp
[SRC] Compiling pathfinder/yapf/yapf_road.cpp
[SRC] Compiling pathfinder/yapf/yapf_ship.cpp
[SRC] Compiling pbs.cpp
[SRC] Compiling progress.cpp
[SRC] Compiling rail.cpp
[SRC] Compiling rail_cmd.cpp
[SRC] Compiling rail_gui.cpp
[SRC] Compiling rev.cpp
[SRC] Compiling road.cpp
[SRC] Compiling road_cmd.cpp
[SRC] Compiling road_gui.cpp
[SRC] Compiling road_map.cpp
[SRC] Compiling roadstop.cpp
[SRC] Compiling roadveh_cmd.cpp
[SRC] Compiling roadveh_gui.cpp
[SRC] Compiling saveload/afterload.cpp
[SRC] Compiling saveload/ai_sl.cpp
[SRC] Compiling saveload/airport_sl.cpp
[SRC] Compiling saveload/animated_tile_sl.cpp
[SRC] Compiling saveload/autoreplace_sl.cpp
[SRC] Compiling saveload/cargomonitor_sl.cpp
[SRC] Compiling saveload/cargopacket_sl.cpp
[SRC] Compiling saveload/cheat_sl.cpp
[SRC] Compiling saveload/company_sl.cpp
[SRC] Compiling saveload/depot_sl.cpp
[SRC] Compiling saveload/economy_sl.cpp
[SRC] Compiling saveload/engine_sl.cpp
[SRC] Compiling saveload/game_sl.cpp
[SRC] Compiling saveload/gamelog_sl.cpp
[SRC] Compiling saveload/goal_sl.cpp
[SRC] Compiling saveload/group_sl.cpp
[SRC] Compiling saveload/industry_sl.cpp
[SRC] Compiling saveload/labelmaps_sl.cpp
[SRC] Compiling saveload/linkgraph_sl.cpp
[SRC] Compiling saveload/map_sl.cpp
[SRC] Compiling saveload/misc_sl.cpp
[SRC] Compiling saveload/newgrf_sl.cpp
[SRC] Compiling saveload/object_sl.cpp
[SRC] Compiling saveload/oldloader.cpp
[SRC] Compiling saveload/oldloader_sl.cpp
[SRC] Compiling saveload/order_sl.cpp
[SRC] Compiling saveload/saveload.cpp
[SRC] Compiling saveload/signs_sl.cpp
[SRC] Compiling saveload/station_sl.cpp
[SRC] Compiling saveload/storage_sl.cpp
[SRC] Compiling saveload/story_sl.cpp
[SRC] Compiling saveload/strings_sl.cpp
[SRC] Compiling saveload/subsidy_sl.cpp
[SRC] Compiling saveload/town_sl.cpp
[SRC] Compiling saveload/vehicle_sl.cpp
[SRC] Compiling saveload/waypoint_sl.cpp
[SRC] Compiling screenshot.cpp
[SRC] Compiling screenshot_gui.cpp
[SRC] Compiling script/api/script_accounting.cpp
[SRC] Compiling script/api/script_admin.cpp
[SRC] Compiling script/api/script_airport.cpp
[SRC] Compiling script/api/script_base.cpp
[SRC] Compiling script/api/script_basestation.cpp
[SRC] Compiling script/api/script_bridge.cpp
[SRC] Compiling script/api/script_bridgelist.cpp
[SRC] Compiling script/api/script_cargo.cpp
[SRC] Compiling script/api/script_cargolist.cpp
[SRC] Compiling script/api/script_cargomonitor.cpp
[SRC] Compiling script/api/script_client.cpp
[SRC] Compiling script/api/script_clientlist.cpp
[SRC] Compiling script/api/script_company.cpp
[SRC] Compiling script/api/script_companymode.cpp
[SRC] Compiling script/api/script_controller.cpp
[SRC] Compiling script/api/script_date.cpp
[SRC] Compiling script/api/script_depotlist.cpp
[SRC] Compiling script/api/script_engine.cpp
[SRC] Compiling script/api/script_enginelist.cpp
[SRC] Compiling script/api/script_error.cpp
[SRC] Compiling script/api/script_event.cpp
[SRC] Compiling script/api/script_event_types.cpp
[SRC] Compiling script/api/script_execmode.cpp
[SRC] Compiling script/api/script_game.cpp
[SRC] Compiling script/api/script_gamesettings.cpp
[SRC] Compiling script/api/script_goal.cpp
[SRC] Compiling script/api/script_group.cpp
[SRC] Compiling script/api/script_grouplist.cpp
[SRC] Compiling script/api/script_industry.cpp
[SRC] Compiling script/api/script_industrylist.cpp
[SRC] Compiling script/api/script_industrytype.cpp
[SRC] Compiling script/api/script_industrytypelist.cpp
[SRC] Compiling script/api/script_infrastructure.cpp
[SRC] Compiling script/api/script_list.cpp
[SRC] Compiling script/api/script_log.cpp
[SRC] Compiling script/api/script_map.cpp
[SRC] Compiling script/api/script_marine.cpp
[SRC] Compiling script/api/script_news.cpp
[SRC] Compiling script/api/script_object.cpp
[SRC] Compiling script/api/script_order.cpp
[SRC] Compiling script/api/script_rail.cpp
[SRC] Compiling script/api/script_railtypelist.cpp
[SRC] Compiling script/api/script_road.cpp
[SRC] Compiling script/api/script_roadtypelist.cpp
[SRC] Compiling script/api/script_sign.cpp
[SRC] Compiling script/api/script_signlist.cpp
[SRC] Compiling script/api/script_station.cpp
[SRC] Compiling script/api/script_stationlist.cpp
[SRC] Compiling script/api/script_story_page.cpp
[SRC] Compiling script/api/script_storypageelementlist.cpp
[SRC] Compiling script/api/script_storypagelist.cpp
[SRC] Compiling script/api/script_subsidy.cpp
[SRC] Compiling script/api/script_subsidylist.cpp
[SRC] Compiling script/api/script_testmode.cpp
[SRC] Compiling script/api/script_text.cpp
[SRC] Compiling script/api/script_tile.cpp
[SRC] Compiling script/api/script_tilelist.cpp
[SRC] Compiling script/api/script_town.cpp
[SRC] Compiling script/api/script_townlist.cpp
[SRC] Compiling script/api/script_tunnel.cpp
[SRC] Compiling script/api/script_vehicle.cpp
[SRC] Compiling script/api/script_vehiclelist.cpp
[SRC] Compiling script/api/script_viewport.cpp
[SRC] Compiling script/api/script_waypoint.cpp
[SRC] Compiling script/api/script_waypointlist.cpp
[SRC] Compiling script/api/script_window.cpp
[SRC] Compiling script/script_config.cpp
[SRC] Compiling script/script_info.cpp
[SRC] Compiling script/script_info_dummy.cpp
[SRC] Compiling script/script_instance.cpp
[SRC] Compiling script/script_scanner.cpp
[SRC] Compiling script/squirrel.cpp
[SRC] Compiling script/squirrel_std.cpp
[SRC] Compiling settings.cpp
[SRC] Compiling settings_gui.cpp
[SRC] Compiling ship_cmd.cpp
[SRC] Compiling ship_gui.cpp
[SRC] Compiling signal.cpp
[SRC] Compiling signs.cpp
[SRC] Compiling signs_cmd.cpp
[SRC] Compiling signs_gui.cpp
[SRC] Compiling smallmap_gui.cpp
[SRC] Compiling sound.cpp
[SRC] Compiling sound/cocoa_s.cpp
[SRC] Compiling sound/null_s.cpp
[SRC] Compiling sprite.cpp
[SRC] Compiling spritecache.cpp
[SRC] Compiling spriteloader/grf.cpp
[SRC] Compiling station.cpp
[SRC] Compiling station_cmd.cpp
[SRC] Compiling station_gui.cpp
[SRC] Compiling statusbar_gui.cpp
[SRC] Compiling story.cpp
[SRC] Compiling story_gui.cpp
[SRC] Compiling strgen/strgen_base.cpp
[SRC] Compiling string.cpp
[SRC] Compiling stringfilter.cpp
[SRC] Compiling strings.cpp
[SRC] Compiling subsidy.cpp
[SRC] Compiling subsidy_gui.cpp
[SRC] Compiling terraform_cmd.cpp
[SRC] Compiling terraform_gui.cpp
[SRC] Compiling textbuf.cpp
[SRC] Compiling texteff.cpp
[SRC] Compiling textfile_gui.cpp
[SRC] Compiling tgp.cpp
[SRC] Compiling tile_map.cpp
[SRC] Compiling tilearea.cpp
[SRC] Compiling timetable_cmd.cpp
[SRC] Compiling timetable_gui.cpp
[SRC] Compiling toolbar_gui.cpp
[SRC] Compiling town_cmd.cpp
[SRC] Compiling town_gui.cpp
/Users/Krispy/OpenTTD/openttd-1.10.1/src/town_gui.cpp:703:21: warning: 'OnHotkey' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual EventState OnHotkey(int hotkey)
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/widgets/../window_gui.h:606:21: note: overridden virtual function is here
virtual EventState OnHotkey(int hotkey);
^
1 warning generated.
[SRC] Compiling townname.cpp
[SRC] Compiling train_cmd.cpp
[SRC] Compiling train_gui.cpp
[SRC] Compiling transparency_gui.cpp
[SRC] Compiling tree_cmd.cpp
[SRC] Compiling tree_gui.cpp
[SRC] Compiling triphistory_cmd.cpp
[SRC] Compiling triphistory_gui.cpp
[SRC] Compiling tunnel_map.cpp
[SRC] Compiling tunnelbridge_cmd.cpp
[SRC] Compiling vehicle.cpp
[SRC] Compiling vehicle_cmd.cpp
[SRC] Compiling vehicle_gui.cpp
/Users/Krispy/OpenTTD/openttd-1.10.1/src/vehicle_gui.cpp:2786:21: warning: 'OnHotkey' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual EventState OnHotkey(int hotkey)
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/widgets/../window_gui.h:606:21: note: overridden virtual function is here
virtual EventState OnHotkey(int hotkey);
^
1 warning generated.
[SRC] Compiling vehiclelist.cpp
[SRC] Compiling video/dedicated_v.cpp
[SRC] Compiling video/null_v.cpp
[SRC] Compiling viewport.cpp
[SRC] Compiling viewport_gui.cpp
/Users/Krispy/OpenTTD/openttd-1.10.1/src/viewport_gui.cpp:162:16: warning: 'OnMouseOver' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual void OnMouseOver(Point pt, int widget)
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/window_gui.h:674:15: note: overridden virtual function is here
virtual void OnMouseOver(Point pt, int widget) {}
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/viewport_gui.cpp:172:8: warning: variable 'tile' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if (viewport_is_in_map_mode) {
^~~~~~~~~~~~~~~~~~~~~~~
/Users/Krispy/OpenTTD/openttd-1.10.1/src/viewport_gui.cpp:182:8: note: uninitialized use occurs here
if (tile >= MapSize()) return;
^~~~
/Users/Krispy/OpenTTD/openttd-1.10.1/src/viewport_gui.cpp:172:4: note: remove the 'if' if its condition is always false
if (viewport_is_in_map_mode) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/Krispy/OpenTTD/openttd-1.10.1/src/viewport_gui.cpp:168:18: note: initialize the variable 'tile' to silence this warning
TileIndex tile;
^
= 0
2 warnings generated.
[SRC] Compiling viewport_sprite_sorter_sse4.cpp
[SRC] Compiling void_cmd.cpp
[SRC] Compiling watch_gui_1.cpp
/Users/Krispy/OpenTTD/openttd-1.10.1/src/watch_gui_1.cpp:347:8: warning: variable 'tile' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if (viewport_is_in_map_mode) {
^~~~~~~~~~~~~~~~~~~~~~~
/Users/Krispy/OpenTTD/openttd-1.10.1/src/watch_gui_1.cpp:357:8: note: uninitialized use occurs here
if (tile >= MapSize()) return;
^~~~
/Users/Krispy/OpenTTD/openttd-1.10.1/src/watch_gui_1.cpp:347:4: note: remove the 'if' if its condition is always false
if (viewport_is_in_map_mode) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/Krispy/OpenTTD/openttd-1.10.1/src/watch_gui_1.cpp:343:18: note: initialize the variable 'tile' to silence this warning
TileIndex tile;
^
= 0
1 warning generated.
[SRC] Compiling water_cmd.cpp
[SRC] Compiling waypoint.cpp
[SRC] Compiling waypoint_cmd.cpp
[SRC] Compiling waypoint_gui.cpp
[SRC] Compiling widget.cpp
[SRC] Compiling widgets/dropdown.cpp
[SRC] Compiling window.cpp
[SRC] Compiling zoning_cmd.cpp
[SRC] Compiling zoning_gui.cpp
[SRC] Compiling os/macosx/macos.mm
/Users/Krispy/OpenTTD/openttd-1.10.1/src/os/macosx/macos.mm:192:45: warning: 'NSStringPboardType' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
NSArray *types = [ NSArray arrayWithObject:NSStringPboardType ];
^~~~~~~~~~~~~~~~~~
NSPasteboardTypeString
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:311:32: note: 'NSStringPboardType' has been
explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSStringPboardType API_DEPRECATED_WITH_REPLACEMENT("NSPasteboardTypeString", macos(10.0,10.14));
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/os/macosx/macos.mm:198:40: warning: 'NSStringPboardType' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
NSString *string = [ pb stringForType:NSStringPboardType ];
^~~~~~~~~~~~~~~~~~
NSPasteboardTypeString
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:311:32: note: 'NSStringPboardType' has been
explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSStringPboardType API_DEPRECATED_WITH_REPLACEMENT("NSPasteboardTypeString", macos(10.0,10.14));
^
2 warnings generated.
[SRC] Compiling video/cocoa/cocoa_v.mm
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/cocoa_v.mm:77:48: warning: 'NSApplicationDefined' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
NSEvent *event = [ NSEvent otherEventWithType:NSApplicationDefined location:NSMakePoint(0, 0) modifierFlags:0 timestamp:0.0 windowNumber:0 context:nil subtype:0 data1:0 data2:0 ];
^~~~~~~~~~~~~~~~~~~~
NSEventTypeApplicationDefined
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:78:26: note: 'NSApplicationDefined' has been explicitly
marked deprecated here
static const NSEventType NSApplicationDefined API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeApplicationDefined", macos(10.0,10.12)) = NSEventTypeApplicationDefined;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/cocoa_v.mm:145:43: warning: 'NSAlternateKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
[ menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask | NSCommandKeyMask) ];
^~~~~~~~~~~~~~~~~~
NSEventModifierFlagOption
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:179:35: note: 'NSAlternateKeyMask' has been explicitly
marked deprecated here
static const NSEventModifierFlags NSAlternateKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagOption", macos(10.0,10.12)) = NSEventModifierFlagOption;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/cocoa_v.mm:145:64: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
[ menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask | NSCommandKeyMask) ];
^~~~~~~~~~~~~~~~
NSEventModifierFlagCommand
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:180:35: note: 'NSCommandKeyMask' has been explicitly
marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand", macos(10.0,10.12)) = NSEventModifierFlagCommand;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/cocoa_v.mm:660:26: warning: 'NSCriticalAlertStyle' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
[ alert setAlertStyle: NSCriticalAlertStyle ];
^~~~~~~~~~~~~~~~~~~~
NSAlertStyleCritical
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:142:27: note: 'NSCriticalAlertStyle' has been explicitly
marked deprecated here
static const NSAlertStyle NSCriticalAlertStyle API_DEPRECATED_WITH_REPLACEMENT("NSAlertStyleCritical", macos(10.3,10.12)) = NSAlertStyleCritical;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/cocoa_v.mm:768:9: warning: 'cacheImageInRect:' is deprecated: first deprecated in macOS 10.13 - This method shouldn’t be used as it doesn’t work in all
drawing situations; instead, a subview should be used that implements the desired drawing behavior [-Wdeprecated-declarations]
[ self cacheImageInRect:[ driver->cocoaview frame ] ];
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:796:1: note: 'cacheImageInRect:' has been explicitly
marked deprecated here
- (void)cacheImageInRect:(NSRect)rect API_DEPRECATED("This method shouldn’t be used as it doesn’t work in all drawing situations; instead, a subview should be used that implements the desired drawing behav...
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/cocoa_v.mm:774:9: warning: 'restoreCachedImage' is deprecated: first deprecated in macOS 10.13 - This method shouldn’t be used as it doesn’t work in all
drawing situations; instead, a subview should be used that implements the desired drawing behavior [-Wdeprecated-declarations]
[ self restoreCachedImage ];
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:797:1: note: 'restoreCachedImage' has been explicitly
marked deprecated here
- (void)restoreCachedImage API_DEPRECATED("This method shouldn’t be used as it doesn’t work in all drawing situations; instead, a subview should be used that implements the desired drawing behavior", macos...
^
6 warnings generated.
[SRC] Compiling video/cocoa/event.mm
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:266:22: warning: 'NSShiftKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if (_current_mods & NSShiftKeyMask) key |= WKC_SHIFT;
^~~~~~~~~~~~~~
NSEventModifierFlagShift
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:177:35: note: 'NSShiftKeyMask' has been explicitly marked
deprecated here
static const NSEventModifierFlags NSShiftKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagShift", macos(10.0,10.12)) = NSEventModifierFlagShift;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:267:22: warning: 'NSControlKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if (_current_mods & NSControlKeyMask) key |= (_settings_client.gui.right_mouse_btn_emulation != RMBE_CONTROL ? WKC_CTRL : WKC_META);
^~~~~~~~~~~~~~~~
NSEventModifierFlagControl
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:178:35: note: 'NSControlKeyMask' has been explicitly
marked deprecated here
static const NSEventModifierFlags NSControlKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagControl", macos(10.0,10.12)) = NSEventModifierFlagControl;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:268:22: warning: 'NSAlternateKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if (_current_mods & NSAlternateKeyMask) key |= WKC_ALT;
^~~~~~~~~~~~~~~~~~
NSEventModifierFlagOption
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:179:35: note: 'NSAlternateKeyMask' has been explicitly
marked deprecated here
static const NSEventModifierFlags NSAlternateKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagOption", macos(10.0,10.12)) = NSEventModifierFlagOption;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:269:22: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if (_current_mods & NSCommandKeyMask) key |= (_settings_client.gui.right_mouse_btn_emulation != RMBE_CONTROL ? WKC_META : WKC_CTRL);
^~~~~~~~~~~~~~~~
NSEventModifierFlagCommand
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:180:35: note: 'NSCommandKeyMask' has been explicitly
marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand", macos(10.0,10.12)) = NSEventModifierFlagCommand;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:288:33: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if (down && (_current_mods & NSCommandKeyMask)) {
^~~~~~~~~~~~~~~~
NSEventModifierFlagCommand
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:180:35: note: 'NSCommandKeyMask' has been explicitly
marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand", macos(10.0,10.12)) = NSEventModifierFlagCommand;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:294:60: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if (down && EditBoxInGlobalFocus() && (_current_mods & (NSCommandKeyMask | NSControlKeyMask))) {
^~~~~~~~~~~~~~~~
NSEventModifierFlagCommand
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:180:35: note: 'NSCommandKeyMask' has been explicitly
marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand", macos(10.0,10.12)) = NSEventModifierFlagCommand;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:294:79: warning: 'NSControlKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if (down && EditBoxInGlobalFocus() && (_current_mods & (NSCommandKeyMask | NSControlKeyMask))) {
^~~~~~~~~~~~~~~~
NSEventModifierFlagControl
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:178:35: note: 'NSControlKeyMask' has been explicitly
marked deprecated here
static const NSEventModifierFlags NSControlKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagControl", macos(10.0,10.12)) = NSEventModifierFlagControl;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:299:60: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if (down && EditBoxInGlobalFocus() && (_current_mods & (NSCommandKeyMask | NSControlKeyMask))) {
^~~~~~~~~~~~~~~~
NSEventModifierFlagCommand
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:180:35: note: 'NSCommandKeyMask' has been explicitly
marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand", macos(10.0,10.12)) = NSEventModifierFlagCommand;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:299:79: warning: 'NSControlKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if (down && EditBoxInGlobalFocus() && (_current_mods & (NSCommandKeyMask | NSControlKeyMask))) {
^~~~~~~~~~~~~~~~
NSEventModifierFlagControl
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:178:35: note: 'NSControlKeyMask' has been explicitly
marked deprecated here
static const NSEventModifierFlags NSControlKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagControl", macos(10.0,10.12)) = NSEventModifierFlagControl;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:342:33: warning: 'NSAlphaShiftKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
for (unsigned int i = 0, bit = NSAlphaShiftKeyMask; bit <= NSCommandKeyMask; bit <<= 1, ++i) {
^~~~~~~~~~~~~~~~~~~
NSEventModifierFlagCapsLock
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:176:35: note: 'NSAlphaShiftKeyMask' has been explicitly
marked deprecated here
static const NSEventModifierFlags NSAlphaShiftKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCapsLock", macos(10.0,10.12)) = NSEventModifierFlagCapsLock;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:342:61: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
for (unsigned int i = 0, bit = NSAlphaShiftKeyMask; bit <= NSCommandKeyMask; bit <<= 1, ++i) {
^~~~~~~~~~~~~~~~
NSEventModifierFlagCommand
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:180:35: note: 'NSCommandKeyMask' has been explicitly
marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand", macos(10.0,10.12)) = NSEventModifierFlagCommand;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:350:15: warning: 'NSAlphaShiftKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if (bit == NSAlphaShiftKeyMask) QZ_KeyEvent(mapping[i], 0, YES);
^~~~~~~~~~~~~~~~~~~
NSEventModifierFlagCapsLock
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:176:35: note: 'NSAlphaShiftKeyMask' has been explicitly
marked deprecated here
static const NSEventModifierFlags NSAlphaShiftKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCapsLock", macos(10.0,10.12)) = NSEventModifierFlagCapsLock;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:355:15: warning: 'NSAlphaShiftKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if (bit == NSAlphaShiftKeyMask) QZ_KeyEvent(mapping[i], 0, NO);
^~~~~~~~~~~~~~~~~~~
NSEventModifierFlagCapsLock
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:176:35: note: 'NSAlphaShiftKeyMask' has been explicitly
marked deprecated here
static const NSEventModifierFlags NSAlphaShiftKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCapsLock", macos(10.0,10.12)) = NSEventModifierFlagCapsLock;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:406:49: warning: 'NSAnyEventMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
NSEvent *event = [ NSApp nextEventMatchingMask:NSAnyEventMask
^~~~~~~~~~~~~~
NSEventMaskAny
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:157:26: note: 'NSAnyEventMask' has been explicitly marked
deprecated here
static const NSEventMask NSAnyEventMask API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskAny", macos(10.0,10.12)) = NSUIntegerMax;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:424:8: warning: 'NSMouseMoved' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSMouseMoved:
^~~~~~~~~~~~
NSEventTypeMouseMoved
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:68:26: note: 'NSMouseMoved' has been explicitly marked
deprecated here
static const NSEventType NSMouseMoved API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeMouseMoved", macos(10.0,10.12)) = NSEventTypeMouseMoved;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:425:8: warning: 'NSOtherMouseDragged' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSOtherMouseDragged:
^~~~~~~~~~~~~~~~~~~
NSEventTypeOtherMouseDragged
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:86:26: note: 'NSOtherMouseDragged' has been explicitly
marked deprecated here
static const NSEventType NSOtherMouseDragged API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeOtherMouseDragged", macos(10.0,10.12)) = NSEventTypeOtherMouseDragged;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:426:8: warning: 'NSLeftMouseDragged' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSLeftMouseDragged:
^~~~~~~~~~~~~~~~~~
NSEventTypeLeftMouseDragged
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:69:26: note: 'NSLeftMouseDragged' has been explicitly
marked deprecated here
static const NSEventType NSLeftMouseDragged API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeLeftMouseDragged", macos(10.0,10.12)) = NSEventTypeLeftMouseDragged;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:436:8: warning: 'NSRightMouseDragged' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSRightMouseDragged:
^~~~~~~~~~~~~~~~~~~
NSEventTypeRightMouseDragged
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:70:26: note: 'NSRightMouseDragged' has been explicitly
marked deprecated here
static const NSEventType NSRightMouseDragged API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeRightMouseDragged", macos(10.0,10.12)) = NSEventTypeRightMouseDragged;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:441:8: warning: 'NSLeftMouseDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSLeftMouseDown:
^~~~~~~~~~~~~~~
NSEventTypeLeftMouseDown
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:64:26: note: 'NSLeftMouseDown' has been explicitly marked
deprecated here
static const NSEventType NSLeftMouseDown API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeLeftMouseDown", macos(10.0,10.12)) = NSEventTypeLeftMouseDown;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:444:83: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if (_settings_client.gui.right_mouse_btn_emulation == RMBE_COMMAND) keymask |= NSCommandKeyMask;
^~~~~~~~~~~~~~~~
NSEventModifierFlagCommand
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:180:35: note: 'NSCommandKeyMask' has been explicitly
marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand", macos(10.0,10.12)) = NSEventModifierFlagCommand;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:445:83: warning: 'NSControlKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if (_settings_client.gui.right_mouse_btn_emulation == RMBE_CONTROL) keymask |= NSControlKeyMask;
^~~~~~~~~~~~~~~~
NSEventModifierFlagControl
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:178:35: note: 'NSControlKeyMask' has been explicitly
marked deprecated here
static const NSEventModifierFlags NSControlKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagControl", macos(10.0,10.12)) = NSEventModifierFlagControl;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:464:8: warning: 'NSLeftMouseUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSLeftMouseUp:
^~~~~~~~~~~~~
NSEventTypeLeftMouseUp
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:65:26: note: 'NSLeftMouseUp' has been explicitly marked
deprecated here
static const NSEventType NSLeftMouseUp API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeLeftMouseUp", macos(10.0,10.12)) = NSEventTypeLeftMouseUp;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:480:8: warning: 'NSRightMouseDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSRightMouseDown:
^~~~~~~~~~~~~~~~
NSEventTypeRightMouseDown
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:66:26: note: 'NSRightMouseDown' has been explicitly
marked deprecated here
static const NSEventType NSRightMouseDown API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeRightMouseDown", macos(10.0,10.12)) = NSEventTypeRightMouseDown;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:491:8: warning: 'NSRightMouseUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSRightMouseUp:
^~~~~~~~~~~~~~
NSEventTypeRightMouseUp
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:67:26: note: 'NSRightMouseUp' has been explicitly marked
deprecated here
static const NSEventType NSRightMouseUp API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeRightMouseUp", macos(10.0,10.12)) = NSEventTypeRightMouseUp;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:527:8: warning: 'NSKeyDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSKeyDown: {
^~~~~~~~~
NSEventTypeKeyDown
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:73:26: note: 'NSKeyDown' has been explicitly marked
deprecated here
static const NSEventType NSKeyDown API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeKeyDown", macos(10.0,10.12)) = NSEventTypeKeyDown;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:533:36: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if ([ event modifierFlags ] & NSCommandKeyMask) {
^~~~~~~~~~~~~~~~
NSEventModifierFlagCommand
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:180:35: note: 'NSCommandKeyMask' has been explicitly
marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand", macos(10.0,10.12)) = NSEventModifierFlagCommand;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:554:8: warning: 'NSKeyUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSKeyUp:
^~~~~~~
NSEventTypeKeyUp
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:74:26: note: 'NSKeyUp' has been explicitly marked
deprecated here
static const NSEventType NSKeyUp API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeKeyUp", macos(10.0,10.12)) = NSEventTypeKeyUp;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:560:36: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if ([ event modifierFlags ] & NSCommandKeyMask) {
^~~~~~~~~~~~~~~~
NSEventModifierFlagCommand
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:180:35: note: 'NSCommandKeyMask' has been explicitly
marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand", macos(10.0,10.12)) = NSEventModifierFlagCommand;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:570:8: warning: 'NSScrollWheel' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSScrollWheel:
^~~~~~~~~~~~~
NSEventTypeScrollWheel
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:81:26: note: 'NSScrollWheel' has been explicitly marked
deprecated here
static const NSEventType NSScrollWheel API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeScrollWheel", macos(10.0,10.12)) = NSEventTypeScrollWheel;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:624:8: warning: 'NSCursorUpdate' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSCursorUpdate:
^~~~~~~~~~~~~~
NSEventTypeCursorUpdate
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:80:26: note: 'NSCursorUpdate' has been explicitly marked
deprecated here
static const NSEventType NSCursorUpdate API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeCursorUpdate", macos(10.0,10.12)) = NSEventTypeCursorUpdate;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:625:8: warning: 'NSMouseEntered' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSMouseEntered:
^~~~~~~~~~~~~~
NSEventTypeMouseEntered
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:71:26: note: 'NSMouseEntered' has been explicitly marked
deprecated here
static const NSEventType NSMouseEntered API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeMouseEntered", macos(10.0,10.12)) = NSEventTypeMouseEntered;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:626:8: warning: 'NSMouseExited' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSMouseExited:
^~~~~~~~~~~~~
NSEventTypeMouseExited
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:72:26: note: 'NSMouseExited' has been explicitly marked
deprecated here
static const NSEventType NSMouseExited API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeMouseExited", macos(10.0,10.12)) = NSEventTypeMouseExited;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:697:106: warning: 'NSControlKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
_ctrl_pressed = !!(_current_mods & ( _settings_client.gui.right_mouse_btn_emulation != RMBE_CONTROL ? NSControlKeyMask : NSCommandKeyMask));
^~~~~~~~~~~~~~~~
NSEventModifierFlagControl
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:178:35: note: 'NSControlKeyMask' has been explicitly
marked deprecated here
static const NSEventModifierFlags NSControlKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagControl", macos(10.0,10.12)) = NSEventModifierFlagControl;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:697:125: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
_ctrl_pressed = !!(_current_mods & ( _settings_client.gui.right_mouse_btn_emulation != RMBE_CONTROL ? NSControlKeyMask : NSCommandKeyMask));
^~~~~~~~~~~~~~~~
NSEventModifierFlagCommand
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:180:35: note: 'NSCommandKeyMask' has been explicitly
marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand", macos(10.0,10.12)) = NSEventModifierFlagCommand;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/event.mm:698:40: warning: 'NSShiftKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
_shift_pressed = !!(_current_mods & NSShiftKeyMask);
^~~~~~~~~~~~~~
NSEventModifierFlagShift
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:177:35: note: 'NSShiftKeyMask' has been explicitly marked
deprecated here
static const NSEventModifierFlags NSShiftKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagShift", macos(10.0,10.12)) = NSEventModifierFlagShift;
^
35 warnings generated.
[SRC] Compiling video/cocoa/fullscreen.mm
[SRC] Compiling video/cocoa/wnd_quartz.mm
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/wnd_quartz.mm:117:82: warning: 'graphicsPort' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
CGContextRef viewContext = (CGContextRef)[ [ NSGraphicsContext currentContext ] graphicsPort ];
^~~~~~~~~~~~
CGContext
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGraphicsContext.h:111:28: note: property 'graphicsPort' is
declared deprecated here
@property (readonly) void *graphicsPort NS_RETURNS_INNER_POINTER API_DEPRECATED_WITH_REPLACEMENT("CGContext", macos(10.0,10.14));
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGraphicsContext.h:111:28: note: 'graphicsPort' has been
explicitly marked deprecated here
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/wnd_quartz.mm:251:24: warning: 'NSTitledWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
unsigned int style = NSTitledWindowMask;
^~~~~~~~~~~~~~~~~~
NSWindowStyleMaskTitled
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:850:32: note: 'NSTitledWindowMask' has been explicitly
marked deprecated here
static const NSWindowStyleMask NSTitledWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskTitled", macos(10.0,10.12)) = NSWindowStyleMaskTitled;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/wnd_quartz.mm:252:13: warning: 'NSMiniaturizableWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
style |= (NSMiniaturizableWindowMask | NSClosableWindowMask);
^~~~~~~~~~~~~~~~~~~~~~~~~~
NSWindowStyleMaskMiniaturizable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:852:32: note: 'NSMiniaturizableWindowMask' has been
explicitly marked deprecated here
static const NSWindowStyleMask NSMiniaturizableWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskMiniaturizable", macos(10.0,10.12)) = NSWindowStyleMaskMiniaturizable;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/wnd_quartz.mm:252:42: warning: 'NSClosableWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
style |= (NSMiniaturizableWindowMask | NSClosableWindowMask);
^~~~~~~~~~~~~~~~~~~~
NSWindowStyleMaskClosable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:851:32: note: 'NSClosableWindowMask' has been explicitly
marked deprecated here
static const NSWindowStyleMask NSClosableWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskClosable", macos(10.0,10.12)) = NSWindowStyleMaskClosable;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/wnd_quartz.mm:253:12: warning: 'NSResizableWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
style |= NSResizableWindowMask;
^~~~~~~~~~~~~~~~~~~~~
NSWindowStyleMaskResizable
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:853:32: note: 'NSResizableWindowMask' has been
explicitly marked deprecated here
static const NSWindowStyleMask NSResizableWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskResizable", macos(10.0,10.12)) = NSWindowStyleMaskResizable;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/wnd_quartz.mm:284:69: warning: 'NSWindowFullScreenButton' is deprecated: first deprecated in macOS 10.12 - The standard window button for
NSWindowFullScreenButton is always nil; use NSWindowZoomButton instead [-Wdeprecated-declarations]
NSButton* fullscreenButton = [ this->window standardWindowButton:NSWindowFullScreenButton ];
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:866:29: note: 'NSWindowFullScreenButton' has been
explicitly marked deprecated here
static const NSWindowButton NSWindowFullScreenButton API_DEPRECATED("The standard window button for NSWindowFullScreenButton is always nil; use NSWindowZoomButton instead", macos(10.7,10.12)) = (NSWindowButton)7;
^
/Users/Krispy/OpenTTD/openttd-1.10.1/src/video/cocoa/wnd_quartz.mm:330:2: warning: multiple methods named 'center' found [-Wobjc-multiple-method-names]
[ this->window center ];
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:601:19: note: using
@property NSPoint center;
^~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:312:1: note: also found
- (void)center;
^~~~~~~~~~~~~~~
7 warnings generated.
[SRC] Compiling video/cocoa/wnd_quickdraw.mm
[SRC] Linking openttd
Krispy@Kristians-MacBook-Pro openttd-1.10.1 % make bundle
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
[BUNDLE] Constructing bundle
Krispy@Kristians-MacBook-Pro openttd-1.10.1 % |
|
|
Please Log in or Create an account to join the conversation.
Last edit: by Eld.
|