=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for openrct2-0.4.11nb2 [ 0%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/AssetPack.cpp.o [ 0%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/AssetPackManager.cpp.o [ 0%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/Cheats.cpp.o [ 1%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/Context.cpp.o [ 1%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/CommandLineSprite.cpp.o [ 1%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/Date.cpp.o [ 1%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/Diagnostic.cpp.o [ 1%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/Editor.cpp.o [ 1%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/EditorObjectSelectionSession.cpp.o [ 1%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/FileClassifier.cpp.o [ 2%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/Game.cpp.o [ 2%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/GameState.cpp.o [ 2%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/GameStateSnapshots.cpp.o [ 2%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/Input.cpp.o [ 2%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/OpenRCT2.cpp.o [ 2%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ParkImporter.cpp.o [ 3%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/PlatformEnvironment.cpp.o [ 3%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ReplayManager.cpp.o [ 3%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/TrackImporter.cpp.o [ 3%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/Version.cpp.o [ 3%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/BalloonPressAction.cpp.o [ 3%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/BannerPlaceAction.cpp.o [ 4%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/BannerRemoveAction.cpp.o [ 4%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/BannerSetColourAction.cpp.o [ 4%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/BannerSetNameAction.cpp.o [ 4%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/BannerSetStyleAction.cpp.o [ 4%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/CheatSetAction.cpp.o [ 4%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/ClearAction.cpp.o [ 5%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/ClimateSetAction.cpp.o [ 5%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/CustomAction.cpp.o [ 5%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/FootpathAdditionPlaceAction.cpp.o [ 5%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/FootpathAdditionRemoveAction.cpp.o [ 5%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/FootpathLayoutPlaceAction.cpp.o [ 5%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/FootpathPlaceAction.cpp.o [ 6%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/FootpathRemoveAction.cpp.o [ 6%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/GameAction.cpp.o [ 6%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/GameActionRegistry.cpp.o [ 6%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/GameActionResult.cpp.o [ 6%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/GameSetSpeedAction.cpp.o [ 6%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/GuestSetFlagsAction.cpp.o [ 7%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/GuestSetNameAction.cpp.o [ 7%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/LandBuyRightsAction.cpp.o [ 7%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/LandLowerAction.cpp.o [ 7%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/LandRaiseAction.cpp.o [ 7%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/LandSetHeightAction.cpp.o [ 8%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/LandSetRightsAction.cpp.o [ 8%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/LandSmoothAction.cpp.o [ 8%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/LargeSceneryPlaceAction.cpp.o [ 8%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/LargeSceneryRemoveAction.cpp.o [ 8%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/LargeScenerySetColourAction.cpp.o [ 8%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/LoadOrQuitAction.cpp.o [ 9%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/MapChangeSizeAction.cpp.o [ 9%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/MazePlaceTrackAction.cpp.o [ 9%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/MazeSetTrackAction.cpp.o [ 9%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/NetworkModifyGroupAction.cpp.o [ 9%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/ParkEntrancePlaceAction.cpp.o [ 9%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/ParkEntranceRemoveAction.cpp.o [ 10%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/ParkMarketingAction.cpp.o [ 10%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/ParkSetDateAction.cpp.o [ 10%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/ParkSetEntranceFeeAction.cpp.o [ 10%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/ParkSetLoanAction.cpp.o [ 10%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/ParkSetNameAction.cpp.o [ 10%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/ParkSetParameterAction.cpp.o [ 11%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/ParkSetResearchFundingAction.cpp.o [ 11%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/PauseToggleAction.cpp.o [ 11%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/PeepPickupAction.cpp.o [ 11%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/PeepSpawnPlaceAction.cpp.o [ 11%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/PlayerKickAction.cpp.o [ 11%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/PlayerSetGroupAction.cpp.o [ 12%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/RideCreateAction.cpp.o [ 12%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/RideDemolishAction.cpp.o [ 12%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/RideEntranceExitPlaceAction.cpp.o [ 12%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/RideEntranceExitRemoveAction.cpp.o [ 12%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/RideFreezeRatingAction.cpp.o [ 12%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/RideSetAppearanceAction.cpp.o [ 13%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/RideSetColourSchemeAction.cpp.o [ 13%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/RideSetNameAction.cpp.o [ 13%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/RideSetPriceAction.cpp.o [ 13%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/RideSetSettingAction.cpp.o [ 13%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/RideSetStatusAction.cpp.o [ 13%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/RideSetVehicleAction.cpp.o [ 14%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/ScenarioSetSettingAction.cpp.o [ 14%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/ScenerySetRestrictedAction.cpp.o [ 14%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/SignSetNameAction.cpp.o [ 14%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/SignSetStyleAction.cpp.o [ 14%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/SmallSceneryPlaceAction.cpp.o [ 14%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/SmallSceneryRemoveAction.cpp.o [ 15%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/SmallScenerySetColourAction.cpp.o [ 15%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/StaffFireAction.cpp.o [ 15%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/StaffHireNewAction.cpp.o [ 15%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/StaffSetColourAction.cpp.o [ 15%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/StaffSetCostumeAction.cpp.o [ 16%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/StaffSetNameAction.cpp.o [ 16%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/StaffSetOrdersAction.cpp.o [ 16%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/StaffSetPatrolAreaAction.cpp.o [ 16%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/SurfaceSetStyleAction.cpp.o [ 16%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/TileModifyAction.cpp.o [ 16%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/TrackDesignAction.cpp.o [ 17%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/TrackPlaceAction.cpp.o [ 17%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/TrackRemoveAction.cpp.o [ 17%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/TrackSetBrakeSpeedAction.cpp.o [ 17%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/WallPlaceAction.cpp.o [ 17%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/WallRemoveAction.cpp.o [ 17%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/WallSetColourAction.cpp.o [ 18%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/WaterLowerAction.cpp.o [ 18%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/WaterRaiseAction.cpp.o [ 18%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/actions/WaterSetHeightAction.cpp.o [ 18%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/audio/Audio.cpp.o [ 18%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/audio/DummyAudioContext.cpp.o [ 18%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/command_line/CommandLine.cpp.o [ 19%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/command_line/ConvertCommand.cpp.o [ 19%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/command_line/ParkInfoCommands.cpp.o [ 19%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/command_line/RootCommands.cpp.o [ 19%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/command_line/ScreenshotCommands.cpp.o [ 19%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/command_line/SimulateCommands.cpp.o [ 19%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/command_line/SpriteCommands.cpp.o [ 20%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/command_line/UriHandler.cpp.o [ 20%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/config/Config.cpp.o [ 20%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/config/IniReader.cpp.o [ 20%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/config/IniWriter.cpp.o [ 20%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/ChecksumStream.cpp.o [ 20%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/Console.cpp.o [ 21%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/Crypt.CNG.cpp.o [ 21%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/Crypt.OpenRCT2.cpp.o [ 21%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/Crypt.OpenSSL.cpp.o [ 21%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/File.cpp.o [ 21%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/Diagnostics.cpp.o [ 21%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/FileScanner.cpp.o [ 22%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/FileStream.cpp.o [ 22%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/FileWatcher.cpp.o [ 22%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/Guard.cpp.o [ 22%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/Http.Android.cpp.o [ 22%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/Http.WinHttp.cpp.o [ 22%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/Http.cURL.cpp.o [ 23%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/IStream.cpp.o [ 23%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/Imaging.cpp.o [ 23%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/JobPool.cpp.o [ 23%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/Json.cpp.o [ 23%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/MemoryStream.cpp.o [ 24%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/Path.cpp.o [ 24%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/RTL.FriBidi.cpp.o [ 24%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/RTL.ICU.cpp.o [ 24%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/String.cpp.o [ 24%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/StringBuilder.cpp.o [ 24%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/StringReader.cpp.o [ 25%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/Zip.cpp.o [ 25%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/core/ZipAndroid.cpp.o [ 25%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/drawing/Drawing.Sprite.BMP.cpp.o [ 25%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/drawing/AVX2Drawing.cpp.o [ 25%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/drawing/Drawing.Sprite.RLE.cpp.o [ 25%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/drawing/Drawing.Sprite.cpp.o [ 26%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/drawing/Drawing.String.cpp.o [ 26%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/drawing/Drawing.cpp.o [ 26%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/drawing/Font.cpp.o [ 26%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/drawing/Image.cpp.o [ 26%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/drawing/ImageImporter.cpp.o [ 26%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/drawing/LightFX.cpp.o [ 26%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/drawing/NewDrawing.cpp.o [ 27%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/drawing/Line.cpp.o [ 27%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/drawing/Rect.cpp.o [ 27%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/drawing/SSE41Drawing.cpp.o [ 27%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/drawing/ScrollingText.cpp.o [ 27%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/drawing/TTF.cpp.o [ 28%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/drawing/TTFSDLPort.cpp.o [ 28%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/drawing/Text.cpp.o [ 28%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/drawing/Weather.cpp.o [ 28%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/drawing/X8DrawingEngine.cpp.o [ 28%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/entity/Balloon.cpp.o [ 28%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/entity/Duck.cpp.o [ 29%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/entity/EntityBase.cpp.o [ 29%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/entity/EntityRegistry.cpp.o [ 29%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/entity/EntityTweener.cpp.o [ 29%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/entity/Fountain.cpp.o [ 29%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/entity/Guest.cpp.o [ 29%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/entity/Litter.cpp.o [ 30%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/entity/MoneyEffect.cpp.o [ 30%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/entity/Particle.cpp.o [ 30%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/entity/PatrolArea.cpp.o [ 30%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/entity/Peep.cpp.o [ 30%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/entity/Staff.cpp.o [ 31%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/interface/Chat.cpp.o [ 31%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/interface/Colour.cpp.o [ 31%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/interface/Cursors.cpp.o [ 31%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/interface/FontFamilies.cpp.o [ 31%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/interface/Fonts.cpp.o [ 31%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/interface/InteractiveConsole.cpp.o [ 32%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/interface/Screenshot.cpp.o [ 32%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/interface/StdInOutConsole.cpp.o [ 32%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/interface/Viewport.cpp.o [ 32%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/interface/Window_internal.cpp.o [ 32%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/interface/Window.cpp.o [ 32%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/interface/ZoomLevel.cpp.o [ 33%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/localisation/ConversionTables.cpp.o [ 33%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/localisation/Convert.cpp.o [ 33%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/localisation/Currency.cpp.o [ 33%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/localisation/FormatCodes.cpp.o [ 33%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/localisation/Formatter.cpp.o [ 33%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/localisation/Formatting.cpp.o [ 34%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/localisation/Language.cpp.o [ 34%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/localisation/LanguagePack.cpp.o [ 34%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/localisation/Localisation.Date.cpp.o [ 34%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/localisation/Localisation.cpp.o [ 34%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/localisation/LocalisationService.cpp.o [ 34%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/localisation/RealNames.cpp.o [ 35%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/localisation/UTF8.cpp.o [ 35%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/management/Award.cpp.o [ 35%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/management/Finance.cpp.o [ 35%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/management/Marketing.cpp.o [ 35%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/management/NewsItem.cpp.o [ 35%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/management/Research.cpp.o [ 36%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/network/DiscordService.cpp.o [ 36%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/network/NetworkAction.cpp.o [ 36%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/network/NetworkBase.cpp.o [ 36%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/network/NetworkClient.cpp.o [ 36%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/network/NetworkConnection.cpp.o [ 36%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/network/NetworkGroup.cpp.o [ 37%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/network/NetworkKey.cpp.o [ 37%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/network/NetworkPacket.cpp.o [ 37%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/network/NetworkPlayer.cpp.o [ 37%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/network/NetworkServer.cpp.o [ 37%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/network/NetworkServerAdvertiser.cpp.o [ 37%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/network/NetworkUser.cpp.o [ 38%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/network/ServerList.cpp.o [ 38%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/network/Socket.cpp.o [ 38%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/AudioObject.cpp.o [ 38%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/AudioSampleTable.cpp.o [ 38%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/BannerObject.cpp.o [ 39%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/DefaultObjects.cpp.o [ 39%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/EntranceObject.cpp.o [ 39%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/FootpathObject.cpp.o [ 39%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/FootpathRailingsObject.cpp.o [ 39%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/FootpathSurfaceObject.cpp.o [ 39%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/ImageTable.cpp.o [ 40%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/LargeSceneryObject.cpp.o [ 40%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/MusicObject.cpp.o [ 40%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/Object.cpp.o [ 40%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/ObjectEntryManager.cpp.o [ 40%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/ObjectFactory.cpp.o [ 40%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/ObjectList.cpp.o [ 41%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/ObjectManager.cpp.o [ 41%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/ObjectRepository.cpp.o [ 41%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/ObjectTypes.cpp.o [ 41%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/PathAdditionObject.cpp.o [ 41%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/ResourceTable.cpp.o [ 41%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/RideObject.cpp.o [ 42%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/SceneryGroupObject.cpp.o [ 42%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/SmallSceneryObject.cpp.o [ 42%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/StationObject.cpp.o [ 42%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/StringTable.cpp.o [ 42%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/TerrainEdgeObject.cpp.o [ 42%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/TerrainSurfaceObject.cpp.o [ 43%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/WallObject.cpp.o [ 43%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/object/WaterObject.cpp.o [ 43%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/openrct2_pch.cpp.o [ 43%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/paint/Paint.Entity.cpp.o [ 43%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/paint/Paint.cpp.o [ 43%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/paint/PaintHelpers.cpp.o [ 44%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/paint/Painter.cpp.o [ 44%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/paint/VirtualFloor.cpp.o [ 44%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/paint/support/MetalSupports.cpp.o [ 44%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/paint/support/WoodenSupports.cpp.o [ 44%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/paint/tile_element/Paint.Banner.cpp.o [ 44%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/paint/tile_element/Paint.Entrance.cpp.o [ 45%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/paint/tile_element/Paint.LargeScenery.cpp.o [ 45%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/paint/tile_element/Paint.Path.cpp.o [ 45%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/paint/tile_element/Paint.PathAddition.cpp.o [ 45%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/paint/tile_element/Paint.SmallScenery.cpp.o [ 45%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/paint/tile_element/Paint.Surface.cpp.o [ 45%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/paint/tile_element/Paint.TileElement.cpp.o [ 46%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/paint/tile_element/Paint.Wall.cpp.o [ 46%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/park/Legacy.cpp.o [ 46%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/park/ParkFile.cpp.o [ 46%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/peep/GuestPathfinding.cpp.o [ 46%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/peep/PeepAnimationData.cpp.o [ 47%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/peep/RideUseSystem.cpp.o [ 47%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/platform/Crash.cpp.o [ 47%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/platform/Platform.Android.cpp.o [ 47%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/platform/Platform.Common.cpp.o [ 47%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/platform/Platform.Linux.cpp.o [ 47%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/platform/Platform.Posix.cpp.o [ 48%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/platform/Platform.Win32.cpp.o [ 48%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/profiling/Profiling.cpp.o [ 48%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/rct1/S4Importer.cpp.o [ 48%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/rct1/T4Importer.cpp.o [ 48%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/rct1/Tables.cpp.o [ 48%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/rct12/RCT12.cpp.o [ 49%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/rct12/SawyerChunk.cpp.o [ 49%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/rct12/SawyerChunkReader.cpp.o [ 49%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/rct12/SawyerChunkWriter.cpp.o [ 49%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/rct2/RCT2.cpp.o [ 49%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/rct2/S6Importer.cpp.o [ 49%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/rct2/SeaDecrypt.cpp.o [ 50%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/rct2/T6Exporter.cpp.o [ 50%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/rct2/T6Importer.cpp.o [ 50%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/CableLift.cpp.o [ 50%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/CarEntry.cpp.o [ 50%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/Ride.cpp.o [ 50%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/RideAudio.cpp.o [ 51%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/RideConstruction.cpp.o [ 51%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/RideData.cpp.o [ 51%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/RideRatings.cpp.o [ 51%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/ShopItem.cpp.o [ 51%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/Station.cpp.o [ 51%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/Track.cpp.o [ 52%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/TrackData.cpp.o [ 52%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/TrackDesign.cpp.o [ 52%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/TrackDesignRepository.cpp.o [ 52%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/TrackDesignSave.cpp.o [ 52%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/TrackPaint.cpp.o [ 52%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/TrainManager.cpp.o [ 53%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/Vehicle.cpp.o [ 53%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/VehicleData.cpp.o [ 53%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/VehiclePaint.cpp.o [ 53%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/VehicleRiderControl.cpp.o [ 53%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/VehicleSubpositionData.cpp.o [ 54%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/AirPoweredVerticalCoaster.cpp.o [ 54%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/AlpineCoaster.cpp.o [ 54%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/BobsleighCoaster.cpp.o [ 54%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/ClassicStandUpRollerCoaster.cpp.o [ 54%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/ClassicWoodenRollerCoaster.cpp.o [ 54%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/CompactInvertedCoaster.cpp.o [ 55%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/CorkscrewRollerCoaster.cpp.o [ 55%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/FlyingRollerCoaster.cpp.o [ 55%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/GigaCoaster.cpp.o [ 55%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/HeartlineTwisterCoaster.cpp.o [ 55%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/HybridCoaster.cpp.o [ 55%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/InvertedHairpinCoaster.cpp.o [ 56%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/InvertedImpulseCoaster.cpp.o [ 56%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/InvertedRollerCoaster.cpp.o [ 56%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/JuniorRollerCoaster.cpp.o [ 56%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/LayDownRollerCoasterInverted.cpp.o [ 56%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/LimLaunchedRollerCoaster.cpp.o [ 56%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/LoopingRollerCoaster.cpp.o [ 57%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/MineRide.cpp.o [ 57%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/MineTrainCoaster.cpp.o [ 57%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/MiniRollerCoaster.cpp.o [ 57%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/MiniSuspendedCoaster.cpp.o [ 57%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/MultiDimensionRollerCoaster.cpp.o [ 57%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/ReverseFreefallCoaster.cpp.o [ 58%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/ReverserRollerCoaster.cpp.o [ 58%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/SideFrictionRollerCoaster.cpp.o [ 58%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/SingleRailRollerCoaster.cpp.o [ 58%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/StandUpRollerCoaster.cpp.o [ 58%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/Steeplechase.cpp.o [ 58%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/SuspendedSwingingCoaster.cpp.o [ 59%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/VirginiaReel.cpp.o [ 59%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/WildMouse.cpp.o [ 59%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/WoodenRollerCoaster.cpp.o [ 59%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/coaster/WoodenWildMouse.cpp.o [ 59%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/gentle/CarRide.cpp.o [ 59%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/gentle/Circus.cpp.o [ 60%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/gentle/CrookedHouse.cpp.o [ 60%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/gentle/Dodgems.cpp.o [ 60%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/gentle/FerrisWheel.cpp.o [ 60%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/gentle/FlyingSaucers.cpp.o [ 60%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/gentle/GhostTrain.cpp.o [ 60%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/gentle/HauntedHouse.cpp.o [ 61%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/gentle/Maze.cpp.o [ 61%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/gentle/MerryGoRound.cpp.o [ 61%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/gentle/MiniGolf.cpp.o [ 61%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/gentle/MiniHelicopters.cpp.o [ 61%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/gentle/MonorailCycles.cpp.o [ 62%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/gentle/ObservationTower.cpp.o [ 62%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/gentle/SpaceRings.cpp.o [ 62%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/gentle/SpiralSlide.cpp.o [ 62%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/shops/Facility.cpp.o [ 62%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/shops/Shop.cpp.o [ 62%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/thrill/3dCinema.cpp.o [ 63%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/thrill/Enterprise.cpp.o [ 63%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/thrill/GoKarts.cpp.o [ 63%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/thrill/LaunchedFreefall.cpp.o [ 63%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/thrill/MagicCarpet.cpp.o [ 63%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/thrill/MotionSimulator.cpp.o [ 63%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/thrill/RotoDrop.cpp.o [ 64%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/thrill/SwingingInverterShip.cpp.o [ 64%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/thrill/SwingingShip.cpp.o [ 64%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/thrill/TopSpin.cpp.o [ 64%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/thrill/Twist.cpp.o [ 64%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/transport/Chairlift.cpp.o [ 64%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/transport/Lift.cpp.o [ 65%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/transport/MiniatureRailway.cpp.o [ 65%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/transport/Monorail.cpp.o [ 65%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/transport/SuspendedMonorail.cpp.o [ 65%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/water/BoatHire.cpp.o [ 65%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/water/DinghySlide.cpp.o [ 65%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/water/DinghySlideCovered.cpp.o [ 66%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/water/LogFlume.cpp.o [ 66%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/water/RiverRapids.cpp.o [ 66%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/water/SplashBoats.cpp.o [ 66%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ride/water/SubmarineRide.cpp.o [ 66%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scenario/Scenario.cpp.o [ 66%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scenario/ScenarioRepository.cpp.o [ 67%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scenario/ScenarioSources.cpp.o [ 67%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scenes/Scene.cpp.o [ 67%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scenes/game/GameScene.cpp.o [ 67%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scenes/intro/IntroScene.cpp.o [ 67%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scenes/title/Command/End.cpp.o [ 67%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scenes/title/Command/FollowEntity.cpp.o [ 68%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scenes/title/Command/LoadPark.cpp.o [ 68%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scenes/title/Command/LoadScenario.cpp.o [ 68%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scenes/title/Command/Restart.cpp.o [ 68%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scenes/title/Command/RotateView.cpp.o [ 68%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scenes/title/Command/SetLocation.cpp.o [ 68%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scenes/title/Command/SetSpeed.cpp.o [ 69%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scenes/title/Command/SetZoom.cpp.o [ 69%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scenes/title/Command/Wait.cpp.o [ 69%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scenes/title/TitleScene.cpp.o [ 69%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scenes/title/TitleSequence.cpp.o [ 69%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scenes/title/TitleSequenceManager.cpp.o [ 70%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/HookEngine.cpp.o [ 70%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/Plugin.cpp.o [ 70%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/ScriptEngine.cpp.o [ 70%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/bindings/entity/ScGuest.cpp.o [ 70%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/bindings/entity/ScLitter.cpp.o [ 70%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/bindings/entity/ScStaff.cpp.o [ 71%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/bindings/entity/ScVehicle.cpp.o [ 71%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/bindings/network/ScNetwork.cpp.o [ 71%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/bindings/network/ScPlayer.cpp.o [ 71%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/bindings/network/ScPlayerGroup.cpp.o [ 71%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/bindings/object/ScObjectManager.cpp.o [ 71%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/bindings/ride/ScRide.cpp.o [ 72%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/bindings/ride/ScRideStation.cpp.o [ 72%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/bindings/ride/ScTrackIterator.cpp.o [ 72%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/bindings/ride/ScTrackSegment.cpp.o [ 72%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/bindings/world/ScMap.cpp.o [ 72%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/bindings/world/ScPark.cpp.o [ 72%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/bindings/world/ScParkMessage.cpp.o [ 73%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/bindings/world/ScResearch.cpp.o [ 73%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/bindings/world/ScTile.cpp.o [ 73%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/scripting/bindings/world/ScTileElement.cpp.o [ 73%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ui/DummyUiContext.cpp.o [ 73%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/util/SawyerCoding.cpp.o [ 73%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/ui/DummyWindowManager.cpp.o [ 74%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/util/Util.cpp.o [ 74%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/windows/Intent.cpp.o [ 74%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/windows/_legacy.cpp.o [ 74%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/world/Banner.cpp.o [ 74%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/world/Climate.cpp.o [ 74%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/world/ConstructionClearance.cpp.o [ 75%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/world/Entrance.cpp.o [ 75%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/world/Footpath.cpp.o [ 75%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/world/LargeScenery.cpp.o [ 75%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/world/Map.cpp.o [ 75%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/world/MapAnimation.cpp.o [ 75%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/world/MapGen.cpp.o [ 76%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/world/MapHelpers.cpp.o [ 76%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/world/Park.cpp.o [ 76%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/world/Scenery.cpp.o [ 76%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/world/SmallScenery.cpp.o [ 76%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/world/Surface.cpp.o [ 77%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/world/SurfaceData.cpp.o [ 77%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/world/TileElement.cpp.o [ 77%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/world/TileElementBase.cpp.o [ 77%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/world/TileInspector.cpp.o [ 77%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/world/Wall.cpp.o [ 77%] Building CXX object CMakeFiles/libopenrct2.dir/src/thirdparty/duktape/duktape.cpp.o /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_err_handle_error_fmt(duk_hthread*, const char*, duk_uint_t, const char*, ...)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12485:32: warning: use of old-style cast to 'char' [-Wold-style-cast] 12485 | msg[sizeof(msg) - 1] = (char) 0; | ^ | -------- | static_cast ( 0) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12487:63: warning: use of old-style cast to 'duk_errcode_t' {aka 'int'} [-Wold-style-cast] 12487 | (duk_errcode_t) (line_and_code >> 24), | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12490:67: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 12490 | (duk_int_t) (line_and_code & 0x00ffffffL)); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_err_handle_error(duk_hthread*, const char*, duk_uint_t, const char*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12496:63: warning: use of old-style cast to 'duk_errcode_t' {aka 'int'} [-Wold-style-cast] 12496 | (duk_errcode_t) (line_and_code >> 24), | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12499:67: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 12499 | (duk_int_t) (line_and_code & 0x00ffffffL)); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_err_require_type_index(duk_hthread*, const char*, duk_int_t, duk_idx_t, const char*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10179:42: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 10179 | duk_int_t duk__line = (duk_int_t) (line); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12536:2: note: in expansion of macro 'DUK_ERROR_RAW_FMT3' 12536 | DUK_ERROR_RAW_FMT3(thr, | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10184:43: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10184 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12536:2: note: in expansion of macro 'DUK_ERROR_RAW_FMT3' 12536 | DUK_ERROR_RAW_FMT3(thr, | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10184:76: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10184 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12536:2: note: in expansion of macro 'DUK_ERROR_RAW_FMT3' 12536 | DUK_ERROR_RAW_FMT3(thr, | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12543:28: warning: use of old-style cast to 'long int' [-Wold-style-cast] 12543 | (long) idx); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10188:29: note: in definition of macro 'DUK_ERROR_RAW_FMT3' 10188 | (arg3)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_err_error_internal(duk_hthread*, const char*, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10104:42: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 10104 | duk_int_t duk__line = (duk_int_t) (line); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12547:2: note: in expansion of macro 'DUK_ERROR_RAW' 12547 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_ERROR, DUK_STR_INTERNAL_ERROR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10107:54: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10107 | duk_err_handle_error((thr), (file), (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12547:2: note: in expansion of macro 'DUK_ERROR_RAW' 12547 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_ERROR, DUK_STR_INTERNAL_ERROR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10107:87: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10107 | duk_err_handle_error((thr), (file), (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12547:2: note: in expansion of macro 'DUK_ERROR_RAW' 12547 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_ERROR, DUK_STR_INTERNAL_ERROR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_err_error_alloc_failed(duk_hthread*, const char*, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10104:42: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 10104 | duk_int_t duk__line = (duk_int_t) (line); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12550:2: note: in expansion of macro 'DUK_ERROR_RAW' 12550 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_ERROR, DUK_STR_ALLOC_FAILED); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10107:54: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10107 | duk_err_handle_error((thr), (file), (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12550:2: note: in expansion of macro 'DUK_ERROR_RAW' 12550 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_ERROR, DUK_STR_ALLOC_FAILED); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10107:87: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10107 | duk_err_handle_error((thr), (file), (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12550:2: note: in expansion of macro 'DUK_ERROR_RAW' 12550 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_ERROR, DUK_STR_ALLOC_FAILED); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_err_error(duk_hthread*, const char*, duk_int_t, const char*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10104:42: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 10104 | duk_int_t duk__line = (duk_int_t) (line); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12553:2: note: in expansion of macro 'DUK_ERROR_RAW' 12553 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_ERROR, message); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10107:54: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10107 | duk_err_handle_error((thr), (file), (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12553:2: note: in expansion of macro 'DUK_ERROR_RAW' 12553 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_ERROR, message); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10107:87: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10107 | duk_err_handle_error((thr), (file), (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12553:2: note: in expansion of macro 'DUK_ERROR_RAW' 12553 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_ERROR, message); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_err_range(duk_hthread*, const char*, duk_int_t, const char*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10104:42: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 10104 | duk_int_t duk__line = (duk_int_t) (line); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12556:2: note: in expansion of macro 'DUK_ERROR_RAW' 12556 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_RANGE_ERROR, message); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10107:54: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10107 | duk_err_handle_error((thr), (file), (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12556:2: note: in expansion of macro 'DUK_ERROR_RAW' 12556 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_RANGE_ERROR, message); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10107:87: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10107 | duk_err_handle_error((thr), (file), (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12556:2: note: in expansion of macro 'DUK_ERROR_RAW' 12556 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_RANGE_ERROR, message); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_err_range_index(duk_hthread*, const char*, duk_int_t, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10125:42: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 10125 | duk_int_t duk__line = (duk_int_t) (line); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12559:2: note: in expansion of macro 'DUK_ERROR_RAW_FMT1' 12559 | DUK_ERROR_RAW_FMT1(thr, filename, linenumber, DUK_ERR_RANGE_ERROR, "invalid stack index %ld", (long) (idx)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10130:43: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10130 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12559:2: note: in expansion of macro 'DUK_ERROR_RAW_FMT1' 12559 | DUK_ERROR_RAW_FMT1(thr, filename, linenumber, DUK_ERR_RANGE_ERROR, "invalid stack index %ld", (long) (idx)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10130:76: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10130 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12559:2: note: in expansion of macro 'DUK_ERROR_RAW_FMT1' 12559 | DUK_ERROR_RAW_FMT1(thr, filename, linenumber, DUK_ERR_RANGE_ERROR, "invalid stack index %ld", (long) (idx)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12559:107: warning: use of old-style cast to 'long int' [-Wold-style-cast] 12559 | DUK_ERROR_RAW_FMT1(thr, filename, linenumber, DUK_ERR_RANGE_ERROR, "invalid stack index %ld", (long) (idx)); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10132:29: note: in definition of macro 'DUK_ERROR_RAW_FMT1' 10132 | (arg1)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_err_range_push_beyond(duk_hthread*, const char*, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10104:42: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 10104 | duk_int_t duk__line = (duk_int_t) (line); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12562:2: note: in expansion of macro 'DUK_ERROR_RAW' 12562 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_RANGE_ERROR, DUK_STR_PUSH_BEYOND_ALLOC_STACK); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10107:54: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10107 | duk_err_handle_error((thr), (file), (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12562:2: note: in expansion of macro 'DUK_ERROR_RAW' 12562 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_RANGE_ERROR, DUK_STR_PUSH_BEYOND_ALLOC_STACK); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10107:87: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10107 | duk_err_handle_error((thr), (file), (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12562:2: note: in expansion of macro 'DUK_ERROR_RAW' 12562 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_RANGE_ERROR, DUK_STR_PUSH_BEYOND_ALLOC_STACK); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_err_type_invalid_args(duk_hthread*, const char*, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10104:42: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 10104 | duk_int_t duk__line = (duk_int_t) (line); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12565:2: note: in expansion of macro 'DUK_ERROR_RAW' 12565 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_TYPE_ERROR, DUK_STR_INVALID_ARGS); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10107:54: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10107 | duk_err_handle_error((thr), (file), (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12565:2: note: in expansion of macro 'DUK_ERROR_RAW' 12565 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_TYPE_ERROR, DUK_STR_INVALID_ARGS); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10107:87: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10107 | duk_err_handle_error((thr), (file), (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12565:2: note: in expansion of macro 'DUK_ERROR_RAW' 12565 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_TYPE_ERROR, DUK_STR_INVALID_ARGS); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_err_type_invalid_state(duk_hthread*, const char*, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10104:42: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 10104 | duk_int_t duk__line = (duk_int_t) (line); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12568:2: note: in expansion of macro 'DUK_ERROR_RAW' 12568 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_TYPE_ERROR, DUK_STR_INVALID_STATE); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10107:54: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10107 | duk_err_handle_error((thr), (file), (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12568:2: note: in expansion of macro 'DUK_ERROR_RAW' 12568 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_TYPE_ERROR, DUK_STR_INVALID_STATE); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10107:87: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10107 | duk_err_handle_error((thr), (file), (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12568:2: note: in expansion of macro 'DUK_ERROR_RAW' 12568 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_TYPE_ERROR, DUK_STR_INVALID_STATE); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_err_type_invalid_trap_result(duk_hthread*, const char*, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10104:42: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 10104 | duk_int_t duk__line = (duk_int_t) (line); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12571:2: note: in expansion of macro 'DUK_ERROR_RAW' 12571 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_TYPE_ERROR, DUK_STR_INVALID_TRAP_RESULT); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10107:54: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10107 | duk_err_handle_error((thr), (file), (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12571:2: note: in expansion of macro 'DUK_ERROR_RAW' 12571 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_TYPE_ERROR, DUK_STR_INVALID_TRAP_RESULT); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10107:87: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10107 | duk_err_handle_error((thr), (file), (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12571:2: note: in expansion of macro 'DUK_ERROR_RAW' 12571 | DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_TYPE_ERROR, DUK_STR_INVALID_TRAP_RESULT); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_int_t duk_unicode_get_xutf8_length(duk_ucodepoint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12686:44: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 12686 | duk_uint_fast32_t x = (duk_uint_fast32_t) cp; | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12702:36: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 12702 | } else if (x < (duk_ucodepoint_t) 0x80000000UL) { | ^~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_int_t duk_unicode_encode_xutf8(duk_ucodepoint_t, duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12740:44: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 12740 | duk_uint_fast32_t x = (duk_uint_fast32_t) cp; | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12755:45: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 12755 | out[i] = (duk_uint8_t) (0x80 + (x & 0x3f)); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12762:38: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 12762 | out[0] = (duk_uint8_t) (marker + x); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_int_t duk_unicode_encode_cesu8(duk_ucodepoint_t, duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12774:44: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 12774 | duk_uint_fast32_t x = (duk_uint_fast32_t) cp; | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12778:26: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 12778 | out[0] = (duk_uint8_t) x; | ^ | - | static_cast<- | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12781:51: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 12781 | out[0] = (duk_uint8_t) (0xc0 + ((x >> 6) & 0x1f)); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12782:44: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 12782 | out[1] = (duk_uint8_t) (0x80 + (x & 0x3f)); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12786:52: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 12786 | out[0] = (duk_uint8_t) (0xe0 + ((x >> 12) & 0x0f)); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12787:51: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 12787 | out[1] = (duk_uint8_t) (0x80 + ((x >> 6) & 0x3f)); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12788:44: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 12788 | out[2] = (duk_uint8_t) (0x80 + (x & 0x3f)); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12820:31: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 12820 | out[0] = (duk_uint8_t) (0xed); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12821:52: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 12821 | out[1] = (duk_uint8_t) (0xa0 + ((x >> 16) & 0x0f)); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12822:52: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 12822 | out[2] = (duk_uint8_t) (0x80 + ((x >> 10) & 0x3f)); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12823:31: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 12823 | out[3] = (duk_uint8_t) (0xed); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12824:51: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 12824 | out[4] = (duk_uint8_t) (0xb0 + ((x >> 6) & 0x0f)); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12825:44: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 12825 | out[5] = (duk_uint8_t) (0x80 + (x & 0x3f)); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_int_t duk_unicode_decode_xutf8(duk_hthread*, const duk_uint8_t**, const duk_uint8_t*, const duk_uint8_t*, duk_ucodepoint_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12855:31: warning: use of old-style cast to 'duk_uint_fast8_t' {aka 'unsigned int'} [-Wold-style-cast] 12855 | ch = (duk_uint_fast8_t) (*p++); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12858:34: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 12858 | res = (duk_uint32_t) (ch & 0x7f); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12865:34: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 12865 | res = (duk_uint32_t) (ch & 0x1f); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12869:34: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 12869 | res = (duk_uint32_t) (ch & 0x0f); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12873:34: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 12873 | res = (duk_uint32_t) (ch & 0x07); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12877:34: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 12877 | res = (duk_uint32_t) (ch & 0x03); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12881:34: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 12881 | res = (duk_uint32_t) (ch & 0x01); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12885:26: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 12885 | res = (duk_uint32_t) (0); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12907:32: warning: use of old-style cast to 'duk_uint_fast8_t' {aka 'unsigned int'} [-Wold-style-cast] 12907 | ch = (duk_uint_fast8_t) (*p++); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12917:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 12917 | res = (res << 6) + (duk_uint32_t) (ch & 0x3f); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ucodepoint_t duk_unicode_decode_xutf8_checked(duk_hthread*, const duk_uint8_t**, const duk_uint8_t*, const duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10285:61: note: in expansion of macro 'DUK_LINE_MACRO' 10285 | duk_err_error_internal((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:12939:2: note: in expansion of macro 'DUK_ERROR_INTERNAL' 12939 | DUK_ERROR_INTERNAL(thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_size_t duk_unicode_unvalidated_utf8_length(const duk_uint8_t*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13002:38: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 13002 | while (((duk_size_t) (const void *) p) & 0x03U) { | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13002:38: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 13002 | while (((duk_size_t) (const void *) p) & 0x03U) { | ^ | ----------------------------- | reinterpret_cast ( (const void *) p) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13011:79: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 13011 | p32_end = (const duk_uint32_t *) (const void *) (p + ((duk_size_t) (p_end - p) & (duk_size_t) (~0x03))); | ^ | ------------------------ | static_cast ( (p_end - p)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13011:102: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 13011 | p32_end = (const duk_uint32_t *) (const void *) (p + ((duk_size_t) (p_end - p) & (duk_size_t) (~0x03))); | ^ | -------------------- | static_cast ( (~0x03)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13011:104: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 13011 | p32_end = (const duk_uint32_t *) (const void *) (p + ((duk_size_t) (p_end - p) & (duk_size_t) (~0x03))); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13011:104: warning: use of old-style cast to 'const duk_uint32_t*' {aka 'const unsigned int*'} [-Wold-style-cast] 13011 | p32_end = (const duk_uint32_t *) (const void *) (p + ((duk_size_t) (p_end - p) & (duk_size_t) (~0x03))); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13012:46: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 13012 | p32 = (const duk_uint32_t *) (const void *) p; | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13012:46: warning: use of old-style cast to 'const duk_uint32_t*' {aka 'const unsigned int*'} [-Wold-style-cast] 13012 | p32 = (const duk_uint32_t *) (const void *) p; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13013:39: warning: use of old-style cast to 'const duk_uint32_t*' {aka 'const unsigned int*'} [-Wold-style-cast] 13013 | while (p32 != (const duk_uint32_t *) p32_end) { | ^~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13038:28: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 13038 | p = (const duk_uint8_t *) p32; | ^~~ | - | reinterpret_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk__uni_decode_value(duk_bitdecoder_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13152:44: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 13152 | t = (duk_uint32_t) duk_bd_decode(bd_ctx, 4); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13156:44: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 13156 | t = (duk_uint32_t) duk_bd_decode(bd_ctx, 8); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13161:46: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 13161 | t = (duk_uint32_t) duk_bd_decode(bd_ctx, 12); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13164:46: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 13164 | t = (duk_uint32_t) duk_bd_decode(bd_ctx, 24); | ^ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_int_t duk__uni_range_match(const duk_uint8_t*, duk_size_t, duk_codepoint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13173:2: note: in expansion of macro 'duk_memzero' 13173 | duk_memzero(&bd_ctx, sizeof(bd_ctx)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13174:38: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 13174 | bd_ctx.data = (const duk_uint8_t *) unitab; | ^~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13175:31: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 13175 | bd_ctx.length = (duk_size_t) unilen; | ^~~~~~ | ------------------- | static_cast ( unilen) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13180:55: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 13180 | r1 = (duk_codepoint_t) duk__uni_decode_value(&bd_ctx); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13184:55: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 13184 | r2 = (duk_codepoint_t) duk__uni_decode_value(&bd_ctx); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_int_t duk_unicode_is_whitespace(duk_codepoint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13264:36: warning: use of old-style cast to 'duk_uint_fast8_t' {aka 'unsigned int'} [-Wold-style-cast] 13264 | lo = (duk_uint_fast8_t) (cp & 0xff); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13265:35: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 13265 | hi = (duk_uint_fast32_t) (cp >> 8); /* does not fit into an uchar */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_int_t duk_unicode_is_identifier_start(duk_codepoint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13355:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 13355 | if (duk__uni_range_match(duk_unicode_ids_noa, (duk_size_t) sizeof(duk_unicode_ids_noa), (duk_codepoint_t) cp)) { | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13355:108: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 13355 | if (duk__uni_range_match(duk_unicode_ids_noa, (duk_size_t) sizeof(duk_unicode_ids_noa), (duk_codepoint_t) cp)) { | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_int_t duk_unicode_is_identifier_part(duk_codepoint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13438:95: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 13438 | if (duk__uni_range_match(duk_unicode_ids_noa, sizeof(duk_unicode_ids_noa), (duk_codepoint_t) cp) || | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13439:107: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 13439 | duk__uni_range_match(duk_unicode_idp_m_ids_noa, sizeof(duk_unicode_idp_m_ids_noa), (duk_codepoint_t) cp)) { | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_int_t duk_unicode_is_letter(duk_codepoint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13490:95: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 13490 | if (duk__uni_range_match(duk_unicode_ids_noa, sizeof(duk_unicode_ids_noa), (duk_codepoint_t) cp) && | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13491:108: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 13491 | !duk__uni_range_match(duk_unicode_ids_m_let_noa, sizeof(duk_unicode_ids_m_let_noa), (duk_codepoint_t) cp)) { | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_codepoint_t duk__slow_case_conversion(duk_hthread*, duk_bufwriter_ctx*, duk_codepoint_t, duk_bitdecoder_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13552:48: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 13552 | n = (duk_small_int_t) duk_bd_decode(bd_ctx, 6); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13560:56: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 13560 | start_i = (duk_codepoint_t) duk_bd_decode(bd_ctx, 16); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13561:56: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 13561 | start_o = (duk_codepoint_t) duk_bd_decode(bd_ctx, 16); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13562:53: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 13562 | count = (duk_small_int_t) duk_bd_decode(bd_ctx, 7); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13571:36: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 13571 | if (tmp_cp < (duk_codepoint_t) count * (duk_codepoint_t) skip && | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13571:62: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 13571 | if (tmp_cp < (duk_codepoint_t) count * (duk_codepoint_t) skip && | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13572:37: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 13572 | (tmp_cp % (duk_codepoint_t) skip) == 0) { | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13582:47: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 13582 | n = (duk_small_int_t) duk_bd_decode(bd_ctx, 7); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13585:55: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 13585 | start_i = (duk_codepoint_t) duk_bd_decode(bd_ctx, 16); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13586:55: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 13586 | start_o = (duk_codepoint_t) duk_bd_decode(bd_ctx, 16); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13596:47: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 13596 | n = (duk_small_int_t) duk_bd_decode(bd_ctx, 7); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13599:55: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 13599 | start_i = (duk_codepoint_t) duk_bd_decode(bd_ctx, 16); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13600:48: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 13600 | t = (duk_small_int_t) duk_bd_decode(bd_ctx, 2); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13606:57: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 13606 | tmp_cp = (duk_codepoint_t) duk_bd_decode(bd_ctx, 16); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13607:57: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 13607 | DUK_BW_WRITE_RAW_XUTF8(thr, bw, (duk_ucodepoint_t) tmp_cp); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2677:33: note: in definition of macro 'DUK_BW_WRITE_RAW_XUTF8' 2677 | duk__cp = (duk_ucodepoint_t) (cp); \ | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2677:35: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 2677 | duk__cp = (duk_ucodepoint_t) (cp); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13607:6: note: in expansion of macro 'DUK_BW_WRITE_RAW_XUTF8' 13607 | DUK_BW_WRITE_RAW_XUTF8(thr, bw, (duk_ucodepoint_t) tmp_cp); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13624:54: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 13624 | DUK_BW_WRITE_RAW_XUTF8(thr, bw, (duk_ucodepoint_t) cp); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2677:33: note: in definition of macro 'DUK_BW_WRITE_RAW_XUTF8' 2677 | duk__cp = (duk_ucodepoint_t) (cp); \ | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2677:35: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 2677 | duk__cp = (duk_ucodepoint_t) (cp); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13624:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_XUTF8' 13624 | DUK_BW_WRITE_RAW_XUTF8(thr, bw, (duk_ucodepoint_t) cp); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_codepoint_t duk__case_transform_helper(duk_hthread*, duk_bufwriter_ctx*, duk_codepoint_t, duk_codepoint_t, duk_codepoint_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13667:47: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 13667 | DUK_BW_WRITE_RAW_U8(thr, bw, (duk_uint8_t) cp); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2616:35: note: in definition of macro 'DUK_BW_WRITE_RAW_U8' 2616 | *(bw_ctx)->p++ = (duk_uint8_t) (val); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2616:38: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2616 | *(bw_ctx)->p++ = (duk_uint8_t) (val); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13667:4: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8' 13667 | DUK_BW_WRITE_RAW_U8(thr, bw, (duk_uint8_t) cp); | ^~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13702:2: note: in expansion of macro 'duk_memzero' 13702 | duk_memzero(&bd_ctx, sizeof(bd_ctx)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13704:39: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 13704 | bd_ctx.data = (const duk_uint8_t *) duk_unicode_caseconv_uc; | ^~~~~~~~~~~~~~~~~~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13705:62: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 13705 | bd_ctx.length = (duk_size_t) sizeof(duk_unicode_caseconv_uc); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13707:39: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 13707 | bd_ctx.data = (const duk_uint8_t *) duk_unicode_caseconv_lc; | ^~~~~~~~~~~~~~~~~~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13708:62: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 13708 | bd_ctx.length = (duk_size_t) sizeof(duk_unicode_caseconv_lc); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13714:54: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 13714 | DUK_BW_WRITE_RAW_XUTF8(thr, bw, (duk_ucodepoint_t) cp); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2677:33: note: in definition of macro 'DUK_BW_WRITE_RAW_XUTF8' 2677 | duk__cp = (duk_ucodepoint_t) (cp); \ | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2677:35: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 2677 | duk__cp = (duk_ucodepoint_t) (cp); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13714:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_XUTF8' 13714 | DUK_BW_WRITE_RAW_XUTF8(thr, bw, (duk_ucodepoint_t) cp); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_unicode_case_convert_string(duk_hthread*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13744:34: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 13744 | p_start = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_input); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13744:34: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 13744 | p_start = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_input); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13757:85: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 13757 | next = (duk_codepoint_t) duk_unicode_decode_xutf8_checked(thr, &p, p_start, p_end); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13772:4: note: in expansion of macro 'DUK_BW_ENSURE' 13772 | DUK_BW_ENSURE(thr, bw, 8 * DUK_UNICODE_MAX_XUTF8_LENGTH); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13774:58: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 13774 | duk__case_transform_helper(thr, bw, (duk_codepoint_t) curr, prev, next, uppercase); | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: At global scope: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13845:17: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13845 | (duk_uint16_t) 0x0030UL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13846:17: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13846 | (duk_uint16_t) 0x0039UL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13849:17: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13849 | (duk_uint16_t) 0x0009UL, (duk_uint16_t) 0x000DUL, (duk_uint16_t) 0x0020UL, (duk_uint16_t) 0x0020UL, (duk_uint16_t) 0x00A0UL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13849:42: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13849 | (duk_uint16_t) 0x0009UL, (duk_uint16_t) 0x000DUL, (duk_uint16_t) 0x0020UL, (duk_uint16_t) 0x0020UL, (duk_uint16_t) 0x00A0UL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13849:67: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13849 | (duk_uint16_t) 0x0009UL, (duk_uint16_t) 0x000DUL, (duk_uint16_t) 0x0020UL, (duk_uint16_t) 0x0020UL, (duk_uint16_t) 0x00A0UL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13849:92: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13849 | (duk_uint16_t) 0x0009UL, (duk_uint16_t) 0x000DUL, (duk_uint16_t) 0x0020UL, (duk_uint16_t) 0x0020UL, (duk_uint16_t) 0x00A0UL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13849:117: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13849 | (duk_uint16_t) 0x0009UL, (duk_uint16_t) 0x000DUL, (duk_uint16_t) 0x0020UL, (duk_uint16_t) 0x0020UL, (duk_uint16_t) 0x00A0UL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13850:17: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13850 | (duk_uint16_t) 0x00A0UL, (duk_uint16_t) 0x1680UL, (duk_uint16_t) 0x1680UL, (duk_uint16_t) 0x180EUL, (duk_uint16_t) 0x180EUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13850:42: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13850 | (duk_uint16_t) 0x00A0UL, (duk_uint16_t) 0x1680UL, (duk_uint16_t) 0x1680UL, (duk_uint16_t) 0x180EUL, (duk_uint16_t) 0x180EUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13850:67: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13850 | (duk_uint16_t) 0x00A0UL, (duk_uint16_t) 0x1680UL, (duk_uint16_t) 0x1680UL, (duk_uint16_t) 0x180EUL, (duk_uint16_t) 0x180EUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13850:92: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13850 | (duk_uint16_t) 0x00A0UL, (duk_uint16_t) 0x1680UL, (duk_uint16_t) 0x1680UL, (duk_uint16_t) 0x180EUL, (duk_uint16_t) 0x180EUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13850:117: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13850 | (duk_uint16_t) 0x00A0UL, (duk_uint16_t) 0x1680UL, (duk_uint16_t) 0x1680UL, (duk_uint16_t) 0x180EUL, (duk_uint16_t) 0x180EUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13851:17: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13851 | (duk_uint16_t) 0x2000UL, (duk_uint16_t) 0x200AUL, (duk_uint16_t) 0x2028UL, (duk_uint16_t) 0x2029UL, (duk_uint16_t) 0x202FUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13851:42: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13851 | (duk_uint16_t) 0x2000UL, (duk_uint16_t) 0x200AUL, (duk_uint16_t) 0x2028UL, (duk_uint16_t) 0x2029UL, (duk_uint16_t) 0x202FUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13851:67: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13851 | (duk_uint16_t) 0x2000UL, (duk_uint16_t) 0x200AUL, (duk_uint16_t) 0x2028UL, (duk_uint16_t) 0x2029UL, (duk_uint16_t) 0x202FUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13851:92: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13851 | (duk_uint16_t) 0x2000UL, (duk_uint16_t) 0x200AUL, (duk_uint16_t) 0x2028UL, (duk_uint16_t) 0x2029UL, (duk_uint16_t) 0x202FUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13851:117: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13851 | (duk_uint16_t) 0x2000UL, (duk_uint16_t) 0x200AUL, (duk_uint16_t) 0x2028UL, (duk_uint16_t) 0x2029UL, (duk_uint16_t) 0x202FUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13852:17: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13852 | (duk_uint16_t) 0x202FUL, (duk_uint16_t) 0x205FUL, (duk_uint16_t) 0x205FUL, (duk_uint16_t) 0x3000UL, (duk_uint16_t) 0x3000UL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13852:42: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13852 | (duk_uint16_t) 0x202FUL, (duk_uint16_t) 0x205FUL, (duk_uint16_t) 0x205FUL, (duk_uint16_t) 0x3000UL, (duk_uint16_t) 0x3000UL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13852:67: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13852 | (duk_uint16_t) 0x202FUL, (duk_uint16_t) 0x205FUL, (duk_uint16_t) 0x205FUL, (duk_uint16_t) 0x3000UL, (duk_uint16_t) 0x3000UL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13852:92: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13852 | (duk_uint16_t) 0x202FUL, (duk_uint16_t) 0x205FUL, (duk_uint16_t) 0x205FUL, (duk_uint16_t) 0x3000UL, (duk_uint16_t) 0x3000UL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13852:117: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13852 | (duk_uint16_t) 0x202FUL, (duk_uint16_t) 0x205FUL, (duk_uint16_t) 0x205FUL, (duk_uint16_t) 0x3000UL, (duk_uint16_t) 0x3000UL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13853:17: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13853 | (duk_uint16_t) 0xFEFFUL, (duk_uint16_t) 0xFEFFUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13853:42: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13853 | (duk_uint16_t) 0xFEFFUL, (duk_uint16_t) 0xFEFFUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13856:17: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13856 | (duk_uint16_t) 0x0030UL, (duk_uint16_t) 0x0039UL, (duk_uint16_t) 0x0041UL, (duk_uint16_t) 0x005AUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13856:42: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13856 | (duk_uint16_t) 0x0030UL, (duk_uint16_t) 0x0039UL, (duk_uint16_t) 0x0041UL, (duk_uint16_t) 0x005AUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13856:67: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13856 | (duk_uint16_t) 0x0030UL, (duk_uint16_t) 0x0039UL, (duk_uint16_t) 0x0041UL, (duk_uint16_t) 0x005AUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13856:92: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13856 | (duk_uint16_t) 0x0030UL, (duk_uint16_t) 0x0039UL, (duk_uint16_t) 0x0041UL, (duk_uint16_t) 0x005AUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13857:17: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13857 | (duk_uint16_t) 0x005FUL, (duk_uint16_t) 0x005FUL, (duk_uint16_t) 0x0061UL, (duk_uint16_t) 0x007AUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13857:42: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13857 | (duk_uint16_t) 0x005FUL, (duk_uint16_t) 0x005FUL, (duk_uint16_t) 0x0061UL, (duk_uint16_t) 0x007AUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13857:67: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13857 | (duk_uint16_t) 0x005FUL, (duk_uint16_t) 0x005FUL, (duk_uint16_t) 0x0061UL, (duk_uint16_t) 0x007AUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13857:92: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13857 | (duk_uint16_t) 0x005FUL, (duk_uint16_t) 0x005FUL, (duk_uint16_t) 0x0061UL, (duk_uint16_t) 0x007AUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13860:17: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13860 | (duk_uint16_t) 0x0000UL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13861:17: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13861 | (duk_uint16_t) 0x002FUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13862:17: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13862 | (duk_uint16_t) 0x003AUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13863:17: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13863 | (duk_uint16_t) 0xFFFFUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13866:17: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13866 | (duk_uint16_t) 0x0000UL, (duk_uint16_t) 0x0008UL, (duk_uint16_t) 0x000EUL, (duk_uint16_t) 0x001FUL, (duk_uint16_t) 0x0021UL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13866:42: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13866 | (duk_uint16_t) 0x0000UL, (duk_uint16_t) 0x0008UL, (duk_uint16_t) 0x000EUL, (duk_uint16_t) 0x001FUL, (duk_uint16_t) 0x0021UL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13866:67: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13866 | (duk_uint16_t) 0x0000UL, (duk_uint16_t) 0x0008UL, (duk_uint16_t) 0x000EUL, (duk_uint16_t) 0x001FUL, (duk_uint16_t) 0x0021UL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13866:92: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13866 | (duk_uint16_t) 0x0000UL, (duk_uint16_t) 0x0008UL, (duk_uint16_t) 0x000EUL, (duk_uint16_t) 0x001FUL, (duk_uint16_t) 0x0021UL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13866:117: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13866 | (duk_uint16_t) 0x0000UL, (duk_uint16_t) 0x0008UL, (duk_uint16_t) 0x000EUL, (duk_uint16_t) 0x001FUL, (duk_uint16_t) 0x0021UL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13867:17: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13867 | (duk_uint16_t) 0x009FUL, (duk_uint16_t) 0x00A1UL, (duk_uint16_t) 0x167FUL, (duk_uint16_t) 0x1681UL, (duk_uint16_t) 0x180DUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13867:42: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13867 | (duk_uint16_t) 0x009FUL, (duk_uint16_t) 0x00A1UL, (duk_uint16_t) 0x167FUL, (duk_uint16_t) 0x1681UL, (duk_uint16_t) 0x180DUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13867:67: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13867 | (duk_uint16_t) 0x009FUL, (duk_uint16_t) 0x00A1UL, (duk_uint16_t) 0x167FUL, (duk_uint16_t) 0x1681UL, (duk_uint16_t) 0x180DUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13867:92: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13867 | (duk_uint16_t) 0x009FUL, (duk_uint16_t) 0x00A1UL, (duk_uint16_t) 0x167FUL, (duk_uint16_t) 0x1681UL, (duk_uint16_t) 0x180DUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13867:117: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13867 | (duk_uint16_t) 0x009FUL, (duk_uint16_t) 0x00A1UL, (duk_uint16_t) 0x167FUL, (duk_uint16_t) 0x1681UL, (duk_uint16_t) 0x180DUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13868:17: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13868 | (duk_uint16_t) 0x180FUL, (duk_uint16_t) 0x1FFFUL, (duk_uint16_t) 0x200BUL, (duk_uint16_t) 0x2027UL, (duk_uint16_t) 0x202AUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13868:42: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13868 | (duk_uint16_t) 0x180FUL, (duk_uint16_t) 0x1FFFUL, (duk_uint16_t) 0x200BUL, (duk_uint16_t) 0x2027UL, (duk_uint16_t) 0x202AUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13868:67: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13868 | (duk_uint16_t) 0x180FUL, (duk_uint16_t) 0x1FFFUL, (duk_uint16_t) 0x200BUL, (duk_uint16_t) 0x2027UL, (duk_uint16_t) 0x202AUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13868:92: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13868 | (duk_uint16_t) 0x180FUL, (duk_uint16_t) 0x1FFFUL, (duk_uint16_t) 0x200BUL, (duk_uint16_t) 0x2027UL, (duk_uint16_t) 0x202AUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13868:117: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13868 | (duk_uint16_t) 0x180FUL, (duk_uint16_t) 0x1FFFUL, (duk_uint16_t) 0x200BUL, (duk_uint16_t) 0x2027UL, (duk_uint16_t) 0x202AUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13869:17: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13869 | (duk_uint16_t) 0x202EUL, (duk_uint16_t) 0x2030UL, (duk_uint16_t) 0x205EUL, (duk_uint16_t) 0x2060UL, (duk_uint16_t) 0x2FFFUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13869:42: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13869 | (duk_uint16_t) 0x202EUL, (duk_uint16_t) 0x2030UL, (duk_uint16_t) 0x205EUL, (duk_uint16_t) 0x2060UL, (duk_uint16_t) 0x2FFFUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13869:67: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13869 | (duk_uint16_t) 0x202EUL, (duk_uint16_t) 0x2030UL, (duk_uint16_t) 0x205EUL, (duk_uint16_t) 0x2060UL, (duk_uint16_t) 0x2FFFUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13869:92: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13869 | (duk_uint16_t) 0x202EUL, (duk_uint16_t) 0x2030UL, (duk_uint16_t) 0x205EUL, (duk_uint16_t) 0x2060UL, (duk_uint16_t) 0x2FFFUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13869:117: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13869 | (duk_uint16_t) 0x202EUL, (duk_uint16_t) 0x2030UL, (duk_uint16_t) 0x205EUL, (duk_uint16_t) 0x2060UL, (duk_uint16_t) 0x2FFFUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13870:17: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13870 | (duk_uint16_t) 0x3001UL, (duk_uint16_t) 0xFEFEUL, (duk_uint16_t) 0xFF00UL, (duk_uint16_t) 0xFFFFUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13870:42: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13870 | (duk_uint16_t) 0x3001UL, (duk_uint16_t) 0xFEFEUL, (duk_uint16_t) 0xFF00UL, (duk_uint16_t) 0xFFFFUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13870:67: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13870 | (duk_uint16_t) 0x3001UL, (duk_uint16_t) 0xFEFEUL, (duk_uint16_t) 0xFF00UL, (duk_uint16_t) 0xFFFFUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13870:92: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13870 | (duk_uint16_t) 0x3001UL, (duk_uint16_t) 0xFEFEUL, (duk_uint16_t) 0xFF00UL, (duk_uint16_t) 0xFFFFUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13873:17: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13873 | (duk_uint16_t) 0x0000UL, (duk_uint16_t) 0x002FUL, (duk_uint16_t) 0x003AUL, (duk_uint16_t) 0x0040UL, (duk_uint16_t) 0x005BUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13873:42: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13873 | (duk_uint16_t) 0x0000UL, (duk_uint16_t) 0x002FUL, (duk_uint16_t) 0x003AUL, (duk_uint16_t) 0x0040UL, (duk_uint16_t) 0x005BUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13873:67: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13873 | (duk_uint16_t) 0x0000UL, (duk_uint16_t) 0x002FUL, (duk_uint16_t) 0x003AUL, (duk_uint16_t) 0x0040UL, (duk_uint16_t) 0x005BUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13873:92: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13873 | (duk_uint16_t) 0x0000UL, (duk_uint16_t) 0x002FUL, (duk_uint16_t) 0x003AUL, (duk_uint16_t) 0x0040UL, (duk_uint16_t) 0x005BUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13873:117: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13873 | (duk_uint16_t) 0x0000UL, (duk_uint16_t) 0x002FUL, (duk_uint16_t) 0x003AUL, (duk_uint16_t) 0x0040UL, (duk_uint16_t) 0x005BUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13874:17: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13874 | (duk_uint16_t) 0x005EUL, (duk_uint16_t) 0x0060UL, (duk_uint16_t) 0x0060UL, (duk_uint16_t) 0x007BUL, (duk_uint16_t) 0xFFFFUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13874:42: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13874 | (duk_uint16_t) 0x005EUL, (duk_uint16_t) 0x0060UL, (duk_uint16_t) 0x0060UL, (duk_uint16_t) 0x007BUL, (duk_uint16_t) 0xFFFFUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13874:67: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13874 | (duk_uint16_t) 0x005EUL, (duk_uint16_t) 0x0060UL, (duk_uint16_t) 0x0060UL, (duk_uint16_t) 0x007BUL, (duk_uint16_t) 0xFFFFUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13874:92: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13874 | (duk_uint16_t) 0x005EUL, (duk_uint16_t) 0x0060UL, (duk_uint16_t) 0x0060UL, (duk_uint16_t) 0x007BUL, (duk_uint16_t) 0xFFFFUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13874:117: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 13874 | (duk_uint16_t) 0x005EUL, (duk_uint16_t) 0x0060UL, (duk_uint16_t) 0x0060UL, (duk_uint16_t) 0x007BUL, (duk_uint16_t) 0xFFFFUL, | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint16_t duk_raw_read_u16_be(const duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13911:24: warning: use of old-style cast to 'void*' [-Wold-style-cast] 13911 | duk_memcpy((void *) u.b, (const void *) p, (size_t) 2); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13911:42: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 13911 | duk_memcpy((void *) u.b, (const void *) p, (size_t) 2); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13911:54: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 13911 | duk_memcpy((void *) u.b, (const void *) p, (size_t) 2); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13911:2: note: in expansion of macro 'duk_memcpy' 13911 | duk_memcpy((void *) u.b, (const void *) p, (size_t) 2); | ^~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1290:75: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 1290 | #define DUK_BSWAP16(x) ((duk_uint16_t) __builtin_bswap16((duk_uint16_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2384:23: note: in expansion of macro 'DUK_BSWAP16' 2384 | #define DUK_NTOH16(x) DUK_BSWAP16((x)) | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13912:8: note: in expansion of macro 'DUK_NTOH16' 13912 | u.x = DUK_NTOH16(u.x); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1290:76: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 1290 | #define DUK_BSWAP16(x) ((duk_uint16_t) __builtin_bswap16((duk_uint16_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2384:23: note: in expansion of macro 'DUK_BSWAP16' 2384 | #define DUK_NTOH16(x) DUK_BSWAP16((x)) | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13912:8: note: in expansion of macro 'DUK_NTOH16' 13912 | u.x = DUK_NTOH16(u.x); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk_raw_read_u32_be(const duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13918:24: warning: use of old-style cast to 'void*' [-Wold-style-cast] 13918 | duk_memcpy((void *) u.b, (const void *) p, (size_t) 4); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13918:42: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 13918 | duk_memcpy((void *) u.b, (const void *) p, (size_t) 4); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13918:54: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 13918 | duk_memcpy((void *) u.b, (const void *) p, (size_t) 4); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13918:2: note: in expansion of macro 'duk_memcpy' 13918 | duk_memcpy((void *) u.b, (const void *) p, (size_t) 4); | ^~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:75: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2382:23: note: in expansion of macro 'DUK_BSWAP32' 2382 | #define DUK_NTOH32(x) DUK_BSWAP32((x)) | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13919:8: note: in expansion of macro 'DUK_NTOH32' 13919 | u.x = DUK_NTOH32(u.x); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:76: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2382:23: note: in expansion of macro 'DUK_BSWAP32' 2382 | #define DUK_NTOH32(x) DUK_BSWAP32((x)) | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13919:8: note: in expansion of macro 'DUK_NTOH32' 13919 | u.x = DUK_NTOH32(u.x); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_float_t duk_raw_read_float_be(const duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13925:25: warning: use of old-style cast to 'void*' [-Wold-style-cast] 13925 | duk_memcpy((void *) fu.uc, (const void *) p, (size_t) 4); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13925:44: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 13925 | duk_memcpy((void *) fu.uc, (const void *) p, (size_t) 4); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13925:56: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 13925 | duk_memcpy((void *) fu.uc, (const void *) p, (size_t) 4); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13925:2: note: in expansion of macro 'duk_memcpy' 13925 | duk_memcpy((void *) fu.uc, (const void *) p, (size_t) 4); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk_raw_read_double_be(const duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13932:25: warning: use of old-style cast to 'void*' [-Wold-style-cast] 13932 | duk_memcpy((void *) du.uc, (const void *) p, (size_t) 8); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13932:44: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 13932 | duk_memcpy((void *) du.uc, (const void *) p, (size_t) 8); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13932:56: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 13932 | duk_memcpy((void *) du.uc, (const void *) p, (size_t) 8); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13932:2: note: in expansion of macro 'duk_memcpy' 13932 | duk_memcpy((void *) du.uc, (const void *) p, (size_t) 8); | ^~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_raw_write_u16_be(duk_uint8_t*, duk_uint16_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1290:75: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 1290 | #define DUK_BSWAP16(x) ((duk_uint16_t) __builtin_bswap16((duk_uint16_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2383:23: note: in expansion of macro 'DUK_BSWAP16' 2383 | #define DUK_HTON16(x) DUK_BSWAP16((x)) | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13963:8: note: in expansion of macro 'DUK_HTON16' 13963 | u.x = DUK_HTON16(val); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1290:76: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 1290 | #define DUK_BSWAP16(x) ((duk_uint16_t) __builtin_bswap16((duk_uint16_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2383:23: note: in expansion of macro 'DUK_BSWAP16' 2383 | #define DUK_HTON16(x) DUK_BSWAP16((x)) | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13963:8: note: in expansion of macro 'DUK_HTON16' 13963 | u.x = DUK_HTON16(val); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13964:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 13964 | duk_memcpy((void *) p, (const void *) u.b, (size_t) 2); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13964:42: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 13964 | duk_memcpy((void *) p, (const void *) u.b, (size_t) 2); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13964:54: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 13964 | duk_memcpy((void *) p, (const void *) u.b, (size_t) 2); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13964:2: note: in expansion of macro 'duk_memcpy' 13964 | duk_memcpy((void *) p, (const void *) u.b, (size_t) 2); | ^~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_raw_write_u32_be(duk_uint8_t*, duk_uint32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:75: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2381:23: note: in expansion of macro 'DUK_BSWAP32' 2381 | #define DUK_HTON32(x) DUK_BSWAP32((x)) | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13969:8: note: in expansion of macro 'DUK_HTON32' 13969 | u.x = DUK_HTON32(val); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:76: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2381:23: note: in expansion of macro 'DUK_BSWAP32' 2381 | #define DUK_HTON32(x) DUK_BSWAP32((x)) | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13969:8: note: in expansion of macro 'DUK_HTON32' 13969 | u.x = DUK_HTON32(val); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13970:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 13970 | duk_memcpy((void *) p, (const void *) u.b, (size_t) 4); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13970:42: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 13970 | duk_memcpy((void *) p, (const void *) u.b, (size_t) 4); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13970:54: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 13970 | duk_memcpy((void *) p, (const void *) u.b, (size_t) 4); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13970:2: note: in expansion of macro 'duk_memcpy' 13970 | duk_memcpy((void *) p, (const void *) u.b, (size_t) 4); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_raw_write_float_be(duk_uint8_t*, duk_float_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13977:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 13977 | duk_memcpy((void *) p, (const void *) fu.uc, (size_t) 4); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13977:43: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 13977 | duk_memcpy((void *) p, (const void *) fu.uc, (size_t) 4); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13977:56: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 13977 | duk_memcpy((void *) p, (const void *) fu.uc, (size_t) 4); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13977:2: note: in expansion of macro 'duk_memcpy' 13977 | duk_memcpy((void *) p, (const void *) fu.uc, (size_t) 4); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_raw_write_double_be(duk_uint8_t*, duk_double_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13984:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 13984 | duk_memcpy((void *) p, (const void *) du.uc, (size_t) 8); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13984:43: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 13984 | duk_memcpy((void *) p, (const void *) du.uc, (size_t) 8); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13984:56: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 13984 | duk_memcpy((void *) p, (const void *) du.uc, (size_t) 8); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:13984:2: note: in expansion of macro 'duk_memcpy' 13984 | duk_memcpy((void *) p, (const void *) du.uc, (size_t) 8); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void* duk_resize_buffer(duk_hthread*, duk_idx_t, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14363:58: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 14363 | h = (duk_hbuffer_dynamic *) duk_require_hbuffer(thr, idx); | ^ | - | reinterpret_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14367:3: note: in expansion of macro 'DUK_ERROR_TYPE' 14367 | DUK_ERROR_TYPE(thr, DUK_STR_WRONG_BUFFER_TYPE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14367:3: note: in expansion of macro 'DUK_ERROR_TYPE' 14367 | DUK_ERROR_TYPE(thr, DUK_STR_WRONG_BUFFER_TYPE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14367:3: note: in expansion of macro 'DUK_ERROR_TYPE' 14367 | DUK_ERROR_TYPE(thr, DUK_STR_WRONG_BUFFER_TYPE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void* duk_steal_buffer(duk_hthread*, duk_idx_t, duk_size_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14384:58: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 14384 | h = (duk_hbuffer_dynamic *) duk_require_hbuffer(thr, idx); | ^ | - | reinterpret_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14388:3: note: in expansion of macro 'DUK_ERROR_TYPE' 14388 | DUK_ERROR_TYPE(thr, DUK_STR_WRONG_BUFFER_TYPE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14388:3: note: in expansion of macro 'DUK_ERROR_TYPE' 14388 | DUK_ERROR_TYPE(thr, DUK_STR_WRONG_BUFFER_TYPE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14388:3: note: in expansion of macro 'DUK_ERROR_TYPE' 14388 | DUK_ERROR_TYPE(thr, DUK_STR_WRONG_BUFFER_TYPE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8656:84: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8656 | #define DUK_HBUFFER_DYNAMIC_GET_SIZE(x) DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:52: note: in definition of macro 'DUK_HBUFFER_GET_SIZE' 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14398:7: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_SIZE' 14398 | sz = DUK_HBUFFER_DYNAMIC_GET_SIZE(h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8656:45: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 8656 | #define DUK_HBUFFER_DYNAMIC_GET_SIZE(x) DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14398:7: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_SIZE' 14398 | sz = DUK_HBUFFER_DYNAMIC_GET_SIZE(h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8657:84: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8657 | #define DUK_HBUFFER_DYNAMIC_SET_SIZE(x, v) DUK_HBUFFER_SET_SIZE((duk_hbuffer *) (x), (v)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8641:21: note: in definition of macro 'DUK_HBUFFER_SET_SIZE' 8641 | ((duk_hbuffer *) (x))->size = (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14403:2: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_SET_SIZE' 14403 | DUK_HBUFFER_DYNAMIC_SET_SIZE(h, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8641:22: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8641 | ((duk_hbuffer *) (x))->size = (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8657:45: note: in expansion of macro 'DUK_HBUFFER_SET_SIZE' 8657 | #define DUK_HBUFFER_DYNAMIC_SET_SIZE(x, v) DUK_HBUFFER_SET_SIZE((duk_hbuffer *) (x), (v)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14403:2: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_SET_SIZE' 14403 | DUK_HBUFFER_DYNAMIC_SET_SIZE(h, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_config_buffer(duk_hthread*, duk_idx_t, void*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14413:59: warning: use of old-style cast to 'duk_hbuffer_external*' {aka 'struct duk_hbuffer_external*'} [-Wold-style-cast] 14413 | h = (duk_hbuffer_external *) duk_require_hbuffer(thr, idx); | ^ | - | reinterpret_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14417:3: note: in expansion of macro 'DUK_ERROR_TYPE' 14417 | DUK_ERROR_TYPE(thr, DUK_STR_WRONG_BUFFER_TYPE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14417:3: note: in expansion of macro 'DUK_ERROR_TYPE' 14417 | DUK_ERROR_TYPE(thr, DUK_STR_WRONG_BUFFER_TYPE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14417:3: note: in expansion of macro 'DUK_ERROR_TYPE' 14417 | DUK_ERROR_TYPE(thr, DUK_STR_WRONG_BUFFER_TYPE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8706:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8706 | (x)->curr_alloc = (void *) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14422:2: note: in expansion of macro 'DUK_HBUFFER_EXTERNAL_SET_DATA_PTR' 14422 | DUK_HBUFFER_EXTERNAL_SET_DATA_PTR(thr->heap, h, ptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8662:84: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8662 | #define DUK_HBUFFER_EXTERNAL_SET_SIZE(x, v) DUK_HBUFFER_SET_SIZE((duk_hbuffer *) (x), (v)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8641:21: note: in definition of macro 'DUK_HBUFFER_SET_SIZE' 8641 | ((duk_hbuffer *) (x))->size = (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14423:2: note: in expansion of macro 'DUK_HBUFFER_EXTERNAL_SET_SIZE' 14423 | DUK_HBUFFER_EXTERNAL_SET_SIZE(h, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8641:22: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8641 | ((duk_hbuffer *) (x))->size = (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8662:45: note: in expansion of macro 'DUK_HBUFFER_SET_SIZE' 8662 | #define DUK_HBUFFER_EXTERNAL_SET_SIZE(x, v) DUK_HBUFFER_SET_SIZE((duk_hbuffer *) (x), (v)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14423:2: note: in expansion of macro 'DUK_HBUFFER_EXTERNAL_SET_SIZE' 14423 | DUK_HBUFFER_EXTERNAL_SET_SIZE(h, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const duk_uint8_t* duk__load_string_raw(duk_hthread*, const duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14455:39: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 14455 | duk_push_lstring(thr, (const char *) p, len); | ^ | ---------------- | reinterpret_cast ( p) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const duk_uint8_t* duk__load_buffer_raw(duk_hthread*, const duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14465:71: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 14465 | buf = (duk_uint8_t *) duk_push_fixed_buffer_nozero(thr, (duk_size_t) len); | ^~~ | ---------------- | static_cast ( len) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14465:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 14465 | buf = (duk_uint8_t *) duk_push_fixed_buffer_nozero(thr, (duk_size_t) len); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14467:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 14467 | duk_memcpy((void *) buf, (const void *) p, (size_t) len); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14467:42: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 14467 | duk_memcpy((void *) buf, (const void *) p, (size_t) len); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14467:54: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 14467 | duk_memcpy((void *) buf, (const void *) p, (size_t) len); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14467:2: note: in expansion of macro 'duk_memcpy' 14467 | duk_memcpy((void *) buf, (const void *) p, (size_t) len); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint8_t* duk__dump_hstring_raw(duk_uint8_t*, duk_hstring*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14480:25: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 14480 | tmp32 = (duk_uint32_t) len; | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2442:97: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2442 | #define DUK_RAW_WRITEINC_U32_BE(ptr, val) duk_raw_writeinc_u32_be(&(ptr), (duk_uint32_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14481:2: note: in expansion of macro 'DUK_RAW_WRITEINC_U32_BE' 14481 | DUK_RAW_WRITEINC_U32_BE(p, tmp32); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14482:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 14482 | duk_memcpy((void *) p, (const void *) DUK_HSTRING_GET_DATA(h), len); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14482:40: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 14482 | duk_memcpy((void *) p, (const void *) DUK_HSTRING_GET_DATA(h), len); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14482:40: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 14482 | duk_memcpy((void *) p, (const void *) DUK_HSTRING_GET_DATA(h), len); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14482:2: note: in expansion of macro 'duk_memcpy' 14482 | duk_memcpy((void *) p, (const void *) DUK_HSTRING_GET_DATA(h), len); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint8_t* duk__dump_hbuffer_raw(duk_hthread*, duk_uint8_t*, duk_hbuffer*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14495:8: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 14495 | len = DUK_HBUFFER_GET_SIZE(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14497:25: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 14497 | tmp32 = (duk_uint32_t) len; | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2442:97: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2442 | #define DUK_RAW_WRITEINC_U32_BE(ptr, val) duk_raw_writeinc_u32_be(&(ptr), (duk_uint32_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14498:2: note: in expansion of macro 'DUK_RAW_WRITEINC_U32_BE' 14498 | DUK_RAW_WRITEINC_U32_BE(p, tmp32); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14500:29: warning: use of old-style cast to 'void*' [-Wold-style-cast] 14500 | duk_memcpy_unsafe((void *) p, (const void *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h), len); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:34: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14500:47: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 14500 | duk_memcpy_unsafe((void *) p, (const void *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h), len); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14500:47: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 14500 | duk_memcpy_unsafe((void *) p, (const void *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h), len); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14500:47: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 14500 | duk_memcpy_unsafe((void *) p, (const void *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h), len); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14500:47: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 14500 | duk_memcpy_unsafe((void *) p, (const void *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h), len); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14500:47: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 14500 | duk_memcpy_unsafe((void *) p, (const void *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h), len); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14500:47: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 14500 | duk_memcpy_unsafe((void *) p, (const void *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h), len); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14500:47: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 14500 | duk_memcpy_unsafe((void *) p, (const void *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h), len); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14500:2: note: in expansion of macro 'duk_memcpy_unsafe' 14500 | duk_memcpy_unsafe((void *) p, (const void *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h), len); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint8_t* duk__dump_string_prop(duk_hthread*, duk_uint8_t*, duk_bufwriter_ctx*, duk_hobject*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14513:73: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 14513 | tv = duk_hobject_find_entry_tval_ptr_stridx(thr->heap, (duk_hobject *) func, stridx); | ^~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1181:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1181 | #define DUK_TVAL_IS_STRING(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14514:20: note: in expansion of macro 'DUK_TVAL_IS_STRING' 14514 | if (tv != NULL && DUK_TVAL_IS_STRING(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14515:11: note: in expansion of macro 'DUK_TVAL_GET_STRING' 14515 | h_str = DUK_TVAL_GET_STRING(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:43: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14522:6: note: in expansion of macro 'DUK_BW_ENSURE_RAW' 14522 | p = DUK_BW_ENSURE_RAW(thr, bw_ctx, 4U + DUK_HSTRING_GET_BYTELEN(h_str), p); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint8_t* duk__dump_buffer_prop(duk_hthread*, duk_uint8_t*, duk_bufwriter_ctx*, duk_hobject*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14534:73: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 14534 | tv = duk_hobject_find_entry_tval_ptr_stridx(thr->heap, (duk_hobject *) func, stridx); | ^~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1183:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1183 | #define DUK_TVAL_IS_BUFFER(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14535:20: note: in expansion of macro 'DUK_TVAL_IS_BUFFER' 14535 | if (tv != NULL && DUK_TVAL_IS_BUFFER(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1167:85: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 1167 | #define DUK_TVAL_GET_BUFFER(tv) ((duk_hbuffer *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14537:11: note: in expansion of macro 'DUK_TVAL_GET_BUFFER' 14537 | h_buf = DUK_TVAL_GET_BUFFER(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:43: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14540:7: note: in expansion of macro 'DUK_BW_ENSURE_RAW' 14540 | p = DUK_BW_ENSURE_RAW(thr, bw_ctx, 4U + DUK_HBUFFER_GET_SIZE(h_buf), p); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:49: note: in definition of macro 'DUK_BW_ENSURE_RAW' 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14540:43: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 14540 | p = DUK_BW_ENSURE_RAW(thr, bw_ctx, 4U + DUK_HBUFFER_GET_SIZE(h_buf), p); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:118: note: in definition of macro 'DUK_BW_ENSURE_RAW' 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14540:43: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 14540 | p = DUK_BW_ENSURE_RAW(thr, bw_ctx, 4U + DUK_HBUFFER_GET_SIZE(h_buf), p); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:43: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14543:7: note: in expansion of macro 'DUK_BW_ENSURE_RAW' 14543 | p = DUK_BW_ENSURE_RAW(thr, bw_ctx, 4U, p); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2442:97: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2442 | #define DUK_RAW_WRITEINC_U32_BE(ptr, val) duk_raw_writeinc_u32_be(&(ptr), (duk_uint32_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14544:3: note: in expansion of macro 'DUK_RAW_WRITEINC_U32_BE' 14544 | DUK_RAW_WRITEINC_U32_BE(p, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint8_t* duk__dump_uint32_prop(duk_hthread*, duk_uint8_t*, duk_bufwriter_ctx*, duk_hobject*, duk_small_uint_t, duk_uint32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14558:73: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 14558 | tv = duk_hobject_find_entry_tval_ptr_stridx(thr->heap, (duk_hobject *) func, stridx); | ^~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14559:20: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 14559 | if (tv != NULL && DUK_TVAL_IS_NUMBER(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1155:41: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1155 | #define DUK_TVAL_GET_NUMBER(tv) ((tv)->d) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14560:24: note: in expansion of macro 'DUK_TVAL_GET_NUMBER' 14560 | val = (duk_uint32_t) DUK_TVAL_GET_NUMBER(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:43: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14564:6: note: in expansion of macro 'DUK_BW_ENSURE_RAW' 14564 | p = DUK_BW_ENSURE_RAW(thr, bw_ctx, 4U, p); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2442:97: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2442 | #define DUK_RAW_WRITEINC_U32_BE(ptr, val) duk_raw_writeinc_u32_be(&(ptr), (duk_uint32_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14565:2: note: in expansion of macro 'DUK_RAW_WRITEINC_U32_BE' 14565 | DUK_RAW_WRITEINC_U32_BE(p, val); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint8_t* duk__dump_varmap(duk_hthread*, duk_uint8_t*, duk_bufwriter_ctx*, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14572:50: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 14572 | h = duk_hobject_get_varmap(thr, (duk_hobject *) func); | ^~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7132:46: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 7132 | #define DUK_HOBJECT_GET_ENEXT(h) ((h)->e_next) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14581:39: note: in expansion of macro 'DUK_HOBJECT_GET_ENEXT' 14581 | for (i = 0; i < (duk_uint_fast32_t) DUK_HOBJECT_GET_ENEXT(h); i++) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14586:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 14586 | key = DUK_HOBJECT_E_GET_KEY(thr->heap, h, i); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14586:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 14586 | key = DUK_HOBJECT_E_GET_KEY(thr->heap, h, i); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14589:13: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 14589 | tv_val = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, h, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14589:13: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 14589 | tv_val = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, h, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1155:41: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1155 | #define DUK_TVAL_GET_NUMBER(tv) ((tv)->d) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14598:25: note: in expansion of macro 'DUK_TVAL_GET_NUMBER' 14598 | val = (duk_uint32_t) DUK_TVAL_GET_NUMBER(tv_val); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:43: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14602:8: note: in expansion of macro 'DUK_BW_ENSURE_RAW' 14602 | p = DUK_BW_ENSURE_RAW(thr, bw_ctx, 4U + DUK_HSTRING_GET_BYTELEN(key) + 4U, p); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2442:97: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2442 | #define DUK_RAW_WRITEINC_U32_BE(ptr, val) duk_raw_writeinc_u32_be(&(ptr), (duk_uint32_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14604:4: note: in expansion of macro 'DUK_RAW_WRITEINC_U32_BE' 14604 | DUK_RAW_WRITEINC_U32_BE(p, val); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:43: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14607:6: note: in expansion of macro 'DUK_BW_ENSURE_RAW' 14607 | p = DUK_BW_ENSURE_RAW(thr, bw_ctx, 4U, p); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2442:97: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2442 | #define DUK_RAW_WRITEINC_U32_BE(ptr, val) duk_raw_writeinc_u32_be(&(ptr), (duk_uint32_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14608:2: note: in expansion of macro 'DUK_RAW_WRITEINC_U32_BE' 14608 | DUK_RAW_WRITEINC_U32_BE(p, 0); /* end of _Varmap */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint8_t* duk__dump_formals(duk_hthread*, duk_uint8_t*, duk_bufwriter_ctx*, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14615:51: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 14615 | h = duk_hobject_get_formals(thr, (duk_hobject *) func); | ^~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:43: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14625:7: note: in expansion of macro 'DUK_BW_ENSURE_RAW' 14625 | p = DUK_BW_ENSURE_RAW(thr, bw_ctx, 4U, p); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2442:97: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2442 | #define DUK_RAW_WRITEINC_U32_BE(ptr, val) duk_raw_writeinc_u32_be(&(ptr), (duk_uint32_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14627:3: note: in expansion of macro 'DUK_RAW_WRITEINC_U32_BE' 14627 | DUK_RAW_WRITEINC_U32_BE(p, h->length); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14633:68: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 14633 | tv_val = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, (duk_hobject *) h, i); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6893:42: note: in definition of macro 'DUK_HOBJECT_GET_PROPS' 6893 | #define DUK_HOBJECT_GET_PROPS(heap, h) ((h)->props) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14633:13: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 14633 | tv_val = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, (duk_hobject *) h, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14633:68: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 14633 | tv_val = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, (duk_hobject *) h, i); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7127:36: note: in definition of macro 'DUK_HOBJECT_GET_ESIZE' 7127 | #define DUK_HOBJECT_GET_ESIZE(h) ((h)->e_size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14633:13: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 14633 | tv_val = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, (duk_hobject *) h, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14633:68: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 14633 | tv_val = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, (duk_hobject *) h, i); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6933:49: note: in definition of macro 'DUK_HOBJECT_E_FLAG_PADDING' 6933 | #define DUK_HOBJECT_E_FLAG_PADDING(e_sz) ((8 - (e_sz)) & 0x07) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:53: note: in expansion of macro 'DUK_HOBJECT_GET_ESIZE' 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14633:13: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 14633 | tv_val = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, (duk_hobject *) h, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14633:13: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 14633 | tv_val = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, (duk_hobject *) h, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14633:13: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 14633 | tv_val = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, (duk_hobject *) h, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14637:14: note: in expansion of macro 'DUK_TVAL_GET_STRING' 14637 | varname = DUK_TVAL_GET_STRING(tv_val); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:43: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14642:8: note: in expansion of macro 'DUK_BW_ENSURE_RAW' 14642 | p = DUK_BW_ENSURE_RAW(thr, bw_ctx, 4U + DUK_HSTRING_GET_BYTELEN(varname), p); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:43: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14647:7: note: in expansion of macro 'DUK_BW_ENSURE_RAW' 14647 | p = DUK_BW_ENSURE_RAW(thr, bw_ctx, 4U, p); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2442:97: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2442 | #define DUK_RAW_WRITEINC_U32_BE(ptr, val) duk_raw_writeinc_u32_be(&(ptr), (duk_uint32_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14648:3: note: in expansion of macro 'DUK_RAW_WRITEINC_U32_BE' 14648 | DUK_RAW_WRITEINC_U32_BE(p, DUK__NO_FORMALS); /* marker: no formals */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint8_t* duk__dump_func(duk_hthread*, duk_hcompfunc*, duk_bufwriter_ctx*, duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7627:68: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7627 | ((duk_instr_t *) (void *) (DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) + \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7639:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 7639 | ((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CODE_END((heap), (h))) - \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7646:62: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_SIZE' 7646 | #define DUK_HCOMPFUNC_GET_CODE_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CODE_SIZE((heap), (h)) / sizeof(duk_instr_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14683:31: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_COUNT' 14683 | count_instr = (duk_uint32_t) DUK_HCOMPFUNC_GET_CODE_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7627:68: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7627 | ((duk_instr_t *) (void *) (DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) + \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7639:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 7639 | ((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CODE_END((heap), (h))) - \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7646:62: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_SIZE' 7646 | #define DUK_HCOMPFUNC_GET_CODE_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CODE_SIZE((heap), (h)) / sizeof(duk_instr_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14683:31: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_COUNT' 14683 | count_instr = (duk_uint32_t) DUK_HCOMPFUNC_GET_CODE_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7627:29: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7627 | ((duk_instr_t *) (void *) (DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7639:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 7639 | ((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CODE_END((heap), (h))) - \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7646:62: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_SIZE' 7646 | #define DUK_HCOMPFUNC_GET_CODE_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CODE_SIZE((heap), (h)) / sizeof(duk_instr_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14683:31: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_COUNT' 14683 | count_instr = (duk_uint32_t) DUK_HCOMPFUNC_GET_CODE_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7627:29: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7627 | ((duk_instr_t *) (void *) (DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7639:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 7639 | ((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CODE_END((heap), (h))) - \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7646:62: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_SIZE' 7646 | #define DUK_HCOMPFUNC_GET_CODE_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CODE_SIZE((heap), (h)) / sizeof(duk_instr_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14683:31: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_COUNT' 14683 | count_instr = (duk_uint32_t) DUK_HCOMPFUNC_GET_CODE_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7627:29: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7627 | ((duk_instr_t *) (void *) (DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7639:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 7639 | ((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CODE_END((heap), (h))) - \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7646:62: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_SIZE' 7646 | #define DUK_HCOMPFUNC_GET_CODE_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CODE_SIZE((heap), (h)) / sizeof(duk_instr_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14683:31: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_COUNT' 14683 | count_instr = (duk_uint32_t) DUK_HCOMPFUNC_GET_CODE_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:52: note: in definition of macro 'DUK_HBUFFER_GET_SIZE' 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7628:66: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7628 | DUK_HBUFFER_GET_SIZE((duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA((heap), h)))) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7639:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 7639 | ((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CODE_END((heap), (h))) - \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7646:62: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_SIZE' 7646 | #define DUK_HCOMPFUNC_GET_CODE_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CODE_SIZE((heap), (h)) / sizeof(duk_instr_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14683:31: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_COUNT' 14683 | count_instr = (duk_uint32_t) DUK_HCOMPFUNC_GET_CODE_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:52: note: in definition of macro 'DUK_HBUFFER_GET_SIZE' 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7628:66: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7628 | DUK_HBUFFER_GET_SIZE((duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA((heap), h)))) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7639:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 7639 | ((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CODE_END((heap), (h))) - \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7646:62: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_SIZE' 7646 | #define DUK_HCOMPFUNC_GET_CODE_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CODE_SIZE((heap), (h)) / sizeof(duk_instr_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14683:31: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_COUNT' 14683 | count_instr = (duk_uint32_t) DUK_HCOMPFUNC_GET_CODE_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:82: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:52: note: in definition of macro 'DUK_HBUFFER_GET_SIZE' 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7628:66: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7628 | DUK_HBUFFER_GET_SIZE((duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA((heap), h)))) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7639:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 7639 | ((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CODE_END((heap), (h))) - \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7646:62: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_SIZE' 7646 | #define DUK_HCOMPFUNC_GET_CODE_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CODE_SIZE((heap), (h)) / sizeof(duk_instr_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14683:31: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_COUNT' 14683 | count_instr = (duk_uint32_t) DUK_HCOMPFUNC_GET_CODE_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7628:29: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 7628 | DUK_HBUFFER_GET_SIZE((duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA((heap), h)))) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7639:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 7639 | ((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CODE_END((heap), (h))) - \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7646:62: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_SIZE' 7646 | #define DUK_HCOMPFUNC_GET_CODE_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CODE_SIZE((heap), (h)) / sizeof(duk_instr_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14683:31: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_COUNT' 14683 | count_instr = (duk_uint32_t) DUK_HCOMPFUNC_GET_CODE_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7628:100: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7628 | DUK_HBUFFER_GET_SIZE((duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA((heap), h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7639:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 7639 | ((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CODE_END((heap), (h))) - \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7646:62: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_SIZE' 7646 | #define DUK_HCOMPFUNC_GET_CODE_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CODE_SIZE((heap), (h)) / sizeof(duk_instr_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14683:31: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_COUNT' 14683 | count_instr = (duk_uint32_t) DUK_HCOMPFUNC_GET_CODE_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7628:100: warning: use of old-style cast to 'duk_instr_t*' {aka 'unsigned int*'} [-Wold-style-cast] 7628 | DUK_HBUFFER_GET_SIZE((duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA((heap), h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7639:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 7639 | ((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CODE_END((heap), (h))) - \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7646:62: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_SIZE' 7646 | #define DUK_HCOMPFUNC_GET_CODE_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CODE_SIZE((heap), (h)) / sizeof(duk_instr_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14683:31: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_COUNT' 14683 | count_instr = (duk_uint32_t) DUK_HCOMPFUNC_GET_CODE_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7628:101: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 7628 | DUK_HBUFFER_GET_SIZE((duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA((heap), h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7639:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 7639 | ((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CODE_END((heap), (h))) - \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7646:62: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_SIZE' 7646 | #define DUK_HCOMPFUNC_GET_CODE_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CODE_SIZE((heap), (h)) / sizeof(duk_instr_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14683:31: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_COUNT' 14683 | count_instr = (duk_uint32_t) DUK_HCOMPFUNC_GET_CODE_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7591:59: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 7591 | #define DUK_HCOMPFUNC_GET_BYTECODE(heap, h) ((h)->bytecode) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7619:46: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BYTECODE' 7619 | #define DUK_HCOMPFUNC_GET_CODE_BASE(heap, h) DUK_HCOMPFUNC_GET_BYTECODE((heap), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7640:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_BASE' 7640 | ((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CODE_BASE((heap), (h))))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7646:62: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_SIZE' 7646 | #define DUK_HCOMPFUNC_GET_CODE_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CODE_SIZE((heap), (h)) / sizeof(duk_instr_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14683:31: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_COUNT' 14683 | count_instr = (duk_uint32_t) DUK_HCOMPFUNC_GET_CODE_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7640:81: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 7640 | ((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CODE_BASE((heap), (h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7646:62: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_SIZE' 7646 | #define DUK_HCOMPFUNC_GET_CODE_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CODE_SIZE((heap), (h)) / sizeof(duk_instr_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14683:31: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_COUNT' 14683 | count_instr = (duk_uint32_t) DUK_HCOMPFUNC_GET_CODE_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7646:124: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 7646 | #define DUK_HCOMPFUNC_GET_CODE_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CODE_SIZE((heap), (h)) / sizeof(duk_instr_t))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14683:31: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_COUNT' 14683 | count_instr = (duk_uint32_t) DUK_HCOMPFUNC_GET_CODE_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7646:125: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 7646 | #define DUK_HCOMPFUNC_GET_CODE_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CODE_SIZE((heap), (h)) / sizeof(duk_instr_t))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14683:31: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_COUNT' 14683 | count_instr = (duk_uint32_t) DUK_HCOMPFUNC_GET_CODE_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:43: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14684:6: note: in expansion of macro 'DUK_BW_ENSURE_RAW' 14684 | p = DUK_BW_ENSURE_RAW(thr, bw_ctx, 3U * 4U + 2U * 2U + 3U * 4U + count_instr * 4U, p); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2442:97: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2442 | #define DUK_RAW_WRITEINC_U32_BE(ptr, val) duk_raw_writeinc_u32_be(&(ptr), (duk_uint32_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14688:2: note: in expansion of macro 'DUK_RAW_WRITEINC_U32_BE' 14688 | DUK_RAW_WRITEINC_U32_BE(p, tmp32); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7586:53: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7586 | #define DUK_HCOMPFUNC_GET_FUNCS(heap, h) ((h)->funcs) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7621:70: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS' 7621 | #define DUK_HCOMPFUNC_GET_CONSTS_END(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_FUNCS((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7631:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_END' 7631 | ((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CONSTS_END((heap), (h))) - \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7642:64: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_SIZE' 7642 | #define DUK_HCOMPFUNC_GET_CONSTS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CONSTS_SIZE((heap), (h)) / sizeof(duk_tval))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14689:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_COUNT' 14689 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_CONSTS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7586:53: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 7586 | #define DUK_HCOMPFUNC_GET_FUNCS(heap, h) ((h)->funcs) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7621:70: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS' 7621 | #define DUK_HCOMPFUNC_GET_CONSTS_END(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_FUNCS((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7631:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_END' 7631 | ((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CONSTS_END((heap), (h))) - \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7642:64: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_SIZE' 7642 | #define DUK_HCOMPFUNC_GET_CONSTS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CONSTS_SIZE((heap), (h)) / sizeof(duk_tval))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14689:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_COUNT' 14689 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_CONSTS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7621:106: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 7621 | #define DUK_HCOMPFUNC_GET_CONSTS_END(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_FUNCS((heap), (h))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7631:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_END' 7631 | ((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CONSTS_END((heap), (h))) - \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7642:64: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_SIZE' 7642 | #define DUK_HCOMPFUNC_GET_CONSTS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CONSTS_SIZE((heap), (h)) / sizeof(duk_tval))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14689:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_COUNT' 14689 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_CONSTS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:87: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7632:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 7632 | ((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CONSTS_BASE((heap), (h))))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7642:64: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_SIZE' 7642 | #define DUK_HCOMPFUNC_GET_CONSTS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CONSTS_SIZE((heap), (h)) / sizeof(duk_tval))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14689:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_COUNT' 14689 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_CONSTS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:87: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7632:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 7632 | ((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CONSTS_BASE((heap), (h))))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7642:64: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_SIZE' 7642 | #define DUK_HCOMPFUNC_GET_CONSTS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CONSTS_SIZE((heap), (h)) / sizeof(duk_tval))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14689:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_COUNT' 14689 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_CONSTS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7632:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 7632 | ((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CONSTS_BASE((heap), (h))))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7642:64: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_SIZE' 7642 | #define DUK_HCOMPFUNC_GET_CONSTS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CONSTS_SIZE((heap), (h)) / sizeof(duk_tval))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14689:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_COUNT' 14689 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_CONSTS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7632:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 7632 | ((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CONSTS_BASE((heap), (h))))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7642:64: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_SIZE' 7642 | #define DUK_HCOMPFUNC_GET_CONSTS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CONSTS_SIZE((heap), (h)) / sizeof(duk_tval))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14689:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_COUNT' 14689 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_CONSTS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7632:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 7632 | ((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CONSTS_BASE((heap), (h))))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7642:64: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_SIZE' 7642 | #define DUK_HCOMPFUNC_GET_CONSTS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CONSTS_SIZE((heap), (h)) / sizeof(duk_tval))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14689:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_COUNT' 14689 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_CONSTS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:108: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7632:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 7632 | ((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CONSTS_BASE((heap), (h))))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7642:64: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_SIZE' 7642 | #define DUK_HCOMPFUNC_GET_CONSTS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CONSTS_SIZE((heap), (h)) / sizeof(duk_tval))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14689:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_COUNT' 14689 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_CONSTS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:108: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7632:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 7632 | ((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CONSTS_BASE((heap), (h))))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7642:64: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_SIZE' 7642 | #define DUK_HCOMPFUNC_GET_CONSTS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CONSTS_SIZE((heap), (h)) / sizeof(duk_tval))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14689:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_COUNT' 14689 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_CONSTS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:113: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7632:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 7632 | ((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CONSTS_BASE((heap), (h))))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7642:64: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_SIZE' 7642 | #define DUK_HCOMPFUNC_GET_CONSTS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CONSTS_SIZE((heap), (h)) / sizeof(duk_tval))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14689:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_COUNT' 14689 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_CONSTS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7632:83: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 7632 | ((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CONSTS_BASE((heap), (h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7642:64: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_SIZE' 7642 | #define DUK_HCOMPFUNC_GET_CONSTS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CONSTS_SIZE((heap), (h)) / sizeof(duk_tval))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14689:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_COUNT' 14689 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_CONSTS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7642:125: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 7642 | #define DUK_HCOMPFUNC_GET_CONSTS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CONSTS_SIZE((heap), (h)) / sizeof(duk_tval))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14689:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_COUNT' 14689 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_CONSTS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7642:126: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 7642 | #define DUK_HCOMPFUNC_GET_CONSTS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_CONSTS_SIZE((heap), (h)) / sizeof(duk_tval))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14689:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_COUNT' 14689 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_CONSTS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2442:97: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2442 | #define DUK_RAW_WRITEINC_U32_BE(ptr, val) duk_raw_writeinc_u32_be(&(ptr), (duk_uint32_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14690:2: note: in expansion of macro 'DUK_RAW_WRITEINC_U32_BE' 14690 | DUK_RAW_WRITEINC_U32_BE(p, tmp32); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7591:59: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7591 | #define DUK_HCOMPFUNC_GET_BYTECODE(heap, h) ((h)->bytecode) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7623:73: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BYTECODE' 7623 | #define DUK_HCOMPFUNC_GET_FUNCS_END(heap, h) ((duk_hobject **) (void *) DUK_HCOMPFUNC_GET_BYTECODE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7635:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_END' 7635 | ((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_FUNCS_END((heap), (h))) - \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7644:63: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_SIZE' 7644 | #define DUK_HCOMPFUNC_GET_FUNCS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_FUNCS_SIZE((heap), (h)) / sizeof(duk_hobject *))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14691:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_COUNT' 14691 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_FUNCS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7591:59: warning: use of old-style cast to 'duk_hobject**' {aka 'struct duk_hobject**'} [-Wold-style-cast] 7591 | #define DUK_HCOMPFUNC_GET_BYTECODE(heap, h) ((h)->bytecode) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7623:73: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BYTECODE' 7623 | #define DUK_HCOMPFUNC_GET_FUNCS_END(heap, h) ((duk_hobject **) (void *) DUK_HCOMPFUNC_GET_BYTECODE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7635:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_END' 7635 | ((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_FUNCS_END((heap), (h))) - \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7644:63: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_SIZE' 7644 | #define DUK_HCOMPFUNC_GET_FUNCS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_FUNCS_SIZE((heap), (h)) / sizeof(duk_hobject *))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14691:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_COUNT' 14691 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_FUNCS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7623:112: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 7623 | #define DUK_HCOMPFUNC_GET_FUNCS_END(heap, h) ((duk_hobject **) (void *) DUK_HCOMPFUNC_GET_BYTECODE((heap), (h))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7635:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_END' 7635 | ((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_FUNCS_END((heap), (h))) - \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7644:63: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_SIZE' 7644 | #define DUK_HCOMPFUNC_GET_FUNCS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_FUNCS_SIZE((heap), (h)) / sizeof(duk_hobject *))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14691:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_COUNT' 14691 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_FUNCS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7586:53: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 7586 | #define DUK_HCOMPFUNC_GET_FUNCS(heap, h) ((h)->funcs) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7617:47: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS' 7617 | #define DUK_HCOMPFUNC_GET_FUNCS_BASE(heap, h) DUK_HCOMPFUNC_GET_FUNCS((heap), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7636:40: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_BASE' 7636 | ((const duk_uint8_t *) DUK_HCOMPFUNC_GET_FUNCS_BASE((heap), (h))))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7644:63: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_SIZE' 7644 | #define DUK_HCOMPFUNC_GET_FUNCS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_FUNCS_SIZE((heap), (h)) / sizeof(duk_hobject *))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14691:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_COUNT' 14691 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_FUNCS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7636:82: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 7636 | ((const duk_uint8_t *) DUK_HCOMPFUNC_GET_FUNCS_BASE((heap), (h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7644:63: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_SIZE' 7644 | #define DUK_HCOMPFUNC_GET_FUNCS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_FUNCS_SIZE((heap), (h)) / sizeof(duk_hobject *))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14691:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_COUNT' 14691 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_FUNCS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7644:128: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 7644 | #define DUK_HCOMPFUNC_GET_FUNCS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_FUNCS_SIZE((heap), (h)) / sizeof(duk_hobject *))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14691:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_COUNT' 14691 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_FUNCS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7644:129: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 7644 | #define DUK_HCOMPFUNC_GET_FUNCS_COUNT(heap, h) ((duk_size_t) (DUK_HCOMPFUNC_GET_FUNCS_SIZE((heap), (h)) / sizeof(duk_hobject *))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14691:25: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_COUNT' 14691 | tmp32 = (duk_uint32_t) DUK_HCOMPFUNC_GET_FUNCS_COUNT(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2442:97: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2442 | #define DUK_RAW_WRITEINC_U32_BE(ptr, val) duk_raw_writeinc_u32_be(&(ptr), (duk_uint32_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14692:2: note: in expansion of macro 'DUK_RAW_WRITEINC_U32_BE' 14692 | DUK_RAW_WRITEINC_U32_BE(p, tmp32); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2441:97: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 2441 | #define DUK_RAW_WRITEINC_U16_BE(ptr, val) duk_raw_writeinc_u16_be(&(ptr), (duk_uint16_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14694:2: note: in expansion of macro 'DUK_RAW_WRITEINC_U16_BE' 14694 | DUK_RAW_WRITEINC_U16_BE(p, tmp16); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2441:97: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 2441 | #define DUK_RAW_WRITEINC_U16_BE(ptr, val) duk_raw_writeinc_u16_be(&(ptr), (duk_uint16_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14696:2: note: in expansion of macro 'DUK_RAW_WRITEINC_U16_BE' 14696 | DUK_RAW_WRITEINC_U16_BE(p, tmp16); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2442:97: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2442 | #define DUK_RAW_WRITEINC_U32_BE(ptr, val) duk_raw_writeinc_u32_be(&(ptr), (duk_uint32_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14703:2: note: in expansion of macro 'DUK_RAW_WRITEINC_U32_BE' 14703 | DUK_RAW_WRITEINC_U32_BE(p, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2442:97: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2442 | #define DUK_RAW_WRITEINC_U32_BE(ptr, val) duk_raw_writeinc_u32_be(&(ptr), (duk_uint32_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14704:2: note: in expansion of macro 'DUK_RAW_WRITEINC_U32_BE' 14704 | DUK_RAW_WRITEINC_U32_BE(p, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14706:48: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 14706 | tmp32 = DUK_HEAPHDR_GET_FLAGS((duk_heaphdr *) func); /* masks flags, only duk_hobject flags */ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4745:36: note: in definition of macro 'DUK_HEAPHDR_GET_FLAGS' 4745 | #define DUK_HEAPHDR_GET_FLAGS(h) ((h)->h_flags & DUK_HEAPHDR_FLAGS_FLAG_MASK) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2442:97: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2442 | #define DUK_RAW_WRITEINC_U32_BE(ptr, val) duk_raw_writeinc_u32_be(&(ptr), (duk_uint32_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14708:2: note: in expansion of macro 'DUK_RAW_WRITEINC_U32_BE' 14708 | DUK_RAW_WRITEINC_U32_BE(p, tmp32); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7627:68: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7627 | ((duk_instr_t *) (void *) (DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) + \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14714:12: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 14714 | ins_end = DUK_HCOMPFUNC_GET_CODE_END(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7627:68: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7627 | ((duk_instr_t *) (void *) (DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) + \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14714:12: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 14714 | ins_end = DUK_HCOMPFUNC_GET_CODE_END(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7627:29: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7627 | ((duk_instr_t *) (void *) (DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14714:12: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 14714 | ins_end = DUK_HCOMPFUNC_GET_CODE_END(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7627:29: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7627 | ((duk_instr_t *) (void *) (DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14714:12: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 14714 | ins_end = DUK_HCOMPFUNC_GET_CODE_END(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7627:29: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7627 | ((duk_instr_t *) (void *) (DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14714:12: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 14714 | ins_end = DUK_HCOMPFUNC_GET_CODE_END(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:52: note: in definition of macro 'DUK_HBUFFER_GET_SIZE' 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7628:66: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7628 | DUK_HBUFFER_GET_SIZE((duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA((heap), h)))) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14714:12: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 14714 | ins_end = DUK_HCOMPFUNC_GET_CODE_END(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:52: note: in definition of macro 'DUK_HBUFFER_GET_SIZE' 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7628:66: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7628 | DUK_HBUFFER_GET_SIZE((duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA((heap), h)))) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14714:12: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 14714 | ins_end = DUK_HCOMPFUNC_GET_CODE_END(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:82: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:52: note: in definition of macro 'DUK_HBUFFER_GET_SIZE' 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7628:66: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7628 | DUK_HBUFFER_GET_SIZE((duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA((heap), h)))) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14714:12: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 14714 | ins_end = DUK_HCOMPFUNC_GET_CODE_END(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7628:29: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 7628 | DUK_HBUFFER_GET_SIZE((duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA((heap), h)))) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14714:12: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 14714 | ins_end = DUK_HCOMPFUNC_GET_CODE_END(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7628:100: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7628 | DUK_HBUFFER_GET_SIZE((duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA((heap), h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14714:12: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 14714 | ins_end = DUK_HCOMPFUNC_GET_CODE_END(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7628:100: warning: use of old-style cast to 'duk_instr_t*' {aka 'unsigned int*'} [-Wold-style-cast] 7628 | DUK_HBUFFER_GET_SIZE((duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA((heap), h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14714:12: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_END' 14714 | ins_end = DUK_HCOMPFUNC_GET_CODE_END(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14722:31: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 14722 | tmp32 = (duk_uint32_t) (*ins); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2442:97: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2442 | #define DUK_RAW_WRITEINC_U32_BE(ptr, val) duk_raw_writeinc_u32_be(&(ptr), (duk_uint32_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14723:3: note: in expansion of macro 'DUK_RAW_WRITEINC_U32_BE' 14723 | DUK_RAW_WRITEINC_U32_BE(p, tmp32); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:87: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14729:7: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 14729 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:87: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14729:7: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 14729 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14729:7: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 14729 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14729:7: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 14729 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14729:7: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 14729 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:108: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14729:7: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 14729 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:108: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14729:7: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 14729 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7586:53: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7586 | #define DUK_HCOMPFUNC_GET_FUNCS(heap, h) ((h)->funcs) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7621:70: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS' 7621 | #define DUK_HCOMPFUNC_GET_CONSTS_END(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_FUNCS((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14730:11: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_END' 14730 | tv_end = DUK_HCOMPFUNC_GET_CONSTS_END(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7586:53: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 7586 | #define DUK_HCOMPFUNC_GET_FUNCS(heap, h) ((h)->funcs) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7621:70: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS' 7621 | #define DUK_HCOMPFUNC_GET_CONSTS_END(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_FUNCS((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14730:11: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_END' 14730 | tv_end = DUK_HCOMPFUNC_GET_CONSTS_END(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1181:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1181 | #define DUK_TVAL_IS_STRING(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14735:7: note: in expansion of macro 'DUK_TVAL_IS_STRING' 14735 | if (DUK_TVAL_IS_STRING(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14736:12: note: in expansion of macro 'DUK_TVAL_GET_STRING' 14736 | h_str = DUK_TVAL_GET_STRING(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:43: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14739:8: note: in expansion of macro 'DUK_BW_ENSURE_RAW' 14739 | p = DUK_BW_ENSURE_RAW(thr, bw_ctx, 1U + 4U + DUK_HSTRING_GET_BYTELEN(h_str), p); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:43: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14744:8: note: in expansion of macro 'DUK_BW_ENSURE_RAW' 14744 | p = DUK_BW_ENSURE_RAW(thr, bw_ctx, 1U + 8U, p); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2444:100: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 2444 | #define DUK_RAW_WRITEINC_DOUBLE_BE(ptr, val) duk_raw_writeinc_double_be(&(ptr), (duk_double_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14747:4: note: in expansion of macro 'DUK_RAW_WRITEINC_DOUBLE_BE' 14747 | DUK_RAW_WRITEINC_DOUBLE_BE(p, d); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7586:53: warning: use of old-style cast to 'duk_hobject**' {aka 'struct duk_hobject**'} [-Wold-style-cast] 7586 | #define DUK_HCOMPFUNC_GET_FUNCS(heap, h) ((h)->funcs) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7617:47: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS' 7617 | #define DUK_HCOMPFUNC_GET_FUNCS_BASE(heap, h) DUK_HCOMPFUNC_GET_FUNCS((heap), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14753:24: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_BASE' 14753 | fn = (duk_hobject **) DUK_HCOMPFUNC_GET_FUNCS_BASE(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7591:59: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7591 | #define DUK_HCOMPFUNC_GET_BYTECODE(heap, h) ((h)->bytecode) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7623:73: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BYTECODE' 7623 | #define DUK_HCOMPFUNC_GET_FUNCS_END(heap, h) ((duk_hobject **) (void *) DUK_HCOMPFUNC_GET_BYTECODE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14754:28: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_END' 14754 | fn_end = (duk_hobject **) DUK_HCOMPFUNC_GET_FUNCS_END(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7591:59: warning: use of old-style cast to 'duk_hobject**' {aka 'struct duk_hobject**'} [-Wold-style-cast] 7591 | #define DUK_HCOMPFUNC_GET_BYTECODE(heap, h) ((h)->bytecode) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7623:73: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BYTECODE' 7623 | #define DUK_HCOMPFUNC_GET_FUNCS_END(heap, h) ((duk_hobject **) (void *) DUK_HCOMPFUNC_GET_BYTECODE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14754:28: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_END' 14754 | fn_end = (duk_hobject **) DUK_HCOMPFUNC_GET_FUNCS_END(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7623:112: warning: use of old-style cast to 'duk_hobject**' {aka 'struct duk_hobject**'} [-Wold-style-cast] 7623 | #define DUK_HCOMPFUNC_GET_FUNCS_END(heap, h) ((duk_hobject **) (void *) DUK_HCOMPFUNC_GET_BYTECODE((heap), (h))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14754:28: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_END' 14754 | fn_end = (duk_hobject **) DUK_HCOMPFUNC_GET_FUNCS_END(thr->heap, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14763:46: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 14763 | p = duk__dump_func(thr, (duk_hcompfunc *) *fn, bw_ctx, p); | ^~ | --------------------- | reinterpret_cast ( *fn) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14776:60: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 14776 | p = duk__dump_uint32_prop(thr, p, bw_ctx, (duk_hobject *) func, DUK_STRIDX_LENGTH, (duk_uint32_t) func->nargs); | ^~~~ | -------------------- | reinterpret_cast ( func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14776:106: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 14776 | p = duk__dump_uint32_prop(thr, p, bw_ctx, (duk_hobject *) func, DUK_STRIDX_LENGTH, (duk_uint32_t) func->nargs); | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14778:60: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 14778 | p = duk__dump_string_prop(thr, p, bw_ctx, (duk_hobject *) func, DUK_STRIDX_NAME); | ^~~~ | -------------------- | reinterpret_cast ( func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14781:60: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 14781 | p = duk__dump_string_prop(thr, p, bw_ctx, (duk_hobject *) func, DUK_STRIDX_FILE_NAME); | ^~~~ | -------------------- | reinterpret_cast ( func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14784:60: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 14784 | p = duk__dump_buffer_prop(thr, p, bw_ctx, (duk_hobject *) func, DUK_STRIDX_INT_PC2LINE); | ^~~~ | -------------------- | reinterpret_cast ( func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14786:55: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 14786 | p = duk__dump_varmap(thr, p, bw_ctx, (duk_hobject *) func); | ^~~~ | -------------------- | reinterpret_cast ( func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14787:56: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 14787 | p = duk__dump_formals(thr, p, bw_ctx, (duk_hobject *) func); | ^~~~ | -------------------- | reinterpret_cast ( func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const duk_uint8_t* duk__load_func(duk_hthread*, const duk_uint8_t*, const duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14852:67: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 14852 | duk_require_stack(thr, (duk_idx_t) (2 + count_const + count_funcs)); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14877:40: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 14877 | DUK_HEAPHDR_SET_FLAGS((duk_heaphdr *) h_fun, tmp32); /* masks flags to only change duk_hobject flags */ | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4748:4: note: in definition of macro 'DUK_HEAPHDR_SET_FLAGS' 4748 | (h)->h_flags = ((h)->h_flags & ~(DUK_HEAPHDR_FLAGS_FLAG_MASK)) | (val); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14877:40: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 14877 | DUK_HEAPHDR_SET_FLAGS((duk_heaphdr *) h_fun, tmp32); /* masks flags to only change duk_hobject flags */ | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4748:20: note: in definition of macro 'DUK_HEAPHDR_SET_FLAGS' 4748 | (h)->h_flags = ((h)->h_flags & ~(DUK_HEAPHDR_FLAGS_FLAG_MASK)) | (val); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14897:72: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 14897 | fun_data = (duk_uint8_t *) duk_push_fixed_buffer_nozero(thr, data_size); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14910:30: warning: use of old-style cast to 'void*' [-Wold-style-cast] 14910 | *((duk_instr_t *) (void *) q) = DUK_RAW_READINC_U32_BE(p); | ^ | ---------- | static_cast ( q) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14910:30: warning: use of old-style cast to 'duk_instr_t*' {aka 'unsigned int*'} [-Wold-style-cast] 14910 | *((duk_instr_t *) (void *) q) = DUK_RAW_READINC_U32_BE(p); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2453:64: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2453 | #define DUK_RAW_READINC_U8(ptr) ((duk_uint8_t) (*(ptr)++)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14918:16: note: in expansion of macro 'DUK_RAW_READINC_U8' 14918 | const_type = DUK_RAW_READINC_U8(p); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14959:62: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 14959 | h_data = (duk_hbuffer *) duk_known_hbuffer(thr, idx_base + 1); | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7584:33: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 7584 | (h)->data = (duk_hbuffer *) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14961:2: note: in expansion of macro 'DUK_HCOMPFUNC_SET_DATA' 14961 | DUK_HCOMPFUNC_SET_DATA(thr->heap, h_fun, h_data); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14962:2: note: in expansion of macro 'DUK_HBUFFER_INCREF' 14962 | DUK_HBUFFER_INCREF(thr, h_data); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14962:2: note: in expansion of macro 'DUK_HBUFFER_INCREF' 14962 | DUK_HBUFFER_INCREF(thr, h_data); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14968:29: warning: use of old-style cast to 'void*' [-Wold-style-cast] 14968 | duk_memcpy_unsafe((void *) q, (const void *) tv1, sizeof(duk_tval) * count_const); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14968:47: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 14968 | duk_memcpy_unsafe((void *) q, (const void *) tv1, sizeof(duk_tval) * count_const); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14968:2: note: in expansion of macro 'duk_memcpy_unsafe' 14968 | duk_memcpy_unsafe((void *) q, (const void *) tv1, sizeof(duk_tval) * count_const); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14970:51: warning: use of old-style cast to 'void*' [-Wold-style-cast] 14970 | DUK_TVAL_INCREF_FAST(thr, (duk_tval *) (void *) q); /* no side effects */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4904:24: note: in definition of macro 'DUK_TVAL_INCREF_FAST' 4904 | duk_tval *duk__tv = (tv); \ | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14970:51: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 14970 | DUK_TVAL_INCREF_FAST(thr, (duk_tval *) (void *) q); /* no side effects */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4904:24: note: in definition of macro 'DUK_TVAL_INCREF_FAST' 4904 | duk_tval *duk__tv = (tv); \ | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14970:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 14970 | DUK_TVAL_INCREF_FAST(thr, (duk_tval *) (void *) q); /* no side effects */ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14970:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 14970 | DUK_TVAL_INCREF_FAST(thr, (duk_tval *) (void *) q); /* no side effects */ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14975:70: warning: use of old-style cast to 'void*' [-Wold-style-cast] 14975 | DUK_HCOMPFUNC_SET_FUNCS(thr->heap, h_fun, (duk_hobject **) (void *) q); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7589:17: note: in definition of macro 'DUK_HCOMPFUNC_SET_FUNCS' 7589 | (h)->funcs = (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14975:70: warning: use of old-style cast to 'duk_hobject**' {aka 'struct duk_hobject**'} [-Wold-style-cast] 14975 | DUK_HCOMPFUNC_SET_FUNCS(thr->heap, h_fun, (duk_hobject **) (void *) q); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7589:17: note: in definition of macro 'DUK_HCOMPFUNC_SET_FUNCS' 7589 | (h)->funcs = (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14980:11: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 14980 | h_obj = DUK_TVAL_GET_OBJECT(tv1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14983:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 14983 | DUK_HOBJECT_INCREF(thr, h_obj); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14983:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 14983 | DUK_HOBJECT_INCREF(thr, h_obj); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14985:31: warning: use of old-style cast to 'void*' [-Wold-style-cast] 14985 | *((duk_hobject **) (void *) q) = h_obj; | ^ | ---------- | static_cast ( q) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14985:31: warning: use of old-style cast to 'duk_hobject**' {aka 'struct duk_hobject**'} [-Wold-style-cast] 14985 | *((duk_hobject **) (void *) q) = h_obj; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14989:72: warning: use of old-style cast to 'void*' [-Wold-style-cast] 14989 | DUK_HCOMPFUNC_SET_BYTECODE(thr->heap, h_fun, (duk_instr_t *) (void *) q); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7594:20: note: in definition of macro 'DUK_HCOMPFUNC_SET_BYTECODE' 7594 | (h)->bytecode = (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14989:72: warning: use of old-style cast to 'duk_instr_t*' {aka 'unsigned int*'} [-Wold-style-cast] 14989 | DUK_HCOMPFUNC_SET_BYTECODE(thr->heap, h_fun, (duk_instr_t *) (void *) q); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7594:20: note: in definition of macro 'DUK_HCOMPFUNC_SET_BYTECODE' 7594 | (h)->bytecode = (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:70: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:14999:2: note: in expansion of macro 'duk_push_u32' 14999 | duk_push_u32(thr, tmp32); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15000:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15000 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15000:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15000 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15000:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15000 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15007:50: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 15007 | if (DUK_HOBJECT_HAS_NAMEBINDING((duk_hobject *) h_fun)) { | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15007:6: note: in expansion of macro 'DUK_HOBJECT_HAS_NAMEBINDING' 15007 | if (DUK_HOBJECT_HAS_NAMEBINDING((duk_hobject *) h_fun)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15015:60: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 15015 | duk_hdecenv_alloc(thr, DUK_HOBJECT_FLAG_EXTENSIBLE | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_DECENV)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15022:56: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 15022 | DUK_HOBJECT_SET_PROTOTYPE(thr->heap, (duk_hobject *) new_env, func_env); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7191:4: note: in definition of macro 'DUK_HOBJECT_SET_PROTOTYPE' 7191 | (h)->prototype = (x); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15023:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 15023 | DUK_HOBJECT_INCREF(thr, func_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15023:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 15023 | DUK_HOBJECT_INCREF(thr, func_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15025:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 15025 | func_env = (duk_hobject *) new_env; | ^~~~~~~ | ----------------------- | reinterpret_cast ( new_env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15027:41: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 15027 | duk_push_hobject(thr, (duk_hobject *) new_env); | ^~~~~~~ | ----------------------- | reinterpret_cast ( new_env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15038:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 15038 | DUK_HOBJECT_INCREF(thr, func_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15038:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 15038 | DUK_HOBJECT_INCREF(thr, func_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15039:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 15039 | DUK_HOBJECT_INCREF(thr, func_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15039:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 15039 | DUK_HOBJECT_INCREF(thr, func_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15043:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15043 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15043:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15043 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15043:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15043 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15048:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15048 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_FILE_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15048:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15048 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_FILE_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15048:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15048 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_FILE_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15051:52: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 15051 | if (DUK_HOBJECT_HAS_CONSTRUCTABLE((duk_hobject *) h_fun)) { | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15051:6: note: in expansion of macro 'DUK_HOBJECT_HAS_CONSTRUCTABLE' 15051 | if (DUK_HOBJECT_HAS_CONSTRUCTABLE((duk_hobject *) h_fun)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15059:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15059 | duk_xdef_prop_stridx_short(thr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15059:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15059 | duk_xdef_prop_stridx_short(thr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15059:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15059 | duk_xdef_prop_stridx_short(thr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15064:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15064 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_PROTOTYPE, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15064:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15064 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_PROTOTYPE, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15064:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15064 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_PROTOTYPE, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15069:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15069 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_PC2LINE, DUK_PROPDESC_FLAGS_WC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15069:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15069 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_PC2LINE, DUK_PROPDESC_FLAGS_WC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15069:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15069 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_PC2LINE, DUK_PROPDESC_FLAGS_WC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:70: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15081:3: note: in expansion of macro 'duk_push_u32' 15081 | duk_push_u32(thr, tmp32); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15085:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15085 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VARMAP, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15085:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15085 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VARMAP, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15085:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15085 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VARMAP, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15098:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15098 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_FORMALS, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15098:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15098 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_FORMALS, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15098:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 15098 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_FORMALS, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_load_function(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15149:57: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 15149 | p_buf = (duk_uint8_t *) duk_require_buffer(thr, -1, &sz); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15177:2: note: in expansion of macro 'DUK_ERROR_TYPE' 15177 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_BYTECODE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15177:2: note: in expansion of macro 'DUK_ERROR_TYPE' 15177 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_BYTECODE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15177:2: note: in expansion of macro 'DUK_ERROR_TYPE' 15177 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_BYTECODE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk__call_get_idx_func(duk_hthread*, duk_idx_t, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15258:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 15258 | DUK_ERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__call_prop_prep_stack(duk_hthread*, duk_idx_t, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15309:13: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 15309 | tv_base = DUK_GET_TVAL_POSIDX(thr, normalized_obj_idx); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15310:12: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 15310 | tv_key = DUK_GET_TVAL_NEGIDX(thr, -nargs - 2); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_call_prop(duk_hthread*, duk_idx_t, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15370:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 15370 | DUK_ERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk__pcall_raw(duk_hthread*, void*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15387:29: warning: use of old-style cast to 'duk__pcall_args*' {aka 'struct duk__pcall_args*'} [-Wold-style-cast] 15387 | args = (duk__pcall_args *) udata; | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk_pcall(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15407:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 15407 | DUK_ERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15412:54: warning: use of old-style cast to 'void*' [-Wold-style-cast] 15412 | return duk_safe_call(thr, duk__pcall_raw, (void *) &args /*udata*/, nargs + 1 /*nargs*/, 1 /*nrets*/); | ^~~~ | -------------- | static_cast ( &args) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk__pcall_method_raw(duk_hthread*, void*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15423:36: warning: use of old-style cast to 'duk__pcall_method_args*' {aka 'struct duk__pcall_method_args*'} [-Wold-style-cast] 15423 | args = (duk__pcall_method_args *) udata; | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk_pcall_method_flags(duk_hthread*, duk_idx_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15442:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 15442 | DUK_ERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15447:61: warning: use of old-style cast to 'void*' [-Wold-style-cast] 15447 | return duk_safe_call(thr, duk__pcall_method_raw, (void *) &args /*udata*/, nargs + 2 /*nargs*/, 1 /*nrets*/); | ^~~~ | -------------- | static_cast ( &args) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk__pcall_prop_raw(duk_hthread*, void*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15464:34: warning: use of old-style cast to 'duk__pcall_prop_args*' {aka 'struct duk__pcall_prop_args*'} [-Wold-style-cast] 15464 | args = (duk__pcall_prop_args *) udata; | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk_pcall_prop(duk_hthread*, duk_idx_t, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15483:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 15483 | DUK_ERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15488:59: warning: use of old-style cast to 'void*' [-Wold-style-cast] 15488 | return duk_safe_call(thr, duk__pcall_prop_raw, (void *) &args /*udata*/, nargs + 1 /*nargs*/, 1 /*nrets*/); | ^~~~ | -------------- | static_cast ( &args) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk_safe_call(duk_hthread*, duk_safe_call_function, void*, duk_idx_t, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15519:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 15519 | DUK_ERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk__pnew_helper(duk_hthread*, void*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15550:26: warning: use of old-style cast to 'duk_idx_t*' {aka 'int*'} [-Wold-style-cast] 15550 | nargs = *((duk_idx_t *) udata); | ^~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk_pnew(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15567:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 15567 | DUK_ERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15571:54: warning: use of old-style cast to 'void*' [-Wold-style-cast] 15571 | rc = duk_safe_call(thr, duk__pnew_helper, (void *) &nargs /*udata*/, nargs + 1 /*nargs*/, 1 /*nrets*/); | ^~~~~ | --------------- | static_cast ( &nargs) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_require_constructor_call(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15591:3: note: in expansion of macro 'DUK_ERROR_TYPE' 15591 | DUK_ERROR_TYPE(thr, DUK_STR_CONSTRUCT_ONLY); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15591:3: note: in expansion of macro 'DUK_ERROR_TYPE' 15591 | DUK_ERROR_TYPE(thr, DUK_STR_CONSTRUCT_ONLY); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15591:3: note: in expansion of macro 'DUK_ERROR_TYPE' 15591 | DUK_ERROR_TYPE(thr, DUK_STR_CONSTRUCT_ONLY); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk_get_current_magic(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1164:89: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1164 | #define DUK_TVAL_GET_LIGHTFUNC_FLAGS(tv) (((duk_small_uint_t) (tv)->ui[DUK_DBL_IDX_UI0]) & 0xffffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15635:15: note: in expansion of macro 'DUK_TVAL_GET_LIGHTFUNC_FLAGS' 15635 | lf_flags = DUK_TVAL_GET_LIGHTFUNC_FLAGS(tv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1530:106: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 1530 | #define DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags) ((duk_int32_t) (duk_int8_t) (((duk_uint16_t) (lf_flags)) >> 8)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15636:23: note: in expansion of macro 'DUK_LFUNC_FLAGS_GET_MAGIC' 15636 | return (duk_int_t) DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1530:113: warning: use of old-style cast to 'duk_int8_t' {aka 'signed char'} [-Wold-style-cast] 1530 | #define DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags) ((duk_int32_t) (duk_int8_t) (((duk_uint16_t) (lf_flags)) >> 8)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15636:23: note: in expansion of macro 'DUK_LFUNC_FLAGS_GET_MAGIC' 15636 | return (duk_int_t) DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1530:113: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 1530 | #define DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags) ((duk_int32_t) (duk_int8_t) (((duk_uint16_t) (lf_flags)) >> 8)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15636:23: note: in expansion of macro 'DUK_LFUNC_FLAGS_GET_MAGIC' 15636 | return (duk_int_t) DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1530:114: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 1530 | #define DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags) ((duk_int32_t) (duk_int8_t) (((duk_uint16_t) (lf_flags)) >> 8)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15636:23: note: in expansion of macro 'DUK_LFUNC_FLAGS_GET_MAGIC' 15636 | return (duk_int_t) DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15641:40: warning: use of old-style cast to 'duk_hnatfunc*' {aka 'struct duk_hnatfunc*'} [-Wold-style-cast] 15641 | duk_hnatfunc *nf = (duk_hnatfunc *) func; | ^~~~ | --------------------- | reinterpret_cast ( func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15642:27: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 15642 | return (duk_int_t) nf->magic; | ^~~~~ | --------------------- | static_cast ( nf->magic) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk_get_magic(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15655:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 15655 | if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15656:7: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 15656 | h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15661:40: warning: use of old-style cast to 'duk_hnatfunc*' {aka 'struct duk_hnatfunc*'} [-Wold-style-cast] 15661 | return (duk_int_t) ((duk_hnatfunc *) h)->magic; | ^ | ------------------ | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15661:44: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 15661 | return (duk_int_t) ((duk_hnatfunc *) h)->magic; | ^~~~~ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1180:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1180 | #define DUK_TVAL_IS_LIGHTFUNC(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_LIGHTFUNC) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15662:13: note: in expansion of macro 'DUK_TVAL_IS_LIGHTFUNC' 15662 | } else if (DUK_TVAL_IS_LIGHTFUNC(tv)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1164:89: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1164 | #define DUK_TVAL_GET_LIGHTFUNC_FLAGS(tv) (((duk_small_uint_t) (tv)->ui[DUK_DBL_IDX_UI0]) & 0xffffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15663:31: note: in expansion of macro 'DUK_TVAL_GET_LIGHTFUNC_FLAGS' 15663 | duk_small_uint_t lf_flags = DUK_TVAL_GET_LIGHTFUNC_FLAGS(tv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1530:106: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 1530 | #define DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags) ((duk_int32_t) (duk_int8_t) (((duk_uint16_t) (lf_flags)) >> 8)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15664:22: note: in expansion of macro 'DUK_LFUNC_FLAGS_GET_MAGIC' 15664 | return (duk_int_t) DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1530:113: warning: use of old-style cast to 'duk_int8_t' {aka 'signed char'} [-Wold-style-cast] 1530 | #define DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags) ((duk_int32_t) (duk_int8_t) (((duk_uint16_t) (lf_flags)) >> 8)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15664:22: note: in expansion of macro 'DUK_LFUNC_FLAGS_GET_MAGIC' 15664 | return (duk_int_t) DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1530:113: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 1530 | #define DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags) ((duk_int32_t) (duk_int8_t) (((duk_uint16_t) (lf_flags)) >> 8)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15664:22: note: in expansion of macro 'DUK_LFUNC_FLAGS_GET_MAGIC' 15664 | return (duk_int_t) DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1530:114: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 1530 | #define DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags) ((duk_int32_t) (duk_int8_t) (((duk_uint16_t) (lf_flags)) >> 8)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15664:22: note: in expansion of macro 'DUK_LFUNC_FLAGS_GET_MAGIC' 15664 | return (duk_int_t) DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15669:2: note: in expansion of macro 'DUK_ERROR_TYPE' 15669 | DUK_ERROR_TYPE(thr, DUK_STR_UNEXPECTED_TYPE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15669:2: note: in expansion of macro 'DUK_ERROR_TYPE' 15669 | DUK_ERROR_TYPE(thr, DUK_STR_UNEXPECTED_TYPE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15669:2: note: in expansion of macro 'DUK_ERROR_TYPE' 15669 | DUK_ERROR_TYPE(thr, DUK_STR_UNEXPECTED_TYPE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_set_magic(duk_hthread*, duk_idx_t, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15680:28: warning: use of old-style cast to 'duk_int16_t' {aka 'short int'} [-Wold-style-cast] 15680 | nf->magic = (duk_int16_t) magic; | ^~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_resolve_nonbound_function(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15695:7: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 15695 | tv = DUK_GET_TVAL_NEGIDX(thr, -1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15696:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 15696 | if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15699:7: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 15699 | h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15702:53: warning: use of old-style cast to 'void*' [-Wold-style-cast] 15702 | duk_push_tval(thr, &((duk_hboundfunc *) (void *) h)->target); | ^ | ---------- | static_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15702:53: warning: use of old-style cast to 'duk_hboundfunc*' {aka 'struct duk_hboundfunc*'} [-Wold-style-cast] 15702 | duk_push_tval(thr, &((duk_hboundfunc *) (void *) h)->target); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const duk_uint8_t* duk__prep_codec_arg(duk_hthread*, duk_idx_t, duk_size_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15742:39: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 15742 | const void *def_ptr = (const void *) out_len; /* Any non-NULL pointer will do. */ | ^~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15751:110: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 15750 | ptr = (const void *) | - | const_cast< - | > ( 15751 | duk_get_buffer_data_raw(thr, idx, out_len, NULL /*def_ptr*/, 0 /*def_size*/, 0 /*throw_flag*/, &isbuffer); | ^ | ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15762:56: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 15762 | ptr = (const void *) duk_to_lstring(thr, idx, out_len); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15766:31: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 15766 | return (const duk_uint8_t *) ptr; | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__base64_encode_fast_3(const duk_uint8_t*, duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15823:24: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 15823 | t = (duk_uint_t) src[0]; | ^ | ------------------- | static_cast ( src[0]) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15824:35: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 15824 | t = (t << 8) + (duk_uint_t) src[1]; | ^ | ------------------- | static_cast ( src[1]) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15825:35: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 15825 | t = (t << 8) + (duk_uint_t) src[2]; | ^ | ------------------- | static_cast ( src[2]) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__base64_encode_fast_2(const duk_uint8_t*, duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15847:24: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 15847 | t = (duk_uint_t) src[0]; | ^ | ------------------- | static_cast ( src[0]) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15848:35: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 15848 | t = (t << 8) + (duk_uint_t) src[1]; | ^ | ------------------- | static_cast ( src[1]) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__base64_encode_fast_1(const duk_uint8_t*, duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15858:24: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 15858 | t = (duk_uint_t) src[0]; | ^ | ------------------- | static_cast ( src[0]) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__base64_encode_helper(const duk_uint8_t*, duk_size_t, duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:15894:37: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 15894 | n = (duk_size_t) (src + srclen - p); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__base64_decode_helper(const duk_uint8_t*, duk_size_t, duk_uint8_t*, duk_uint8_t**)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16051:49: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16051 | t1 = (duk_int_t) duk__base64_dectab_fast[p[0]]; | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16052:35: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 16052 | t1 = (duk_int_t) ((duk_uint_t) t1 << 6) | (duk_int_t) duk__base64_dectab_fast[p[1]]; | ^~ | --------------- | static_cast ( t1) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16052:42: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16052 | t1 = (duk_int_t) ((duk_uint_t) t1 << 6) | (duk_int_t) duk__base64_dectab_fast[p[1]]; | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16052:86: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16052 | t1 = (duk_int_t) ((duk_uint_t) t1 << 6) | (duk_int_t) duk__base64_dectab_fast[p[1]]; | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16053:35: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 16053 | t1 = (duk_int_t) ((duk_uint_t) t1 << 6) | (duk_int_t) duk__base64_dectab_fast[p[2]]; | ^~ | --------------- | static_cast ( t1) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16053:42: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16053 | t1 = (duk_int_t) ((duk_uint_t) t1 << 6) | (duk_int_t) duk__base64_dectab_fast[p[2]]; | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16053:86: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16053 | t1 = (duk_int_t) ((duk_uint_t) t1 << 6) | (duk_int_t) duk__base64_dectab_fast[p[2]]; | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16054:35: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 16054 | t1 = (duk_int_t) ((duk_uint_t) t1 << 6) | (duk_int_t) duk__base64_dectab_fast[p[3]]; | ^~ | --------------- | static_cast ( t1) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16054:42: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16054 | t1 = (duk_int_t) ((duk_uint_t) t1 << 6) | (duk_int_t) duk__base64_dectab_fast[p[3]]; | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16054:86: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16054 | t1 = (duk_int_t) ((duk_uint_t) t1 << 6) | (duk_int_t) duk__base64_dectab_fast[p[3]]; | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16056:49: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16056 | t2 = (duk_int_t) duk__base64_dectab_fast[p[4]]; | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16057:35: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 16057 | t2 = (duk_int_t) ((duk_uint_t) t2 << 6) | (duk_int_t) duk__base64_dectab_fast[p[5]]; | ^~ | --------------- | static_cast ( t2) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16057:42: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16057 | t2 = (duk_int_t) ((duk_uint_t) t2 << 6) | (duk_int_t) duk__base64_dectab_fast[p[5]]; | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16057:86: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16057 | t2 = (duk_int_t) ((duk_uint_t) t2 << 6) | (duk_int_t) duk__base64_dectab_fast[p[5]]; | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16058:35: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 16058 | t2 = (duk_int_t) ((duk_uint_t) t2 << 6) | (duk_int_t) duk__base64_dectab_fast[p[6]]; | ^~ | --------------- | static_cast ( t2) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16058:42: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16058 | t2 = (duk_int_t) ((duk_uint_t) t2 << 6) | (duk_int_t) duk__base64_dectab_fast[p[6]]; | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16058:86: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16058 | t2 = (duk_int_t) ((duk_uint_t) t2 << 6) | (duk_int_t) duk__base64_dectab_fast[p[6]]; | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16059:35: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 16059 | t2 = (duk_int_t) ((duk_uint_t) t2 << 6) | (duk_int_t) duk__base64_dectab_fast[p[7]]; | ^~ | --------------- | static_cast ( t2) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16059:42: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16059 | t2 = (duk_int_t) ((duk_uint_t) t2 << 6) | (duk_int_t) duk__base64_dectab_fast[p[7]]; | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16059:86: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16059 | t2 = (duk_int_t) ((duk_uint_t) t2 << 6) | (duk_int_t) duk__base64_dectab_fast[p[7]]; | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16061:40: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 16061 | q[0] = (duk_uint8_t) (((duk_uint_t) t1 >> 16) & 0xffU); | ^~ | --------------- | static_cast ( t1) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16061:57: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 16061 | q[0] = (duk_uint8_t) (((duk_uint_t) t1 >> 16) & 0xffU); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16062:40: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 16062 | q[1] = (duk_uint8_t) (((duk_uint_t) t1 >> 8) & 0xffU); | ^~ | --------------- | static_cast ( t1) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16062:56: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 16062 | q[1] = (duk_uint8_t) (((duk_uint_t) t1 >> 8) & 0xffU); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16063:39: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 16063 | q[2] = (duk_uint8_t) ((duk_uint_t) t1 & 0xffU); | ^~ | --------------- | static_cast ( t1) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16063:49: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 16063 | q[2] = (duk_uint8_t) ((duk_uint_t) t1 & 0xffU); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16065:40: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 16065 | q[3] = (duk_uint8_t) (((duk_uint_t) t2 >> 16) & 0xffU); | ^~ | --------------- | static_cast ( t2) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16065:57: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 16065 | q[3] = (duk_uint8_t) (((duk_uint_t) t2 >> 16) & 0xffU); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16066:40: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 16066 | q[4] = (duk_uint8_t) (((duk_uint_t) t2 >> 8) & 0xffU); | ^~ | --------------- | static_cast ( t2) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16066:56: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 16066 | q[4] = (duk_uint8_t) (((duk_uint_t) t2 >> 8) & 0xffU); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16067:39: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 16067 | q[5] = (duk_uint8_t) ((duk_uint_t) t2 & 0xffU); | ^~ | --------------- | static_cast ( t2) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16067:49: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 16067 | q[5] = (duk_uint8_t) ((duk_uint_t) t2 & 0xffU); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16109:34: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 16109 | t = (t << 6) + (duk_uint_t) x; | ^ | -------------- | static_cast ( x) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16148:42: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 16148 | q[0] = (duk_uint8_t) ((t >> 16) & 0xffU); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16149:41: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 16149 | q[1] = (duk_uint8_t) ((t >> 8) & 0xffU); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16150:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 16150 | q[2] = (duk_uint8_t) (t & 0xffU); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const char* duk_base64_encode(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16370:64: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 16370 | dst = (duk_uint8_t *) duk_push_fixed_buffer_nozero(thr, dstlen); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16372:50: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 16372 | duk__base64_encode_helper((const duk_uint8_t *) src, srclen, dst); | ^~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16379:2: note: in expansion of macro 'DUK_ERROR_TYPE' 16379 | DUK_ERROR_TYPE(thr, DUK_STR_BASE64_ENCODE_FAILED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16379:2: note: in expansion of macro 'DUK_ERROR_TYPE' 16379 | DUK_ERROR_TYPE(thr, DUK_STR_BASE64_ENCODE_FAILED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16379:2: note: in expansion of macro 'DUK_ERROR_TYPE' 16379 | DUK_ERROR_TYPE(thr, DUK_STR_BASE64_ENCODE_FAILED); | ^~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_base64_decode(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:777:67: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 777 | duk_push_buffer_raw((ctx), (size), DUK_BUF_FLAG_DYNAMIC /*flags*/) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16404:24: note: in expansion of macro 'duk_push_dynamic_buffer' 16404 | dst = (duk_uint8_t *) duk_push_dynamic_buffer(thr, dstlen); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16407:55: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 16407 | if (!duk__base64_decode_helper((const duk_uint8_t *) src, srclen, dst, &dst_final)) { | ^~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16412:65: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 16412 | (void) duk_resize_buffer(thr, -1, (duk_size_t) (dst_final - dst)); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16417:2: note: in expansion of macro 'DUK_ERROR_TYPE' 16417 | DUK_ERROR_TYPE(thr, DUK_STR_BASE64_DECODE_FAILED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16417:2: note: in expansion of macro 'DUK_ERROR_TYPE' 16417 | DUK_ERROR_TYPE(thr, DUK_STR_BASE64_DECODE_FAILED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16417:2: note: in expansion of macro 'DUK_ERROR_TYPE' 16417 | DUK_ERROR_TYPE(thr, DUK_STR_BASE64_DECODE_FAILED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const char* duk_hex_encode(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16457:65: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 16457 | buf = (duk_uint8_t *) duk_push_fixed_buffer_nozero(thr, len * 2); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16462:34: warning: use of old-style cast to 'void*' [-Wold-style-cast] 16462 | p16 = (duk_uint16_t *) (void *) buf; | ^~~ | ------------ | static_cast ( buf) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16462:34: warning: use of old-style cast to 'duk_uint16_t*' {aka 'short unsigned int*'} [-Wold-style-cast] 16462 | p16 = (duk_uint16_t *) (void *) buf; | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_hex_decode(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16518:65: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 16518 | buf = (duk_uint8_t *) duk_push_fixed_buffer_nozero(thr, len / 2); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16525:48: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16525 | t = ((duk_int_t) duk_hex_dectab_shift4[inp[i]]) | ((duk_int_t) duk_hex_dectab[inp[i + 1]]); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16525:91: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16525 | t = ((duk_int_t) duk_hex_dectab_shift4[inp[i]]) | ((duk_int_t) duk_hex_dectab[inp[i + 1]]); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16527:24: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 16527 | p[0] = (duk_uint8_t) t; | ^ | - | static_cast<- | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16528:52: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16528 | t = ((duk_int_t) duk_hex_dectab_shift4[inp[i + 2]]) | ((duk_int_t) duk_hex_dectab[inp[i + 3]]); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16528:95: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16528 | t = ((duk_int_t) duk_hex_dectab_shift4[inp[i + 2]]) | ((duk_int_t) duk_hex_dectab[inp[i + 3]]); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16530:24: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 16530 | p[1] = (duk_uint8_t) t; | ^ | - | static_cast<- | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16531:52: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16531 | t = ((duk_int_t) duk_hex_dectab_shift4[inp[i + 4]]) | ((duk_int_t) duk_hex_dectab[inp[i + 5]]); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16531:95: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16531 | t = ((duk_int_t) duk_hex_dectab_shift4[inp[i + 4]]) | ((duk_int_t) duk_hex_dectab[inp[i + 5]]); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16533:24: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 16533 | p[2] = (duk_uint8_t) t; | ^ | - | static_cast<- | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16534:52: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16534 | t = ((duk_int_t) duk_hex_dectab_shift4[inp[i + 6]]) | ((duk_int_t) duk_hex_dectab[inp[i + 7]]); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16534:95: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16534 | t = ((duk_int_t) duk_hex_dectab_shift4[inp[i + 6]]) | ((duk_int_t) duk_hex_dectab[inp[i + 7]]); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16536:24: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 16536 | p[3] = (duk_uint8_t) t; | ^ | - | static_cast<- | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16549:68: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16549 | t = (duk_int_t) ((((duk_uint_t) (duk_int_t) duk_hex_dectab[inp[i]]) << 4U) | | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16549:68: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 16549 | t = (duk_int_t) ((((duk_uint_t) (duk_int_t) duk_hex_dectab[inp[i]]) << 4U) | | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16550:71: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16550 | ((duk_uint_t) (duk_int_t) duk_hex_dectab[inp[i + 1]])); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16550:71: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 16550 | ((duk_uint_t) (duk_int_t) duk_hex_dectab[inp[i + 1]])); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16550:73: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 16549 | t = (duk_int_t) ((((duk_uint_t) (duk_int_t) duk_hex_dectab[inp[i]]) << 4U) | | ----------- | static_cast ( 16550 | ((duk_uint_t) (duk_int_t) duk_hex_dectab[inp[i + 1]])); | ^ | ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16554:24: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 16554 | *p++ = (duk_uint8_t) t; | ^ | - | static_cast<- | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16575:2: note: in expansion of macro 'DUK_ERROR_TYPE' 16575 | DUK_ERROR_TYPE(thr, DUK_STR_HEX_DECODE_FAILED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16575:2: note: in expansion of macro 'DUK_ERROR_TYPE' 16575 | DUK_ERROR_TYPE(thr, DUK_STR_HEX_DECODE_FAILED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16575:2: note: in expansion of macro 'DUK_ERROR_TYPE' 16575 | DUK_ERROR_TYPE(thr, DUK_STR_HEX_DECODE_FAILED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk__do_compile(duk_hthread*, void*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16730:40: warning: use of old-style cast to 'duk__compile_raw_args*' {aka 'struct duk__compile_raw_args*'} [-Wold-style-cast] 16730 | comp_args = (duk__compile_raw_args *) udata; | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16746:4: note: in expansion of macro 'DUK_ERROR_TYPE' 16746 | DUK_ERROR_TYPE(thr, DUK_STR_NO_SOURCECODE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16746:4: note: in expansion of macro 'DUK_ERROR_TYPE' 16746 | DUK_ERROR_TYPE(thr, DUK_STR_NO_SOURCECODE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16746:4: note: in expansion of macro 'DUK_ERROR_TYPE' 16746 | DUK_ERROR_TYPE(thr, DUK_STR_NO_SOURCECODE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16750:49: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 16750 | comp_args->src_buffer = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_sourcecode); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16750:49: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 16750 | comp_args->src_buffer = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_sourcecode); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16751:40: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 16751 | comp_args->src_length = (duk_size_t) DUK_HSTRING_GET_BYTELEN(h_sourcecode); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16773:55: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 16773 | h_templ = (duk_hcompfunc *) duk_known_hobject(thr, -1); | ^ | ----------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk_compile_raw(duk_hthread*, const char*, duk_size_t, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16799:48: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 16799 | comp_args->src_buffer = (const duk_uint8_t *) src_buffer; | ^~~~~~~~~~ | - | reinterpret_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16816:53: warning: use of old-style cast to 'void*' [-Wold-style-cast] 16816 | rc = duk_safe_call(thr, duk__do_compile, (void *) comp_args, nargs, nrets); | ^~~~~~~~~ | ------------------ | static_cast ( comp_args) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16822:39: warning: use of old-style cast to 'void*' [-Wold-style-cast] 16822 | (void) duk__do_compile(thr, (void *) comp_args); | ^~~~~~~~~ | ------------------ | static_cast ( comp_args) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_context_dump(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16848:47: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 16848 | duk_put_prop_index(thr, -2, (duk_uarridx_t) idx); | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16861:57: warning: use of old-style cast to 'long int' [-Wold-style-cast] 16861 | duk_push_sprintf(thr, "ctx: top=%ld, stack=%s", (long) top, (const char *) duk_safe_to_string(thr, -1)); | ^~~ | ---------- | static_cast ( top) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:1025:40: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 1025 | duk_safe_to_lstring((ctx), (idx), NULL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:16861:77: note: in expansion of macro 'duk_safe_to_string' 16861 | duk_push_sprintf(thr, "ctx: top=%ld, stack=%s", (long) top, (const char *) duk_safe_to_string(thr, -1)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_debugger_attach(duk_hthread*, duk_debug_read_function, duk_debug_write_function, duk_debug_peek_function, duk_debug_read_flush_function, duk_debug_write_flush_function, duk_debug_request_function, duk_debug_detached_function, void*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17049:2: note: in expansion of macro 'DUK_ERROR_TYPE' 17049 | DUK_ERROR_TYPE(thr, "no debugger support"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17049:2: note: in expansion of macro 'DUK_ERROR_TYPE' 17049 | DUK_ERROR_TYPE(thr, "no debugger support"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17049:2: note: in expansion of macro 'DUK_ERROR_TYPE' 17049 | DUK_ERROR_TYPE(thr, "no debugger support"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_debugger_detach(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17055:2: note: in expansion of macro 'DUK_ERROR_TYPE' 17055 | DUK_ERROR_TYPE(thr, "no debugger support"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17055:2: note: in expansion of macro 'DUK_ERROR_TYPE' 17055 | DUK_ERROR_TYPE(thr, "no debugger support"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17055:2: note: in expansion of macro 'DUK_ERROR_TYPE' 17055 | DUK_ERROR_TYPE(thr, "no debugger support"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_debugger_notify(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10328:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10328 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_COUNT); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17072:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_COUNT' 17072 | DUK_ERROR_RANGE_INVALID_COUNT(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_suspend(duk_hthread*, duk_thread_state*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17169:79: warning: use of old-style cast to 'void*' [-Wold-style-cast] 17169 | duk_internal_thread_state *snapshot = (duk_internal_thread_state *) (void *) state; | ^~~~~ | -------------- | static_cast ( state) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17169:79: warning: use of old-style cast to 'duk_internal_thread_state*' {aka 'struct duk_internal_thread_state*'} [-Wold-style-cast] 17169 | duk_internal_thread_state *snapshot = (duk_internal_thread_state *) (void *) state; | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17196:33: warning: use of old-style cast to 'void*' [-Wold-style-cast] 17196 | duk_memcpy((void *) &snapshot->lj, (const void *) lj, sizeof(duk_ljstate)); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17196:52: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 17196 | duk_memcpy((void *) &snapshot->lj, (const void *) lj, sizeof(duk_ljstate)); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17196:2: note: in expansion of macro 'duk_memcpy' 17196 | duk_memcpy((void *) &snapshot->lj, (const void *) lj, sizeof(duk_ljstate)); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17204:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 17204 | DUK_TVAL_SET_UNDEFINED(&lj->value1); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17205:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 17205 | DUK_TVAL_SET_UNDEFINED(&lj->value2); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_resume(duk_hthread*, const duk_thread_state*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17214:97: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 17214 | const duk_internal_thread_state *snapshot = (const duk_internal_thread_state *) (const void *) state; | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17214:97: warning: use of old-style cast to 'const duk_internal_thread_state*' {aka 'const struct duk_internal_thread_state*'} [-Wold-style-cast] 17214 | const duk_internal_thread_state *snapshot = (const duk_internal_thread_state *) (const void *) state; | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17231:29: warning: use of old-style cast to 'void*' [-Wold-style-cast] 17231 | duk_memcpy((void *) &heap->lj, (const void *) &snapshot->lj, sizeof(duk_ljstate)); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17231:59: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 17231 | duk_memcpy((void *) &heap->lj, (const void *) &snapshot->lj, sizeof(duk_ljstate)); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17231:2: note: in expansion of macro 'duk_memcpy' 17231 | duk_memcpy((void *) &heap->lj, (const void *) &snapshot->lj, sizeof(duk_ljstate)); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_set_global_object(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17260:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 17260 | DUK_HOBJECT_INCREF(thr, h_glob); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17260:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 17260 | DUK_HOBJECT_INCREF(thr, h_glob); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5050:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5050 | #define DUK_HOBJECT_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5128:4: note: in expansion of macro 'DUK_HOBJECT_DECREF' 5128 | DUK_HOBJECT_DECREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17261:2: note: in expansion of macro 'DUK_HOBJECT_DECREF_ALLOWNULL' 17261 | DUK_HOBJECT_DECREF_ALLOWNULL(thr, h_prev_glob); /* side effects, in theory (referenced by global env) */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5050:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5050 | #define DUK_HOBJECT_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5128:4: note: in expansion of macro 'DUK_HOBJECT_DECREF' 5128 | DUK_HOBJECT_DECREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17261:2: note: in expansion of macro 'DUK_HOBJECT_DECREF_ALLOWNULL' 17261 | DUK_HOBJECT_DECREF_ALLOWNULL(thr, h_prev_glob); /* side effects, in theory (referenced by global env) */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17272:63: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 17272 | h_env = duk_hobjenv_alloc(thr, DUK_HOBJECT_FLAG_EXTENSIBLE | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_OBJENV)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17279:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 17279 | DUK_HOBJECT_INCREF(thr, h_glob); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17279:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 17279 | DUK_HOBJECT_INCREF(thr, h_glob); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17285:55: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 17285 | thr->builtins[DUK_BIDX_GLOBAL_ENV] = (duk_hobject *) h_env; | ^~~~~ | --------------------- | reinterpret_cast ( h_env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17286:42: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 17286 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) h_env); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17286:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 17286 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) h_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17286:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 17286 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) h_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17286:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 17286 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) h_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5050:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5050 | #define DUK_HOBJECT_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5128:4: note: in expansion of macro 'DUK_HOBJECT_DECREF' 5128 | DUK_HOBJECT_DECREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17287:2: note: in expansion of macro 'DUK_HOBJECT_DECREF_ALLOWNULL' 17287 | DUK_HOBJECT_DECREF_ALLOWNULL(thr, h_prev_env); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5050:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5050 | #define DUK_HOBJECT_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5128:4: note: in expansion of macro 'DUK_HOBJECT_DECREF' 5128 | DUK_HOBJECT_DECREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17287:2: note: in expansion of macro 'DUK_HOBJECT_DECREF_ALLOWNULL' 17287 | DUK_HOBJECT_DECREF_ALLOWNULL(thr, h_prev_env); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_inspect_value(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17365:23: warning: use of old-style cast to 'void*' [-Wold-style-cast] 17365 | duk_memset((void *) &vals, (int) 0xff, sizeof(vals)); | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3072:21: note: in definition of macro 'duk_memset' 3072 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17365:35: warning: use of old-style cast to 'int' [-Wold-style-cast] 17365 | duk_memset((void *) &vals, (int) 0xff, sizeof(vals)); | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3073:31: note: in definition of macro 'duk_memset' 3073 | duk_small_int_t duk__val = (val); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3076:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3076 | (void) DUK_MEMSET(duk__dst, duk__val, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17365:2: note: in expansion of macro 'duk_memset' 17365 | duk_memset((void *) &vals, (int) 0xff, sizeof(vals)); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17369:7: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 17369 | h = (DUK_TVAL_IS_HEAP_ALLOCATED(tv) ? DUK_TVAL_GET_HEAPHDR(tv) : NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17369:40: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 17369 | h = (DUK_TVAL_IS_HEAP_ALLOCATED(tv) ? DUK_TVAL_GET_HEAPHDR(tv) : NULL); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17372:36: note: in expansion of macro 'DUK_TVAL_GET_TAG' 17372 | vals[DUK__IDX_ITAG] = (duk_int_t) DUK_TVAL_GET_TAG(tv); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:75: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17372:36: note: in expansion of macro 'DUK_TVAL_GET_TAG' 17372 | vals[DUK__IDX_ITAG] = (duk_int_t) DUK_TVAL_GET_TAG(tv); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17380:33: warning: use of old-style cast to 'void*' [-Wold-style-cast] 17380 | duk_push_pointer(thr, (void *) h); | ^ | ---------- | static_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4722:53: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 4722 | #define DUK_HEAPHDR_GET_REFCOUNT(h) ((h)->h_refcount) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17390:36: note: in expansion of macro 'DUK_HEAPHDR_GET_REFCOUNT' 17390 | vals[DUK__IDX_REFC] = (duk_int_t) DUK_HEAPHDR_GET_REFCOUNT(h); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4750:76: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 4750 | #define DUK_HEAPHDR_GET_TYPE(h) ((h)->h_flags & DUK_HEAPHDR_FLAGS_TYPE_MASK) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17397:28: note: in expansion of macro 'DUK_HEAPHDR_GET_TYPE' 17397 | switch ((duk_small_int_t) DUK_HEAPHDR_GET_TYPE(h)) { | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17399:40: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 17399 | duk_hstring *h_str = (duk_hstring *) h; | ^ | ----------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17400:96: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 17400 | vals[DUK__IDX_HBYTES] = (duk_int_t) (sizeof(duk_hstring) + DUK_HSTRING_GET_BYTELEN(h_str) + 1); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17409:40: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 17409 | duk_hobject *h_obj = (duk_hobject *) h; | ^ | ----------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17420:45: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 17420 | vals[DUK__IDX_TSTATE] = ((duk_hthread *) h_obj)->state; | ^~~~~ | --------------------- | reinterpret_cast ( h_obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17427:65: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 17427 | vals[DUK__IDX_HBYTES] = (duk_small_uint_t) sizeof(duk_hobject); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4801:90: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 4801 | #define DUK_HEAPHDR_GET_FLAG_RANGE(h, m, n) (((h)->h_flags >> (m)) & ((1UL << (n)) - 1UL)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6618:2: note: in expansion of macro 'DUK_HEAPHDR_GET_FLAG_RANGE' 6618 | DUK_HEAPHDR_GET_FLAG_RANGE(&(h)->hdr, DUK_HOBJECT_FLAG_CLASS_BASE, DUK_HOBJECT_FLAG_CLASS_BITS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17430:38: note: in expansion of macro 'DUK_HOBJECT_GET_CLASS_NUMBER' 17430 | vals[DUK__IDX_CLASS] = (duk_int_t) DUK_HOBJECT_GET_CLASS_NUMBER(h_obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6958:63: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 6958 | (n_arr) * sizeof(duk_tval) + (n_hash) * sizeof(duk_uint32_t)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7001:2: note: in expansion of macro 'DUK_HOBJECT_P_COMPUTE_SIZE' 7001 | DUK_HOBJECT_P_COMPUTE_SIZE(DUK_HOBJECT_GET_ESIZE((h)), DUK_HOBJECT_GET_ASIZE((h)), DUK_HOBJECT_GET_HSIZE((h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17431:39: note: in expansion of macro 'DUK_HOBJECT_P_ALLOC_SIZE' 17431 | vals[DUK__IDX_PBYTES] = (duk_int_t) DUK_HOBJECT_P_ALLOC_SIZE(h_obj); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7127:46: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 7127 | #define DUK_HOBJECT_GET_ESIZE(h) ((h)->e_size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17432:38: note: in expansion of macro 'DUK_HOBJECT_GET_ESIZE' 17432 | vals[DUK__IDX_ESIZE] = (duk_int_t) DUK_HOBJECT_GET_ESIZE(h_obj); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7132:46: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 7132 | #define DUK_HOBJECT_GET_ENEXT(h) ((h)->e_next) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17433:38: note: in expansion of macro 'DUK_HOBJECT_GET_ENEXT' 17433 | vals[DUK__IDX_ENEXT] = (duk_int_t) DUK_HOBJECT_GET_ENEXT(h_obj); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7138:50: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 7138 | #define DUK_HOBJECT_GET_ASIZE(h) ((h)->a_size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17434:38: note: in expansion of macro 'DUK_HOBJECT_GET_ASIZE' 17434 | vals[DUK__IDX_ASIZE] = (duk_int_t) DUK_HOBJECT_GET_ASIZE(h_obj); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7144:46: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 7144 | #define DUK_HOBJECT_GET_HSIZE(h) ((h)->h_size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17435:38: note: in expansion of macro 'DUK_HOBJECT_GET_HSIZE' 17435 | vals[DUK__IDX_HSIZE] = (duk_int_t) DUK_HOBJECT_GET_HSIZE(h_obj); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17446:94: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 17446 | duk_hbuffer *h_data = (duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA(thr->heap, (duk_hcompfunc *) h_obj); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:74: note: in definition of macro 'DUK_HCOMPFUNC_GET_DATA' 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17446:42: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 17446 | duk_hbuffer *h_data = (duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA(thr->heap, (duk_hcompfunc *) h_obj); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17446:42: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 17446 | duk_hbuffer *h_data = (duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA(thr->heap, (duk_hcompfunc *) h_obj); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:82: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17446:42: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 17446 | duk_hbuffer *h_data = (duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA(thr->heap, (duk_hcompfunc *) h_obj); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17447:51: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 17447 | vals[DUK__IDX_BCBYTES] = (duk_int_t) (h_data ? DUK_HBUFFER_GET_SIZE(h_data) : 0); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17447:83: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 17447 | vals[DUK__IDX_BCBYTES] = (duk_int_t) (h_data ? DUK_HBUFFER_GET_SIZE(h_data) : 0); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17452:40: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 17452 | duk_hbuffer *h_buf = (duk_hbuffer *) h; | ^ | ----------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17457:71: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 17457 | vals[DUK__IDX_HBYTES] = (duk_uint_t) (sizeof(duk_hbuffer_external)); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17463:70: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 17463 | vals[DUK__IDX_HBYTES] = (duk_uint_t) (sizeof(duk_hbuffer_dynamic)); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17465:41: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 17465 | vals[DUK__IDX_DBYTES] = (duk_int_t) (DUK_HBUFFER_GET_SIZE(h_buf)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17465:68: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 17465 | vals[DUK__IDX_DBYTES] = (duk_int_t) (DUK_HBUFFER_GET_SIZE(h_buf)); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17468:69: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 17468 | vals[DUK__IDX_HBYTES] = (duk_int_t) (sizeof(duk_hbuffer_fixed) + DUK_HBUFFER_GET_SIZE(h_buf)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17468:96: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 17468 | vals[DUK__IDX_HBYTES] = (duk_int_t) (sizeof(duk_hbuffer_fixed) + DUK_HBUFFER_GET_SIZE(h_buf)); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17505:44: warning: use of old-style cast to 'duk_int_t*' {aka 'int*'} [-Wold-style-cast] 17505 | (duk_int_t *) &vals); | ^~~~ | ------------------- | reinterpret_cast ( &vals) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_inspect_callstack_entry(duk_hthread*, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17534:34: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 17534 | duk_push_uint(thr, (duk_uint_t) pc); | ^~ | --------------- | static_cast ( pc) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17535:2: note: in expansion of macro 'duk_put_prop_stridx_short' 17535 | duk_put_prop_stridx_short(thr, -3, DUK_STRIDX_PC); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17535:2: note: in expansion of macro 'duk_put_prop_stridx_short' 17535 | duk_put_prop_stridx_short(thr, -3, DUK_STRIDX_PC); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17542:34: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 17542 | duk_push_uint(thr, (duk_uint_t) line); | ^~~~ | ----------------- | static_cast ( line) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17543:2: note: in expansion of macro 'duk_put_prop_stridx_short' 17543 | duk_put_prop_stridx_short(thr, -3, DUK_STRIDX_LINE_NUMBER); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17543:2: note: in expansion of macro 'duk_put_prop_stridx_short' 17543 | duk_put_prop_stridx_short(thr, -3, DUK_STRIDX_LINE_NUMBER); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17545:2: note: in expansion of macro 'duk_put_prop_stridx_short' 17545 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_LC_FUNCTION); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17545:2: note: in expansion of macro 'duk_put_prop_stridx_short' 17545 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_LC_FUNCTION); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_free_raw(duk_hthread*, void*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9135:85: warning: use of old-style cast to 'void*' [-Wold-style-cast] 9135 | #define DUK_FREE_RAW(heap, ptr) ((heap)->free_func((heap)->heap_udata, (void *) (ptr))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17583:2: note: in expansion of macro 'DUK_FREE_RAW' 17583 | DUK_FREE_RAW(thr->heap, ptr); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void* duk_realloc_raw(duk_hthread*, void*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9133:100: warning: use of old-style cast to 'void*' [-Wold-style-cast] 9133 | #define DUK_REALLOC_RAW(heap, ptr, newsize) ((heap)->realloc_func((heap)->heap_udata, (void *) (ptr), (newsize))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17589:9: note: in expansion of macro 'DUK_REALLOC_RAW' 17589 | return DUK_REALLOC_RAW(thr->heap, ptr, size); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_gc(duk_hthread*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17645:32: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 17645 | ms_flags = (duk_small_uint_t) flags; | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_get_prop_index(duk_hthread*, duk_idx_t, duk_uarridx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5996:74: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5996 | #define duk_push_uarridx(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17719:2: note: in expansion of macro 'duk_push_uarridx' 17719 | duk_push_uarridx(thr, arr_idx); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_get_prop_stridx_short_raw(duk_hthread*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17741:78: warning: use of old-style cast to 'duk_int16_t' {aka 'short int'} [-Wold-style-cast] 17741 | return duk_get_prop_stridx(thr, (duk_idx_t) (duk_int16_t) (packed_args >> 16), (duk_small_uint_t) (packed_args & 0xffffUL)); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17741:78: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 17741 | return duk_get_prop_stridx(thr, (duk_idx_t) (duk_int16_t) (packed_args >> 16), (duk_small_uint_t) (packed_args & 0xffffUL)); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17741:123: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 17741 | return duk_get_prop_stridx(thr, (duk_idx_t) (duk_int16_t) (packed_args >> 16), (duk_small_uint_t) (packed_args & 0xffffUL)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_xget_owndataprop_stridx_short_raw(duk_hthread*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17808:81: warning: use of old-style cast to 'duk_int16_t' {aka 'short int'} [-Wold-style-cast] 17808 | (duk_idx_t) (duk_int16_t) (packed_args >> 16), | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17808:81: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 17808 | (duk_idx_t) (duk_int16_t) (packed_args >> 16), | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17809:79: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 17809 | (duk_small_uint_t) (packed_args & 0xffffUL)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_put_prop_index(duk_hthread*, duk_idx_t, duk_uarridx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5996:74: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5996 | #define duk_push_uarridx(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17884:2: note: in expansion of macro 'duk_push_uarridx' 17884 | duk_push_uarridx(thr, arr_idx); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_put_prop_stridx_short_raw(duk_hthread*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17906:78: warning: use of old-style cast to 'duk_int16_t' {aka 'short int'} [-Wold-style-cast] 17906 | return duk_put_prop_stridx(thr, (duk_idx_t) (duk_int16_t) (packed_args >> 16), (duk_small_uint_t) (packed_args & 0xffffUL)); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17906:78: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 17906 | return duk_put_prop_stridx(thr, (duk_idx_t) (duk_int16_t) (packed_args >> 16), (duk_small_uint_t) (packed_args & 0xffffUL)); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17906:123: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 17906 | return duk_put_prop_stridx(thr, (duk_idx_t) (duk_int16_t) (packed_args >> 16), (duk_small_uint_t) (packed_args & 0xffffUL)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_del_prop_index(duk_hthread*, duk_idx_t, duk_uarridx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5996:74: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5996 | #define duk_push_uarridx(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17966:2: note: in expansion of macro 'duk_push_uarridx' 17966 | duk_push_uarridx(thr, arr_idx); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_has_prop_index(duk_hthread*, duk_idx_t, duk_uarridx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5996:74: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5996 | #define duk_push_uarridx(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18049:2: note: in expansion of macro 'duk_push_uarridx' 18049 | duk_push_uarridx(thr, arr_idx); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_xdef_prop_stridx_short_raw(duk_hthread*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18130:66: warning: use of old-style cast to 'duk_int8_t' {aka 'signed char'} [-Wold-style-cast] 18130 | (duk_idx_t) (duk_int8_t) (packed_args >> 24), | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18130:66: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 18130 | (duk_idx_t) (duk_int8_t) (packed_args >> 24), | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18131:59: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 18131 | (duk_small_uint_t) (packed_args >> 8) & 0xffffUL, | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18132:62: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 18132 | (duk_small_uint_t) (packed_args & 0xffL)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_def_prop(duk_hthread*, duk_idx_t, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18228:28: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 18228 | idx_value = (duk_idx_t) -1; | ^ | -------------- | static_cast ( -1) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18246:2: note: in expansion of macro 'DUK_ERROR_TYPE' 18246 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_DESCRIPTOR); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18246:2: note: in expansion of macro 'DUK_ERROR_TYPE' 18246 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_DESCRIPTOR); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18246:2: note: in expansion of macro 'DUK_ERROR_TYPE' 18246 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_DESCRIPTOR); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18250:2: note: in expansion of macro 'DUK_ERROR_TYPE' 18250 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_CALLABLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18250:2: note: in expansion of macro 'DUK_ERROR_TYPE' 18250 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_CALLABLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18250:2: note: in expansion of macro 'DUK_ERROR_TYPE' 18250 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_CALLABLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_seal_freeze_raw(duk_hthread*, duk_idx_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18309:10: note: in expansion of macro 'DUK_TVAL_GET_TAG' 18309 | switch (DUK_TVAL_GET_TAG(tv)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18322:7: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 18322 | h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18345:2: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 18345 | DUK_ERROR_TYPE_INVALID_ARGS(thr); /* XXX: proper error message */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_get_method_stridx(duk_hthread*, duk_idx_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18535:3: note: in expansion of macro 'DUK_ERROR_TYPE' 18535 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_CALLABLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18535:3: note: in expansion of macro 'DUK_ERROR_TYPE' 18535 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_CALLABLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18535:3: note: in expansion of macro 'DUK_ERROR_TYPE' 18535 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_CALLABLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk_random(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18693:54: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 18693 | return (duk_double_t) duk_util_get_random_double(thr); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_uint_t duk__get_symbol_type(duk_hstring*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18771:31: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 18771 | data = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18771:31: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 18771 | data = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk__api_coerce_d2i(duk_hthread*, duk_idx_t, duk_int_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18835:6: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 18835 | if (DUK_TVAL_IS_NUMBER(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18848:23: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 18848 | return (duk_int_t) d; | ^ | ------------- | static_cast ( d) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18853:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 18853 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "number", DUK_STR_NOT_NUMBER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint_t duk__api_coerce_d2ui(duk_hthread*, duk_idx_t, duk_uint_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18886:6: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 18886 | if (DUK_TVAL_IS_NUMBER(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18893:24: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 18893 | return (duk_uint_t) 0; | ^ | -------------- | static_cast ( 0) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18899:24: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 18899 | return (duk_uint_t) d; | ^ | -------------- | static_cast ( d) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18904:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 18904 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "number", DUK_STR_NOT_NUMBER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk_normalize_index(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18935:66: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 18935 | vs_size = (duk_uidx_t) (thr->valstack_top - thr->valstack_bottom); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18939:33: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 18939 | uidx = vs_size + (duk_uidx_t) idx; | ^~~ | ---------------- | static_cast ( idx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18943:23: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 18943 | uidx = (duk_uidx_t) idx; | ^~~ | ---------------- | static_cast ( idx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18950:22: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 18950 | return (duk_idx_t) uidx; | ^~~~ | ---------------- | static_cast ( uidx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk_require_normalize_index(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18963:66: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 18963 | vs_size = (duk_uidx_t) (thr->valstack_top - thr->valstack_bottom); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18967:33: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 18967 | uidx = vs_size + (duk_uidx_t) idx; | ^~~ | ---------------- | static_cast ( idx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18970:23: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 18970 | uidx = (duk_uidx_t) idx; | ^~~ | ---------------- | static_cast ( idx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18977:22: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 18977 | return (duk_idx_t) uidx; | ^~~~ | ---------------- | static_cast ( uidx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10311:58: note: in expansion of macro 'DUK_LINE_MACRO' 10311 | duk_err_range_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18979:2: note: in expansion of macro 'DUK_ERROR_RANGE_INDEX' 18979 | DUK_ERROR_RANGE_INDEX(thr, idx); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_tval* duk_get_tval(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18991:66: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 18991 | vs_size = (duk_uidx_t) (thr->valstack_top - thr->valstack_bottom); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18995:33: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 18995 | uidx = vs_size + (duk_uidx_t) idx; | ^~~ | ---------------- | static_cast ( idx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18998:23: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 18998 | uidx = (duk_uidx_t) idx; | ^~~ | ---------------- | static_cast ( idx) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_tval* duk_get_tval_or_unused(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2696:59: warning: use of old-style cast to 'duk_uintptr_t' {aka 'unsigned int'} [-Wold-style-cast] 2696 | #define DUK_LOSE_CONST(src) ((void *) (duk_uintptr_t) (src)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19027:22: note: in expansion of macro 'DUK_LOSE_CONST' 19027 | return (duk_tval *) DUK_LOSE_CONST(&duk__const_tval_unused); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2696:59: warning: use of old-style cast to 'void*' [-Wold-style-cast] 2696 | #define DUK_LOSE_CONST(src) ((void *) (duk_uintptr_t) (src)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19027:22: note: in expansion of macro 'DUK_LOSE_CONST' 19027 | return (duk_tval *) DUK_LOSE_CONST(&duk__const_tval_unused); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2696:60: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 2696 | #define DUK_LOSE_CONST(src) ((void *) (duk_uintptr_t) (src)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19027:22: note: in expansion of macro 'DUK_LOSE_CONST' 19027 | return (duk_tval *) DUK_LOSE_CONST(&duk__const_tval_unused); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_tval* duk_require_tval(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19038:66: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 19038 | vs_size = (duk_uidx_t) (thr->valstack_top - thr->valstack_bottom); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19043:33: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 19043 | uidx = vs_size + (duk_uidx_t) idx; | ^~~ | ---------------- | static_cast ( idx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19046:23: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 19046 | uidx = (duk_uidx_t) idx; | ^~~ | ---------------- | static_cast ( idx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10311:58: note: in expansion of macro 'DUK_LINE_MACRO' 10311 | duk_err_range_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19055:2: note: in expansion of macro 'DUK_ERROR_RANGE_INDEX' 19055 | DUK_ERROR_RANGE_INDEX(thr, idx); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_require_valid_index(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10311:58: note: in expansion of macro 'DUK_LINE_MACRO' 10311 | duk_err_range_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19073:3: note: in expansion of macro 'DUK_ERROR_RANGE_INDEX' 19073 | DUK_ERROR_RANGE_INDEX(thr, idx); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk_get_top(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19085:62: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 19085 | return (duk_idx_t) (thr->valstack_top - thr->valstack_bottom); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk_get_top_require_min(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19096:61: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 19096 | ret = (duk_idx_t) (thr->valstack_top - thr->valstack_bottom); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19098:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 19098 | DUK_ERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_set_top(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19119:66: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 19119 | vs_size = (duk_uidx_t) (thr->valstack_top - thr->valstack_bottom); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19120:67: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 19120 | vs_limit = (duk_uidx_t) (thr->valstack_end - thr->valstack_bottom); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19126:33: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 19126 | uidx = vs_size + (duk_uidx_t) idx; | ^~~ | ---------------- | static_cast ( idx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19131:23: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 19131 | uidx = (duk_uidx_t) idx; | ^~~ | ---------------- | static_cast ( idx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10311:58: note: in expansion of macro 'DUK_LINE_MACRO' 10311 | duk_err_range_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19143:3: note: in expansion of macro 'DUK_ERROR_RANGE_INDEX' 19143 | DUK_ERROR_RANGE_INDEX(thr, idx); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5219:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 5219 | DUK_TVAL_SET_UNDEFINED(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19182:4: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 19182 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, tv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4932:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4932 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5220:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 5220 | DUK_TVAL_DECREF_NORZ((thr), &tv__tmp); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19182:4: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 19182 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, tv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4933:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4933 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5220:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 5220 | DUK_TVAL_DECREF_NORZ((thr), &tv__tmp); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19182:4: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 19182 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, tv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_set_top_unsafe(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19223:22: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 19223 | uidx = (duk_uidx_t) idx; | ^~~ | ---------------- | static_cast ( idx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19224:66: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 19224 | vs_size = (duk_uidx_t) (thr->valstack_top - thr->valstack_bottom); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5219:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 5219 | DUK_TVAL_SET_UNDEFINED(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19253:4: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 19253 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, tv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4932:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4932 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5220:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 5220 | DUK_TVAL_DECREF_NORZ((thr), &tv__tmp); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19253:4: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 19253 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, tv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4933:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4933 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5220:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 5220 | DUK_TVAL_DECREF_NORZ((thr), &tv__tmp); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19253:4: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 19253 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, tv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk_get_top_index(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19296:61: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 19296 | ret = (duk_idx_t) (thr->valstack_top - thr->valstack_bottom) - 1; | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk_get_top_index_unsafe(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19315:61: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 19315 | ret = (duk_idx_t) (thr->valstack_top - thr->valstack_bottom) - 1; | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk_require_top_index(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19324:61: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 19324 | ret = (duk_idx_t) (thr->valstack_top - thr->valstack_bottom) - 1; | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10311:58: note: in expansion of macro 'DUK_LINE_MACRO' 10311 | duk_err_range_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19326:3: note: in expansion of macro 'DUK_ERROR_RANGE_INDEX' 19326 | DUK_ERROR_RANGE_INDEX(thr, -1); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__resize_valstack(duk_hthread*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19403:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 19403 | new_valstack = (duk_tval *) DUK_REALLOC_INDIRECT(thr->heap, duk_hthread_get_valstack_ptr, (void *) thr, new_alloc_size); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9171:98: note: in definition of macro 'DUK_REALLOC_INDIRECT' 9171 | #define DUK_REALLOC_INDIRECT(heap, cb, ud, newsize) duk_heap_mem_realloc_indirect((heap), (cb), (ud), (newsize)) | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9171:112: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 9171 | #define DUK_REALLOC_INDIRECT(heap, cb, ud, newsize) duk_heap_mem_realloc_indirect((heap), (cb), (ud), (newsize)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19403:30: note: in expansion of macro 'DUK_REALLOC_INDIRECT' 19403 | new_valstack = (duk_tval *) DUK_REALLOC_INDIRECT(thr->heap, duk_hthread_get_valstack_ptr, (void *) thr, new_alloc_size); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19460:46: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19460 | ptr_diff = (duk_ptrdiff_t) ((duk_uint8_t *) new_valstack - (duk_uint8_t *) thr->valstack); | ^~~~~~~~~~~~ | ---------------------------- | reinterpret_cast ( new_valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19460:82: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19460 | ptr_diff = (duk_ptrdiff_t) ((duk_uint8_t *) new_valstack - (duk_uint8_t *) thr->valstack); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19460:90: warning: use of old-style cast to 'duk_ptrdiff_t' {aka 'int'} [-Wold-style-cast] 19460 | ptr_diff = (duk_ptrdiff_t) ((duk_uint8_t *) new_valstack - (duk_uint8_t *) thr->valstack); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19461:66: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19461 | tv_prev_alloc_end = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_alloc_end + ptr_diff); | ^~~~~~~~~~~~~~~~~~ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19461:95: warning: use of old-style cast to 'void*' [-Wold-style-cast] 19461 | tv_prev_alloc_end = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_alloc_end + ptr_diff); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19461:95: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 19461 | tv_prev_alloc_end = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_alloc_end + ptr_diff); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19463:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19463 | thr->valstack_bottom = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + ptr_diff); | ^~~~~~~~~~~~~~~ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19463:95: warning: use of old-style cast to 'void*' [-Wold-style-cast] 19463 | thr->valstack_bottom = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + ptr_diff); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19463:95: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 19463 | thr->valstack_bottom = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + ptr_diff); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19464:66: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19464 | thr->valstack_top = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_top + ptr_diff); | ^~~~~~~~~~~~ | --------------- | reinterpret_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19464:89: warning: use of old-style cast to 'void*' [-Wold-style-cast] 19464 | thr->valstack_top = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_top + ptr_diff); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19464:89: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 19464 | thr->valstack_top = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_top + ptr_diff); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19465:66: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19465 | thr->valstack_end = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_end + ptr_diff); | ^~~~~~~~~~~~ | --------------- | reinterpret_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19465:89: warning: use of old-style cast to 'void*' [-Wold-style-cast] 19465 | thr->valstack_end = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_end + ptr_diff); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19465:89: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 19465 | thr->valstack_end = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_end + ptr_diff); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19466:67: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19466 | thr->valstack_alloc_end = (duk_tval *) (void *) ((duk_uint8_t *) new_valstack + new_alloc_size); | ^~~~~~~~~~~~ | ---------------------------- | reinterpret_cast ( new_valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19466:96: warning: use of old-style cast to 'void*' [-Wold-style-cast] 19466 | thr->valstack_alloc_end = (duk_tval *) (void *) ((duk_uint8_t *) new_valstack + new_alloc_size); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19466:96: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 19466 | thr->valstack_alloc_end = (duk_tval *) (void *) ((duk_uint8_t *) new_valstack + new_alloc_size); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19503:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 19503 | DUK_TVAL_SET_UNDEFINED(p); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__valstack_grow(duk_hthread*, duk_size_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19543:4: note: in expansion of macro 'DUK_ERROR_RANGE' 19543 | DUK_ERROR_RANGE(thr, DUK_STR_VALSTACK_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10294:65: note: in expansion of macro 'DUK_LINE_MACRO' 10294 | duk_err_error_alloc_failed((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19551:4: note: in expansion of macro 'DUK_ERROR_ALLOC_FAILED' 19551 | DUK_ERROR_ALLOC_FAILED(thr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_valstack_grow_check_throw(duk_hthread*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19569:51: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19569 | tv = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + min_bytes); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19569:71: warning: use of old-style cast to 'void*' [-Wold-style-cast] 19569 | tv = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + min_bytes); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19569:71: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 19569 | tv = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + min_bytes); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_valstack_grow_check_nothrow(duk_hthread*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19587:51: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19587 | tv = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + min_bytes); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19587:71: warning: use of old-style cast to 'void*' [-Wold-style-cast] 19587 | tv = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + min_bytes); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19587:71: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 19587 | tv = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + min_bytes); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_valstack_shrink_check_nothrow(duk_hthread*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19604:51: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19604 | alloc_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_alloc_end - (duk_uint8_t *) thr->valstack); | ^~~~~~~~~~~~~~~~~~ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19604:93: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19604 | alloc_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_alloc_end - (duk_uint8_t *) thr->valstack); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19604:101: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 19604 | alloc_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_alloc_end - (duk_uint8_t *) thr->valstack); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19605:53: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19605 | reserve_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_end - (duk_uint8_t *) thr->valstack); | ^~~~~~~~~~~~ | --------------- | reinterpret_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19605:89: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19605 | reserve_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_end - (duk_uint8_t *) thr->valstack); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19605:97: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 19605 | reserve_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_end - (duk_uint8_t *) thr->valstack); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_check_stack(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19685:53: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19685 | min_new_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_top - (duk_uint8_t *) thr->valstack) + | ^~~~~~~~~~~~ | --------------- | reinterpret_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19685:89: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19685 | min_new_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_top - (duk_uint8_t *) thr->valstack) + | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19685:97: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 19685 | min_new_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_top - (duk_uint8_t *) thr->valstack) + | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19686:51: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 19686 | sizeof(duk_tval) * ((duk_size_t) extra + DUK_VALSTACK_INTERNAL_EXTRA); | ^~~~~ | ------------------ | static_cast ( extra) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_require_stack(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19708:53: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19708 | min_new_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_top - (duk_uint8_t *) thr->valstack) + | ^~~~~~~~~~~~ | --------------- | reinterpret_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19708:89: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19708 | min_new_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_top - (duk_uint8_t *) thr->valstack) + | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19708:97: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 19708 | min_new_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_top - (duk_uint8_t *) thr->valstack) + | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19709:51: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 19709 | sizeof(duk_tval) * ((duk_size_t) extra + DUK_VALSTACK_INTERNAL_EXTRA); | ^~~~~ | ------------------ | static_cast ( extra) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_check_stack_top(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19731:53: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19731 | min_new_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_bottom - (duk_uint8_t *) thr->valstack) + | ^~~~~~~~~~~~~~~ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19731:92: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19731 | min_new_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_bottom - (duk_uint8_t *) thr->valstack) + | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19731:100: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 19731 | min_new_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_bottom - (duk_uint8_t *) thr->valstack) + | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19732:51: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 19732 | sizeof(duk_tval) * ((duk_size_t) top + DUK_VALSTACK_INTERNAL_EXTRA); | ^~~ | ---------------- | static_cast ( top) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_require_stack_top(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19754:53: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19754 | min_new_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_bottom - (duk_uint8_t *) thr->valstack) + | ^~~~~~~~~~~~~~~ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19754:92: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19754 | min_new_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_bottom - (duk_uint8_t *) thr->valstack) + | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19754:100: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 19754 | min_new_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_bottom - (duk_uint8_t *) thr->valstack) + | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19755:51: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 19755 | sizeof(duk_tval) * ((duk_size_t) top + DUK_VALSTACK_INTERNAL_EXTRA); | ^~~ | ---------------- | static_cast ( top) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_dup(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19792:2: note: in expansion of macro 'DUK__CHECK_SPACE' 19792 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19799:2: note: in expansion of macro 'DUK_TVAL_INCREF' 19799 | DUK_TVAL_INCREF(thr, tv_to); /* no side effects */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19799:2: note: in expansion of macro 'DUK_TVAL_INCREF' 19799 | DUK_TVAL_INCREF(thr, tv_to); /* no side effects */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_dup_top(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19810:2: note: in expansion of macro 'DUK__CHECK_SPACE' 19810 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10311:58: note: in expansion of macro 'DUK_LINE_MACRO' 10311 | duk_err_range_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19813:3: note: in expansion of macro 'DUK_ERROR_RANGE_INDEX' 19813 | DUK_ERROR_RANGE_INDEX(thr, -1); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19821:2: note: in expansion of macro 'DUK_TVAL_INCREF' 19821 | DUK_TVAL_INCREF(thr, tv_to); /* no side effects */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19821:2: note: in expansion of macro 'DUK_TVAL_INCREF' 19821 | DUK_TVAL_INCREF(thr, tv_to); /* no side effects */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_insert(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19871:42: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19871 | nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); | ^ | ----------------- | reinterpret_cast ( q) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19871:64: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19871 | nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); | ^ | ----------------- | reinterpret_cast ( p) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19871:66: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 19871 | nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19883:29: warning: use of old-style cast to 'void*' [-Wold-style-cast] 19883 | duk_memmove((void *) (p + 1), (const void *) p, (size_t) nbytes); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3050:21: note: in definition of macro 'duk_memmove' 3050 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19883:47: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 19883 | duk_memmove((void *) (p + 1), (const void *) p, (size_t) nbytes); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3051:27: note: in definition of macro 'duk_memmove' 3051 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19883:59: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 19883 | duk_memmove((void *) (p + 1), (const void *) p, (size_t) nbytes); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3052:26: note: in definition of macro 'duk_memmove' 3052 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3055:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3055 | (void) DUK_MEMMOVE(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19883:2: note: in expansion of macro 'duk_memmove' 19883 | duk_memmove((void *) (p + 1), (const void *) p, (size_t) nbytes); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_insert_undefined_n(duk_hthread*, duk_idx_t, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19905:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 19905 | DUK_TVAL_SET_UNDEFINED(tv); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_pull(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19931:42: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19931 | nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); | ^ | ----------------- | reinterpret_cast ( q) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19931:64: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 19931 | nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); | ^ | ----------------- | reinterpret_cast ( p) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19931:66: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 19931 | nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19943:23: warning: use of old-style cast to 'void*' [-Wold-style-cast] 19943 | duk_memmove((void *) p, (const void *) (p + 1), (size_t) nbytes); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3050:21: note: in definition of macro 'duk_memmove' 3050 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19943:47: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 19943 | duk_memmove((void *) p, (const void *) (p + 1), (size_t) nbytes); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3051:27: note: in definition of macro 'duk_memmove' 3051 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19943:59: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 19943 | duk_memmove((void *) p, (const void *) (p + 1), (size_t) nbytes); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3052:26: note: in definition of macro 'duk_memmove' 3052 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3055:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3055 | (void) DUK_MEMMOVE(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19943:2: note: in expansion of macro 'duk_memmove' 19943 | duk_memmove((void *) p, (const void *) (p + 1), (size_t) nbytes); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_replace(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19964:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 19964 | DUK_TVAL_SET_UNDEFINED(tv1); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19966:2: note: in expansion of macro 'DUK_TVAL_DECREF' 19966 | DUK_TVAL_DECREF(thr, &tv_tmp); /* side effects */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19966:2: note: in expansion of macro 'DUK_TVAL_DECREF' 19966 | DUK_TVAL_DECREF(thr, &tv_tmp); /* side effects */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_copy(duk_hthread*, duk_idx_t, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19981:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 19981 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv2, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19981:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 19981 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv2, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19981:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 19981 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv2, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19981:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 19981 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv2, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19981:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 19981 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv2, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:19981:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 19981 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv2, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_remove(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20012:42: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 20012 | nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); /* Note: 'q' is top-1 */ | ^ | ----------------- | reinterpret_cast ( q) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20012:64: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 20012 | nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); /* Note: 'q' is top-1 */ | ^ | ----------------- | reinterpret_cast ( p) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20012:66: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 20012 | nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); /* Note: 'q' is top-1 */ | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20013:23: warning: use of old-style cast to 'void*' [-Wold-style-cast] 20013 | duk_memmove((void *) p, (const void *) (p + 1), (size_t) nbytes); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3050:21: note: in definition of macro 'duk_memmove' 3050 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20013:47: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 20013 | duk_memmove((void *) p, (const void *) (p + 1), (size_t) nbytes); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3051:27: note: in definition of macro 'duk_memmove' 3051 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20013:59: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 20013 | duk_memmove((void *) p, (const void *) (p + 1), (size_t) nbytes); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3052:26: note: in definition of macro 'duk_memmove' 3052 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3055:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3055 | (void) DUK_MEMMOVE(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20013:2: note: in expansion of macro 'duk_memmove' 20013 | duk_memmove((void *) p, (const void *) (p + 1), (size_t) nbytes); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20015:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 20015 | DUK_TVAL_SET_UNDEFINED(q); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20019:2: note: in expansion of macro 'DUK_TVAL_DECREF' 20019 | DUK_TVAL_DECREF(thr, &tv_tmp); /* side effects */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20019:2: note: in expansion of macro 'DUK_TVAL_DECREF' 20019 | DUK_TVAL_DECREF(thr, &tv_tmp); /* side effects */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_remove_n(duk_hthread*, duk_idx_t, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20060:45: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 20060 | bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_top - (duk_uint8_t *) tv_src); | ^~~~~~~~~~~~ | --------------- | reinterpret_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20060:76: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 20060 | bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_top - (duk_uint8_t *) tv_src); | ^~~~~~ | ---------------------- | reinterpret_cast ( tv_src) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20060:82: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 20060 | bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_top - (duk_uint8_t *) tv_src); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4932:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4932 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20063:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 20063 | DUK_TVAL_DECREF_NORZ(thr, tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4933:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4933 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20063:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 20063 | DUK_TVAL_DECREF_NORZ(thr, tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20066:23: warning: use of old-style cast to 'void*' [-Wold-style-cast] 20066 | duk_memmove((void *) tv_dst, (const void *) tv_src, bytes); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3050:21: note: in definition of macro 'duk_memmove' 3050 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20066:46: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 20066 | duk_memmove((void *) tv_dst, (const void *) tv_src, bytes); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3051:27: note: in definition of macro 'duk_memmove' 3051 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3055:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3055 | (void) DUK_MEMMOVE(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20066:2: note: in expansion of macro 'duk_memmove' 20066 | duk_memmove((void *) tv_dst, (const void *) tv_src, bytes); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20070:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 20070 | DUK_TVAL_SET_UNDEFINED(tv); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_xcopymove_raw(duk_hthread*, duk_hthread*, duk_idx_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20104:3: note: in expansion of macro 'DUK_ERROR_TYPE' 20104 | DUK_ERROR_TYPE(to_thr, DUK_STR_INVALID_CONTEXT); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20104:3: note: in expansion of macro 'DUK_ERROR_TYPE' 20104 | DUK_ERROR_TYPE(to_thr, DUK_STR_INVALID_CONTEXT); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20104:3: note: in expansion of macro 'DUK_ERROR_TYPE' 20104 | DUK_ERROR_TYPE(to_thr, DUK_STR_INVALID_CONTEXT); | ^~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20107:32: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 20107 | if (DUK_UNLIKELY((duk_uidx_t) count > (duk_uidx_t) DUK_USE_VALSTACK_LIMIT)) { | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:3092:32: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 3092 | #define DUK_USE_VALSTACK_LIMIT 1000000L | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20107:53: note: in expansion of macro 'DUK_USE_VALSTACK_LIMIT' 20107 | if (DUK_UNLIKELY((duk_uidx_t) count > (duk_uidx_t) DUK_USE_VALSTACK_LIMIT)) { | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10328:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10328 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_COUNT); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20111:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_COUNT' 20111 | DUK_ERROR_RANGE_INVALID_COUNT(to_thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20116:43: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 20116 | nbytes = sizeof(duk_tval) * (duk_size_t) count; | ^~~~~ | ------------------ | static_cast ( count) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20121:57: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 20121 | if (DUK_UNLIKELY((duk_size_t) ((duk_uint8_t *) to_thr->valstack_end - (duk_uint8_t *) to_thr->valstack_top) < nbytes)) { | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20121:96: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 20121 | if (DUK_UNLIKELY((duk_size_t) ((duk_uint8_t *) to_thr->valstack_end - (duk_uint8_t *) to_thr->valstack_top) < nbytes)) { | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20121:108: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 20121 | if (DUK_UNLIKELY((duk_size_t) ((duk_uint8_t *) to_thr->valstack_end - (duk_uint8_t *) to_thr->valstack_top) < nbytes)) { | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20122:3: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 20122 | DUK_ERROR_RANGE_PUSH_BEYOND(to_thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20125:44: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 20125 | src = (void *) ((duk_uint8_t *) from_thr->valstack_top - nbytes); | ^~~~~~~~~~~~ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20125:65: warning: use of old-style cast to 'void*' [-Wold-style-cast] 20125 | src = (void *) ((duk_uint8_t *) from_thr->valstack_top - nbytes); | ^ | -------- | static_cast ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20126:44: warning: use of old-style cast to 'void*' [-Wold-style-cast] 20126 | if (DUK_UNLIKELY(src < (void *) from_thr->valstack_bottom)) { | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10328:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10328 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_COUNT); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20127:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_COUNT' 20127 | DUK_ERROR_RANGE_INVALID_COUNT(to_thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20135:30: warning: use of old-style cast to 'void*' [-Wold-style-cast] 20135 | duk_memcpy((void *) to_thr->valstack_top, (const void *) src, (size_t) nbytes); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20135:59: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 20135 | duk_memcpy((void *) to_thr->valstack_top, (const void *) src, (size_t) nbytes); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20135:73: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 20135 | duk_memcpy((void *) to_thr->valstack_top, (const void *) src, (size_t) nbytes); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20135:2: note: in expansion of macro 'duk_memcpy' 20135 | duk_memcpy((void *) to_thr->valstack_top, (const void *) src, (size_t) nbytes); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20138:65: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 20138 | to_thr->valstack_top = (duk_tval *) (void *) (((duk_uint8_t *) p) + nbytes); | ^ | ----------------- | reinterpret_cast ( p) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20138:76: warning: use of old-style cast to 'void*' [-Wold-style-cast] 20138 | to_thr->valstack_top = (duk_tval *) (void *) (((duk_uint8_t *) p) + nbytes); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20138:76: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 20138 | to_thr->valstack_top = (duk_tval *) (void *) (((duk_uint8_t *) p) + nbytes); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20144:4: note: in expansion of macro 'DUK_TVAL_INCREF' 20144 | DUK_TVAL_INCREF(to_thr, p); /* no side effects */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20144:4: note: in expansion of macro 'DUK_TVAL_INCREF' 20144 | DUK_TVAL_INCREF(to_thr, p); /* no side effects */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20150:47: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 20150 | q = (duk_tval *) (void *) (((duk_uint8_t *) p) - nbytes); | ^ | ----------------- | reinterpret_cast ( p) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20150:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 20150 | q = (duk_tval *) (void *) (((duk_uint8_t *) p) - nbytes); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20150:58: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 20150 | q = (duk_tval *) (void *) (((duk_uint8_t *) p) - nbytes); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20155:4: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 20155 | DUK_TVAL_SET_UNDEFINED(p); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_tval* duk_reserve_gap(duk_hthread*, duk_idx_t, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20180:27: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 20180 | gap_bytes = (duk_size_t) count * sizeof(duk_tval); | ^~~~~ | ------------------ | static_cast ( count) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20181:50: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 20181 | tv_dst = (duk_tval *) (void *) ((duk_uint8_t *) tv_src + gap_bytes); | ^~~~~~ | ---------------------- | reinterpret_cast ( tv_src) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20181:68: warning: use of old-style cast to 'void*' [-Wold-style-cast] 20181 | tv_dst = (duk_tval *) (void *) ((duk_uint8_t *) tv_src + gap_bytes); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20181:68: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 20181 | tv_dst = (duk_tval *) (void *) ((duk_uint8_t *) tv_src + gap_bytes); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20182:50: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 20182 | copy_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_top - (duk_uint8_t *) tv_src); | ^~~~~~~~~~~~ | --------------- | reinterpret_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20182:81: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 20182 | copy_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_top - (duk_uint8_t *) tv_src); | ^~~~~~ | ---------------------- | reinterpret_cast ( tv_src) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20182:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 20182 | copy_bytes = (duk_size_t) ((duk_uint8_t *) thr->valstack_top - (duk_uint8_t *) tv_src); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20183:66: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 20183 | thr->valstack_top = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_top + gap_bytes); | ^~~~~~~~~~~~ | --------------- | reinterpret_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20183:90: warning: use of old-style cast to 'void*' [-Wold-style-cast] 20183 | thr->valstack_top = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_top + gap_bytes); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20183:90: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 20183 | thr->valstack_top = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_top + gap_bytes); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20184:23: warning: use of old-style cast to 'void*' [-Wold-style-cast] 20184 | duk_memmove((void *) tv_dst, (const void *) tv_src, copy_bytes); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3050:21: note: in definition of macro 'duk_memmove' 3050 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20184:46: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 20184 | duk_memmove((void *) tv_dst, (const void *) tv_src, copy_bytes); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3051:27: note: in definition of macro 'duk_memmove' 3051 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3055:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3055 | (void) DUK_MEMMOVE(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20184:2: note: in expansion of macro 'duk_memmove' 20184 | duk_memmove((void *) tv_dst, (const void *) tv_src, copy_bytes); | ^~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_require_undefined(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1174:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1174 | #define DUK_TVAL_IS_UNDEFINED(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_UNDEFINED) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20203:20: note: in expansion of macro 'DUK_TVAL_IS_UNDEFINED' 20203 | if (DUK_UNLIKELY(!DUK_TVAL_IS_UNDEFINED(tv))) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20204:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 20204 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "undefined", DUK_STR_NOT_UNDEFINED); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_require_null(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1176:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1176 | #define DUK_TVAL_IS_NULL(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_NULL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20216:20: note: in expansion of macro 'DUK_TVAL_IS_NULL' 20216 | if (DUK_UNLIKELY(!DUK_TVAL_IS_NULL(tv))) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20217:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 20217 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "null", DUK_STR_NOT_NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__get_boolean_raw(duk_hthread*, duk_idx_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1177:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1177 | #define DUK_TVAL_IS_BOOLEAN(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_BOOLEAN) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20230:6: note: in expansion of macro 'DUK_TVAL_IS_BOOLEAN' 20230 | if (DUK_TVAL_IS_BOOLEAN(tv)) { | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1147:78: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1147 | #define DUK_TVAL_GET_BOOLEAN(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20231:9: note: in expansion of macro 'DUK_TVAL_GET_BOOLEAN' 20231 | ret = DUK_TVAL_GET_BOOLEAN(tv); | ^~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_require_boolean(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1177:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1177 | #define DUK_TVAL_IS_BOOLEAN(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_BOOLEAN) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20261:17: note: in expansion of macro 'DUK_TVAL_IS_BOOLEAN' 20261 | if (DUK_LIKELY(DUK_TVAL_IS_BOOLEAN(tv))) { | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1147:78: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1147 | #define DUK_TVAL_GET_BOOLEAN(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20262:9: note: in expansion of macro 'DUK_TVAL_GET_BOOLEAN' 20262 | ret = DUK_TVAL_GET_BOOLEAN(tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20266:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 20266 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "boolean", DUK_STR_NOT_BOOLEAN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk__get_number_raw(duk_hthread*, duk_idx_t, duk_double_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1192:32: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 1192 | #define DUK_TVAL_IS_DOUBLE(tv) DUK_TVAL_IS_NUMBER((tv)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20293:10: note: in expansion of macro 'DUK_TVAL_IS_DOUBLE' 20293 | if (DUK_TVAL_IS_DOUBLE(tv)) { | ^~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk_require_number(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20326:20: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 20326 | if (DUK_UNLIKELY(!DUK_TVAL_IS_NUMBER(tv))) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20327:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 20327 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "number", DUK_STR_NOT_NUMBER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk_get_int(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20354:81: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 20354 | return (duk_int_t) duk__api_coerce_d2i(thr, idx, 0 /*def_value*/, 0 /*require*/); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint_t duk_get_uint(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20360:83: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 20360 | return (duk_uint_t) duk__api_coerce_d2ui(thr, idx, 0 /*def_value*/, 0 /*require*/); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk_get_int_default(duk_hthread*, duk_idx_t, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20366:75: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 20366 | return (duk_int_t) duk__api_coerce_d2i(thr, idx, def_value, 0 /*require*/); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint_t duk_get_uint_default(duk_hthread*, duk_idx_t, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20372:77: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 20372 | return (duk_uint_t) duk__api_coerce_d2ui(thr, idx, def_value, 0 /*require*/); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk_require_int(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20378:81: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 20378 | return (duk_int_t) duk__api_coerce_d2i(thr, idx, 0 /*def_value*/, 1 /*require*/); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint_t duk_require_uint(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20384:83: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 20384 | return (duk_uint_t) duk__api_coerce_d2ui(thr, idx, 0 /*def_value*/, 1 /*require*/); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const char* duk_get_lstring(duk_hthread*, duk_idx_t, duk_size_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20415:24: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 20415 | ret = (const char *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20415:24: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 20415 | ret = (const char *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const char* duk_require_lstring(duk_hthread*, duk_idx_t, duk_size_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20437:24: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 20437 | return (const char *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20437:24: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 20437 | return (const char *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const char* duk_require_lstring_notsymbol(duk_hthread*, duk_idx_t, duk_size_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20450:24: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 20450 | return (const char *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20450:24: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 20450 | return (const char *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const char* duk_get_string(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20460:25: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 20460 | return (const char *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20460:25: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 20460 | return (const char *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const char* duk_get_lstring_default(duk_hthread*, duk_idx_t, duk_size_t*, const char*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20505:24: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 20505 | ret = (const char *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20505:24: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 20505 | ret = (const char *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const char* duk_get_string_default(duk_hthread*, duk_idx_t, const char*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20524:25: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 20524 | return (const char *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20524:25: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 20524 | return (const char *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const char* duk_get_string_notsymbol(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20537:25: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 20537 | return (const char *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20537:25: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 20537 | return (const char *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const char* duk_require_string_notsymbol(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20556:24: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 20556 | return (const char *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20556:24: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 20556 | return (const char *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_require_object(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20566:20: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 20566 | if (DUK_UNLIKELY(!DUK_TVAL_IS_OBJECT(tv))) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20567:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 20567 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "object", DUK_STR_NOT_OBJECT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void* duk__get_pointer_raw(duk_hthread*, duk_idx_t, void*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1184:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1184 | #define DUK_TVAL_IS_POINTER(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_POINTER) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20580:7: note: in expansion of macro 'DUK_TVAL_IS_POINTER' 20580 | if (!DUK_TVAL_IS_POINTER(tv)) { | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1168:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 1168 | #define DUK_TVAL_GET_POINTER(tv) ((void *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20584:6: note: in expansion of macro 'DUK_TVAL_GET_POINTER' 20584 | p = DUK_TVAL_GET_POINTER(tv); /* may be NULL */ | ^~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void* duk_require_pointer(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1184:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1184 | #define DUK_TVAL_IS_POINTER(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_POINTER) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20618:20: note: in expansion of macro 'DUK_TVAL_IS_POINTER' 20618 | if (DUK_UNLIKELY(!DUK_TVAL_IS_POINTER(tv))) { | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20619:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 20619 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "pointer", DUK_STR_NOT_POINTER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1168:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 1168 | #define DUK_TVAL_GET_POINTER(tv) ((void *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20622:6: note: in expansion of macro 'DUK_TVAL_GET_POINTER' 20622 | p = DUK_TVAL_GET_POINTER(tv); /* may be NULL */ | ^~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void* duk__get_buffer_helper(duk_hthread*, duk_idx_t, duk_size_t*, void*, duk_size_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1183:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1183 | #define DUK_TVAL_IS_BUFFER(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20664:17: note: in expansion of macro 'DUK_TVAL_IS_BUFFER' 20664 | if (DUK_LIKELY(DUK_TVAL_IS_BUFFER(tv))) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1167:85: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 1167 | #define DUK_TVAL_GET_BUFFER(tv) ((duk_hbuffer *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20665:7: note: in expansion of macro 'DUK_TVAL_GET_BUFFER' 20665 | h = DUK_TVAL_GET_BUFFER(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20668:9: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 20668 | len = DUK_HBUFFER_GET_SIZE(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20669:9: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 20669 | ret = DUK_HBUFFER_GET_DATA_PTR(thr->heap, h); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20669:9: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 20669 | ret = DUK_HBUFFER_GET_DATA_PTR(thr->heap, h); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20669:9: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 20669 | ret = DUK_HBUFFER_GET_DATA_PTR(thr->heap, h); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20669:9: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 20669 | ret = DUK_HBUFFER_GET_DATA_PTR(thr->heap, h); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20669:9: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 20669 | ret = DUK_HBUFFER_GET_DATA_PTR(thr->heap, h); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20669:9: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 20669 | ret = DUK_HBUFFER_GET_DATA_PTR(thr->heap, h); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20672:4: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 20672 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "buffer", DUK_STR_NOT_BUFFER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void* duk_get_buffer_data_raw(duk_hthread*, duk_idx_t, duk_size_t*, void*, duk_size_t, duk_bool_t, duk_bool_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1183:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1183 | #define DUK_TVAL_IS_BUFFER(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20745:6: note: in expansion of macro 'DUK_TVAL_IS_BUFFER' 20745 | if (DUK_TVAL_IS_BUFFER(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1167:85: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 1167 | #define DUK_TVAL_GET_BUFFER(tv) ((duk_hbuffer *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20746:20: note: in expansion of macro 'DUK_TVAL_GET_BUFFER' 20746 | duk_hbuffer *h = DUK_TVAL_GET_BUFFER(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20749:16: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 20749 | *out_size = DUK_HBUFFER_GET_SIZE(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20754:19: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 20754 | return (void *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h); /* may be NULL (but only if size is 0) */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20754:19: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 20754 | return (void *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h); /* may be NULL (but only if size is 0) */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20754:19: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 20754 | return (void *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h); /* may be NULL (but only if size is 0) */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20754:19: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 20754 | return (void *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h); /* may be NULL (but only if size is 0) */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20754:19: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 20754 | return (void *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h); /* may be NULL (but only if size is 0) */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20754:19: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 20754 | return (void *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h); /* may be NULL (but only if size is 0) */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20754:19: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 20754 | return (void *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h); /* may be NULL (but only if size is 0) */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20757:11: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 20757 | else if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20758:20: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 20758 | duk_hobject *h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20764:44: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 20764 | duk_hbufobj *h_bufobj = (duk_hbufobj *) h; | ^ | ----------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7944:33: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 7944 | ((h)->offset + (h)->length <= DUK_HBUFFER_GET_SIZE((h)->buf))) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20767:33: note: in expansion of macro 'DUK_HBUFOBJ_VALID_SLICE' 20767 | if (h_bufobj->buf != NULL && DUK_HBUFOBJ_VALID_SLICE(h_bufobj)) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20770:25: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 20770 | p = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20770:25: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 20770 | p = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20770:25: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 20770 | p = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20770:25: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 20770 | p = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20770:25: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 20770 | p = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20770:25: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 20770 | p = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20770:25: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 20770 | p = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20772:41: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 20772 | *out_size = (duk_size_t) h_bufobj->length; | ^~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20777:42: warning: use of old-style cast to 'void*' [-Wold-style-cast] 20777 | return (void *) (p + h_bufobj->offset); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20785:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 20785 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "buffer", DUK_STR_NOT_BUFFER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_heaphdr* duk__get_tagged_heaphdr_raw(duk_hthread*, duk_idx_t, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20835:6: note: in expansion of macro 'DUK_TVAL_GET_TAG' 20835 | if (DUK_TVAL_GET_TAG(tv) != tag) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20839:8: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 20839 | ret = DUK_TVAL_GET_HEAPHDR(tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hstring* duk_get_hstring(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20846:77: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 20846 | return (duk_hstring *) duk__get_tagged_heaphdr_raw(thr, idx, DUK_TAG_STRING); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hstring* duk_get_hstring_notsymbol(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20854:74: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 20854 | h = (duk_hstring *) duk__get_tagged_heaphdr_raw(thr, idx, DUK_TAG_STRING); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hstring* duk_require_hstring(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20866:74: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 20866 | h = (duk_hstring *) duk__get_tagged_heaphdr_raw(thr, idx, DUK_TAG_STRING); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20868:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 20868 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "string", DUK_STR_NOT_STRING); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hstring* duk_require_hstring_notsymbol(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20879:74: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 20879 | h = (duk_hstring *) duk__get_tagged_heaphdr_raw(thr, idx, DUK_TAG_STRING); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20881:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 20881 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "string", DUK_STR_NOT_STRING); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hobject* duk_get_hobject(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20889:77: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 20889 | return (duk_hobject *) duk__get_tagged_heaphdr_raw(thr, idx, DUK_TAG_OBJECT); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hobject* duk_require_hobject(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20897:74: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 20897 | h = (duk_hobject *) duk__get_tagged_heaphdr_raw(thr, idx, DUK_TAG_OBJECT); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20899:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 20899 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "object", DUK_STR_NOT_OBJECT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hbuffer* duk_get_hbuffer(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20907:77: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 20907 | return (duk_hbuffer *) duk__get_tagged_heaphdr_raw(thr, idx, DUK_TAG_BUFFER); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hbuffer* duk_require_hbuffer(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20915:74: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 20915 | h = (duk_hbuffer *) duk__get_tagged_heaphdr_raw(thr, idx, DUK_TAG_BUFFER); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20917:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 20917 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "buffer", DUK_STR_NOT_BUFFER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hthread* duk_get_hthread(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20928:74: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 20928 | h = (duk_hobject *) duk__get_tagged_heaphdr_raw(thr, idx, DUK_TAG_OBJECT); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20932:25: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 20932 | return (duk_hthread *) h; | ^ | ----------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hthread* duk_require_hthread(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20940:74: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 20940 | h = (duk_hobject *) duk__get_tagged_heaphdr_raw(thr, idx, DUK_TAG_OBJECT); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20942:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 20942 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "thread", DUK_STR_NOT_THREAD); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20945:25: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 20945 | return (duk_hthread *) h; | ^ | ----------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hcompfunc* duk_get_hcompfunc(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20953:74: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 20953 | h = (duk_hobject *) duk__get_tagged_heaphdr_raw(thr, idx, DUK_TAG_OBJECT); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20957:27: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 20957 | return (duk_hcompfunc *) h; | ^ | ------------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hcompfunc* duk_require_hcompfunc(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20965:74: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 20965 | h = (duk_hobject *) duk__get_tagged_heaphdr_raw(thr, idx, DUK_TAG_OBJECT); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20967:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 20967 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "compiledfunction", DUK_STR_NOT_COMPFUNC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20970:27: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 20970 | return (duk_hcompfunc *) h; | ^ | ------------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hnatfunc* duk_get_hnatfunc(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20978:74: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 20978 | h = (duk_hobject *) duk__get_tagged_heaphdr_raw(thr, idx, DUK_TAG_OBJECT); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20982:26: warning: use of old-style cast to 'duk_hnatfunc*' {aka 'struct duk_hnatfunc*'} [-Wold-style-cast] 20982 | return (duk_hnatfunc *) h; | ^ | ------------------ | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hnatfunc* duk_require_hnatfunc(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20990:74: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 20990 | h = (duk_hobject *) duk__get_tagged_heaphdr_raw(thr, idx, DUK_TAG_OBJECT); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20992:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 20992 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "nativefunction", DUK_STR_NOT_NATFUNC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:20995:26: warning: use of old-style cast to 'duk_hnatfunc*' {aka 'struct duk_hnatfunc*'} [-Wold-style-cast] 20995 | return (duk_hnatfunc *) h; | ^ | ------------------ | reinterpret_cast ( h) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t (* duk_get_c_function(duk_hthread*, duk_idx_t))(duk_context*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21007:20: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 21007 | if (DUK_UNLIKELY(!DUK_TVAL_IS_OBJECT(tv))) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21010:6: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 21010 | h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21017:23: warning: use of old-style cast to 'duk_hnatfunc*' {aka 'struct duk_hnatfunc*'} [-Wold-style-cast] 21017 | f = (duk_hnatfunc *) h; | ^ | ------------------ | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t (* duk_require_c_function(duk_hthread*, duk_idx_t))(duk_context*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21051:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 21051 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "nativefunction", DUK_STR_NOT_NATFUNC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_require_function(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21060:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 21060 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "function", DUK_STR_NOT_FUNCTION); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_require_constructable(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21072:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 21072 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "constructable", DUK_STR_NOT_CONSTRUCTABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void* duk_get_heapptr(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21120:20: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 21120 | if (DUK_UNLIKELY(!DUK_TVAL_IS_HEAP_ALLOCATED(tv))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21124:17: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 21124 | ret = (void *) DUK_TVAL_GET_HEAPHDR(tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:86: warning: use of old-style cast to 'void*' [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21124:17: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 21124 | ret = (void *) DUK_TVAL_GET_HEAPHDR(tv); | ^~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void* duk_require_heapptr(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21159:20: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 21159 | if (DUK_UNLIKELY(!DUK_TVAL_IS_HEAP_ALLOCATED(tv))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21160:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 21160 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "heapobject", DUK_STR_UNEXPECTED_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21164:17: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 21164 | ret = (void *) DUK_TVAL_GET_HEAPHDR(tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:86: warning: use of old-style cast to 'void*' [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21164:17: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 21164 | ret = (void *) DUK_TVAL_GET_HEAPHDR(tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hobject* duk__get_hobject_promote_mask_raw(duk_hthread*, duk_idx_t, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21194:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 21194 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, "object", DUK_STR_NOT_OBJECT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hobject* duk_get_hobject_with_class(duk_hthread*, duk_idx_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21235:74: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 21235 | h = (duk_hobject *) duk__get_tagged_heaphdr_raw(thr, idx, DUK_TAG_OBJECT); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hobject* duk_require_hobject_with_class(duk_hthread*, duk_idx_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21249:74: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 21249 | h = (duk_hobject *) duk__get_tagged_heaphdr_raw(thr, idx, DUK_TAG_OBJECT); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:65: note: in expansion of macro 'DUK_LINE_MACRO' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21255:3: note: in expansion of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 21255 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, (const char *) DUK_HSTRING_GET_DATA(h_class), DUK_STR_UNEXPECTED_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:89: note: in definition of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21255:57: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 21255 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, (const char *) DUK_HSTRING_GET_DATA(h_class), DUK_STR_UNEXPECTED_TYPE); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10279:89: note: in definition of macro 'DUK_ERROR_REQUIRE_TYPE_INDEX' 10279 | duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \ | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21255:57: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 21255 | DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, (const char *) DUK_HSTRING_GET_DATA(h_class), DUK_STR_UNEXPECTED_TYPE); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_size_t duk_get_length(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21269:10: note: in expansion of macro 'DUK_TVAL_GET_TAG' 21269 | switch (DUK_TVAL_GET_TAG(tv)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21294:20: note: in expansion of macro 'DUK_TVAL_GET_STRING' 21294 | duk_hstring *h = DUK_TVAL_GET_STRING(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6413:63: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6413 | #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21299:23: note: in expansion of macro 'DUK_HSTRING_GET_CHARLEN' 21299 | return (duk_size_t) DUK_HSTRING_GET_CHARLEN(h); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1167:85: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 1167 | #define DUK_TVAL_GET_BUFFER(tv) ((duk_hbuffer *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21302:20: note: in expansion of macro 'DUK_TVAL_GET_BUFFER' 21302 | duk_hbuffer *h = DUK_TVAL_GET_BUFFER(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21304:23: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 21304 | return (duk_size_t) DUK_HBUFFER_GET_SIZE(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21304:23: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 21304 | return (duk_size_t) DUK_HBUFFER_GET_SIZE(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21314:42: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 21314 | ret = (duk_size_t) duk_to_number_m1(thr); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21320:20: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 21320 | duk_hobject *h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21322:52: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 21322 | return (duk_size_t) duk_hobject_get_length(thr, h); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_heaphdr* duk__known_heaphdr(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21358:6: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 21358 | h = DUK_TVAL_GET_HEAPHDR(tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hstring* duk_known_hstring(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21366:52: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 21366 | return (duk_hstring *) duk__known_heaphdr(thr, idx); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hobject* duk_known_hobject(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21372:52: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 21372 | return (duk_hobject *) duk__known_heaphdr(thr, idx); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hbuffer* duk_known_hbuffer(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21378:52: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 21378 | return (duk_hbuffer *) duk__known_heaphdr(thr, idx); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hcompfunc* duk_known_hcompfunc(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21384:54: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 21384 | return (duk_hcompfunc *) duk__known_heaphdr(thr, idx); | ^ | ----------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hnatfunc* duk_known_hnatfunc(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21390:53: warning: use of old-style cast to 'duk_hnatfunc*' {aka 'struct duk_hnatfunc*'} [-Wold-style-cast] 21390 | return (duk_hnatfunc *) duk__known_heaphdr(thr, idx); | ^ | ---------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_set_length(duk_hthread*, duk_idx_t, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21397:34: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 21397 | duk_push_uint(thr, (duk_uint_t) len); | ^~~ | ---------------- | static_cast ( len) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_to_undefined(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5209:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 5209 | DUK_TVAL_SET_UNDEFINED(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21435:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 21435 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5210:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5210 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21435:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 21435 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5210:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5210 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21435:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 21435 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_to_null(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:940:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 940 | #define DUK_TAG_NULL 0xfff4UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1068:46: note: in expansion of macro 'DUK_TAG_NULL' 1068 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_NULL; \ | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5239:3: note: in expansion of macro 'DUK_TVAL_SET_NULL' 5239 | DUK_TVAL_SET_NULL(tv__dst); \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5419:44: note: in expansion of macro 'DUK_TVAL_SET_NULL_UPDREF_ALT0' 5419 | #define DUK_TVAL_SET_NULL_UPDREF DUK_TVAL_SET_NULL_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21445:2: note: in expansion of macro 'DUK_TVAL_SET_NULL_UPDREF' 21445 | DUK_TVAL_SET_NULL_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5240:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5240 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5419:44: note: in expansion of macro 'DUK_TVAL_SET_NULL_UPDREF_ALT0' 5419 | #define DUK_TVAL_SET_NULL_UPDREF DUK_TVAL_SET_NULL_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21445:2: note: in expansion of macro 'DUK_TVAL_SET_NULL_UPDREF' 21445 | DUK_TVAL_SET_NULL_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5240:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5240 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5419:44: note: in expansion of macro 'DUK_TVAL_SET_NULL_UPDREF_ALT0' 5419 | #define DUK_TVAL_SET_NULL_UPDREF DUK_TVAL_SET_NULL_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21445:2: note: in expansion of macro 'DUK_TVAL_SET_NULL_UPDREF' 21445 | DUK_TVAL_SET_NULL_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__to_primitive_helper(duk_hthread*, duk_idx_t, duk_int_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21526:2: note: in expansion of macro 'DUK_ERROR_TYPE' 21526 | DUK_ERROR_TYPE(thr, DUK_STR_TOPRIMITIVE_FAILED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21526:2: note: in expansion of macro 'DUK_ERROR_TYPE' 21526 | DUK_ERROR_TYPE(thr, DUK_STR_TOPRIMITIVE_FAILED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21526:2: note: in expansion of macro 'DUK_ERROR_TYPE' 21526 | DUK_ERROR_TYPE(thr, DUK_STR_TOPRIMITIVE_FAILED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_to_boolean(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21548:7: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 21548 | tv = DUK_GET_TVAL_POSIDX(thr, idx); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21556:2: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 21556 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, tv, val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21556:2: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 21556 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, tv, val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21556:2: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 21556 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, tv, val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21556:2: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 21556 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, tv, val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21556:2: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 21556 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, tv, val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk_to_number(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21586:7: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 21586 | tv = DUK_GET_TVAL_POSIDX(thr, idx); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21591:7: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 21591 | tv = DUK_GET_TVAL_POSIDX(thr, idx); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5260:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5260 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5421:44: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF_ALT0' 5421 | #define DUK_TVAL_SET_NUMBER_UPDREF DUK_TVAL_SET_NUMBER_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21592:2: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF' 21592 | DUK_TVAL_SET_NUMBER_UPDREF(thr, tv, d); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5260:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5260 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5421:44: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF_ALT0' 5421 | #define DUK_TVAL_SET_NUMBER_UPDREF DUK_TVAL_SET_NUMBER_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21592:2: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF' 21592 | DUK_TVAL_SET_NUMBER_UPDREF(thr, tv, d); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk_to_number_tval(duk_hthread*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21624:2: note: in expansion of macro 'DUK_TVAL_INCREF' 21624 | DUK_TVAL_INCREF(thr, tv_dst); /* decref not necessary */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21624:2: note: in expansion of macro 'DUK_TVAL_INCREF' 21624 | DUK_TVAL_INCREF(thr, tv_dst); /* decref not necessary */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21630:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 21630 | DUK_TVAL_SET_UNDEFINED(tv_dst); /* valstack init policy */ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk__to_int_uint_helper(duk_hthread*, duk_idx_t, duk__toint_coercer)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5260:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5260 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5421:44: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF_ALT0' 5421 | #define DUK_TVAL_SET_NUMBER_UPDREF DUK_TVAL_SET_NUMBER_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21666:2: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF' 21666 | DUK_TVAL_SET_NUMBER_UPDREF(thr, tv, d); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5260:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5260 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5421:44: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF_ALT0' 5421 | #define DUK_TVAL_SET_NUMBER_UPDREF DUK_TVAL_SET_NUMBER_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21666:2: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF' 21666 | DUK_TVAL_SET_NUMBER_UPDREF(thr, tv, d); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk_to_int(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21676:81: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 21676 | return (duk_int_t) duk__api_coerce_d2i(thr, idx, 0 /*def_value*/, 0 /*require*/); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint_t duk_to_uint(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21685:83: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 21685 | return (duk_uint_t) duk__api_coerce_d2ui(thr, idx, 0 /*def_value*/, 0 /*require*/); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int32_t duk_to_int32(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:71: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1115:18: note: in definition of macro 'DUK_TVAL_SET_DOUBLE' 1115 | duk__dblval = (d); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5431:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5431 | #define DUK_TVAL_SET_I32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21700:2: note: in expansion of macro 'DUK_TVAL_SET_I32_UPDREF' 21700 | DUK_TVAL_SET_I32_UPDREF(thr, tv, ret); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5278:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5278 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:2: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF' 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5431:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5431 | #define DUK_TVAL_SET_I32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21700:2: note: in expansion of macro 'DUK_TVAL_SET_I32_UPDREF' 21700 | DUK_TVAL_SET_I32_UPDREF(thr, tv, ret); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5278:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5278 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:2: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF' 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5431:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5431 | #define DUK_TVAL_SET_I32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21700:2: note: in expansion of macro 'DUK_TVAL_SET_I32_UPDREF' 21700 | DUK_TVAL_SET_I32_UPDREF(thr, tv, ret); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk_to_uint32(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:71: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1115:18: note: in definition of macro 'DUK_TVAL_SET_DOUBLE' 1115 | duk__dblval = (d); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5432:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5432 | #define DUK_TVAL_SET_U32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21716:2: note: in expansion of macro 'DUK_TVAL_SET_U32_UPDREF' 21716 | DUK_TVAL_SET_U32_UPDREF(thr, tv, ret); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5278:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5278 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:2: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF' 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5432:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5432 | #define DUK_TVAL_SET_U32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21716:2: note: in expansion of macro 'DUK_TVAL_SET_U32_UPDREF' 21716 | DUK_TVAL_SET_U32_UPDREF(thr, tv, ret); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5278:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5278 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:2: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF' 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5432:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5432 | #define DUK_TVAL_SET_U32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21716:2: note: in expansion of macro 'DUK_TVAL_SET_U32_UPDREF' 21716 | DUK_TVAL_SET_U32_UPDREF(thr, tv, ret); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint16_t duk_to_uint16(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:71: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1115:18: note: in definition of macro 'DUK_TVAL_SET_DOUBLE' 1115 | duk__dblval = (d); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5432:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5432 | #define DUK_TVAL_SET_U32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21732:2: note: in expansion of macro 'DUK_TVAL_SET_U32_UPDREF' 21732 | DUK_TVAL_SET_U32_UPDREF(thr, tv, ret); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5278:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5278 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:2: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF' 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5432:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5432 | #define DUK_TVAL_SET_U32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21732:2: note: in expansion of macro 'DUK_TVAL_SET_U32_UPDREF' 21732 | DUK_TVAL_SET_U32_UPDREF(thr, tv, ret); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5278:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5278 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:2: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF' 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5432:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5432 | #define DUK_TVAL_SET_U32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21732:2: note: in expansion of macro 'DUK_TVAL_SET_U32_UPDREF' 21732 | DUK_TVAL_SET_U32_UPDREF(thr, tv, ret); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint8_t duk_to_uint8clamped(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21763:23: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 21763 | ret = (duk_uint8_t) d; | ^ | - | static_cast<- | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21769:31: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 21769 | ret = (duk_uint8_t) (d + 0.5); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_class_string_tval(duk_hthread*, duk_tval*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21941:10: note: in expansion of macro 'DUK_TVAL_GET_TAG' 21941 | switch (DUK_TVAL_GET_TAG(tv)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk_to_int_clamped_raw(duk_hthread*, duk_idx_t, duk_int_t, duk_int_t, duk_bool_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22006:24: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 22006 | dmin = (duk_double_t) minval; | ^~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22007:24: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 22007 | dmax = (duk_double_t) maxval; | ^~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22018:21: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 22018 | res = (duk_int_t) d; | ^ | ------------- | static_cast ( d) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22041:2: note: in expansion of macro 'DUK_TVAL_DECREF' 22041 | DUK_TVAL_DECREF(thr, &tv_tmp); /* side effects */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22041:2: note: in expansion of macro 'DUK_TVAL_DECREF' 22041 | DUK_TVAL_DECREF(thr, &tv_tmp); /* side effects */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22048:4: note: in expansion of macro 'DUK_ERROR_RANGE' 22048 | DUK_ERROR_RANGE(thr, DUK_STR_NUMBER_OUTSIDE_RANGE); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const char* duk_to_string(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22075:7: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 22075 | tv = DUK_GET_TVAL_POSIDX(thr, idx); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22078:10: note: in expansion of macro 'DUK_TVAL_GET_TAG' 22078 | switch (DUK_TVAL_GET_TAG(tv)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1147:78: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1147 | #define DUK_TVAL_GET_BOOLEAN(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22088:7: note: in expansion of macro 'DUK_TVAL_GET_BOOLEAN' 22088 | if (DUK_TVAL_GET_BOOLEAN(tv)) { | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22103:7: note: in expansion of macro 'DUK_TVAL_GET_STRING' 22103 | h = DUK_TVAL_GET_STRING(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22106:4: note: in expansion of macro 'DUK_ERROR_TYPE' 22106 | DUK_ERROR_TYPE(thr, DUK_STR_CANNOT_STRING_COERCE_SYMBOL); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22106:4: note: in expansion of macro 'DUK_ERROR_TYPE' 22106 | DUK_ERROR_TYPE(thr, DUK_STR_CANNOT_STRING_COERCE_SYMBOL); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22106:4: note: in expansion of macro 'DUK_ERROR_TYPE' 22106 | DUK_ERROR_TYPE(thr, DUK_STR_CANNOT_STRING_COERCE_SYMBOL); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1168:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 1168 | #define DUK_TVAL_GET_POINTER(tv) ((void *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22130:15: note: in expansion of macro 'DUK_TVAL_GET_POINTER' 22130 | void *ptr = DUK_TVAL_GET_POINTER(tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22132:52: warning: use of old-style cast to 'void*' [-Wold-style-cast] 22132 | duk_push_sprintf(thr, DUK_STR_FMT_PTR, (void *) ptr); | ^~~ | ------------ | const_cast ( ptr) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const char* duk_buffer_to_string(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22214:45: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 22214 | res = duk_push_lstring(thr, (const char *) ptr_src, len); | ^~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void* duk_to_buffer_raw(duk_hthread*, duk_idx_t, duk_size_t*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22239:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 22239 | tmp_ptr = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_buf); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22239:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 22239 | tmp_ptr = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_buf); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22239:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 22239 | tmp_ptr = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_buf); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22239:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 22239 | tmp_ptr = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_buf); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22239:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 22239 | tmp_ptr = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_buf); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22239:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 22239 | tmp_ptr = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_buf); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22239:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 22239 | tmp_ptr = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_buf); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22240:36: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 22240 | src_data = (const duk_uint8_t *) tmp_ptr; | ^~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22241:14: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 22241 | src_size = DUK_HBUFFER_GET_SIZE(h_buf); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22257:70: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 22257 | src_data = (const duk_uint8_t *) duk_to_lstring(thr, idx, &src_size); | ^ | - | reinterpret_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:773:73: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 773 | duk_push_buffer_raw((ctx), (size), (dynamic) ? DUK_BUF_FLAG_DYNAMIC : 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22260:29: note: in expansion of macro 'duk_push_buffer' 22260 | dst_data = (duk_uint8_t *) duk_push_buffer(thr, src_size, (mode == DUK_BUF_MODE_DYNAMIC) /*dynamic*/); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22262:29: warning: use of old-style cast to 'void*' [-Wold-style-cast] 22262 | duk_memcpy_unsafe((void *) dst_data, (const void *) src_data, (size_t) src_size); | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22262:54: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 22262 | duk_memcpy_unsafe((void *) dst_data, (const void *) src_data, (size_t) src_size); | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22262:73: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 22262 | duk_memcpy_unsafe((void *) dst_data, (const void *) src_data, (size_t) src_size); | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3039:26: note: in definition of macro 'duk_memcpy_unsafe' 3039 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22262:2: note: in expansion of macro 'duk_memcpy_unsafe' 22262 | duk_memcpy_unsafe((void *) dst_data, (const void *) src_data, (size_t) src_size); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void* duk_to_pointer(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22280:7: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 22280 | tv = DUK_GET_TVAL_POSIDX(thr, idx); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22283:10: note: in expansion of macro 'DUK_TVAL_GET_TAG' 22283 | switch (DUK_TVAL_GET_TAG(tv)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1168:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 1168 | #define DUK_TVAL_GET_POINTER(tv) ((void *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22290:9: note: in expansion of macro 'DUK_TVAL_GET_POINTER' 22290 | res = DUK_TVAL_GET_POINTER(tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22298:18: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 22298 | res = (void *) DUK_TVAL_GET_HEAPHDR(tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:86: warning: use of old-style cast to 'void*' [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22298:18: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 22298 | res = (void *) DUK_TVAL_GET_HEAPHDR(tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__push_func_from_lightfunc(duk_hthread*, duk_c_function, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1532:70: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 1532 | #define DUK_LFUNC_FLAGS_GET_NARGS(lf_flags) ((lf_flags) &0x0fU) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22329:22: note: in expansion of macro 'DUK_LFUNC_FLAGS_GET_NARGS' 22329 | nargs = (duk_idx_t) DUK_LFUNC_FLAGS_GET_NARGS(lf_flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:315:59: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 315 | #define DUK_VARARGS ((duk_int_t) (-1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22331:23: note: in expansion of macro 'DUK_VARARGS' 22331 | nargs = (duk_idx_t) DUK_VARARGS; | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:315:60: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 315 | #define DUK_VARARGS ((duk_int_t) (-1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22331:23: note: in expansion of macro 'DUK_VARARGS' 22331 | nargs = (duk_idx_t) DUK_VARARGS; | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22336:36: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 22336 | DUK_HOBJECT_FLAG_NOTAIL | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_FUNCTION); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22340:18: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 22340 | if ((duk_idx_t) lf_len != nargs) { | ^~~~~~ | ------------------ | static_cast ( lf_len) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22342:33: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 22342 | duk_push_int(thr, (duk_int_t) lf_len); | ^~~~~~ | ------------------ | static_cast ( lf_len) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22343:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 22343 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22343:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 22343 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22343:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 22343 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22348:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 22348 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22348:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 22348 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22348:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 22348 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1530:106: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 1530 | #define DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags) ((duk_int32_t) (duk_int8_t) (((duk_uint16_t) (lf_flags)) >> 8)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22352:28: note: in expansion of macro 'DUK_LFUNC_FLAGS_GET_MAGIC' 22352 | nf->magic = (duk_int16_t) DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1530:113: warning: use of old-style cast to 'duk_int8_t' {aka 'signed char'} [-Wold-style-cast] 1530 | #define DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags) ((duk_int32_t) (duk_int8_t) (((duk_uint16_t) (lf_flags)) >> 8)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22352:28: note: in expansion of macro 'DUK_LFUNC_FLAGS_GET_MAGIC' 22352 | nf->magic = (duk_int16_t) DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1530:113: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 1530 | #define DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags) ((duk_int32_t) (duk_int8_t) (((duk_uint16_t) (lf_flags)) >> 8)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22352:28: note: in expansion of macro 'DUK_LFUNC_FLAGS_GET_MAGIC' 22352 | nf->magic = (duk_int16_t) DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1530:114: warning: use of old-style cast to 'duk_int16_t' {aka 'short int'} [-Wold-style-cast] 1530 | #define DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags) ((duk_int32_t) (duk_int8_t) (((duk_uint16_t) (lf_flags)) >> 8)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22352:28: note: in expansion of macro 'DUK_LFUNC_FLAGS_GET_MAGIC' 22352 | nf->magic = (duk_int16_t) DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_to_object(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22363:7: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 22363 | tv = DUK_GET_TVAL_POSIDX(thr, idx); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22366:10: note: in expansion of macro 'DUK_TVAL_GET_TAG' 22366 | switch (DUK_TVAL_GET_TAG(tv)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22372:3: note: in expansion of macro 'DUK_ERROR_TYPE' 22372 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_OBJECT_COERCIBLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22372:3: note: in expansion of macro 'DUK_ERROR_TYPE' 22372 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_OBJECT_COERCIBLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22372:3: note: in expansion of macro 'DUK_ERROR_TYPE' 22372 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_OBJECT_COERCIBLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22378:65: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 22378 | DUK_HOBJECT_FLAG_EXTENSIBLE | DUK_HOBJECT_FLAG_FASTREFS | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_BOOLEAN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22384:7: note: in expansion of macro 'DUK_TVAL_GET_STRING' 22384 | h = DUK_TVAL_GET_STRING(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22388:12: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 22388 | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_SYMBOL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22392:12: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 22392 | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_STRING); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1167:85: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 1167 | #define DUK_TVAL_GET_BUFFER(tv) ((duk_hbuffer *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22412:11: note: in expansion of macro 'DUK_TVAL_GET_BUFFER' 22412 | h_buf = DUK_TVAL_GET_BUFFER(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22420:65: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 22420 | DUK_HOBJECT_FLAG_EXTENSIBLE | DUK_HOBJECT_FLAG_FASTREFS | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_POINTER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1161:55: warning: use of old-style cast to 'duk_c_function' {aka 'int (*)(struct duk_hthread*)'} [-Wold-style-cast] 1161 | (out_fp) = (duk_c_function) (tv)->ui[DUK_DBL_IDX_UI1]; \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22437:3: note: in expansion of macro 'DUK_TVAL_GET_LIGHTFUNC' 22437 | DUK_TVAL_GET_LIGHTFUNC(tv, func, lf_flags); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22448:65: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 22448 | DUK_HOBJECT_FLAG_EXTENSIBLE | DUK_HOBJECT_FLAG_FASTREFS | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_NUMBER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22467:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 22467 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22467:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 22467 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22467:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 22467 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__tag_check(duk_hthread*, duk_idx_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22493:10: note: in expansion of macro 'DUK_TVAL_GET_TAG' 22493 | return (DUK_TVAL_GET_TAG(tv) == tag); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__obj_flag_any_default_false(duk_hthread*, duk_idx_t, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22503:55: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 22503 | return (DUK_HEAPHDR_CHECK_FLAG_BITS((duk_heaphdr *) obj, flag_mask) ? 1 : 0); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk_get_type_tval(duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22512:10: note: in expansion of macro 'DUK_TVAL_GET_TAG' 22512 | switch (DUK_TVAL_GET_TAG(tv)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_uint_t duk_get_class_number(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22584:10: note: in expansion of macro 'DUK_TVAL_GET_TAG' 22584 | switch (DUK_TVAL_GET_TAG(tv)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22586:9: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 22586 | obj = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint_t duk_get_type_mask_tval(duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22611:10: note: in expansion of macro 'DUK_TVAL_GET_TAG' 22611 | switch (DUK_TVAL_GET_TAG(tv)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_check_type_mask(duk_hthread*, duk_idx_t, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22664:3: note: in expansion of macro 'DUK_ERROR_TYPE' 22664 | DUK_ERROR_TYPE(thr, DUK_STR_UNEXPECTED_TYPE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22664:3: note: in expansion of macro 'DUK_ERROR_TYPE' 22664 | DUK_ERROR_TYPE(thr, DUK_STR_UNEXPECTED_TYPE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22664:3: note: in expansion of macro 'DUK_ERROR_TYPE' 22664 | DUK_ERROR_TYPE(thr, DUK_STR_UNEXPECTED_TYPE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_is_number(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22699:9: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 22699 | return DUK_TVAL_IS_NUMBER(tv); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_is_nan(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22717:7: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 22717 | if (!DUK_TVAL_IS_NUMBER(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_is_buffer_data(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1183:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1183 | #define DUK_TVAL_IS_BUFFER(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22751:6: note: in expansion of macro 'DUK_TVAL_IS_BUFFER' 22751 | if (DUK_TVAL_IS_BUFFER(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22753:13: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 22753 | } else if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22754:20: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 22754 | duk_hobject *h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_is_function(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22814:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 22814 | if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22816:7: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 22816 | h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1180:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1180 | #define DUK_TVAL_IS_LIGHTFUNC(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_LIGHTFUNC) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22820:6: note: in expansion of macro 'DUK_TVAL_IS_LIGHTFUNC' 22820 | if (DUK_TVAL_IS_LIGHTFUNC(tv)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_is_callable_tval(duk_hthread*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22831:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 22831 | if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22833:7: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 22833 | h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1180:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1180 | #define DUK_TVAL_IS_LIGHTFUNC(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_LIGHTFUNC) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22837:6: note: in expansion of macro 'DUK_TVAL_IS_LIGHTFUNC' 22837 | if (DUK_TVAL_IS_LIGHTFUNC(tv)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_is_constructable(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22849:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 22849 | if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22851:7: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 22851 | h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1180:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1180 | #define DUK_TVAL_IS_LIGHTFUNC(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_LIGHTFUNC) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22855:6: note: in expansion of macro 'DUK_TVAL_IS_LIGHTFUNC' 22855 | if (DUK_TVAL_IS_LIGHTFUNC(tv)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_is_fixed_buffer(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1183:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1183 | #define DUK_TVAL_IS_BUFFER(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22895:6: note: in expansion of macro 'DUK_TVAL_IS_BUFFER' 22895 | if (DUK_TVAL_IS_BUFFER(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1167:85: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 1167 | #define DUK_TVAL_GET_BUFFER(tv) ((duk_hbuffer *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22896:20: note: in expansion of macro 'DUK_TVAL_GET_BUFFER' 22896 | duk_hbuffer *h = DUK_TVAL_GET_BUFFER(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_is_dynamic_buffer(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1183:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1183 | #define DUK_TVAL_IS_BUFFER(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22910:6: note: in expansion of macro 'DUK_TVAL_IS_BUFFER' 22910 | if (DUK_TVAL_IS_BUFFER(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1167:85: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 1167 | #define DUK_TVAL_GET_BUFFER(tv) ((duk_hbuffer *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22911:20: note: in expansion of macro 'DUK_TVAL_GET_BUFFER' 22911 | duk_hbuffer *h = DUK_TVAL_GET_BUFFER(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_is_external_buffer(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1183:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1183 | #define DUK_TVAL_IS_BUFFER(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22925:6: note: in expansion of macro 'DUK_TVAL_IS_BUFFER' 22925 | if (DUK_TVAL_IS_BUFFER(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1167:85: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 1167 | #define DUK_TVAL_GET_BUFFER(tv) ((duk_hbuffer *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22926:20: note: in expansion of macro 'DUK_TVAL_GET_BUFFER' 22926 | duk_hbuffer *h = DUK_TVAL_GET_BUFFER(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_tval(duk_hthread*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22987:2: note: in expansion of macro 'DUK__CHECK_SPACE' 22987 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22990:2: note: in expansion of macro 'DUK_TVAL_INCREF' 22990 | DUK_TVAL_INCREF(thr, tv); /* no side effects */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22990:2: note: in expansion of macro 'DUK_TVAL_INCREF' 22990 | DUK_TVAL_INCREF(thr, tv); /* no side effects */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_undefined(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22996:2: note: in expansion of macro 'DUK__CHECK_SPACE' 22996 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_null(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23009:2: note: in expansion of macro 'DUK__CHECK_SPACE' 23009 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:940:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 940 | #define DUK_TAG_NULL 0xfff4UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1068:46: note: in expansion of macro 'DUK_TAG_NULL' 1068 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_NULL; \ | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23011:2: note: in expansion of macro 'DUK_TVAL_SET_NULL' 23011 | DUK_TVAL_SET_NULL(tv_slot); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_boolean(duk_hthread*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23019:2: note: in expansion of macro 'DUK__CHECK_SPACE' 23019 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23022:2: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 23022 | DUK_TVAL_SET_BOOLEAN(tv_slot, b); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23022:2: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 23022 | DUK_TVAL_SET_BOOLEAN(tv_slot, b); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23022:2: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 23022 | DUK_TVAL_SET_BOOLEAN(tv_slot, b); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_true(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23029:2: note: in expansion of macro 'DUK__CHECK_SPACE' 23029 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1521:40: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 1521 | #define DUK_TVAL_SET_BOOLEAN_TRUE(tv) DUK_TVAL_SET_BOOLEAN((tv), 1) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23031:2: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_TRUE' 23031 | DUK_TVAL_SET_BOOLEAN_TRUE(tv_slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1521:40: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 1521 | #define DUK_TVAL_SET_BOOLEAN_TRUE(tv) DUK_TVAL_SET_BOOLEAN((tv), 1) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23031:2: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_TRUE' 23031 | DUK_TVAL_SET_BOOLEAN_TRUE(tv_slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1521:40: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 1521 | #define DUK_TVAL_SET_BOOLEAN_TRUE(tv) DUK_TVAL_SET_BOOLEAN((tv), 1) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23031:2: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_TRUE' 23031 | DUK_TVAL_SET_BOOLEAN_TRUE(tv_slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_false(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23038:2: note: in expansion of macro 'DUK__CHECK_SPACE' 23038 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1522:40: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 1522 | #define DUK_TVAL_SET_BOOLEAN_FALSE(tv) DUK_TVAL_SET_BOOLEAN((tv), 0) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23040:2: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_FALSE' 23040 | DUK_TVAL_SET_BOOLEAN_FALSE(tv_slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1522:40: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 1522 | #define DUK_TVAL_SET_BOOLEAN_FALSE(tv) DUK_TVAL_SET_BOOLEAN((tv), 0) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23040:2: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_FALSE' 23040 | DUK_TVAL_SET_BOOLEAN_FALSE(tv_slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1522:40: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 1522 | #define DUK_TVAL_SET_BOOLEAN_FALSE(tv) DUK_TVAL_SET_BOOLEAN((tv), 0) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23040:2: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_FALSE' 23040 | DUK_TVAL_SET_BOOLEAN_FALSE(tv_slot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_number(duk_hthread*, duk_double_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23049:2: note: in expansion of macro 'DUK__CHECK_SPACE' 23049 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_int(duk_hthread*, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23078:2: note: in expansion of macro 'DUK__CHECK_SPACE' 23078 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23079:21: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 23079 | d = (duk_double_t) val; | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_uint(duk_hthread*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23108:2: note: in expansion of macro 'DUK__CHECK_SPACE' 23108 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23109:21: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 23109 | d = (duk_double_t) val; | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_nan(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23120:2: note: in expansion of macro 'DUK__CHECK_SPACE' 23120 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const char* duk_push_lstring(duk_hthread*, const char*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23134:2: note: in expansion of macro 'DUK__CHECK_SPACE' 23134 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23147:3: note: in expansion of macro 'DUK_ERROR_RANGE' 23147 | DUK_ERROR_RANGE(thr, DUK_STR_STRING_TOO_LONG); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23151:66: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 23151 | h = duk_heap_strtable_intern_checked(thr, (const duk_uint8_t *) str, (duk_uint32_t) len); | ^~~ | - | reinterpret_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23151:86: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 23151 | h = duk_heap_strtable_intern_checked(thr, (const duk_uint8_t *) str, (duk_uint32_t) len); | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23155:2: note: in expansion of macro 'DUK_TVAL_SET_STRING' 23155 | DUK_TVAL_SET_STRING(tv_slot, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23155:2: note: in expansion of macro 'DUK_TVAL_SET_STRING' 23155 | DUK_TVAL_SET_STRING(tv_slot, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23155:2: note: in expansion of macro 'DUK_TVAL_SET_STRING' 23155 | DUK_TVAL_SET_STRING(tv_slot, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23156:2: note: in expansion of macro 'DUK_HSTRING_INCREF' 23156 | DUK_HSTRING_INCREF(thr, h); /* no side effects */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23156:2: note: in expansion of macro 'DUK_HSTRING_INCREF' 23156 | DUK_HSTRING_INCREF(thr, h); /* no side effects */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23158:24: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 23158 | return (const char *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23158:24: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 23158 | return (const char *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const char* duk_push_literal_raw(duk_hthread*, const char*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23184:3: note: in expansion of macro 'DUK_ERROR_RANGE' 23184 | DUK_ERROR_RANGE(thr, DUK_STR_STRING_TOO_LONG); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23188:74: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 23188 | h = duk_heap_strtable_intern_literal_checked(thr, (const duk_uint8_t *) str, (duk_uint32_t) len); | ^~~ | - | reinterpret_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23188:94: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 23188 | h = duk_heap_strtable_intern_literal_checked(thr, (const duk_uint8_t *) str, (duk_uint32_t) len); | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23192:2: note: in expansion of macro 'DUK_TVAL_SET_STRING' 23192 | DUK_TVAL_SET_STRING(tv_slot, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23192:2: note: in expansion of macro 'DUK_TVAL_SET_STRING' 23192 | DUK_TVAL_SET_STRING(tv_slot, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23192:2: note: in expansion of macro 'DUK_TVAL_SET_STRING' 23192 | DUK_TVAL_SET_STRING(tv_slot, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23193:2: note: in expansion of macro 'DUK_HSTRING_INCREF' 23193 | DUK_HSTRING_INCREF(thr, h); /* no side effects */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23193:2: note: in expansion of macro 'DUK_HSTRING_INCREF' 23193 | DUK_HSTRING_INCREF(thr, h); /* no side effects */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23195:24: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 23195 | return (const char *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23195:24: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 23195 | return (const char *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_pointer(duk_hthread*, void*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23212:2: note: in expansion of macro 'DUK__CHECK_SPACE' 23212 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1139:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1139 | #define DUK_TVAL_SET_POINTER(tv, p) DUK__TVAL_SET_TAGGEDPOINTER((tv), (p), DUK_TAG_POINTER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23214:2: note: in expansion of macro 'DUK_TVAL_SET_POINTER' 23214 | DUK_TVAL_SET_POINTER(tv_slot, val); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1139:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1139 | #define DUK_TVAL_SET_POINTER(tv, p) DUK__TVAL_SET_TAGGEDPOINTER((tv), (p), DUK_TAG_POINTER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23214:2: note: in expansion of macro 'DUK_TVAL_SET_POINTER' 23214 | DUK_TVAL_SET_POINTER(tv_slot, val); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1139:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1139 | #define DUK_TVAL_SET_POINTER(tv, p) DUK__TVAL_SET_TAGGEDPOINTER((tv), (p), DUK_TAG_POINTER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23214:2: note: in expansion of macro 'DUK_TVAL_SET_POINTER' 23214 | DUK_TVAL_SET_POINTER(tv_slot, val); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hstring* duk_push_uint_to_hstring(duk_hthread*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23223:34: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 23223 | duk_push_uint(thr, (duk_uint_t) i); | ^ | -------------- | static_cast ( i) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__push_this_helper(duk_hthread*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23232:2: note: in expansion of macro 'DUK__CHECK_SPACE' 23232 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1174:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1174 | #define DUK_TVAL_IS_UNDEFINED(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_UNDEFINED) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23248:34: note: in expansion of macro 'DUK_TVAL_IS_UNDEFINED' 23248 | if (check_object_coercible && (DUK_TVAL_IS_UNDEFINED(tv) || DUK_TVAL_IS_NULL(tv))) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1176:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1176 | #define DUK_TVAL_IS_NULL(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_NULL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23248:63: note: in expansion of macro 'DUK_TVAL_IS_NULL' 23248 | if (check_object_coercible && (DUK_TVAL_IS_UNDEFINED(tv) || DUK_TVAL_IS_NULL(tv))) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23254:3: note: in expansion of macro 'DUK_TVAL_INCREF' 23254 | DUK_TVAL_INCREF(thr, tv); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23254:3: note: in expansion of macro 'DUK_TVAL_INCREF' 23254 | DUK_TVAL_INCREF(thr, tv); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23259:2: note: in expansion of macro 'DUK_ERROR_TYPE' 23259 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_OBJECT_COERCIBLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23259:2: note: in expansion of macro 'DUK_ERROR_TYPE' 23259 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_OBJECT_COERCIBLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23259:2: note: in expansion of macro 'DUK_ERROR_TYPE' 23259 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_OBJECT_COERCIBLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_current_thread(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23361:52: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 23361 | duk_push_hobject(thr, (duk_hobject *) thr->heap->curr_thread); | ^~~~~~~~~~~ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__push_stash(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:71: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23375:7: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 23375 | if (!duk_xget_owndataprop_stridx_short(thr, -1, DUK_STRIDX_INT_VALUE)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:104: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23375:7: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 23375 | if (!duk_xget_owndataprop_stridx_short(thr, -1, DUK_STRIDX_INT_VALUE)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23380:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 23380 | duk_xdef_prop_stridx_short(thr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23380:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 23380 | duk_xdef_prop_stridx_short(thr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23380:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 23380 | duk_xdef_prop_stridx_short(thr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_thread_stash(duk_hthread*, duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23406:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 23406 | DUK_ERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23409:40: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 23409 | duk_push_hobject(thr, (duk_hobject *) target_thr); | ^~~~~~~~~~ | -------------------------- | reinterpret_cast ( target_thr) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk__try_push_vsprintf(duk_hthread*, void*, duk_size_t, const char*, va_list)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23421:31: warning: use of old-style cast to 'char*' [-Wold-style-cast] 23421 | len = DUK_VSNPRINTF((char *) buf, sz, fmt, ap); | ^~~ | ------------ | static_cast ( buf) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23422:24: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 23422 | if (len < (duk_int_t) sz) { | ^~ | -------------- | static_cast ( sz) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23426:22: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 23426 | return (duk_int_t) len; | ^~~ | --------------- | static_cast ( len) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const char* duk_push_vsprintf(duk_hthread*, const char*, va_list)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23446:25: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 23446 | return (const char *) DUK_HSTRING_GET_DATA(h_str); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23446:25: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 23446 | return (const char *) DUK_HSTRING_GET_DATA(h_str); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23482:4: note: in expansion of macro 'DUK_ERROR_RANGE' 23482 | DUK_ERROR_RANGE(thr, DUK_STR_RESULT_TOO_LONG); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23490:45: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 23490 | res = duk_push_lstring(thr, (const char *) buf, (duk_size_t) len); /* [ buf? res ] */ | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23490:63: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 23490 | res = duk_push_lstring(thr, (const char *) buf, (duk_size_t) len); /* [ buf? res ] */ | ^~~ | ---------------- | static_cast ( len) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hobject* duk_push_object_helper(duk_hthread*, duk_uint_t, duk_small_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23520:2: note: in expansion of macro 'DUK__CHECK_SPACE' 23520 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23528:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23528 | DUK_TVAL_SET_OBJECT(tv_slot, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23528:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23528 | DUK_TVAL_SET_OBJECT(tv_slot, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23528:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23528 | DUK_TVAL_SET_OBJECT(tv_slot, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23529:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 23529 | DUK_HOBJECT_INCREF(thr, h); /* no side effects */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23529:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 23529 | DUK_HOBJECT_INCREF(thr, h); /* no side effects */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7209:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 7209 | DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23535:3: note: in expansion of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 23535 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, h, thr->builtins[prototype_bidx]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7209:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 7209 | DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23535:3: note: in expansion of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 23535 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, h, thr->builtins[prototype_bidx]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hobject* duk_push_object_helper_proto(duk_hthread*, duk_uint_t, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7209:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 7209 | DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23551:2: note: in expansion of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 23551 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, h, proto); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7209:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 7209 | DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23551:2: note: in expansion of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 23551 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, h, proto); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk_push_object(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23560:36: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 23560 | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_OBJECT), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk_push_array(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23574:42: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 23574 | DUK_HOBJECT_FLAG_EXOTIC_ARRAY | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_ARRAY); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23579:61: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 23579 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) obj, thr->builtins[DUK_BIDX_ARRAY_PROTOTYPE]); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7204:28: note: in definition of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 7204 | duk_hobject *duk__obj = (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7209:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 7209 | DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23579:2: note: in expansion of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 23579 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) obj, thr->builtins[DUK_BIDX_ARRAY_PROTOTYPE]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7209:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 7209 | DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23579:2: note: in expansion of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 23579 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) obj, thr->builtins[DUK_BIDX_ARRAY_PROTOTYPE]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23582:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23582 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23582:47: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 23582 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:98: note: in definition of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23582:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23582 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23582:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23582 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23582:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23582 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23583:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 23583 | DUK_HOBJECT_INCREF(thr, obj); /* XXX: could preallocate with refcount = 1 */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23583:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 23583 | DUK_HOBJECT_INCREF(thr, obj); /* XXX: could preallocate with refcount = 1 */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23584:61: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 23584 | ret = (duk_idx_t) (thr->valstack_top - thr->valstack_bottom); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk_push_bare_array(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23600:42: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 23600 | DUK_HOBJECT_FLAG_EXOTIC_ARRAY | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_ARRAY); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23606:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23606 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23606:47: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 23606 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:98: note: in definition of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23606:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23606 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23606:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23606 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23606:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23606 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23607:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 23607 | DUK_HOBJECT_INCREF(thr, obj); /* XXX: could preallocate with refcount = 1 */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23607:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 23607 | DUK_HOBJECT_INCREF(thr, obj); /* XXX: could preallocate with refcount = 1 */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23608:61: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 23608 | ret = (duk_idx_t) (thr->valstack_top - thr->valstack_bottom); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_harray* duk_push_harray(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23623:21: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 23623 | a = (duk_harray *) DUK_TVAL_GET_OBJECT(thr->valstack_top - 1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:86: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23623:21: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 23623 | a = (duk_harray *) DUK_TVAL_GET_OBJECT(thr->valstack_top - 1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_harray* duk_push_harray_with_size(duk_hthread*, duk_uint32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23638:49: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 23638 | duk_hobject_realloc_props(thr, (duk_hobject *) a, 0, size, 0, 0); | ^ | ----------------- | reinterpret_cast ( a) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_tval* duk_push_harray_with_size_outptr(duk_hthread*, duk_uint32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23650:59: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 23650 | return DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) a); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6893:42: note: in definition of macro 'DUK_HOBJECT_GET_PROPS' 6893 | #define DUK_HOBJECT_GET_PROPS(heap, h) ((h)->props) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23650:9: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 23650 | return DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) a); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23650:59: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 23650 | return DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) a); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7127:36: note: in definition of macro 'DUK_HOBJECT_GET_ESIZE' 7127 | #define DUK_HOBJECT_GET_ESIZE(h) ((h)->e_size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23650:9: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 23650 | return DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) a); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23650:59: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 23650 | return DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) a); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6933:49: note: in definition of macro 'DUK_HOBJECT_E_FLAG_PADDING' 6933 | #define DUK_HOBJECT_E_FLAG_PADDING(e_sz) ((8 - (e_sz)) & 0x07) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:53: note: in expansion of macro 'DUK_HOBJECT_GET_ESIZE' 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23650:9: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 23650 | return DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) a); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23650:9: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 23650 | return DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) a); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23650:9: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 23650 | return DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) a); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk_push_thread_raw(duk_hthread*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23660:2: note: in expansion of macro 'DUK__CHECK_SPACE' 23660 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23662:61: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 23662 | obj = duk_hthread_alloc(thr, DUK_HOBJECT_FLAG_EXTENSIBLE | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_THREAD)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23678:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23678 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23678:47: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 23678 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:98: note: in definition of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23678:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23678 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23678:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23678 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23678:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23678 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5065:91: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5065 | #define DUK_HTHREAD_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5065:43: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5065 | #define DUK_HTHREAD_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23679:2: note: in expansion of macro 'DUK_HTHREAD_INCREF' 23679 | DUK_HTHREAD_INCREF(thr, obj); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5065:43: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5065 | #define DUK_HTHREAD_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23679:2: note: in expansion of macro 'DUK_HTHREAD_INCREF' 23679 | DUK_HTHREAD_INCREF(thr, obj); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23680:61: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 23680 | ret = (duk_idx_t) (thr->valstack_top - thr->valstack_bottom); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10294:65: note: in expansion of macro 'DUK_LINE_MACRO' 10294 | duk_err_error_alloc_failed((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23685:3: note: in expansion of macro 'DUK_ERROR_ALLOC_FAILED' 23685 | DUK_ERROR_ALLOC_FAILED(thr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23697:61: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 23697 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) obj, obj->builtins[DUK_BIDX_THREAD_PROTOTYPE]); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7204:28: note: in definition of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 7204 | duk_hobject *duk__obj = (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7209:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 7209 | DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23697:2: note: in expansion of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 23697 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) obj, obj->builtins[DUK_BIDX_THREAD_PROTOTYPE]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7209:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 7209 | DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23697:2: note: in expansion of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 23697 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) obj, obj->builtins[DUK_BIDX_THREAD_PROTOTYPE]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hcompfunc* duk_push_hcompfunc(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23713:2: note: in expansion of macro 'DUK__CHECK_SPACE' 23713 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23722:32: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 23722 | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_FUNCTION)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10294:65: note: in expansion of macro 'DUK_LINE_MACRO' 10294 | duk_err_error_alloc_failed((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23724:3: note: in expansion of macro 'DUK_ERROR_ALLOC_FAILED' 23724 | DUK_ERROR_ALLOC_FAILED(thr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23731:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23731 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23731:47: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 23731 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:98: note: in definition of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23731:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23731 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23731:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23731 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23731:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23731 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23732:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 23732 | DUK_HOBJECT_INCREF(thr, obj); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23732:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 23732 | DUK_HOBJECT_INCREF(thr, obj); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23737:61: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 23737 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) obj, thr->builtins[DUK_BIDX_FUNCTION_PROTOTYPE]); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7204:28: note: in definition of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 7204 | duk_hobject *duk__obj = (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7209:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 7209 | DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23737:2: note: in expansion of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 23737 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) obj, thr->builtins[DUK_BIDX_FUNCTION_PROTOTYPE]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7209:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 7209 | DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23737:2: note: in expansion of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 23737 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) obj, thr->builtins[DUK_BIDX_FUNCTION_PROTOTYPE]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hboundfunc* duk_push_hboundfunc(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23748:2: note: in expansion of macro 'DUK__CHECK_SPACE' 23748 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23751:61: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 23751 | DUK_HOBJECT_FLAG_CALLABLE | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_FUNCTION)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10294:65: note: in expansion of macro 'DUK_LINE_MACRO' 10294 | duk_err_error_alloc_failed((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23753:3: note: in expansion of macro 'DUK_ERROR_ALLOC_FAILED' 23753 | DUK_ERROR_ALLOC_FAILED(thr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23758:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23758 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23758:47: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 23758 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:98: note: in definition of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23758:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23758 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23758:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23758 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23758:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23758 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23759:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 23759 | DUK_HOBJECT_INCREF(thr, obj); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23759:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 23759 | DUK_HOBJECT_INCREF(thr, obj); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk__push_c_function_raw(duk_hthread*, duk_c_function, duk_idx_t, duk_uint_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23778:2: note: in expansion of macro 'DUK__CHECK_SPACE' 23778 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7818:51: warning: use of old-style cast to 'duk_int16_t' {aka 'short int'} [-Wold-style-cast] 7818 | #define DUK_HNATFUNC_NARGS_MAX ((duk_int16_t) 0x7fff) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23783:28: note: in expansion of macro 'DUK_HNATFUNC_NARGS_MAX' 23783 | if (nargs >= 0 && nargs < DUK_HNATFUNC_NARGS_MAX) { | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23784:30: warning: use of old-style cast to 'duk_int16_t' {aka 'short int'} [-Wold-style-cast] 23784 | func_nargs = (duk_int16_t) nargs; | ^~~~~ | - | static_cast<- | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:315:59: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 315 | #define DUK_VARARGS ((duk_int_t) (-1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23785:22: note: in expansion of macro 'DUK_VARARGS' 23785 | } else if (nargs == DUK_VARARGS) { | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7817:52: warning: use of old-style cast to 'duk_int16_t' {aka 'short int'} [-Wold-style-cast] 7817 | #define DUK_HNATFUNC_NARGS_VARARGS ((duk_int16_t) -1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23786:16: note: in expansion of macro 'DUK_HNATFUNC_NARGS_VARARGS' 23786 | func_nargs = DUK_HNATFUNC_NARGS_VARARGS; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23802:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23802 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23802:47: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 23802 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:98: note: in definition of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23802:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23802 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23802:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23802 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23802:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23802 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23803:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 23803 | DUK_HOBJECT_INCREF(thr, obj); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23803:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 23803 | DUK_HOBJECT_INCREF(thr, obj); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23804:61: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 23804 | ret = (duk_idx_t) (thr->valstack_top - thr->valstack_bottom); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23808:61: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 23808 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) obj, thr->builtins[proto_bidx]); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7204:28: note: in definition of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 7204 | duk_hobject *duk__obj = (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7209:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 7209 | DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23808:2: note: in expansion of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 23808 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) obj, thr->builtins[proto_bidx]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7209:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 7209 | DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23808:2: note: in expansion of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 23808 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) obj, thr->builtins[proto_bidx]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23812:2: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 23812 | DUK_ERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk_push_c_function(duk_hthread*, duk_c_function, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23823:36: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 23823 | DUK_HOBJECT_FLAG_NOTAIL | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_FUNCTION); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_c_function_builtin(duk_hthread*, duk_c_function, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23838:36: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 23838 | DUK_HOBJECT_FLAG_NOTAIL | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_FUNCTION); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_c_function_builtin_noconstruct(duk_hthread*, duk_c_function, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23851:10: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 23851 | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_FUNCTION); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk_push_c_lightfunc(duk_hthread*, duk_c_function, duk_idx_t, duk_idx_t, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23864:2: note: in expansion of macro 'DUK__CHECK_SPACE' 23864 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:315:59: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 315 | #define DUK_VARARGS ((duk_int_t) (-1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23868:22: note: in expansion of macro 'DUK_VARARGS' 23868 | } else if (nargs == DUK_VARARGS) { | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23880:52: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 23880 | lf_flags = DUK_LFUNC_FLAGS_PACK((duk_small_int_t) magic, (duk_small_uint_t) length, (duk_small_uint_t) nargs); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1533:75: note: in definition of macro 'DUK_LFUNC_FLAGS_PACK' 1533 | #define DUK_LFUNC_FLAGS_PACK(magic, length, nargs) ((((duk_small_uint_t) (magic)) & 0xffU) << 8) | ((length) << 4) | (nargs) | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1533:80: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1533 | #define DUK_LFUNC_FLAGS_PACK(magic, length, nargs) ((((duk_small_uint_t) (magic)) & 0xffU) << 8) | ((length) << 4) | (nargs) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23880:13: note: in expansion of macro 'DUK_LFUNC_FLAGS_PACK' 23880 | lf_flags = DUK_LFUNC_FLAGS_PACK((duk_small_int_t) magic, (duk_small_uint_t) length, (duk_small_uint_t) nargs); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23880:78: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 23880 | lf_flags = DUK_LFUNC_FLAGS_PACK((duk_small_int_t) magic, (duk_small_uint_t) length, (duk_small_uint_t) nargs); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1533:102: note: in definition of macro 'DUK_LFUNC_FLAGS_PACK' 1533 | #define DUK_LFUNC_FLAGS_PACK(magic, length, nargs) ((((duk_small_uint_t) (magic)) & 0xffU) << 8) | ((length) << 4) | (nargs) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23880:105: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 23880 | lf_flags = DUK_LFUNC_FLAGS_PACK((duk_small_int_t) magic, (duk_small_uint_t) length, (duk_small_uint_t) nargs); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1533:119: note: in definition of macro 'DUK_LFUNC_FLAGS_PACK' 1533 | #define DUK_LFUNC_FLAGS_PACK(magic, length, nargs) ((((duk_small_uint_t) (magic)) & 0xffU) << 8) | ((length) << 4) | (nargs) | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:944:27: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 944 | #define DUK_TAG_LIGHTFUNC 0xfff7UL /* embed: func ptr */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:994:50: note: in expansion of macro 'DUK_TAG_LIGHTFUNC' 994 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) DUK_TAG_LIGHTFUNC) << 48) | (((duk_uint64_t) (flags)) << 32) | \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1135:47: note: in expansion of macro 'DUK__TVAL_SET_LIGHTFUNC' 1135 | #define DUK_TVAL_SET_LIGHTFUNC(tv, fp, flags) DUK__TVAL_SET_LIGHTFUNC((tv), (fp), (flags)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23883:2: note: in expansion of macro 'DUK_TVAL_SET_LIGHTFUNC' 23883 | DUK_TVAL_SET_LIGHTFUNC(tv_slot, func, lf_flags); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:994:101: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 994 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) DUK_TAG_LIGHTFUNC) << 48) | (((duk_uint64_t) (flags)) << 32) | \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1135:47: note: in expansion of macro 'DUK__TVAL_SET_LIGHTFUNC' 1135 | #define DUK_TVAL_SET_LIGHTFUNC(tv, fp, flags) DUK__TVAL_SET_LIGHTFUNC((tv), (fp), (flags)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23883:2: note: in expansion of macro 'DUK_TVAL_SET_LIGHTFUNC' 23883 | DUK_TVAL_SET_LIGHTFUNC(tv_slot, func, lf_flags); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:995:67: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 995 | ((duk_uint64_t) (duk_uint32_t) (fp)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1135:47: note: in expansion of macro 'DUK__TVAL_SET_LIGHTFUNC' 1135 | #define DUK_TVAL_SET_LIGHTFUNC(tv, fp, flags) DUK__TVAL_SET_LIGHTFUNC((tv), (fp), (flags)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23883:2: note: in expansion of macro 'DUK_TVAL_SET_LIGHTFUNC' 23883 | DUK_TVAL_SET_LIGHTFUNC(tv_slot, func, lf_flags); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:995:67: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 995 | ((duk_uint64_t) (duk_uint32_t) (fp)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1135:47: note: in expansion of macro 'DUK__TVAL_SET_LIGHTFUNC' 1135 | #define DUK_TVAL_SET_LIGHTFUNC(tv, fp, flags) DUK__TVAL_SET_LIGHTFUNC((tv), (fp), (flags)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23883:2: note: in expansion of macro 'DUK_TVAL_SET_LIGHTFUNC' 23883 | DUK_TVAL_SET_LIGHTFUNC(tv_slot, func, lf_flags); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23885:52: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 23885 | return (duk_idx_t) (tv_slot - thr->valstack_bottom); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23888:2: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 23888 | DUK_ERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hbufobj* duk_push_bufobj_raw(duk_hthread*, duk_uint_t, duk_small_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23902:2: note: in expansion of macro 'DUK__CHECK_SPACE' 23902 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23907:61: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 23907 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) obj, thr->builtins[prototype_bidx]); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7204:28: note: in definition of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 7204 | duk_hobject *duk__obj = (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7209:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 7209 | DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23907:2: note: in expansion of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 23907 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) obj, thr->builtins[prototype_bidx]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7209:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 7209 | DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23907:2: note: in expansion of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 23907 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) obj, thr->builtins[prototype_bidx]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23911:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23911 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23911:47: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 23911 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:98: note: in definition of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23911:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23911 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23911:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23911 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23911:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 23911 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23912:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 23912 | DUK_HOBJECT_INCREF(thr, obj); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:23912:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 23912 | DUK_HOBJECT_INCREF(thr, obj); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_buffer_object(duk_hthread*, duk_idx_t, duk_size_t, duk_size_t, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24011:29: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 24011 | uint_offset = (duk_uint_t) byte_offset; | ^~~~~~~~~~~ | ------------------------ | static_cast ( byte_offset) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24012:29: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 24012 | uint_length = (duk_uint_t) byte_length; | ^~~~~~~~~~~ | ------------------------ | static_cast ( byte_length) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24014:33: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 24014 | if (DUK_UNLIKELY((duk_size_t) uint_offset != byte_offset || (duk_size_t) uint_length != byte_length)) { | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24014:76: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 24014 | if (DUK_UNLIKELY((duk_size_t) uint_offset != byte_offset || (duk_size_t) uint_length != byte_length)) { | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24035:28: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 24035 | h_val = ((duk_hbufobj *) h_arraybuf)->buf; | ^~~~~~~~~~ | -------------------------- | reinterpret_cast ( h_arraybuf) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24040:47: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 24040 | tmp_offset = uint_offset + ((duk_hbufobj *) h_arraybuf)->offset; | ^~~~~~~~~~ | -------------------------- | reinterpret_cast ( h_arraybuf) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24068:89: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 24068 | DUK_HOBJECT_FLAG_EXTENSIBLE | DUK_HOBJECT_FLAG_BUFOBJ | DUK_HOBJECT_CLASS_AS_FLAGS(classnum), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24069:51: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 24069 | (duk_small_int_t) protobidx); | ^~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24073:2: note: in expansion of macro 'DUK_HBUFFER_INCREF' 24073 | DUK_HBUFFER_INCREF(thr, h_val); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24073:2: note: in expansion of macro 'DUK_HBUFFER_INCREF' 24073 | DUK_HBUFFER_INCREF(thr, h_val); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24075:2: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 24075 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, h_arraybuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24075:2: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 24075 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, h_arraybuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24092:2: note: in expansion of macro 'DUK_ERROR_RANGE' 24092 | DUK_ERROR_RANGE(thr, DUK_STR_INVALID_ARGS); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24096:2: note: in expansion of macro 'DUK_ERROR_TYPE' 24096 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_ARGS); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24096:2: note: in expansion of macro 'DUK_ERROR_TYPE' 24096 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_ARGS); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24096:2: note: in expansion of macro 'DUK_ERROR_TYPE' 24096 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_ARGS); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk_push_error_object_va_raw(duk_hthread*, duk_errcode_t, const char*, duk_int_t, const char*, va_list)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24144:42: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 24144 | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_ERROR), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24150:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 24150 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_MESSAGE, DUK_PROPDESC_FLAGS_WC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24150:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 24150 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_MESSAGE, DUK_PROPDESC_FLAGS_WC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24150:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 24150 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_MESSAGE, DUK_PROPDESC_FLAGS_WC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24159:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 24159 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_MESSAGE, DUK_PROPDESC_FLAGS_WC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24159:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 24159 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_MESSAGE, DUK_PROPDESC_FLAGS_WC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24159:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 24159 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_MESSAGE, DUK_PROPDESC_FLAGS_WC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void* duk_push_buffer_raw(duk_hthread*, duk_size_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24211:2: note: in expansion of macro 'DUK__CHECK_SPACE' 24211 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24215:3: note: in expansion of macro 'DUK_ERROR_RANGE' 24215 | DUK_ERROR_RANGE(thr, DUK_STR_BUFFER_TOO_LONG); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10294:65: note: in expansion of macro 'DUK_LINE_MACRO' 10294 | duk_err_error_alloc_failed((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24221:3: note: in expansion of macro 'DUK_ERROR_ALLOC_FAILED' 24221 | DUK_ERROR_ALLOC_FAILED(thr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1138:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1138 | #define DUK_TVAL_SET_BUFFER(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24226:2: note: in expansion of macro 'DUK_TVAL_SET_BUFFER' 24226 | DUK_TVAL_SET_BUFFER(tv_slot, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1138:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1138 | #define DUK_TVAL_SET_BUFFER(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24226:2: note: in expansion of macro 'DUK_TVAL_SET_BUFFER' 24226 | DUK_TVAL_SET_BUFFER(tv_slot, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1138:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1138 | #define DUK_TVAL_SET_BUFFER(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24226:2: note: in expansion of macro 'DUK_TVAL_SET_BUFFER' 24226 | DUK_TVAL_SET_BUFFER(tv_slot, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24227:2: note: in expansion of macro 'DUK_HBUFFER_INCREF' 24227 | DUK_HBUFFER_INCREF(thr, h); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24227:2: note: in expansion of macro 'DUK_HBUFFER_INCREF' 24227 | DUK_HBUFFER_INCREF(thr, h); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24230:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 24230 | return (void *) buf_data; | ^~~~~~~~ | ----------------- | const_cast ( buf_data) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk_push_proxy(duk_hthread*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24305:48: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 24305 | flags = DUK_HEAPHDR_GET_FLAGS((duk_heaphdr *) h_target) & (DUK_HOBJECT_FLAG_CALLABLE | DUK_HOBJECT_FLAG_CONSTRUCTABLE); | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4745:36: note: in definition of macro 'DUK_HEAPHDR_GET_FLAGS' 4745 | #define DUK_HEAPHDR_GET_FLAGS(h) ((h)->h_flags & DUK_HEAPHDR_FLAGS_FLAG_MASK) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24308:12: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 24308 | flags |= DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_FUNCTION) | DUK_HOBJECT_FLAG_SPECIAL_CALL; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24310:12: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 24310 | flags |= DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_OBJECT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24331:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 24331 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) h_proxy); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24331:47: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 24331 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) h_proxy); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:98: note: in definition of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24331:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 24331 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) h_proxy); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24331:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 24331 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) h_proxy); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24331:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 24331 | DUK_TVAL_SET_OBJECT(tv_slot, (duk_hobject *) h_proxy); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24332:42: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 24332 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) h_proxy); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24332:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 24332 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) h_proxy); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24332:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 24332 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) h_proxy); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24332:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 24332 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) h_proxy); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24334:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 24334 | DUK_TVAL_SET_UNDEFINED(tv_slot); /* [ ... target handler ] -> [ ... proxy undefined ] */ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24339:66: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 24339 | return (duk_idx_t) (thr->valstack_top - thr->valstack_bottom - 1); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24342:2: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 24342 | DUK_ERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk_push_heapptr(duk_hthread*, void*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10315:64: note: in expansion of macro 'DUK_LINE_MACRO' 10315 | duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:18758:4: note: in expansion of macro 'DUK_ERROR_RANGE_PUSH_BEYOND' 18758 | DUK_ERROR_RANGE_PUSH_BEYOND(thr); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24465:2: note: in expansion of macro 'DUK__CHECK_SPACE' 24465 | DUK__CHECK_SPACE(); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24467:61: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 24467 | ret = (duk_idx_t) (thr->valstack_top - thr->valstack_bottom); | ^ | ----------- | static_cast ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24494:63: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 24494 | if (DUK_UNLIKELY(DUK_HEAPHDR_HAS_FINALIZABLE((duk_heaphdr *) ptr))) { | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4790:42: note: in expansion of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4790 | #define DUK_HEAPHDR_HAS_FINALIZABLE(h) DUK_HEAPHDR_CHECK_FLAG_BITS((h), DUK_HEAPHDR_FLAG_FINALIZABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24494:19: note: in expansion of macro 'DUK_HEAPHDR_HAS_FINALIZABLE' 24494 | if (DUK_UNLIKELY(DUK_HEAPHDR_HAS_FINALIZABLE((duk_heaphdr *) ptr))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24499:26: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 24499 | curr = (duk_heaphdr *) ptr; | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24521:47: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 24521 | switch (DUK_HEAPHDR_GET_TYPE((duk_heaphdr *) ptr)) { | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4750:35: note: in definition of macro 'DUK_HEAPHDR_GET_TYPE' 4750 | #define DUK_HEAPHDR_GET_TYPE(h) ((h)->h_flags & DUK_HEAPHDR_FLAGS_TYPE_MASK) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24523:3: note: in expansion of macro 'DUK_TVAL_SET_STRING' 24523 | DUK_TVAL_SET_STRING(tv, (duk_hstring *) ptr); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24523:43: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 24523 | DUK_TVAL_SET_STRING(tv, (duk_hstring *) ptr); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:98: note: in definition of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24523:3: note: in expansion of macro 'DUK_TVAL_SET_STRING' 24523 | DUK_TVAL_SET_STRING(tv, (duk_hstring *) ptr); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24523:3: note: in expansion of macro 'DUK_TVAL_SET_STRING' 24523 | DUK_TVAL_SET_STRING(tv, (duk_hstring *) ptr); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24523:3: note: in expansion of macro 'DUK_TVAL_SET_STRING' 24523 | DUK_TVAL_SET_STRING(tv, (duk_hstring *) ptr); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24526:3: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 24526 | DUK_TVAL_SET_OBJECT(tv, (duk_hobject *) ptr); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24526:43: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 24526 | DUK_TVAL_SET_OBJECT(tv, (duk_hobject *) ptr); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:98: note: in definition of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24526:3: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 24526 | DUK_TVAL_SET_OBJECT(tv, (duk_hobject *) ptr); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24526:3: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 24526 | DUK_TVAL_SET_OBJECT(tv, (duk_hobject *) ptr); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24526:3: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 24526 | DUK_TVAL_SET_OBJECT(tv, (duk_hobject *) ptr); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1138:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1138 | #define DUK_TVAL_SET_BUFFER(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24530:3: note: in expansion of macro 'DUK_TVAL_SET_BUFFER' 24530 | DUK_TVAL_SET_BUFFER(tv, (duk_hbuffer *) ptr); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24530:43: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 24530 | DUK_TVAL_SET_BUFFER(tv, (duk_hbuffer *) ptr); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:98: note: in definition of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24530:3: note: in expansion of macro 'DUK_TVAL_SET_BUFFER' 24530 | DUK_TVAL_SET_BUFFER(tv, (duk_hbuffer *) ptr); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1138:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1138 | #define DUK_TVAL_SET_BUFFER(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24530:3: note: in expansion of macro 'DUK_TVAL_SET_BUFFER' 24530 | DUK_TVAL_SET_BUFFER(tv, (duk_hbuffer *) ptr); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1138:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1138 | #define DUK_TVAL_SET_BUFFER(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24530:3: note: in expansion of macro 'DUK_TVAL_SET_BUFFER' 24530 | DUK_TVAL_SET_BUFFER(tv, (duk_hbuffer *) ptr); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24534:42: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 24534 | DUK_HEAPHDR_INCREF(thr, (duk_heaphdr *) ptr); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24534:2: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 24534 | DUK_HEAPHDR_INCREF(thr, (duk_heaphdr *) ptr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24534:2: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 24534 | DUK_HEAPHDR_INCREF(thr, (duk_heaphdr *) ptr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk_push_bare_object(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24545:36: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 24545 | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_OBJECT), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_hstring(duk_hthread*, duk_hstring*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24556:2: note: in expansion of macro 'DUK_TVAL_SET_STRING' 24556 | DUK_TVAL_SET_STRING(&tv, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24556:2: note: in expansion of macro 'DUK_TVAL_SET_STRING' 24556 | DUK_TVAL_SET_STRING(&tv, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24556:2: note: in expansion of macro 'DUK_TVAL_SET_STRING' 24556 | DUK_TVAL_SET_STRING(&tv, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_hobject(duk_hthread*, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24577:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 24577 | DUK_TVAL_SET_OBJECT(&tv, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24577:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 24577 | DUK_TVAL_SET_OBJECT(&tv, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24577:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 24577 | DUK_TVAL_SET_OBJECT(&tv, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_hbuffer(duk_hthread*, duk_hbuffer*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1138:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1138 | #define DUK_TVAL_SET_BUFFER(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24587:2: note: in expansion of macro 'DUK_TVAL_SET_BUFFER' 24587 | DUK_TVAL_SET_BUFFER(&tv, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1138:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1138 | #define DUK_TVAL_SET_BUFFER(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24587:2: note: in expansion of macro 'DUK_TVAL_SET_BUFFER' 24587 | DUK_TVAL_SET_BUFFER(&tv, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1138:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1138 | #define DUK_TVAL_SET_BUFFER(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24587:2: note: in expansion of macro 'DUK_TVAL_SET_BUFFER' 24587 | DUK_TVAL_SET_BUFFER(&tv, h); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__pop_n_unsafe_raw(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5219:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 5219 | DUK_TVAL_SET_UNDEFINED(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24619:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 24619 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, tv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4932:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4932 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5220:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 5220 | DUK_TVAL_DECREF_NORZ((thr), &tv__tmp); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24619:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 24619 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, tv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4933:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4933 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5220:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 5220 | DUK_TVAL_DECREF_NORZ((thr), &tv__tmp); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24619:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 24619 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, tv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_pop_n(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24641:73: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 24641 | if (DUK_UNLIKELY((duk_uidx_t) (thr->valstack_top - thr->valstack_bottom) < (duk_uidx_t) count)) { | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24641:90: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 24641 | if (DUK_UNLIKELY((duk_uidx_t) (thr->valstack_top - thr->valstack_bottom) < (duk_uidx_t) count)) { | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10328:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10328 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_COUNT); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24642:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_COUNT' 24642 | DUK_ERROR_RANGE_INVALID_COUNT(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_pop_n_nodecref_unsafe(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24677:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 24677 | DUK_TVAL_SET_UNDEFINED(tv); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__pop_unsafe_raw(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5209:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 5209 | DUK_TVAL_SET_UNDEFINED(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24718:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 24718 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5210:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5210 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24718:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 24718 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5210:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5210 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24718:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 24718 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_pop(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10328:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10328 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_COUNT); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24730:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_COUNT' 24730 | DUK_ERROR_RANGE_INVALID_COUNT(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_pop_nodecref_unsafe(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24750:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 24750 | DUK_TVAL_SET_UNDEFINED(tv); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__pop_2_unsafe_raw(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5209:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 5209 | DUK_TVAL_SET_UNDEFINED(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24800:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 24800 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5210:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5210 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24800:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 24800 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5210:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5210 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24800:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 24800 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5209:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 5209 | DUK_TVAL_SET_UNDEFINED(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24807:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 24807 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5210:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5210 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24807:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 24807 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5210:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5210 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24807:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 24807 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_pop_2(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10328:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10328 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_COUNT); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24819:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_COUNT' 24819 | DUK_ERROR_RANGE_INVALID_COUNT(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_pack(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24874:61: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 24874 | top = (duk_idx_t) (thr->valstack_top - thr->valstack_bottom); | ^ | ----------- | static_cast ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24876:32: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 24876 | if (DUK_UNLIKELY((duk_uidx_t) count > (duk_uidx_t) top)) { | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24876:53: warning: use of old-style cast to 'duk_uidx_t' {aka 'unsigned int'} [-Wold-style-cast] 24876 | if (DUK_UNLIKELY((duk_uidx_t) count > (duk_uidx_t) top)) { | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10328:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10328 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_COUNT); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24878:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_COUNT' 24878 | DUK_ERROR_RANGE_INVALID_COUNT(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24890:64: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 24890 | tv_dst = duk_push_harray_with_size_outptr(thr, (duk_uint32_t) count); /* XXX: uninitialized would be OK */ | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24898:29: warning: use of old-style cast to 'void*' [-Wold-style-cast] 24898 | duk_memcpy_unsafe((void *) tv_dst, (const void *) tv_src, (size_t) count * sizeof(duk_tval)); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24898:52: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 24898 | duk_memcpy_unsafe((void *) tv_dst, (const void *) tv_src, (size_t) count * sizeof(duk_tval)); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24898:69: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 24898 | duk_memcpy_unsafe((void *) tv_dst, (const void *) tv_src, (size_t) count * sizeof(duk_tval)); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3039:26: note: in definition of macro 'duk_memcpy_unsafe' 3039 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24898:2: note: in expansion of macro 'duk_memcpy_unsafe' 24898 | duk_memcpy_unsafe((void *) tv_dst, (const void *) tv_src, (size_t) count * sizeof(duk_tval)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24913:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 24913 | DUK_TVAL_SET_UNDEFINED(tv_curr); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk_unpack_array_like(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24925:17: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 24925 | if (DUK_LIKELY(DUK_TVAL_IS_OBJECT(tv))) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24930:7: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 24930 | h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24935:61: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 24935 | if (DUK_LIKELY(DUK_HOBJECT_IS_ARRAY(h) && ((duk_harray *) h)->length <= DUK_HOBJECT_GET_ASIZE(h))) { | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24940:27: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 24940 | h_arr = (duk_harray *) h; | ^ | ---------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24945:39: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 24945 | duk_require_stack(thr, (duk_idx_t) len); | ^~~ | --------------- | static_cast ( len) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24956:99: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 24956 | if (DUK_UNLIKELY(len != h_arr->length || h_arr->length > DUK_HOBJECT_GET_ASIZE((duk_hobject *) h_arr))) { | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24956:61: note: in expansion of macro 'DUK_HOBJECT_GET_ASIZE' 24956 | if (DUK_UNLIKELY(len != h_arr->length || h_arr->length > DUK_HOBJECT_GET_ASIZE((duk_hobject *) h_arr))) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24966:13: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 24966 | tv_src = DUK_HOBJECT_A_GET_BASE(thr->heap, h); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24966:13: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 24966 | tv_src = DUK_HOBJECT_A_GET_BASE(thr->heap, h); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1175:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1175 | #define DUK_TVAL_IS_UNUSED(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_UNUSED) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24970:22: note: in expansion of macro 'DUK_TVAL_IS_UNUSED' 24970 | if (DUK_UNLIKELY(DUK_TVAL_IS_UNUSED(tv_src))) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24978:6: note: in expansion of macro 'DUK_TVAL_INCREF' 24978 | DUK_TVAL_INCREF(thr, tv_dst); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24978:6: note: in expansion of macro 'DUK_TVAL_INCREF' 24978 | DUK_TVAL_INCREF(thr, tv_dst); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24985:30: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 24985 | return (duk_idx_t) h_arr->length; | ^~~~~~ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25004:38: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 25004 | duk_require_stack(thr, (duk_idx_t) len); | ^~~ | --------------- | static_cast ( len) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25006:49: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 25006 | duk_get_prop_index(thr, idx, (duk_uarridx_t) i); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25008:22: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 25008 | return (duk_idx_t) len; | ^~~ | --------------- | static_cast ( len) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1174:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1174 | #define DUK_TVAL_IS_UNDEFINED(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_UNDEFINED) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25009:13: note: in expansion of macro 'DUK_TVAL_IS_UNDEFINED' 25009 | } else if (DUK_TVAL_IS_UNDEFINED(tv) || DUK_TVAL_IS_NULL(tv)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1176:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1176 | #define DUK_TVAL_IS_NULL(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_NULL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25009:42: note: in expansion of macro 'DUK_TVAL_IS_NULL' 25009 | } else if (DUK_TVAL_IS_UNDEFINED(tv) || DUK_TVAL_IS_NULL(tv)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25013:2: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 25013 | DUK_ERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10337:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10337 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_LENGTH); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25017:2: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_LENGTH' 25017 | DUK_ERROR_RANGE_INVALID_LENGTH(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_throw_raw(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25041:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 25041 | DUK_ERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25062:11: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 25062 | tv_val = DUK_GET_TVAL_NEGIDX(thr, -1); | ^~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_error_va_raw(duk_hthread*, duk_errcode_t, const char*, duk_int_t, const char*, va_list)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:541:37: warning: use of old-style cast to 'duk_ret_t' {aka 'int'} [-Wold-style-cast] 541 | (duk_throw_raw((ctx)), (duk_ret_t) 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25110:9: note: in expansion of macro 'duk_throw' 25110 | (void) duk_throw(thr); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_error_raw(duk_hthread*, duk_errcode_t, const char*, duk_int_t, const char*, ...)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:541:37: warning: use of old-style cast to 'duk_ret_t' {aka 'int'} [-Wold-style-cast] 541 | (duk_throw_raw((ctx)), (duk_ret_t) 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25127:9: note: in expansion of macro 'duk_throw' 25127 | (void) duk_throw(thr); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_lightfunc_name_raw(duk_hthread*, duk_c_function, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25294:48: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 25294 | duk_push_string_funcptr(thr, (duk_uint8_t *) &func, sizeof(func)); | ^~~~ | --------------------- | reinterpret_cast ( &func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25295:48: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 25295 | duk_push_sprintf(thr, "_%04x", (unsigned int) lf_flags); | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_lightfunc_name(duk_hthread*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1161:55: warning: use of old-style cast to 'duk_c_function' {aka 'int (*)(struct duk_hthread*)'} [-Wold-style-cast] 1161 | (out_fp) = (duk_c_function) (tv)->ui[DUK_DBL_IDX_UI1]; \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25306:2: note: in expansion of macro 'DUK_TVAL_GET_LIGHTFUNC' 25306 | DUK_TVAL_GET_LIGHTFUNC(tv, func, lf_flags); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_lightfunc_tostring(duk_hthread*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1161:55: warning: use of old-style cast to 'duk_c_function' {aka 'int (*)(struct duk_hthread*)'} [-Wold-style-cast] 1161 | (out_fp) = (duk_c_function) (tv)->ui[DUK_DBL_IDX_UI1]; \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25317:2: note: in expansion of macro 'DUK_TVAL_GET_LIGHTFUNC' 25317 | DUK_TVAL_GET_LIGHTFUNC(tv, func, lf_flags); /* read before 'tv' potentially invalidated */ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_string_funcptr(duk_hthread*, duk_uint8_t*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25356:39: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 25356 | duk_push_lstring(thr, (const char *) buf, sz * 2); | ^~~ | ------------------ | reinterpret_cast ( buf) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__push_hstring_readable_unicode(duk_hthread*, duk_hstring*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25387:34: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 25387 | p_start = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_input); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25387:34: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 25387 | p_start = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_input); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10807:29: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 10807 | #define DUK_ASC_SINGLEQUOTE 0x27 | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25393:23: note: in expansion of macro 'DUK_ASC_SINGLEQUOTE' 25393 | *q++ = (duk_uint8_t) DUK_ASC_SINGLEQUOTE; | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10814:29: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 10814 | #define DUK_ASC_PERIOD 0x2e | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25399:25: note: in expansion of macro 'DUK_ASC_PERIOD' 25399 | *q++ = (duk_uint8_t) DUK_ASC_PERIOD; | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10814:29: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 10814 | #define DUK_ASC_PERIOD 0x2e | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25400:25: note: in expansion of macro 'DUK_ASC_PERIOD' 25400 | *q++ = (duk_uint8_t) DUK_ASC_PERIOD; | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10814:29: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 10814 | #define DUK_ASC_PERIOD 0x2e | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25401:25: note: in expansion of macro 'DUK_ASC_PERIOD' 25401 | *q++ = (duk_uint8_t) DUK_ASC_PERIOD; | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10860:29: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 10860 | #define DUK_ASC_BACKSLASH 0x5c | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25408:26: note: in expansion of macro 'DUK_ASC_BACKSLASH' 25408 | *q++ = (duk_uint8_t) DUK_ASC_BACKSLASH; | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10888:29: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 10888 | #define DUK_ASC_LC_X 0x78 | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25409:26: note: in expansion of macro 'DUK_ASC_LC_X' 25409 | *q++ = (duk_uint8_t) DUK_ASC_LC_X; | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25410:47: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 25410 | *q++ = (duk_uint8_t) duk_lc_digits[cp >> 4]; | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25411:49: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 25411 | *q++ = (duk_uint8_t) duk_lc_digits[cp & 0x0f]; | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10831:29: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 10831 | #define DUK_ASC_QUESTION 0x3f | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25417:25: note: in expansion of macro 'DUK_ASC_QUESTION' 25417 | *q++ = (duk_uint8_t) DUK_ASC_QUESTION; | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10807:29: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 10807 | #define DUK_ASC_SINGLEQUOTE 0x27 | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25421:23: note: in expansion of macro 'DUK_ASC_SINGLEQUOTE' 25421 | *q++ = (duk_uint8_t) DUK_ASC_SINGLEQUOTE; | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25423:39: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 25423 | duk_push_lstring(thr, (const char *) buf, (duk_size_t) (q - buf)); | ^~~ | ------------------ | reinterpret_cast ( buf) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25423:65: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 25423 | duk_push_lstring(thr, (const char *) buf, (duk_size_t) (q - buf)); | ^ | ---------------------- | static_cast ( (q - buf)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const char* duk__push_string_tval_readable(duk_hthread*, duk_tval*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25433:11: note: in expansion of macro 'DUK_TVAL_GET_TAG' 25433 | switch (DUK_TVAL_GET_TAG(tv)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25435:21: note: in expansion of macro 'DUK_TVAL_GET_STRING' 25435 | duk_hstring *h = DUK_TVAL_GET_STRING(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25452:21: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 25452 | duk_hobject *h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1181:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1181 | #define DUK_TVAL_IS_STRING(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25468:27: note: in expansion of macro 'DUK_TVAL_IS_STRING' 25468 | if (tv_msg != NULL && DUK_TVAL_IS_STRING(tv_msg)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25473:41: note: in expansion of macro 'DUK_TVAL_GET_STRING' 25473 | DUK_TVAL_GET_STRING(tv_msg), | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1167:85: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 1167 | #define DUK_TVAL_GET_BUFFER(tv) ((duk_hbuffer *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25487:21: note: in expansion of macro 'DUK_TVAL_GET_BUFFER' 25487 | duk_hbuffer *h = DUK_TVAL_GET_BUFFER(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25489:49: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 25489 | duk_push_sprintf(thr, "[buffer:%ld]", (long) DUK_HBUFFER_GET_SIZE(h)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:61: warning: use of old-style cast to 'long int' [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25489:49: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 25489 | duk_push_sprintf(thr, "[buffer:%ld]", (long) DUK_HBUFFER_GET_SIZE(h)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_push_symbol_descriptive_string(duk_hthread*, duk_hstring*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25534:28: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 25534 | p = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25534:28: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 25534 | p = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25548:39: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 25548 | duk_push_lstring(thr, (const char *) p, (duk_size_t) (q - p)); | ^ | ---------------- | reinterpret_cast ( p) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25548:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 25548 | duk_push_lstring(thr, (const char *) p, (duk_size_t) (q - p)); | ^ | -------------------- | static_cast ( (q - p)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_copy_tvals_incref(duk_hthread*, duk_tval*, duk_tval*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25586:29: warning: use of old-style cast to 'void*' [-Wold-style-cast] 25586 | duk_memcpy_unsafe((void *) tv_dst, (const void *) tv_src, count * sizeof(duk_tval)); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25586:52: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 25586 | duk_memcpy_unsafe((void *) tv_dst, (const void *) tv_src, count * sizeof(duk_tval)); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25586:2: note: in expansion of macro 'duk_memcpy_unsafe' 25586 | duk_memcpy_unsafe((void *) tv_dst, (const void *) tv_src, count * sizeof(duk_tval)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25590:3: note: in expansion of macro 'DUK_TVAL_INCREF' 25590 | DUK_TVAL_INCREF(thr, tv); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25590:3: note: in expansion of macro 'DUK_TVAL_INCREF' 25590 | DUK_TVAL_INCREF(thr, tv); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__concat_and_join_helper(duk_hthread*, duk_idx_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10328:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10328 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_COUNT); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25621:4: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_COUNT' 25621 | DUK_ERROR_RANGE_INVALID_COUNT(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25628:23: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 25628 | count = (duk_uint_t) count_in; | ^~~~~~~~ | --------------------- | static_cast ( count_in) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25632:41: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 25632 | h = duk_to_hstring(thr, -((duk_idx_t) count) - 1); | ^~~~~ | ----------------- | static_cast ( count) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25636:21: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 25636 | t1 = (duk_size_t) DUK_HSTRING_GET_BYTELEN(h); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25637:31: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 25637 | t2 = (duk_size_t) (count - 1); | ^ | ------------------------ | static_cast ( (count - 1)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6313:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6313 | #define DUK_HSTRING_MAX_BYTELEN (0x7fffffffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25638:24: note: in expansion of macro 'DUK_HSTRING_MAX_BYTELEN' 25638 | limit = (duk_size_t) DUK_HSTRING_MAX_BYTELEN; | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25643:30: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 25643 | len = (duk_size_t) (t1 * t2); | ^ | ---------------------- | static_cast ( (t1 * t2)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25645:22: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 25645 | len = (duk_size_t) 0; | ^ | -------------- | static_cast ( 0) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25650:41: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 25650 | h = duk_to_hstring(thr, -((duk_idx_t) i)); | ^ | ------------- | static_cast ( i) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25651:32: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 25651 | new_len = len + (duk_size_t) DUK_HSTRING_GET_BYTELEN(h); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6313:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6313 | #define DUK_HSTRING_MAX_BYTELEN (0x7fffffffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25657:30: note: in expansion of macro 'DUK_HSTRING_MAX_BYTELEN' 25657 | new_len > (duk_size_t) DUK_HSTRING_MAX_BYTELEN) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25668:61: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 25668 | buf = (duk_uint8_t *) duk_push_fixed_buffer_nozero(thr, len); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25676:47: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 25676 | h = duk_require_hstring(thr, -((duk_idx_t) count) - 2); /* extra -1 for buffer */ | ^~~~~ | ----------------- | static_cast ( count) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25677:26: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 25677 | duk_memcpy(buf + idx, DUK_HSTRING_GET_DATA(h), DUK_HSTRING_GET_BYTELEN(h)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25677:4: note: in expansion of macro 'duk_memcpy' 25677 | duk_memcpy(buf + idx, DUK_HSTRING_GET_DATA(h), DUK_HSTRING_GET_BYTELEN(h)); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25680:46: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 25680 | h = duk_require_hstring(thr, -((duk_idx_t) i) - 1); /* extra -1 for buffer */ | ^ | ------------- | static_cast ( i) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25681:25: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 25681 | duk_memcpy(buf + idx, DUK_HSTRING_GET_DATA(h), DUK_HSTRING_GET_BYTELEN(h)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25681:3: note: in expansion of macro 'duk_memcpy' 25681 | duk_memcpy(buf + idx, DUK_HSTRING_GET_DATA(h), DUK_HSTRING_GET_BYTELEN(h)); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25692:34: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 25692 | duk_replace(thr, -((duk_idx_t) count) - 2); /* overwrite sep */ | ^~~~~ | ----------------- | static_cast ( count) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25693:30: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 25693 | duk_pop_n(thr, (duk_idx_t) count); | ^~~~~ | ----------------- | static_cast ( count) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25695:34: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 25695 | duk_replace(thr, -((duk_idx_t) count) - 1); /* overwrite str1 */ | ^~~~~ | ----------------- | static_cast ( count) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25696:40: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 25696 | duk_pop_n(thr, (duk_idx_t) (count - 1)); | ^ | ----------------------- | static_cast ( (count - 1)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25707:2: note: in expansion of macro 'DUK_ERROR_RANGE' 25707 | DUK_ERROR_RANGE(thr, DUK_STR_RESULT_TOO_LONG); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_concat_2(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25736:22: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 25736 | len1 = (duk_size_t) DUK_HSTRING_GET_BYTELEN(h1); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25737:22: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 25737 | len2 = (duk_size_t) DUK_HSTRING_GET_BYTELEN(h2); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6313:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6313 | #define DUK_HSTRING_MAX_BYTELEN (0x7fffffffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25740:38: note: in expansion of macro 'DUK_HSTRING_MAX_BYTELEN' 25740 | len > (duk_size_t) DUK_HSTRING_MAX_BYTELEN)) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25743:61: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 25743 | buf = (duk_uint8_t *) duk_push_fixed_buffer_nozero(thr, len); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25746:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 25746 | duk_memcpy((void *) buf, (const void *) DUK_HSTRING_GET_DATA(h1), (size_t) len1); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25746:42: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 25746 | duk_memcpy((void *) buf, (const void *) DUK_HSTRING_GET_DATA(h1), (size_t) len1); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25746:42: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 25746 | duk_memcpy((void *) buf, (const void *) DUK_HSTRING_GET_DATA(h1), (size_t) len1); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25746:77: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 25746 | duk_memcpy((void *) buf, (const void *) DUK_HSTRING_GET_DATA(h1), (size_t) len1); | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25746:2: note: in expansion of macro 'duk_memcpy' 25746 | duk_memcpy((void *) buf, (const void *) DUK_HSTRING_GET_DATA(h1), (size_t) len1); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25747:33: warning: use of old-style cast to 'void*' [-Wold-style-cast] 25747 | duk_memcpy((void *) (buf + len1), (const void *) DUK_HSTRING_GET_DATA(h2), (size_t) len2); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25747:51: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 25747 | duk_memcpy((void *) (buf + len1), (const void *) DUK_HSTRING_GET_DATA(h2), (size_t) len2); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25747:51: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 25747 | duk_memcpy((void *) (buf + len1), (const void *) DUK_HSTRING_GET_DATA(h2), (size_t) len2); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25747:86: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 25747 | duk_memcpy((void *) (buf + len1), (const void *) DUK_HSTRING_GET_DATA(h2), (size_t) len2); | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25747:2: note: in expansion of macro 'duk_memcpy' 25747 | duk_memcpy((void *) (buf + len1), (const void *) DUK_HSTRING_GET_DATA(h2), (size_t) len2); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25757:2: note: in expansion of macro 'DUK_ERROR_RANGE' 25757 | DUK_ERROR_RANGE(thr, DUK_STR_RESULT_TOO_LONG); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_decode_string(duk_hthread*, duk_idx_t, duk_decode_char_function, void*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25782:34: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 25782 | p_start = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_input); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25782:34: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 25782 | p_start = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_input); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25790:82: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 25790 | cp = (duk_codepoint_t) duk_unicode_decode_xutf8_checked(thr, &p, p_start, p_end); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_map_string(duk_hthread*, duk_idx_t, duk_map_char_function, void*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25812:34: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 25812 | p_start = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_input); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25812:34: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 25812 | p_start = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_input); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25824:82: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 25824 | cp = (duk_codepoint_t) duk_unicode_decode_xutf8_checked(thr, &p, p_start, p_end); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2800:3: note: in expansion of macro 'DUK_BW_ENSURE' 2800 | DUK_BW_ENSURE((thr), (bw_ctx), DUK_UNICODE_MAX_XUTF8_LENGTH); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25827:3: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_XUTF8' 25827 | DUK_BW_WRITE_ENSURE_XUTF8(thr, bw, cp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2677:35: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 2677 | duk__cp = (duk_ucodepoint_t) (cp); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2801:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_XUTF8' 2801 | DUK_BW_WRITE_RAW_XUTF8((thr), (bw_ctx), (cp)); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25827:3: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_XUTF8' 25827 | DUK_BW_WRITE_ENSURE_XUTF8(thr, bw, cp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_substring(duk_hthread*, duk_idx_t, duk_size_t, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25865:98: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 25865 | start_byte_offset = (duk_size_t) duk_heap_strcache_offset_char2byte(thr, h, (duk_uint_fast32_t) start_offset); | ^~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25865:110: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 25865 | start_byte_offset = (duk_size_t) duk_heap_strcache_offset_char2byte(thr, h, (duk_uint_fast32_t) start_offset); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25866:96: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 25866 | end_byte_offset = (duk_size_t) duk_heap_strcache_offset_char2byte(thr, h, (duk_uint_fast32_t) end_offset); | ^~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25866:106: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 25866 | end_byte_offset = (duk_size_t) duk_heap_strcache_offset_char2byte(thr, h, (duk_uint_fast32_t) end_offset); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25873:41: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 25873 | DUK_HSTRING_GET_DATA(h) + start_byte_offset, | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25874:92: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 25874 | (duk_uint32_t) (end_byte_offset - start_byte_offset)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_trim(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25895:12: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 25895 | p_start = DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25901:87: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 25901 | cp = (duk_codepoint_t) duk_unicode_decode_xutf8_checked(thr, &p_tmp1, p_start, p_end); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25925:87: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 25925 | cp = (duk_codepoint_t) duk_unicode_decode_xutf8_checked(thr, &p_tmp2, p_start, p_end); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25956:39: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 25956 | duk_push_lstring(thr, (const char *) q_start, (duk_size_t) (q_end - q_start)); | ^~~~~~~ | ---------------------- | reinterpret_cast ( q_start) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25956:77: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 25956 | duk_push_lstring(thr, (const char *) q_start, (duk_size_t) (q_end - q_start)); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_codepoint_t duk_char_code_at(duk_hthread*, duk_idx_t, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25979:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 25979 | cp = duk_hstring_char_code_at_raw(thr, h, (duk_uint_t) char_offset, 0 /*surrogate_aware*/); | ^~~~~~~~~~~ | ------------------------ | static_cast ( char_offset) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25980:27: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 25980 | return (duk_codepoint_t) cp; | ^~ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk_time_get_ecmascript_time(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:3137:79: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 3137 | #define DUK_USE_DATE_GET_NOW(ctx) duk_bi_date_get_now_gettimeofday() | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25993:24: note: in expansion of macro 'DUK_USE_DATE_GET_NOW' 25993 | return (duk_double_t) DUK_USE_DATE_GET_NOW(thr); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk_time_get_ecmascript_time_nofrac(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26001:59: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 26001 | return (duk_double_t) DUK_FLOOR(DUK_USE_DATE_GET_NOW(thr)); | ^ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk_time_get_monotonic_time(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:3137:79: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 3137 | #define DUK_USE_DATE_GET_NOW(ctx) duk_bi_date_get_now_gettimeofday() | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26009:24: note: in expansion of macro 'DUK_USE_DATE_GET_NOW' 26009 | return (duk_double_t) DUK_USE_DATE_GET_NOW(thr); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk__push_this_obj_len_u32(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26156:2: note: in expansion of macro 'duk_get_prop_stridx_short' 26156 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26156:2: note: in expansion of macro 'duk_get_prop_stridx_short' 26156 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk__push_this_obj_len_u32_limited(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10337:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10337 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_LENGTH); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26170:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_LENGTH' 26170 | DUK_ERROR_RANGE_INVALID_LENGTH(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_harray* duk__arraypart_fastpath_this(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26194:7: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 26194 | if (!DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26198:6: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 26198 | h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26202:58: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 26202 | flags_value = DUK_HEAPHDR_GET_FLAGS_RAW((duk_heaphdr *) h); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4739:40: note: in definition of macro 'DUK_HEAPHDR_GET_FLAGS_RAW' 4739 | #define DUK_HEAPHDR_GET_FLAGS_RAW(h) ((h)->h_flags) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26214:22: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 26214 | if (((duk_harray *) h)->length > DUK_HOBJECT_GET_ASIZE(h)) { | ^ | ---------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26225:24: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 26225 | return (duk_harray *) h; | ^ | ---------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_array_constructor(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26246:41: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 26246 | if (!duk_double_equals((duk_double_t) len, d)) { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10337:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10337 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_LENGTH); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10341:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_LENGTH' 10341 | DUK_ERROR_RANGE_INVALID_LENGTH((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26247:4: note: in expansion of macro 'DUK_DCERROR_RANGE_INVALID_LENGTH' 26247 | DUK_DCERROR_RANGE_INVALID_LENGTH(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_array_constructor_is_array(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26271:39: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 26271 | duk_push_boolean(thr, duk_js_isarray(DUK_GET_TVAL_POSIDX(thr, 0))); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_array_prototype_to_string(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26281:2: note: in expansion of macro 'duk_get_prop_stridx_short' 26281 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_JOIN); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26281:2: note: in expansion of macro 'duk_get_prop_stridx_short' 26281 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_JOIN); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_array_prototype_concat(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26393:24: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 26393 | len = (duk_uint32_t) tmp_len; | ^~~~~~~ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26394:44: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 26394 | if (DUK_UNLIKELY(tmp_len != (duk_size_t) len)) { | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5996:74: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5996 | #define duk_push_uarridx(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26429:2: note: in expansion of macro 'duk_push_uarridx' 26429 | duk_push_uarridx(thr, idx); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26430:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 26430 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26430:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 26430 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26430:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 26430 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10337:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10337 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_LENGTH); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26436:2: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_LENGTH' 26436 | DUK_ERROR_RANGE_INVALID_LENGTH(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_array_prototype_join_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26481:107: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 26481 | valstack_required = (duk_idx_t) ((len >= DUK__ARRAY_MID_JOIN_LIMIT ? DUK__ARRAY_MID_JOIN_LIMIT : len) + 4); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26496:30: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 26496 | duk_join(thr, (duk_idx_t) count); /* -> [ sep ToObject(this) len str ] */ | ^~~~~ | ----------------- | static_cast ( count) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26506:46: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 26506 | duk_get_prop_index(thr, 1, (duk_uarridx_t) idx); | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26513:5: note: in expansion of macro 'duk_get_prop_stridx_short' 26513 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_TO_LOCALE_STRING); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26513:5: note: in expansion of macro 'duk_get_prop_stridx_short' 26513 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_TO_LOCALE_STRING); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk__array_pop_fastpath(duk_hthread*, duk_harray*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26539:67: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 26539 | tv_arraypart = DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) h_arr); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6893:42: note: in definition of macro 'DUK_HOBJECT_GET_PROPS' 6893 | #define DUK_HOBJECT_GET_PROPS(heap, h) ((h)->props) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26539:17: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 26539 | tv_arraypart = DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) h_arr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26539:67: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 26539 | tv_arraypart = DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) h_arr); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7127:36: note: in definition of macro 'DUK_HOBJECT_GET_ESIZE' 7127 | #define DUK_HOBJECT_GET_ESIZE(h) ((h)->e_size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26539:17: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 26539 | tv_arraypart = DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) h_arr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26539:67: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 26539 | tv_arraypart = DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) h_arr); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6933:49: note: in definition of macro 'DUK_HOBJECT_E_FLAG_PADDING' 6933 | #define DUK_HOBJECT_E_FLAG_PADDING(e_sz) ((8 - (e_sz)) & 0x07) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:53: note: in expansion of macro 'DUK_HOBJECT_GET_ESIZE' 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26539:17: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 26539 | tv_arraypart = DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) h_arr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26539:17: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 26539 | tv_arraypart = DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) h_arr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26539:17: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 26539 | tv_arraypart = DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) h_arr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1175:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1175 | #define DUK_TVAL_IS_UNUSED(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_UNUSED) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26555:6: note: in expansion of macro 'DUK_TVAL_IS_UNUSED' 26555 | if (DUK_TVAL_IS_UNUSED(tv_val)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:938:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 938 | #define DUK_TAG_UNUSED 0xfff2UL /* marker; not actual tagged value */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1064:46: note: in expansion of macro 'DUK_TAG_UNUSED' 1064 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNUSED; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26564:3: note: in expansion of macro 'DUK_TVAL_SET_UNUSED' 26564 | DUK_TVAL_SET_UNUSED(tv_val); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_array_prototype_pop(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26595:3: note: in expansion of macro 'duk_put_prop_stridx_short' 26595 | duk_put_prop_stridx_short(thr, 0, DUK_STRIDX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26595:3: note: in expansion of macro 'duk_put_prop_stridx_short' 26595 | duk_put_prop_stridx_short(thr, 0, DUK_STRIDX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26600:45: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 26600 | duk_get_prop_index(thr, 0, (duk_uarridx_t) idx); | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26601:45: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 26601 | duk_del_prop_index(thr, 0, (duk_uarridx_t) idx); | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:70: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26602:2: note: in expansion of macro 'duk_push_u32' 26602 | duk_push_u32(thr, idx); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26603:2: note: in expansion of macro 'duk_put_prop_stridx_short' 26603 | duk_put_prop_stridx_short(thr, 0, DUK_STRIDX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26603:2: note: in expansion of macro 'duk_put_prop_stridx_short' 26603 | duk_put_prop_stridx_short(thr, 0, DUK_STRIDX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk__array_push_fastpath(duk_hthread*, duk_harray*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26616:67: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 26616 | tv_arraypart = DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) h_arr); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6893:42: note: in definition of macro 'DUK_HOBJECT_GET_PROPS' 6893 | #define DUK_HOBJECT_GET_PROPS(heap, h) ((h)->props) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26616:17: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 26616 | tv_arraypart = DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) h_arr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26616:67: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 26616 | tv_arraypart = DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) h_arr); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7127:36: note: in definition of macro 'DUK_HOBJECT_GET_ESIZE' 7127 | #define DUK_HOBJECT_GET_ESIZE(h) ((h)->e_size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26616:17: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 26616 | tv_arraypart = DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) h_arr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26616:67: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 26616 | tv_arraypart = DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) h_arr); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6933:49: note: in definition of macro 'DUK_HOBJECT_E_FLAG_PADDING' 6933 | #define DUK_HOBJECT_E_FLAG_PADDING(e_sz) ((8 - (e_sz)) & 0x07) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:53: note: in expansion of macro 'DUK_HOBJECT_GET_ESIZE' 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26616:17: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 26616 | tv_arraypart = DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) h_arr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26616:17: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 26616 | tv_arraypart = DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) h_arr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26616:17: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 26616 | tv_arraypart = DUK_HOBJECT_A_GET_BASE(thr->heap, (duk_hobject *) h_arr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26618:59: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 26618 | n = (duk_idx_t) (thr->valstack_top - thr->valstack_bottom); | ^ | ----------- | static_cast ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26621:40: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 26621 | if (DUK_UNLIKELY(len + (duk_uint32_t) n < len)) { | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10337:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10337 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_LENGTH); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10341:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_LENGTH' 10341 | DUK_ERROR_RANGE_INVALID_LENGTH((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26623:3: note: in expansion of macro 'DUK_DCERROR_RANGE_INVALID_LENGTH' 26623 | DUK_DCERROR_RANGE_INVALID_LENGTH(thr); /* != 0 return value returned as is by caller */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26625:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 26625 | if (len + (duk_uint32_t) n > DUK_HOBJECT_GET_ASIZE((duk_hobject *) h_arr)) { | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26625:69: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 26625 | if (len + (duk_uint32_t) n > DUK_HOBJECT_GET_ASIZE((duk_hobject *) h_arr)) { | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7138:40: note: in definition of macro 'DUK_HOBJECT_GET_ASIZE' 7138 | #define DUK_HOBJECT_GET_ASIZE(h) ((h)->a_size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26641:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 26641 | DUK_TVAL_SET_UNDEFINED(tv_src); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26646:24: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 26646 | len += (duk_uint32_t) n; | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26650:34: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 26650 | duk_push_uint(thr, (duk_uint_t) len); | ^~~ | ---------------- | static_cast ( len) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_array_prototype_push(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26695:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 26695 | if (len + (duk_uint32_t) n < len) { | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10337:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10337 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_LENGTH); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10341:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_LENGTH' 10341 | DUK_ERROR_RANGE_INVALID_LENGTH((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26697:3: note: in expansion of macro 'DUK_DCERROR_RANGE_INVALID_LENGTH' 26697 | DUK_DCERROR_RANGE_INVALID_LENGTH(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26702:69: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 26702 | duk_put_prop_index(thr, -3, (duk_uarridx_t) (len + (duk_uint32_t) i)); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26702:70: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 26702 | duk_put_prop_index(thr, -3, (duk_uarridx_t) (len + (duk_uint32_t) i)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26704:24: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 26704 | len += (duk_uint32_t) n; | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:70: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26706:2: note: in expansion of macro 'duk_push_u32' 26706 | duk_push_u32(thr, len); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26708:2: note: in expansion of macro 'duk_put_prop_stridx_short' 26708 | duk_put_prop_stridx_short(thr, -4, DUK_STRIDX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26708:2: note: in expansion of macro 'duk_put_prop_stridx_short' 26708 | duk_put_prop_stridx_short(thr, -4, DUK_STRIDX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_int_t duk__array_sort_compare(duk_hthread*, duk_int_t, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26754:59: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 26754 | have1 = duk_get_prop_index(thr, idx_obj, (duk_uarridx_t) idx1); | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26755:59: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 26755 | have2 = duk_get_prop_index(thr, idx_obj, (duk_uarridx_t) idx2); | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__array_sort_swap(duk_hthread*, duk_int_t, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26857:60: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 26857 | have_l = duk_get_prop_index(thr, idx_obj, (duk_uarridx_t) l); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26858:60: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 26858 | have_r = duk_get_prop_index(thr, idx_obj, (duk_uarridx_t) r); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26862:52: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 26862 | duk_put_prop_index(thr, idx_obj, (duk_uarridx_t) l); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26864:52: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 26864 | duk_del_prop_index(thr, idx_obj, (duk_uarridx_t) l); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26869:52: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 26869 | duk_put_prop_index(thr, idx_obj, (duk_uarridx_t) r); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26871:52: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 26871 | duk_del_prop_index(thr, idx_obj, (duk_uarridx_t) r); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__array_qsort(duk_hthread*, duk_int_t, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26930:85: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 26930 | p = lo + (duk_int_t) (duk_util_get_random_double(thr) * (duk_double_t) (hi - lo + 1)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:26930:86: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 26930 | p = lo + (duk_int_t) (duk_util_get_random_double(thr) * (duk_double_t) (hi - lo + 1)); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_array_prototype_sort(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27015:37: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 27015 | duk__array_qsort(thr, (duk_int_t) 0, (duk_int_t) (len - 1)); | ^ | ------------- | static_cast ( 0) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27015:60: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 27015 | duk__array_qsort(thr, (duk_int_t) 0, (duk_int_t) (len - 1)); | ^ | --------------------- | static_cast ( (len - 1)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_array_prototype_splice(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27061:20: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 27061 | len = (duk_int_t) len_u32; | ^~~~~~~ | ------------------- | static_cast ( len_u32) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27086:37: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 27086 | item_count = (duk_int_t) (nargs - 2); | ^ | ----------------------- | static_cast ( (nargs - 2)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27092:22: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 27092 | if (((duk_double_t) len) - ((duk_double_t) del_count) + ((duk_double_t) item_count) > (duk_double_t) DUK_UINT32_MAX) { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27092:45: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 27092 | if (((duk_double_t) len) - ((duk_double_t) del_count) + ((duk_double_t) item_count) > (duk_double_t) DUK_UINT32_MAX) { | ^~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27092:74: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 27092 | if (((duk_double_t) len) - ((duk_double_t) del_count) + ((duk_double_t) item_count) > (duk_double_t) DUK_UINT32_MAX) { | ^~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10337:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10337 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_LENGTH); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10341:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_LENGTH' 10341 | DUK_ERROR_RANGE_INVALID_LENGTH((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27094:3: note: in expansion of macro 'DUK_DCERROR_RANGE_INVALID_LENGTH' 27094 | DUK_DCERROR_RANGE_INVALID_LENGTH(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27112:65: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27112 | if (duk_get_prop_index(thr, -3, (duk_uarridx_t) (act_start + i))) { | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27113:53: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27113 | duk_xdef_prop_index_wec(thr, -2, (duk_uarridx_t) i); /* throw flag irrelevant (false in std alg) */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6205:95: note: in definition of macro 'duk_xdef_prop_index_wec' 6205 | #define duk_xdef_prop_index_wec(thr, obj_idx, arr_idx) duk_xdef_prop_index((thr), (obj_idx), (arr_idx), DUK_PROPDESC_FLAGS_WEC) | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27118:35: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 27118 | duk_push_u32(thr, (duk_uint32_t) del_count); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:67: note: in definition of macro 'duk_push_u32' 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:70: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27118:2: note: in expansion of macro 'duk_push_u32' 27118 | duk_push_u32(thr, (duk_uint32_t) del_count); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27119:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 27119 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27119:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 27119 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27119:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 27119 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27134:66: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27134 | if (duk_get_prop_index(thr, -3, (duk_uarridx_t) (i + del_count))) { | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27135:64: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27135 | duk_put_prop_index(thr, -4, (duk_uarridx_t) (i + item_count)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27138:64: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27138 | duk_del_prop_index(thr, -3, (duk_uarridx_t) (i + item_count)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27147:48: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27147 | duk_del_prop_index(thr, -3, (duk_uarridx_t) i); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27162:66: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27162 | if (duk_get_prop_index(thr, -3, (duk_uarridx_t) (i + del_count))) { | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27163:64: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27163 | duk_put_prop_index(thr, -4, (duk_uarridx_t) (i + item_count)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27166:64: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27166 | duk_del_prop_index(thr, -3, (duk_uarridx_t) (i + item_count)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27184:61: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27184 | duk_put_prop_index(thr, -4, (duk_uarridx_t) (act_start + i)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27191:64: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 27191 | duk_push_u32(thr, (duk_uint32_t) (len - del_count + item_count)); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:67: note: in definition of macro 'duk_push_u32' 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:70: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27191:2: note: in expansion of macro 'duk_push_u32' 27191 | duk_push_u32(thr, (duk_uint32_t) (len - del_count + item_count)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27192:2: note: in expansion of macro 'duk_put_prop_stridx_short' 27192 | duk_put_prop_stridx_short(thr, -4, DUK_STRIDX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27192:2: note: in expansion of macro 'duk_put_prop_stridx_short' 27192 | duk_put_prop_stridx_short(thr, -4, DUK_STRIDX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_array_prototype_reverse(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27223:60: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27223 | have_lower = duk_get_prop_index(thr, -2, (duk_uarridx_t) lower); | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27224:60: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27224 | have_upper = duk_get_prop_index(thr, -3, (duk_uarridx_t) upper); | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27229:48: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27229 | duk_put_prop_index(thr, -4, (duk_uarridx_t) lower); | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27231:48: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27231 | duk_del_prop_index(thr, -4, (duk_uarridx_t) lower); | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27236:48: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27236 | duk_put_prop_index(thr, -3, (duk_uarridx_t) upper); | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27238:48: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27238 | duk_del_prop_index(thr, -3, (duk_uarridx_t) upper); | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_array_prototype_slice(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27266:20: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 27266 | len = (duk_int_t) len_u32; | ^~~~~~~ | ------------------- | static_cast ( len_u32) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27299:50: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27299 | if (duk_get_prop_index(thr, 2, (duk_uarridx_t) i)) { | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:70: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27309:2: note: in expansion of macro 'duk_push_u32' 27309 | duk_push_u32(thr, res_length); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27310:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 27310 | duk_xdef_prop_stridx_short(thr, 4, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27310:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 27310 | duk_xdef_prop_stridx_short(thr, 4, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27310:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 27310 | duk_xdef_prop_stridx_short(thr, 4, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_array_prototype_shift(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27327:3: note: in expansion of macro 'duk_put_prop_stridx_short' 27327 | duk_put_prop_stridx_short(thr, 0, DUK_STRIDX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27327:3: note: in expansion of macro 'duk_put_prop_stridx_short' 27327 | duk_put_prop_stridx_short(thr, 0, DUK_STRIDX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27340:50: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27340 | if (duk_get_prop_index(thr, 0, (duk_uarridx_t) i)) { | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27342:53: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27342 | duk_put_prop_index(thr, 0, (duk_uarridx_t) (i - 1)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27345:53: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27345 | duk_del_prop_index(thr, 0, (duk_uarridx_t) (i - 1)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27349:53: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27349 | duk_del_prop_index(thr, 0, (duk_uarridx_t) (len - 1)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27351:43: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 27351 | duk_push_u32(thr, (duk_uint32_t) (len - 1)); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:67: note: in definition of macro 'duk_push_u32' 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:70: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27351:2: note: in expansion of macro 'duk_push_u32' 27351 | duk_push_u32(thr, (duk_uint32_t) (len - 1)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27352:2: note: in expansion of macro 'duk_put_prop_stridx_short' 27352 | duk_put_prop_stridx_short(thr, 0, DUK_STRIDX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27352:2: note: in expansion of macro 'duk_put_prop_stridx_short' 27352 | duk_put_prop_stridx_short(thr, 0, DUK_STRIDX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_array_prototype_unshift(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27382:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 27382 | if (len + (duk_uint32_t) nargs < len) { | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10337:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10337 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_LENGTH); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10341:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_LENGTH' 10341 | DUK_ERROR_RANGE_INVALID_LENGTH((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27384:3: note: in expansion of macro 'DUK_DCERROR_RANGE_INVALID_LENGTH' 27384 | DUK_DCERROR_RANGE_INVALID_LENGTH(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27393:51: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27393 | if (duk_get_prop_index(thr, -2, (duk_uarridx_t) i)) { | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27399:44: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 27399 | (duk_uarridx_t) (i + (duk_uint32_t) nargs)); /* -> [ ... ToObject(this) ToUint32(length) ] */ | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27399:49: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27399 | (duk_uarridx_t) (i + (duk_uint32_t) nargs)); /* -> [ ... ToObject(this) ToUint32(length) ] */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27407:44: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 27407 | (duk_uarridx_t) (i + (duk_uint32_t) nargs)); /* -> [ ... ToObject(this) ToUint32(length) ] */ | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27407:49: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27407 | (duk_uarridx_t) (i + (duk_uint32_t) nargs)); /* -> [ ... ToObject(this) ToUint32(length) ] */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27412:33: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 27412 | for (i = 0; i < (duk_uint32_t) nargs; i++) { | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27414:28: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 27414 | duk_dup(thr, (duk_idx_t) i); /* -> [ ... ToObject(this) ToUint32(length) arg[i] ] */ | ^ | ------------- | static_cast ( i) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27415:47: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27415 | duk_put_prop_index(thr, -3, (duk_uarridx_t) i); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27420:41: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 27420 | duk_push_u32(thr, len + (duk_uint32_t) nargs); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:67: note: in definition of macro 'duk_push_u32' 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:70: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27420:2: note: in expansion of macro 'duk_push_u32' 27420 | duk_push_u32(thr, len + (duk_uint32_t) nargs); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27422:2: note: in expansion of macro 'duk_put_prop_stridx_short' 27422 | duk_put_prop_stridx_short(thr, -4, DUK_STRIDX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27422:2: note: in expansion of macro 'duk_put_prop_stridx_short' 27422 | duk_put_prop_stridx_short(thr, -4, DUK_STRIDX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_array_prototype_indexof_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27445:58: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 27445 | len = (duk_int_t) duk__push_this_obj_len_u32_limited(thr); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27497:50: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27497 | if (duk_get_prop_index(thr, 2, (duk_uarridx_t) i)) { | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_array_prototype_iter_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27560:51: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27560 | if (!duk_get_prop_index(thr, 2, (duk_uarridx_t) i)) { | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:70: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27579:3: note: in expansion of macro 'duk_push_u32' 27579 | duk_push_u32(thr, i); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27603:52: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27603 | duk_xdef_prop_index_wec(thr, 4, (duk_uarridx_t) i); /* retval to result[i] */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6205:95: note: in definition of macro 'duk_xdef_prop_index_wec' 6205 | #define duk_xdef_prop_index_wec(thr, obj_idx, arr_idx) duk_xdef_prop_index((thr), (obj_idx), (arr_idx), DUK_PROPDESC_FLAGS_WEC) | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27610:53: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27610 | duk_xdef_prop_index_wec(thr, 4, (duk_uarridx_t) k); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6205:95: note: in definition of macro 'duk_xdef_prop_index_wec' 6205 | #define duk_xdef_prop_index_wec(thr, obj_idx, arr_idx) duk_xdef_prop_index((thr), (obj_idx), (arr_idx), DUK_PROPDESC_FLAGS_WEC) | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:70: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27638:3: note: in expansion of macro 'duk_push_u32' 27638 | duk_push_u32(thr, res_length); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27639:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 27639 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27639:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 27639 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27639:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 27639 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_array_prototype_reduce_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27690:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 27690 | i += (duk_uint32_t) idx_step) { | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27700:51: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27700 | if (!duk_has_prop_index(thr, 2, (duk_uarridx_t) i)) { | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27706:47: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27706 | duk_get_prop_index(thr, 2, (duk_uarridx_t) i); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27713:47: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 27713 | duk_get_prop_index(thr, 2, (duk_uarridx_t) i); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:70: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27714:4: note: in expansion of macro 'duk_push_u32' 27714 | duk_push_u32(thr, i); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27730:3: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 27730 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_boolean_prototype_tostring_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1177:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1177 | #define DUK_TVAL_IS_BOOLEAN(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_BOOLEAN) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27771:6: note: in expansion of macro 'DUK_TVAL_IS_BOOLEAN' 27771 | if (DUK_TVAL_IS_BOOLEAN(tv)) { | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27773:13: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 27773 | } else if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27774:7: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 27774 | h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:71: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27778:4: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 27778 | duk_xget_owndataprop_stridx_short(thr, -1, DUK_STRIDX_INT_VALUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:104: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27778:4: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 27778 | duk_xget_owndataprop_stridx_short(thr, -1, DUK_STRIDX_INT_VALUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27784:2: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 27784 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_boolean_constructor(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27808:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 27808 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_NONE); /* XXX: proper flags? */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27808:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 27808 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_NONE); /* XXX: proper flags? */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27808:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 27808 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_NONE); /* XXX: proper flags? */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hbufobj* duk__hbufobj_promote_this(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27909:46: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 27909 | res = (duk_hbufobj *) duk_to_hobject(thr, -1); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5349:3: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 5349 | DUK_TVAL_SET_OBJECT(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5437:39: note: in expansion of macro 'DUK_TVAL_SET_OBJECT_UPDREF_ALT0' 5437 | #define DUK_TVAL_SET_OBJECT_UPDREF DUK_TVAL_SET_OBJECT_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27914:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT_UPDREF' 27914 | DUK_TVAL_SET_OBJECT_UPDREF(thr, tv_dst, (duk_hobject *) res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27914:58: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 27914 | DUK_TVAL_SET_OBJECT_UPDREF(thr, tv_dst, (duk_hobject *) res); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:98: note: in definition of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5349:3: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 5349 | DUK_TVAL_SET_OBJECT(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5437:39: note: in expansion of macro 'DUK_TVAL_SET_OBJECT_UPDREF_ALT0' 5437 | #define DUK_TVAL_SET_OBJECT_UPDREF DUK_TVAL_SET_OBJECT_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27914:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT_UPDREF' 27914 | DUK_TVAL_SET_OBJECT_UPDREF(thr, tv_dst, (duk_hobject *) res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5349:3: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 5349 | DUK_TVAL_SET_OBJECT(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5437:39: note: in expansion of macro 'DUK_TVAL_SET_OBJECT_UPDREF_ALT0' 5437 | #define DUK_TVAL_SET_OBJECT_UPDREF DUK_TVAL_SET_OBJECT_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27914:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT_UPDREF' 27914 | DUK_TVAL_SET_OBJECT_UPDREF(thr, tv_dst, (duk_hobject *) res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5349:3: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 5349 | DUK_TVAL_SET_OBJECT(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5437:39: note: in expansion of macro 'DUK_TVAL_SET_OBJECT_UPDREF_ALT0' 5437 | #define DUK_TVAL_SET_OBJECT_UPDREF DUK_TVAL_SET_OBJECT_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27914:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT_UPDREF' 27914 | DUK_TVAL_SET_OBJECT_UPDREF(thr, tv_dst, (duk_hobject *) res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27914:58: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 27914 | DUK_TVAL_SET_OBJECT_UPDREF(thr, tv_dst, (duk_hobject *) res); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5350:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5350 | DUK_HOBJECT_INCREF((thr), (newval)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5437:39: note: in expansion of macro 'DUK_TVAL_SET_OBJECT_UPDREF_ALT0' 5437 | #define DUK_TVAL_SET_OBJECT_UPDREF DUK_TVAL_SET_OBJECT_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27914:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT_UPDREF' 27914 | DUK_TVAL_SET_OBJECT_UPDREF(thr, tv_dst, (duk_hobject *) res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5350:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5350 | DUK_HOBJECT_INCREF((thr), (newval)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5437:39: note: in expansion of macro 'DUK_TVAL_SET_OBJECT_UPDREF_ALT0' 5437 | #define DUK_TVAL_SET_OBJECT_UPDREF DUK_TVAL_SET_OBJECT_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27914:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT_UPDREF' 27914 | DUK_TVAL_SET_OBJECT_UPDREF(thr, tv_dst, (duk_hobject *) res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5350:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5350 | DUK_HOBJECT_INCREF((thr), (newval)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5437:39: note: in expansion of macro 'DUK_TVAL_SET_OBJECT_UPDREF_ALT0' 5437 | #define DUK_TVAL_SET_OBJECT_UPDREF DUK_TVAL_SET_OBJECT_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27914:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT_UPDREF' 27914 | DUK_TVAL_SET_OBJECT_UPDREF(thr, tv_dst, (duk_hobject *) res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5351:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5351 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5437:39: note: in expansion of macro 'DUK_TVAL_SET_OBJECT_UPDREF_ALT0' 5437 | #define DUK_TVAL_SET_OBJECT_UPDREF DUK_TVAL_SET_OBJECT_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27914:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT_UPDREF' 27914 | DUK_TVAL_SET_OBJECT_UPDREF(thr, tv_dst, (duk_hobject *) res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5351:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5351 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5437:39: note: in expansion of macro 'DUK_TVAL_SET_OBJECT_UPDREF_ALT0' 5437 | #define DUK_TVAL_SET_OBJECT_UPDREF DUK_TVAL_SET_OBJECT_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27914:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT_UPDREF' 27914 | DUK_TVAL_SET_OBJECT_UPDREF(thr, tv_dst, (duk_hobject *) res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_heaphdr* duk__getrequire_bufobj_this(duk_hthread*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27936:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 27936 | if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27937:28: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 27937 | h_this = (duk_hbufobj *) DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:86: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27937:28: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 27937 | h_this = (duk_hbufobj *) DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27939:45: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 27939 | if (DUK_HOBJECT_IS_BUFOBJ((duk_hobject *) h_this)) { | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27939:7: note: in expansion of macro 'DUK_HOBJECT_IS_BUFOBJ' 27939 | if (DUK_HOBJECT_IS_BUFOBJ((duk_hobject *) h_this)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27941:27: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 27941 | return (duk_heaphdr *) h_this; | ^~~~~~ | ---------------------- | reinterpret_cast ( h_this) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1183:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1183 | #define DUK_TVAL_IS_BUFFER(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27943:13: note: in expansion of macro 'DUK_TVAL_IS_BUFFER' 27943 | } else if (DUK_TVAL_IS_BUFFER(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27955:27: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 27955 | return (duk_heaphdr *) h_this; | ^~~~~~ | ---------------------- | reinterpret_cast ( h_this) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1167:85: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 1167 | #define DUK_TVAL_GET_BUFFER(tv) ((duk_hbuffer *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27958:27: note: in expansion of macro 'DUK_TVAL_GET_BUFFER' 27958 | return (duk_heaphdr *) DUK_TVAL_GET_BUFFER(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1167:86: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1167 | #define DUK_TVAL_GET_BUFFER(tv) ((duk_hbuffer *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27958:27: note: in expansion of macro 'DUK_TVAL_GET_BUFFER' 27958 | return (duk_heaphdr *) DUK_TVAL_GET_BUFFER(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27963:3: note: in expansion of macro 'DUK_ERROR_TYPE' 27963 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_BUFFER); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27963:3: note: in expansion of macro 'DUK_ERROR_TYPE' 27963 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_BUFFER); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27963:3: note: in expansion of macro 'DUK_ERROR_TYPE' 27963 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_BUFFER); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hbufobj* duk__get_bufobj_this(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27971:82: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 27971 | return (duk_hbufobj *) duk__getrequire_bufobj_this(thr, DUK__BUFOBJ_FLAG_PROMOTE); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hbufobj* duk__require_bufobj_this(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27978:107: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 27978 | return (duk_hbufobj *) duk__getrequire_bufobj_this(thr, DUK__BUFOBJ_FLAG_THROW | DUK__BUFOBJ_FLAG_PROMOTE); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hbufobj* duk__require_bufobj_value(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27991:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 27991 | if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27992:27: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 27992 | h_obj = (duk_hbufobj *) DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:86: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27992:27: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 27992 | h_obj = (duk_hbufobj *) DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27994:45: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 27994 | if (DUK_HOBJECT_IS_BUFOBJ((duk_hobject *) h_obj)) { | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27994:7: note: in expansion of macro 'DUK_HOBJECT_IS_BUFOBJ' 27994 | if (DUK_HOBJECT_IS_BUFOBJ((duk_hobject *) h_obj)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1183:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1183 | #define DUK_TVAL_IS_BUFFER(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27998:13: note: in expansion of macro 'DUK_TVAL_IS_BUFFER' 27998 | } else if (DUK_TVAL_IS_BUFFER(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27999:50: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 27999 | h_obj = (duk_hbufobj *) duk_to_hobject(thr, idx); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28005:2: note: in expansion of macro 'DUK_ERROR_TYPE' 28005 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_BUFFER); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28005:2: note: in expansion of macro 'DUK_ERROR_TYPE' 28005 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_BUFFER); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28005:2: note: in expansion of macro 'DUK_ERROR_TYPE' 28005 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_BUFFER); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__set_bufobj_buffer(duk_hthread*, duk_hbufobj*, duk_hbuffer*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28018:2: note: in expansion of macro 'DUK_HBUFFER_INCREF' 28018 | DUK_HBUFFER_INCREF(thr, h_val); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28018:2: note: in expansion of macro 'DUK_HBUFFER_INCREF' 28018 | DUK_HBUFFER_INCREF(thr, h_val); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28019:34: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 28019 | h_bufobj->length = (duk_uint_t) DUK_HBUFFER_GET_SIZE(h_val); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:61: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28019:34: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 28019 | h_bufobj->length = (duk_uint_t) DUK_HBUFFER_GET_SIZE(h_val); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__resolve_offset_opt_length(duk_hthread*, duk_hbufobj*, duk_idx_t, duk_idx_t, duk_uint_t*, duk_uint_t*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28044:24: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 28044 | offset = (duk_uint_t) offset_signed; | ^~~~~~~~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28059:25: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 28059 | length = (duk_uint_t) length_signed; | ^~~~~~~~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28080:2: note: in expansion of macro 'DUK_ERROR_RANGE' 28080 | DUK_ERROR_RANGE(thr, DUK_STR_INVALID_ARGS); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_hbufobj_push_uint8array_from_plain(duk_hthread*, duk_hbuffer*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28195:50: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 28195 | duk_push_buffer_object(thr, -1, 0, (duk_size_t) DUK_HBUFFER_GET_SIZE(h_buf), DUK_BUFOBJ_UINT8ARRAY); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28195:50: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 28195 | duk_push_buffer_object(thr, -1, 0, (duk_size_t) DUK_HBUFFER_GET_SIZE(h_buf), DUK_BUFOBJ_UINT8ARRAY); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_hbufobj_push_validated_read(duk_hthread*, duk_hbufobj*, duk_uint8_t*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28236:25: warning: use of old-style cast to 'void*' [-Wold-style-cast] 28236 | duk_memcpy((void *) du.uc, (const void *) p, (size_t) elem_size); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28236:44: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 28236 | duk_memcpy((void *) du.uc, (const void *) p, (size_t) elem_size); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28236:56: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 28236 | duk_memcpy((void *) du.uc, (const void *) p, (size_t) elem_size); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28236:2: note: in expansion of macro 'duk_memcpy' 28236 | duk_memcpy((void *) du.uc, (const void *) p, (size_t) elem_size); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28241:42: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 28241 | duk_push_uint(thr, (duk_uint_t) du.uc[0]); | ^ | --------------------- | static_cast ( du.uc[0]) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28244:53: warning: use of old-style cast to 'duk_int8_t' {aka 'signed char'} [-Wold-style-cast] 28244 | duk_push_int(thr, (duk_int_t) (duk_int8_t) du.uc[0]); | ^ | --------------------- | static_cast ( du.uc[0]) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28244:53: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 28244 | duk_push_int(thr, (duk_int_t) (duk_int8_t) du.uc[0]); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28247:42: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 28247 | duk_push_uint(thr, (duk_uint_t) du.us[0]); | ^ | --------------------- | static_cast ( du.us[0]) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28250:54: warning: use of old-style cast to 'duk_int16_t' {aka 'short int'} [-Wold-style-cast] 28250 | duk_push_int(thr, (duk_int_t) (duk_int16_t) du.us[0]); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28250:54: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 28250 | duk_push_int(thr, (duk_int_t) (duk_int16_t) du.us[0]); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28253:42: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 28253 | duk_push_uint(thr, (duk_uint_t) du.ui[0]); | ^ | --------------------- | static_cast ( du.ui[0]) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28256:54: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 28256 | duk_push_int(thr, (duk_int_t) (duk_int32_t) du.ui[0]); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28256:54: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 28256 | duk_push_int(thr, (duk_int_t) (duk_int32_t) du.ui[0]); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28259:45: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 28259 | duk_push_number(thr, (duk_double_t) du.f[0]); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28262:42: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 28262 | duk_push_number(thr, (duk_double_t) du.d); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_hbufobj_validated_write(duk_hthread*, duk_hbufobj*, duk_uint8_t*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28283:49: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 28283 | du.uc[0] = (duk_uint8_t) duk_to_uint32(thr, -1); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28286:55: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 28286 | du.uc[0] = (duk_uint8_t) duk_to_uint8clamped(thr, -1); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28289:48: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 28289 | du.uc[0] = (duk_uint8_t) duk_to_int32(thr, -1); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28292:50: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 28292 | du.us[0] = (duk_uint16_t) duk_to_uint32(thr, -1); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28295:49: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 28295 | du.us[0] = (duk_uint16_t) duk_to_int32(thr, -1); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28298:50: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 28298 | du.ui[0] = (duk_uint32_t) duk_to_uint32(thr, -1); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28301:49: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 28301 | du.ui[0] = (duk_uint32_t) duk_to_int32(thr, -1); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28311:45: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 28311 | du.d = (duk_double_t) duk_to_number_m1(thr); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28318:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 28318 | duk_memcpy((void *) p, (const void *) du.uc, (size_t) elem_size); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28318:43: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 28318 | duk_memcpy((void *) p, (const void *) du.uc, (size_t) elem_size); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28318:56: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 28318 | duk_memcpy((void *) p, (const void *) du.uc, (size_t) elem_size); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28318:2: note: in expansion of macro 'duk_memcpy' 28318 | duk_memcpy((void *) p, (const void *) du.uc, (size_t) elem_size); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hbuffer* duk__hbufobj_fixed_from_argvalue(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28333:55: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 28333 | (void) duk_push_fixed_buffer_zero(thr, (duk_size_t) len); | ^~~ | ---------------- | static_cast ( len) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28351:31: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 28351 | h_bufobj = (duk_hbufobj *) h; | ^ | ----------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28353:5: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 28353 | DUK_ERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28356:66: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 28356 | if (DUK_UNLIKELY(h_bufobj->offset != 0 || h_bufobj->length != DUK_HBUFFER_GET_SIZE(h_bufobj->buf))) { | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28360:5: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 28360 | DUK_ERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28376:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 28376 | DUK_ERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28387:9: note: in expansion of macro 'duk_get_prop_stridx_short' 28387 | (void) duk_get_prop_stridx_short(thr, 0, DUK_STRIDX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28387:9: note: in expansion of macro 'duk_get_prop_stridx_short' 28387 | (void) duk_get_prop_stridx_short(thr, 0, DUK_STRIDX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28390:71: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 28390 | buf = (duk_uint8_t *) duk_push_fixed_buffer_nozero(thr, (duk_size_t) len); /* no zeroing, all indices get initialized */ | ^~~ | ---------------- | static_cast ( len) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28390:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 28390 | buf = (duk_uint8_t *) duk_push_fixed_buffer_nozero(thr, (duk_size_t) len); /* no zeroing, all indices get initialized */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28393:46: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 28393 | duk_get_prop_index(thr, 0, (duk_uarridx_t) i); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28394:57: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 28394 | buf[i] = (duk_uint8_t) (duk_to_uint32(thr, -1) & 0xffU); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_nodejs_buffer_constructor(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28416:95: warning: use of old-style cast to 'void*' [-Wold-style-cast] 28416 | duk_push_buffer_object(thr, -1, 0, DUK_HBUFFER_FIXED_GET_SIZE((duk_hbuffer_fixed *) (void *) h_buf), DUK_BUFOBJ_UINT8ARRAY); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:52: note: in definition of macro 'DUK_HBUFFER_GET_SIZE' 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28416:37: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_SIZE' 28416 | duk_push_buffer_object(thr, -1, 0, DUK_HBUFFER_FIXED_GET_SIZE((duk_hbuffer_fixed *) (void *) h_buf), DUK_BUFOBJ_UINT8ARRAY); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28416:95: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 28416 | duk_push_buffer_object(thr, -1, 0, DUK_HBUFFER_FIXED_GET_SIZE((duk_hbuffer_fixed *) (void *) h_buf), DUK_BUFOBJ_UINT8ARRAY); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:52: note: in definition of macro 'DUK_HBUFFER_GET_SIZE' 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28416:37: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_SIZE' 28416 | duk_push_buffer_object(thr, -1, 0, DUK_HBUFFER_FIXED_GET_SIZE((duk_hbuffer_fixed *) (void *) h_buf), DUK_BUFOBJ_UINT8ARRAY); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8653:81: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8653 | #define DUK_HBUFFER_FIXED_GET_SIZE(x) DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:52: note: in definition of macro 'DUK_HBUFFER_GET_SIZE' 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28416:37: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_SIZE' 28416 | duk_push_buffer_object(thr, -1, 0, DUK_HBUFFER_FIXED_GET_SIZE((duk_hbuffer_fixed *) (void *) h_buf), DUK_BUFOBJ_UINT8ARRAY); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8653:42: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 8653 | #define DUK_HBUFFER_FIXED_GET_SIZE(x) DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28416:37: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_SIZE' 28416 | duk_push_buffer_object(thr, -1, 0, DUK_HBUFFER_FIXED_GET_SIZE((duk_hbuffer_fixed *) (void *) h_buf), DUK_BUFOBJ_UINT8ARRAY); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_arraybuffer_constructor(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28444:54: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 28444 | (void) duk_push_fixed_buffer_zero(thr, (duk_size_t) len); | ^~~ | ---------------- | static_cast ( len) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28445:51: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 28445 | h_val = (duk_hbuffer *) duk_known_hbuffer(thr, -1); | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28449:37: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 28449 | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_ARRAYBUFFER), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10337:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10337 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_LENGTH); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10341:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_LENGTH' 10341 | DUK_ERROR_RANGE_INVALID_LENGTH((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28459:2: note: in expansion of macro 'DUK_DCERROR_RANGE_INVALID_LENGTH' 28459 | DUK_DCERROR_RANGE_INVALID_LENGTH(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_typedarray_constructor(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28500:54: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 28500 | magic = (duk_small_uint_t) duk_get_current_magic(thr); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28533:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 28533 | if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28534:11: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 28534 | h_obj = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28545:31: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 28545 | h_bufarg = (duk_hbufobj *) h_obj; | ^~~~~ | --------------------- | reinterpret_cast ( h_obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28551:31: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 28551 | byte_offset = (duk_uint_t) byte_offset_signed; | ^~~~~~~~~~~~~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28571:32: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 28571 | elem_length = (duk_uint_t) elem_length_signed; | ^~~~~~~~~~~~~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28593:39: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 28593 | DUK_HOBJECT_CLASS_AS_FLAGS(class_num), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28594:53: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 28594 | (duk_small_int_t) proto_bidx); | ^~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28597:5: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 28597 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28600:4: note: in expansion of macro 'DUK_HBUFFER_INCREF' 28600 | DUK_HBUFFER_INCREF(thr, h_val); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28600:4: note: in expansion of macro 'DUK_HBUFFER_INCREF' 28600 | DUK_HBUFFER_INCREF(thr, h_val); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28603:36: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 28603 | h_bufobj->shift = (duk_uint8_t) shift; | ^~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28604:40: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 28604 | h_bufobj->elem_type = (duk_uint8_t) elem_type; | ^~~~~~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28610:41: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 28610 | h_bufobj->buf_prop = (duk_hobject *) h_bufarg; | ^~~~~~~~ | ------------------------ | reinterpret_cast ( h_bufarg) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5062:91: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5062 | #define DUK_HBUFOBJ_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5062:43: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5062 | #define DUK_HBUFOBJ_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28612:4: note: in expansion of macro 'DUK_HBUFOBJ_INCREF' 28612 | DUK_HBUFOBJ_INCREF(thr, h_bufarg); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5062:43: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5062 | #define DUK_HBUFOBJ_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28612:4: note: in expansion of macro 'DUK_HBUFOBJ_INCREF' 28612 | DUK_HBUFOBJ_INCREF(thr, h_bufarg); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28620:31: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 28620 | h_bufarg = (duk_hbufobj *) h_obj; | ^~~~~ | --------------------- | reinterpret_cast ( h_obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28622:73: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 28622 | elem_length_signed = (duk_int_t) (h_bufarg->length >> h_bufarg->shift); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28624:5: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 28624 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7944:33: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 7944 | ((h)->offset + (h)->length <= DUK_HBUFFER_GET_SIZE((h)->buf))) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28648:8: note: in expansion of macro 'DUK_HBUFOBJ_VALID_SLICE' 28648 | if (DUK_HBUFOBJ_VALID_SLICE(h_bufarg)) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28661:58: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 28661 | elem_length_signed = (duk_int_t) duk_get_length(thr, 0); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28675:29: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 28675 | elem_length = (duk_uint_t) elem_length_signed; | ^~~~~~~~~~~~~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28676:50: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 28676 | byte_length = (duk_uint_t) (elem_length << shift); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28700:82: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 28700 | DUK_HOBJECT_FLAG_EXTENSIBLE | DUK_HOBJECT_FLAG_BUFOBJ | DUK_HOBJECT_CLASS_AS_FLAGS(class_num), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28701:44: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 28701 | (duk_small_int_t) proto_bidx); | ^~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28704:2: note: in expansion of macro 'DUK_HBUFFER_INCREF' 28704 | DUK_HBUFFER_INCREF(thr, h_val); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28704:2: note: in expansion of macro 'DUK_HBUFFER_INCREF' 28704 | DUK_HBUFFER_INCREF(thr, h_val); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28707:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 28707 | h_bufobj->shift = (duk_uint8_t) shift; | ^~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28708:38: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 28708 | h_bufobj->elem_type = (duk_uint8_t) elem_type; | ^~~~~~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28737:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28737 | p_dst = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28737:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28737 | p_dst = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28737:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28737 | p_dst = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28737:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28737 | p_dst = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28737:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28737 | p_dst = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28737:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28737 | p_dst = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28737:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28737 | p_dst = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28738:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28738 | p_src = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28738:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28738 | p_src = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28738:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28738 | p_src = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28738:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28738 | p_src = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28738:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28738 | p_src = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28738:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28738 | p_src = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28738:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28738 | p_src = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28745:30: warning: use of old-style cast to 'void*' [-Wold-style-cast] 28745 | duk_memcpy_unsafe((void *) p_dst, (const void *) p_src, (size_t) byte_length); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28745:52: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 28745 | duk_memcpy_unsafe((void *) p_dst, (const void *) p_src, (size_t) byte_length); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28745:68: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 28745 | duk_memcpy_unsafe((void *) p_dst, (const void *) p_src, (size_t) byte_length); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3039:26: note: in definition of macro 'duk_memcpy_unsafe' 3039 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28745:3: note: in expansion of macro 'duk_memcpy_unsafe' 28745 | duk_memcpy_unsafe((void *) p_dst, (const void *) p_src, (size_t) byte_length); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28764:60: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 28764 | src_elem_size = (duk_small_uint_t) (1U << h_bufarg->shift); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28767:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28767 | p_src = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28767:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28767 | p_src = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28767:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28767 | p_src = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28767:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28767 | p_src = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28767:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28767 | p_src = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28767:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28767 | p_src = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28767:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28767 | p_src = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28768:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28768 | p_dst = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28768:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28768 | p_dst = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28768:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28768 | p_dst = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28768:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28768 | p_dst = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28768:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28768 | p_dst = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28768:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28768 | p_dst = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28768:11: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 28768 | p_dst = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28806:47: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 28806 | duk_get_prop_index(thr, 0, (duk_uarridx_t) i); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28807:48: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 28807 | duk_put_prop_index(thr, -2, (duk_uarridx_t) i); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10319:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10319 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_ARGS); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10323:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_ARGS' 10323 | DUK_ERROR_RANGE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28826:2: note: in expansion of macro 'DUK_DCERROR_RANGE_INVALID_ARGS' 28826 | DUK_DCERROR_RANGE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_dataview_constructor(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28870:51: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 28870 | if (DUK_HOBJECT_GET_CLASS_NUMBER((duk_hobject *) h_bufarg) != DUK_HOBJECT_CLASS_ARRAYBUFFER) { | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4801:48: note: in definition of macro 'DUK_HEAPHDR_GET_FLAG_RANGE' 4801 | #define DUK_HEAPHDR_GET_FLAG_RANGE(h, m, n) (((h)->h_flags >> (m)) & ((1UL << (n)) - 1UL)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28870:6: note: in expansion of macro 'DUK_HOBJECT_GET_CLASS_NUMBER' 28870 | if (DUK_HOBJECT_GET_CLASS_NUMBER((duk_hobject *) h_bufarg) != DUK_HOBJECT_CLASS_ARRAYBUFFER) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28871:3: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 28871 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28880:37: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 28880 | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_DATAVIEW), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28885:3: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 28885 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28888:2: note: in expansion of macro 'DUK_HBUFFER_INCREF' 28888 | DUK_HBUFFER_INCREF(thr, h_val); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28888:2: note: in expansion of macro 'DUK_HBUFFER_INCREF' 28888 | DUK_HBUFFER_INCREF(thr, h_val); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28896:39: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 28896 | h_bufobj->buf_prop = (duk_hobject *) h_bufarg; | ^~~~~~~~ | ------------------------ | reinterpret_cast ( h_bufarg) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5062:91: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5062 | #define DUK_HBUFOBJ_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5062:43: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5062 | #define DUK_HBUFOBJ_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28898:2: note: in expansion of macro 'DUK_HBUFOBJ_INCREF' 28898 | DUK_HBUFOBJ_INCREF(thr, h_bufarg); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5062:43: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5062 | #define DUK_HBUFOBJ_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28898:2: note: in expansion of macro 'DUK_HBUFOBJ_INCREF' 28898 | DUK_HBUFOBJ_INCREF(thr, h_bufarg); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_arraybuffer_isview(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28922:27: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 28922 | ret = ((duk_hbufobj *) h_obj)->is_typedarray || | ^~~~~ | --------------------- | reinterpret_cast ( h_obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_nodejs_buffer_tostring(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28993:59: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 28993 | (duk_int_t) h_this->length, | ^~~~~~ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28999:56: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 28999 | slice_length = (duk_size_t) (end_offset - start_offset); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29000:76: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 29000 | buf_slice = (duk_uint8_t *) duk_push_fixed_buffer_nozero(thr, slice_length); /* all bytes initialized below */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29004:85: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 29004 | if (h_this->buf == NULL || !DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL(h_this, (duk_size_t) start_offset + slice_length)) { | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7957:84: note: in definition of macro 'DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL' 7957 | (DUK_ASSERT_EXPR((h) != NULL), DUK_ASSERT_EXPR((h)->buf != NULL), ((h)->offset + (off) <= DUK_HBUFFER_GET_SIZE((h)->buf))) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7957:92: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 7957 | (DUK_ASSERT_EXPR((h) != NULL), DUK_ASSERT_EXPR((h)->buf != NULL), ((h)->offset + (off) <= DUK_HBUFFER_GET_SIZE((h)->buf))) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29004:30: note: in expansion of macro 'DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL' 29004 | if (h_this->buf == NULL || !DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL(h_this, (duk_size_t) start_offset + slice_length)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29005:3: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 29005 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29015:29: warning: use of old-style cast to 'void*' [-Wold-style-cast] 29015 | duk_memcpy_unsafe((void *) buf_slice, | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:34: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29016:36: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29016 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29016:36: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29016 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29016:36: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29016 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29016:36: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29016 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29016:36: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29016 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29016:36: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29016 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29016:36: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29016 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29016:96: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 29016 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + start_offset), | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29017:29: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 29017 | (size_t) slice_length); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3039:26: note: in definition of macro 'duk_memcpy_unsafe' 3039 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29015:2: note: in expansion of macro 'duk_memcpy_unsafe' 29015 | duk_memcpy_unsafe((void *) buf_slice, | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_nodejs_buffer_tojson(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7944:33: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 7944 | ((h)->offset + (h)->length <= DUK_HBUFFER_GET_SIZE((h)->buf))) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29043:30: note: in expansion of macro 'DUK_HBUFOBJ_VALID_SLICE' 29043 | if (h_this->buf == NULL || !DUK_HBUFOBJ_VALID_SLICE(h_this)) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29053:2: note: in expansion of macro 'duk_put_prop_stridx_short' 29053 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29053:2: note: in expansion of macro 'duk_put_prop_stridx_short' 29053 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29057:68: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 29057 | tv = duk_push_harray_with_size_outptr(thr, (duk_uint32_t) h_this->length); /* XXX: needs revision with >4G buffers */ | ^~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29061:8: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29061 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29061:8: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29061 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29061:8: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29061 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29061:8: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29061 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29061:8: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29061 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29061:8: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29061 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29061:8: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29061 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29063:48: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 29063 | DUK_TVAL_SET_U32(tv + i, (duk_uint32_t) buf[i]); /* no need for decref or incref */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1115:18: note: in definition of macro 'DUK_TVAL_SET_DOUBLE' 1115 | duk__dblval = (d); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29063:3: note: in expansion of macro 'DUK_TVAL_SET_U32' 29063 | DUK_TVAL_SET_U32(tv + i, (duk_uint32_t) buf[i]); /* no need for decref or incref */ | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1121:92: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 1121 | #define DUK_TVAL_SET_U32(tv, i) DUK_TVAL_SET_DOUBLE((tv), (duk_double_t) (i)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1115:18: note: in definition of macro 'DUK_TVAL_SET_DOUBLE' 1115 | duk__dblval = (d); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29063:3: note: in expansion of macro 'DUK_TVAL_SET_U32' 29063 | DUK_TVAL_SET_U32(tv + i, (duk_uint32_t) buf[i]); /* no need for decref or incref */ | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29065:2: note: in expansion of macro 'duk_put_prop_stridx_short' 29065 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_DATA); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29065:2: note: in expansion of macro 'duk_put_prop_stridx_short' 29065 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_DATA); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_buffer_compare_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29086:54: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 29086 | magic = (duk_small_uint_t) duk_get_current_magic(thr); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7944:33: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 7944 | ((h)->offset + (h)->length <= DUK_HBUFFER_GET_SIZE((h)->buf))) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29104:6: note: in expansion of macro 'DUK_HBUFOBJ_VALID_SLICE' 29104 | if (DUK_HBUFOBJ_VALID_SLICE(h_bufarg1) && DUK_HBUFOBJ_VALID_SLICE(h_bufarg2)) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7944:33: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 7944 | ((h)->offset + (h)->length <= DUK_HBUFFER_GET_SIZE((h)->buf))) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29104:44: note: in expansion of macro 'DUK_HBUFOBJ_VALID_SLICE' 29104 | if (DUK_HBUFOBJ_VALID_SLICE(h_bufarg1) && DUK_HBUFOBJ_VALID_SLICE(h_bufarg2)) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29106:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29106 | (const duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufarg1->buf) + h_bufarg1->offset, | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29106:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29106 | (const duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufarg1->buf) + h_bufarg1->offset, | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29106:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29106 | (const duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufarg1->buf) + h_bufarg1->offset, | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29106:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29106 | (const duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufarg1->buf) + h_bufarg1->offset, | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29106:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29106 | (const duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufarg1->buf) + h_bufarg1->offset, | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29106:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29106 | (const duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufarg1->buf) + h_bufarg1->offset, | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29106:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29106 | (const duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufarg1->buf) + h_bufarg1->offset, | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29107:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29107 | (const duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufarg2->buf) + h_bufarg2->offset, | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29107:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29107 | (const duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufarg2->buf) + h_bufarg2->offset, | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29107:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29107 | (const duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufarg2->buf) + h_bufarg2->offset, | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29107:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29107 | (const duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufarg2->buf) + h_bufarg2->offset, | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29107:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29107 | (const duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufarg2->buf) + h_bufarg2->offset, | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29107:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29107 | (const duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufarg2->buf) + h_bufarg2->offset, | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29107:29: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29107 | (const duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufarg2->buf) + h_bufarg2->offset, | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29108:31: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 29108 | (duk_size_t) h_bufarg1->length, | ^~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29109:31: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 29109 | (duk_size_t) h_bufarg2->length); | ^~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_nodejs_buffer_fill(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29144:3: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 29144 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29150:77: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 29150 | fill_str_ptr = (const duk_uint8_t *) duk_get_lstring(thr, 0, &fill_str_len); | ^ | - | reinterpret_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29154:50: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 29154 | fill_value = (duk_uint8_t) duk_to_uint32(thr, 0); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29155:41: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 29155 | fill_str_ptr = (const duk_uint8_t *) &fill_value; | ^~~~~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29162:59: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 29162 | (duk_int_t) h_this->length, | ^~~~~~ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29177:7: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29177 | p = (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + fill_offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29177:7: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29177 | p = (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + fill_offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29177:7: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29177 | p = (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + fill_offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29177:7: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29177 | p = (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + fill_offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29177:7: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29177 | p = (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + fill_offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29177:7: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29177 | p = (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + fill_offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29177:7: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29177 | p = (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + fill_offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29178:52: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 29178 | fill_length = (duk_size_t) (fill_end - fill_offset); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29183:30: warning: use of old-style cast to 'void*' [-Wold-style-cast] 29183 | duk_memset_unsafe((void *) p, (int) fill_str_ptr[0], (size_t) fill_length); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3080:21: note: in definition of macro 'duk_memset_unsafe' 3080 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29183:53: warning: use of old-style cast to 'int' [-Wold-style-cast] 29183 | duk_memset_unsafe((void *) p, (int) fill_str_ptr[0], (size_t) fill_length); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3081:31: note: in definition of macro 'duk_memset_unsafe' 3081 | duk_small_int_t duk__val = (val); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29183:65: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 29183 | duk_memset_unsafe((void *) p, (int) fill_str_ptr[0], (size_t) fill_length); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3082:26: note: in definition of macro 'duk_memset_unsafe' 3082 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3086:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3086 | (void) DUK_MEMSET(duk__dst, duk__val, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29183:3: note: in expansion of macro 'duk_memset_unsafe' 29183 | duk_memset_unsafe((void *) p, (int) fill_str_ptr[0], (size_t) fill_length); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29187:55: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 29187 | for (i = 0, n = (duk_size_t) (fill_end - fill_offset), t = 0; i < n; i++) { | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_nodejs_buffer_write(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29220:81: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 29220 | str_data = (const duk_uint8_t *) duk_require_lstring_notsymbol(thr, 0, &str_len); | ^ | - | reinterpret_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29229:25: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 29229 | length = (duk_uint_t) str_len; | ^~~~~~~ | -------------------- | static_cast ( str_len) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7944:33: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 7944 | ((h)->offset + (h)->length <= DUK_HBUFFER_GET_SIZE((h)->buf))) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29232:6: note: in expansion of macro 'DUK_HBUFOBJ_VALID_SLICE' 29232 | if (DUK_HBUFOBJ_VALID_SLICE(h_this)) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:34: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29234:31: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29234 | duk_memcpy_unsafe((void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29234:31: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29234 | duk_memcpy_unsafe((void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29234:31: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29234 | duk_memcpy_unsafe((void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29234:31: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29234 | duk_memcpy_unsafe((void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29234:31: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29234 | duk_memcpy_unsafe((void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29234:31: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29234 | duk_memcpy_unsafe((void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29234:31: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29234 | duk_memcpy_unsafe((void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29234:85: warning: use of old-style cast to 'void*' [-Wold-style-cast] 29234 | duk_memcpy_unsafe((void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + offset), | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29235:36: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 29235 | (const void *) str_data, | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29236:30: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 29236 | (size_t) length); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3039:26: note: in definition of macro 'duk_memcpy_unsafe' 3039 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29234:3: note: in expansion of macro 'duk_memcpy_unsafe' 29234 | duk_memcpy_unsafe((void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + offset), | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_nodejs_buffer_copy(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29266:38: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 29266 | source_length = (duk_int_t) h_this->length; | ^~~~~~ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29267:40: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 29267 | target_length = (duk_int_t) h_bufarg->length; | ^~~~~~ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29291:31: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 29291 | source_ustart = (duk_uint_t) source_start; | ^~~~~~~~~~~~ | ------------ | static_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29292:29: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 29292 | source_uend = (duk_uint_t) source_end; | ^~~~~~~~~~ | ----------------------- | static_cast ( source_end) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29293:31: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 29293 | target_ustart = (duk_uint_t) target_start; | ^~~~~~~~~~~~ | ------------ | static_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29295:36: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 29295 | source_ustart >= (duk_uint_t) source_length || /* source out-of-bounds (but positive) */ | ^~~~~~~~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29296:36: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 29296 | target_ustart >= (duk_uint_t) target_length) { /* target out-of-bounds (but positive) */ | ^~~~~~~~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29299:34: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 29299 | if (source_uend >= (duk_uint_t) source_length) { | ^~~~~~~~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29301:30: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 29301 | source_uend = (duk_uint_t) source_length; | ^~~~~~~~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29304:47: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 29304 | if (target_ustart + copy_size > (duk_uint_t) target_length) { | ^~~~~~~~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29314:28: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 29314 | copy_size = (duk_uint_t) target_length - target_ustart; | ^~~~~~~~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7957:92: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 7957 | (DUK_ASSERT_EXPR((h) != NULL), DUK_ASSERT_EXPR((h)->buf != NULL), ((h)->offset + (off) <= DUK_HBUFFER_GET_SIZE((h)->buf))) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29331:6: note: in expansion of macro 'DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL' 29331 | if (DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL(h_bufarg, target_ustart + copy_size) && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7957:92: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 7957 | (DUK_ASSERT_EXPR((h) != NULL), DUK_ASSERT_EXPR((h)->buf != NULL), ((h)->offset + (off) <= DUK_HBUFFER_GET_SIZE((h)->buf))) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29332:6: note: in expansion of macro 'DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL' 29332 | DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL(h_this, source_ustart + copy_size)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3059:21: note: in definition of macro 'duk_memmove_unsafe' 3059 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:34: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29336:32: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29336 | duk_memmove_unsafe((void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg) + target_ustart), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3059:21: note: in definition of macro 'duk_memmove_unsafe' 3059 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29336:32: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29336 | duk_memmove_unsafe((void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg) + target_ustart), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3059:21: note: in definition of macro 'duk_memmove_unsafe' 3059 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29336:32: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29336 | duk_memmove_unsafe((void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg) + target_ustart), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3059:21: note: in definition of macro 'duk_memmove_unsafe' 3059 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29336:32: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29336 | duk_memmove_unsafe((void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg) + target_ustart), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3059:21: note: in definition of macro 'duk_memmove_unsafe' 3059 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29336:32: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29336 | duk_memmove_unsafe((void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg) + target_ustart), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3059:21: note: in definition of macro 'duk_memmove_unsafe' 3059 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29336:32: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29336 | duk_memmove_unsafe((void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg) + target_ustart), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3059:21: note: in definition of macro 'duk_memmove_unsafe' 3059 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29336:32: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29336 | duk_memmove_unsafe((void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg) + target_ustart), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29336:95: warning: use of old-style cast to 'void*' [-Wold-style-cast] 29336 | duk_memmove_unsafe((void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg) + target_ustart), | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3059:21: note: in definition of macro 'duk_memmove_unsafe' 3059 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3060:27: note: in definition of macro 'duk_memmove_unsafe' 3060 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:34: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29337:38: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29337 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + source_ustart), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3060:27: note: in definition of macro 'duk_memmove_unsafe' 3060 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29337:38: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29337 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + source_ustart), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3060:27: note: in definition of macro 'duk_memmove_unsafe' 3060 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29337:38: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29337 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + source_ustart), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3060:27: note: in definition of macro 'duk_memmove_unsafe' 3060 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29337:38: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29337 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + source_ustart), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3060:27: note: in definition of macro 'duk_memmove_unsafe' 3060 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29337:38: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29337 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + source_ustart), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3060:27: note: in definition of macro 'duk_memmove_unsafe' 3060 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29337:38: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29337 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + source_ustart), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3060:27: note: in definition of macro 'duk_memmove_unsafe' 3060 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29337:38: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29337 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + source_ustart), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29337:99: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 29337 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + source_ustart), | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3060:27: note: in definition of macro 'duk_memmove_unsafe' 3060 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29338:31: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 29338 | (size_t) copy_size); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3061:26: note: in definition of macro 'duk_memmove_unsafe' 3061 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3067:52: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3067 | (void) DUK_MEMMOVE(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29336:3: note: in expansion of macro 'duk_memmove_unsafe' 29336 | duk_memmove_unsafe((void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg) + target_ustart), | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10319:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10319 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_ARGS); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10323:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_ARGS' 10323 | DUK_ERROR_RANGE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29352:2: note: in expansion of macro 'DUK_DCERROR_RANGE_INVALID_ARGS' 29352 | DUK_DCERROR_RANGE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_typedarray_set(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29420:3: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 29420 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29422:30: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 29422 | offset_elems = (duk_uint_t) offset_signed; | ^~~~~~~~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29457:30: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 29457 | h_bufarg = (duk_hbufobj *) h_obj; | ^~~~~ | --------------------- | reinterpret_cast ( h_obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7957:92: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 7957 | (DUK_ASSERT_EXPR((h) != NULL), DUK_ASSERT_EXPR((h)->buf != NULL), ((h)->offset + (off) <= DUK_HBUFFER_GET_SIZE((h)->buf))) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29483:8: note: in expansion of macro 'DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL' 29483 | if (!DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL(h_this, offset_bytes + dst_length)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29488:16: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29488 | p_src_base = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29488:16: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29488 | p_src_base = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29488:16: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29488 | p_src_base = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29488:16: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29488 | p_src_base = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29488:16: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29488 | p_src_base = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29488:16: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29488 | p_src_base = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29488:16: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29488 | p_src_base = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29489:16: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29489 | p_dst_base = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + offset_bytes; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29489:16: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29489 | p_dst_base = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + offset_bytes; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29489:16: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29489 | p_dst_base = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + offset_bytes; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29489:16: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29489 | p_dst_base = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + offset_bytes; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29489:16: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29489 | p_dst_base = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + offset_bytes; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29489:16: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29489 | p_dst_base = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + offset_bytes; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29489:16: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29489 | p_dst_base = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + offset_bytes; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7944:33: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 7944 | ((h)->offset + (h)->length <= DUK_HBUFFER_GET_SIZE((h)->buf))) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29495:8: note: in expansion of macro 'DUK_HBUFOBJ_VALID_SLICE' 29495 | if (!DUK_HBUFOBJ_VALID_SLICE(h_this) || !DUK_HBUFOBJ_VALID_SLICE(h_bufarg)) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7944:33: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 7944 | ((h)->offset + (h)->length <= DUK_HBUFFER_GET_SIZE((h)->buf))) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29495:44: note: in expansion of macro 'DUK_HBUFOBJ_VALID_SLICE' 29495 | if (!DUK_HBUFOBJ_VALID_SLICE(h_this) || !DUK_HBUFOBJ_VALID_SLICE(h_bufarg)) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29522:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 29522 | duk_memmove_unsafe((void *) p_dst_base, (const void *) p_src_base, (size_t) dst_length); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3059:21: note: in definition of macro 'duk_memmove_unsafe' 3059 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29522:59: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 29522 | duk_memmove_unsafe((void *) p_dst_base, (const void *) p_src_base, (size_t) dst_length); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3060:27: note: in definition of macro 'duk_memmove_unsafe' 3060 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29522:80: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 29522 | duk_memmove_unsafe((void *) p_dst_base, (const void *) p_src_base, (size_t) dst_length); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3061:26: note: in definition of macro 'duk_memmove_unsafe' 3061 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3067:52: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3067 | (void) DUK_MEMMOVE(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29522:4: note: in expansion of macro 'duk_memmove_unsafe' 29522 | duk_memmove_unsafe((void *) p_dst_base, (const void *) p_src_base, (size_t) dst_length); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29565:77: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 29565 | p_src_copy = (duk_uint8_t *) duk_push_fixed_buffer_nozero(thr, src_length); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29567:31: warning: use of old-style cast to 'void*' [-Wold-style-cast] 29567 | duk_memcpy_unsafe((void *) p_src_copy, (const void *) p_src_base, (size_t) src_length); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29567:58: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 29567 | duk_memcpy_unsafe((void *) p_src_copy, (const void *) p_src_base, (size_t) src_length); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29567:79: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 29567 | duk_memcpy_unsafe((void *) p_src_copy, (const void *) p_src_base, (size_t) src_length); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3039:26: note: in definition of macro 'duk_memcpy_unsafe' 3039 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29567:4: note: in expansion of macro 'duk_memcpy_unsafe' 29567 | duk_memcpy_unsafe((void *) p_src_copy, (const void *) p_src_base, (size_t) src_length); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29589:60: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 29589 | src_elem_size = (duk_small_uint_t) (1U << h_bufarg->shift); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29590:58: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 29590 | dst_elem_size = (duk_small_uint_t) (1U << h_this->shift); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29622:44: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 29622 | n = (duk_uarridx_t) duk_get_length(thr, 0); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10319:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10319 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_ARGS); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10323:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_ARGS' 10323 | DUK_ERROR_RANGE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29651:2: note: in expansion of macro 'DUK_DCERROR_RANGE_INVALID_ARGS' 29651 | DUK_DCERROR_RANGE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__arraybuffer_plain_slice(duk_hthread*, duk_hbuffer*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29683:49: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 29683 | (duk_int_t) DUK_HBUFFER_GET_SIZE(h_val), | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:61: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29683:49: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 29683 | (duk_int_t) DUK_HBUFFER_GET_SIZE(h_val), | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29692:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 29692 | slice_length = (duk_uint_t) (end_offset - start_offset); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29694:74: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 29694 | p_copy = (duk_uint8_t *) duk_push_fixed_buffer_nozero(thr, (duk_size_t) slice_length); | ^~~~~~~~~~~~ | ------------ | static_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29694:86: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 29694 | p_copy = (duk_uint8_t *) duk_push_fixed_buffer_nozero(thr, (duk_size_t) slice_length); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29698:29: warning: use of old-style cast to 'void*' [-Wold-style-cast] 29698 | duk_memcpy_unsafe((void *) p_copy, | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:34: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29699:52: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29699 | (const void *) ((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_val) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29699:52: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29699 | (const void *) ((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_val) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29699:52: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29699 | (const void *) ((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_val) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29699:52: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29699 | (const void *) ((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_val) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29699:52: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29699 | (const void *) ((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_val) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29699:52: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29699 | (const void *) ((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_val) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29699:52: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 29699 | (const void *) ((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_val) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29699:109: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 29699 | (const void *) ((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_val) + start_offset), | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29698:2: note: in expansion of macro 'duk_memcpy_unsafe' 29698 | duk_memcpy_unsafe((void *) p_copy, | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_buffer_slice_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1183:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1183 | #define DUK_TVAL_IS_BUFFER(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29726:6: note: in expansion of macro 'DUK_TVAL_IS_BUFFER' 29726 | if (DUK_TVAL_IS_BUFFER(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1167:85: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 1167 | #define DUK_TVAL_GET_BUFFER(tv) ((duk_hbuffer *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29728:11: note: in expansion of macro 'DUK_TVAL_GET_BUFFER' 29728 | h_val = DUK_TVAL_GET_BUFFER(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29762:57: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 29762 | (duk_int_t) h_this->length, | ^~~~~~ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29763:59: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 29763 | (duk_uint8_t) h_this->shift, | ^~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29771:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 29771 | slice_length = (duk_uint_t) (end_offset - start_offset); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29785:63: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 29785 | res_class_num = DUK_HOBJECT_GET_CLASS_NUMBER((duk_hobject *) h_this); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4801:48: note: in definition of macro 'DUK_HEAPHDR_GET_FLAG_RANGE' 4801 | #define DUK_HEAPHDR_GET_FLAG_RANGE(h, m, n) (((h)->h_flags >> (m)) & ((1UL << (n)) - 1UL)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29785:18: note: in expansion of macro 'DUK_HOBJECT_GET_CLASS_NUMBER' 29785 | res_class_num = DUK_HOBJECT_GET_CLASS_NUMBER((duk_hobject *) h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29794:82: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 29794 | DUK_HOBJECT_FLAG_EXTENSIBLE | DUK_HOBJECT_FLAG_BUFOBJ | DUK_HOBJECT_CLASS_AS_FLAGS(res_class_num), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29806:3: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 29806 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29816:20: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 29816 | (duk_size_t) slice_length); /* must be zeroed, not all bytes always copied */ | ^~~~~~~~~~~~ | ------------ | static_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29816:32: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 29814 | p_copy = (duk_uint8_t *) duk_push_fixed_buffer_zero( | - | static_cast< - | > ( 29815 | thr, 29816 | (duk_size_t) slice_length); /* must be zeroed, not all bytes always copied */ | ^ | ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29823:30: warning: use of old-style cast to 'void*' [-Wold-style-cast] 29823 | duk_memcpy_unsafe((void *) p_copy, | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:34: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29824:37: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29824 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29824:37: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29824 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29824:37: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29824 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29824:37: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29824 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29824:37: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29824 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29824:37: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29824 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29824:37: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 29824 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + start_offset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29824:97: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 29824 | (const void *) (DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this) + start_offset), | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29823:3: note: in expansion of macro 'duk_memcpy_unsafe' 29823 | duk_memcpy_unsafe((void *) p_copy, | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29830:3: note: in expansion of macro 'DUK_HBUFFER_INCREF' 29830 | DUK_HBUFFER_INCREF(thr, h_val); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29830:3: note: in expansion of macro 'DUK_HBUFFER_INCREF' 29830 | DUK_HBUFFER_INCREF(thr, h_val); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29837:3: note: in expansion of macro 'DUK_HBUFFER_INCREF' 29837 | DUK_HBUFFER_INCREF(thr, h_val); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29837:3: note: in expansion of macro 'DUK_HBUFFER_INCREF' 29837 | DUK_HBUFFER_INCREF(thr, h_val); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29839:52: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 29839 | h_bufobj->offset = h_this->offset + (duk_uint_t) start_offset; | ^~~~~~~~~~~~ | ------------ | static_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29848:63: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 29848 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, (duk_hobject *) h_bufobj->buf_prop); | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5121:8: note: in definition of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 5121 | if ((h) != NULL) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29848:63: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 29848 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, (duk_hobject *) h_bufobj->buf_prop); | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29848:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 29848 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, (duk_hobject *) h_bufobj->buf_prop); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29848:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 29848 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, (duk_hobject *) h_bufobj->buf_prop); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29848:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 29848 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, (duk_hobject *) h_bufobj->buf_prop); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_nodejs_buffer_byte_length(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5997:74: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5997 | #define duk_push_size_t(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) /* XXX: assumed to fit for now */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29927:2: note: in expansion of macro 'duk_push_size_t' 29927 | duk_push_size_t(thr, len); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_nodejs_buffer_concat(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29951:3: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 29951 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29955:40: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 29955 | n = (duk_uint_t) duk_get_length(thr, 0); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29962:46: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 29962 | duk_get_prop_index(thr, 0, (duk_uarridx_t) i); /* -> [ array totalLength buf ] */ | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10319:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10319 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_ARGS); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10323:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_ARGS' 10323 | DUK_ERROR_RANGE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29967:4: note: in expansion of macro 'DUK_DCERROR_RANGE_INVALID_ARGS' 29967 | DUK_DCERROR_RANGE_INVALID_ARGS(thr); /* Wrapped. */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10319:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10319 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_ARGS); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10323:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_ARGS' 10323 | DUK_ERROR_RANGE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29987:4: note: in expansion of macro 'DUK_DCERROR_RANGE_INVALID_ARGS' 29987 | DUK_DCERROR_RANGE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29989:31: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 29989 | total_length = (duk_uint_t) total_length_signed; | ^~~~~~~~~~~~~~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29994:37: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 29994 | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_UINT8ARRAY), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:29999:61: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 29998 | p = (duk_uint8_t *) duk_push_fixed_buffer_zero(thr, | - | static_cast< - | > ( 29999 | total_length); /* must be zeroed, all bytes not necessarily written over */ | ^ | ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30001:28: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 30001 | space_left = (duk_size_t) total_length; | ^~~~~~~~~~~~ | ------------ | static_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30006:46: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 30006 | duk_get_prop_index(thr, 0, (duk_uarridx_t) i); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7944:33: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 7944 | ((h)->offset + (h)->length <= DUK_HBUFFER_GET_SIZE((h)->buf))) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30015:32: note: in expansion of macro 'DUK_HBUFOBJ_VALID_SLICE' 30015 | if (h_bufobj->buf != NULL && DUK_HBUFOBJ_VALID_SLICE(h_bufobj)) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30016:31: warning: use of old-style cast to 'void*' [-Wold-style-cast] 30016 | duk_memcpy_unsafe((void *) p, (const void *) DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj), copy_size); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:34: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30016:49: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30016 | duk_memcpy_unsafe((void *) p, (const void *) DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj), copy_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30016:49: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30016 | duk_memcpy_unsafe((void *) p, (const void *) DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj), copy_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30016:49: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30016 | duk_memcpy_unsafe((void *) p, (const void *) DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj), copy_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30016:49: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30016 | duk_memcpy_unsafe((void *) p, (const void *) DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj), copy_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30016:49: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30016 | duk_memcpy_unsafe((void *) p, (const void *) DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj), copy_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30016:49: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30016 | duk_memcpy_unsafe((void *) p, (const void *) DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj), copy_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30016:49: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30016 | duk_memcpy_unsafe((void *) p, (const void *) DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj), copy_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:79: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30016:49: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30016 | duk_memcpy_unsafe((void *) p, (const void *) DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj), copy_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30016:4: note: in expansion of macro 'duk_memcpy_unsafe' 30016 | duk_memcpy_unsafe((void *) p, (const void *) DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_bufobj), copy_size); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_buffer_readfield(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30065:71: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 30065 | duk_small_uint_t magic = (duk_small_uint_t) duk_get_current_magic(thr); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30115:24: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 30115 | offset = (duk_uint_t) offset_signed; | ^~~~~~~~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30140:9: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30140 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30140:9: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30140 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30140:9: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30140 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30140:9: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30140 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30140:9: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30140 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30140:9: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30140 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30140:9: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30140 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30159:48: warning: use of old-style cast to 'duk_int8_t' {aka 'signed char'} [-Wold-style-cast] 30159 | duk_push_int(thr, (duk_int_t) ((duk_int8_t) tmp)); | ^~~ | ---------------- | static_cast ( tmp) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30159:51: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 30159 | duk_push_int(thr, (duk_int_t) ((duk_int8_t) tmp)); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30161:36: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 30161 | duk_push_uint(thr, (duk_uint_t) tmp); | ^~~ | ---------------- | static_cast ( tmp) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30170:26: warning: use of old-style cast to 'void*' [-Wold-style-cast] 30170 | duk_memcpy((void *) du.uc, (const void *) (buf + offset), 2); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30170:58: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 30170 | duk_memcpy((void *) du.uc, (const void *) (buf + offset), 2); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30170:3: note: in expansion of macro 'duk_memcpy' 30170 | duk_memcpy((void *) du.uc, (const void *) (buf + offset), 2); | ^~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1290:75: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 1290 | #define DUK_BSWAP16(x) ((duk_uint16_t) __builtin_bswap16((duk_uint16_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30173:10: note: in expansion of macro 'DUK_BSWAP16' 30173 | tmp = DUK_BSWAP16(tmp); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1290:76: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 1290 | #define DUK_BSWAP16(x) ((duk_uint16_t) __builtin_bswap16((duk_uint16_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30173:10: note: in expansion of macro 'DUK_BSWAP16' 30173 | tmp = DUK_BSWAP16(tmp); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30176:49: warning: use of old-style cast to 'duk_int16_t' {aka 'short int'} [-Wold-style-cast] 30176 | duk_push_int(thr, (duk_int_t) ((duk_int16_t) tmp)); | ^~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30176:52: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 30176 | duk_push_int(thr, (duk_int_t) ((duk_int16_t) tmp)); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30178:36: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 30178 | duk_push_uint(thr, (duk_uint_t) tmp); | ^~~ | ---------------- | static_cast ( tmp) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30187:26: warning: use of old-style cast to 'void*' [-Wold-style-cast] 30187 | duk_memcpy((void *) du.uc, (const void *) (buf + offset), 4); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30187:58: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 30187 | duk_memcpy((void *) du.uc, (const void *) (buf + offset), 4); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30187:3: note: in expansion of macro 'duk_memcpy' 30187 | duk_memcpy((void *) du.uc, (const void *) (buf + offset), 4); | ^~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:75: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30190:10: note: in expansion of macro 'DUK_BSWAP32' 30190 | tmp = DUK_BSWAP32(tmp); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:76: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30190:10: note: in expansion of macro 'DUK_BSWAP32' 30190 | tmp = DUK_BSWAP32(tmp); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30193:49: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 30193 | duk_push_int(thr, (duk_int_t) ((duk_int32_t) tmp)); | ^~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30193:52: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 30193 | duk_push_int(thr, (duk_int_t) ((duk_int32_t) tmp)); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30195:36: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 30195 | duk_push_uint(thr, (duk_uint_t) tmp); | ^~~ | ---------------- | static_cast ( tmp) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30204:26: warning: use of old-style cast to 'void*' [-Wold-style-cast] 30204 | duk_memcpy((void *) du.uc, (const void *) (buf + offset), 4); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30204:58: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 30204 | duk_memcpy((void *) du.uc, (const void *) (buf + offset), 4); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30204:3: note: in expansion of macro 'duk_memcpy' 30204 | duk_memcpy((void *) du.uc, (const void *) (buf + offset), 4); | ^~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:75: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30207:10: note: in expansion of macro 'DUK_BSWAP32' 30207 | tmp = DUK_BSWAP32(tmp); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:76: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30207:10: note: in expansion of macro 'DUK_BSWAP32' 30207 | tmp = DUK_BSWAP32(tmp); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30210:45: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 30210 | duk_push_number(thr, (duk_double_t) du.f[0]); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30217:26: warning: use of old-style cast to 'void*' [-Wold-style-cast] 30217 | duk_memcpy((void *) du.uc, (const void *) (buf + offset), 8); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30217:58: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 30217 | duk_memcpy((void *) du.uc, (const void *) (buf + offset), 8); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30217:3: note: in expansion of macro 'duk_memcpy' 30217 | duk_memcpy((void *) du.uc, (const void *) (buf + offset), 8); | ^~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:75: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:574:20: note: in expansion of macro 'DUK_BSWAP32' 574 | duk__bswaptmp1 = DUK_BSWAP32(duk__bswaptmp1); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30219:4: note: in expansion of macro 'DUK_DBLUNION_BSWAP64' 30219 | DUK_DBLUNION_BSWAP64(&du); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:76: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:574:20: note: in expansion of macro 'DUK_BSWAP32' 574 | duk__bswaptmp1 = DUK_BSWAP32(duk__bswaptmp1); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30219:4: note: in expansion of macro 'DUK_DBLUNION_BSWAP64' 30219 | DUK_DBLUNION_BSWAP64(&du); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:75: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:575:20: note: in expansion of macro 'DUK_BSWAP32' 575 | duk__bswaptmp2 = DUK_BSWAP32(duk__bswaptmp2); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30219:4: note: in expansion of macro 'DUK_DBLUNION_BSWAP64' 30219 | DUK_DBLUNION_BSWAP64(&du); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:76: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:575:20: note: in expansion of macro 'DUK_BSWAP32' 575 | duk__bswaptmp2 = DUK_BSWAP32(duk__bswaptmp2); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30219:4: note: in expansion of macro 'DUK_DBLUNION_BSWAP64' 30219 | DUK_DBLUNION_BSWAP64(&du); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30221:42: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 30221 | duk_push_number(thr, (duk_double_t) du.d); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30243:29: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 30243 | if (offset + (duk_uint_t) field_bytelen > check_length) { | ^~~~~~~~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30246:42: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 30246 | p = (const duk_uint8_t *) (buf + offset); | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30269:40: warning: use of old-style cast to 'duk_int64_t' {aka 'long long int'} [-Wold-style-cast] 30269 | tmp = (tmp << 8) + (duk_int64_t) p[i]; | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30278:61: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 30278 | shift_tmp = (duk_small_uint_t) (64U - (duk_small_uint_t) field_bytelen * 8U); | ^~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30278:79: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 30278 | shift_tmp = (duk_small_uint_t) (64U - (duk_small_uint_t) field_bytelen * 8U); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30279:40: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 30279 | tmp = (duk_int64_t) ((duk_uint64_t) tmp << shift_tmp) >> shift_tmp; | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30279:56: warning: use of old-style cast to 'duk_int64_t' {aka 'long long int'} [-Wold-style-cast] 30279 | tmp = (duk_int64_t) ((duk_uint64_t) tmp << shift_tmp) >> shift_tmp; | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5988:74: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 5988 | #define duk_push_i64(thr, val) duk_push_number((thr), (duk_double_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30282:3: note: in expansion of macro 'duk_push_i64' 30282 | duk_push_i64(thr, tmp); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10319:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10319 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_ARGS); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10323:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_ARGS' 10323 | DUK_ERROR_RANGE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30321:2: note: in expansion of macro 'DUK_DCERROR_RANGE_INVALID_ARGS' 30321 | DUK_DCERROR_RANGE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_buffer_writefield(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30328:71: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 30328 | duk_small_uint_t magic = (duk_small_uint_t) duk_get_current_magic(thr); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30381:24: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 30381 | offset = (duk_uint_t) offset_signed; | ^~~~~~~~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30429:9: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30429 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30429:9: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30429 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30429:9: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30429 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30429:9: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30429 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30429:9: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30429 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30429:9: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30429 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30429:9: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 30429 | buf = DUK_HBUFOBJ_GET_SLICE_BASE(thr->heap, h_this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30446:51: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 30446 | buf[offset] = (duk_uint8_t) duk_to_uint32(thr, 0); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30454:44: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 30454 | tmp = (duk_uint16_t) duk_to_uint32(thr, 0); | ^ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1290:75: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 1290 | #define DUK_BSWAP16(x) ((duk_uint16_t) __builtin_bswap16((duk_uint16_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30456:10: note: in expansion of macro 'DUK_BSWAP16' 30456 | tmp = DUK_BSWAP16(tmp); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1290:76: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 1290 | #define DUK_BSWAP16(x) ((duk_uint16_t) __builtin_bswap16((duk_uint16_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30456:10: note: in expansion of macro 'DUK_BSWAP16' 30456 | tmp = DUK_BSWAP16(tmp); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30460:36: warning: use of old-style cast to 'void*' [-Wold-style-cast] 30460 | duk_memcpy((void *) (buf + offset), (const void *) du.uc, 2); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30460:57: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 30460 | duk_memcpy((void *) (buf + offset), (const void *) du.uc, 2); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30460:3: note: in expansion of macro 'duk_memcpy' 30460 | duk_memcpy((void *) (buf + offset), (const void *) du.uc, 2); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30468:44: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 30468 | tmp = (duk_uint32_t) duk_to_uint32(thr, 0); | ^ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:75: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30470:10: note: in expansion of macro 'DUK_BSWAP32' 30470 | tmp = DUK_BSWAP32(tmp); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:76: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30470:10: note: in expansion of macro 'DUK_BSWAP32' 30470 | tmp = DUK_BSWAP32(tmp); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30474:36: warning: use of old-style cast to 'void*' [-Wold-style-cast] 30474 | duk_memcpy((void *) (buf + offset), (const void *) du.uc, 4); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30474:57: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 30474 | duk_memcpy((void *) (buf + offset), (const void *) du.uc, 4); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30474:3: note: in expansion of macro 'duk_memcpy' 30474 | duk_memcpy((void *) (buf + offset), (const void *) du.uc, 4); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30482:47: warning: use of old-style cast to 'duk_float_t' {aka 'float'} [-Wold-style-cast] 30482 | du.f[0] = (duk_float_t) duk_to_number(thr, 0); | ^ | - | static_cast<- | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:75: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30485:10: note: in expansion of macro 'DUK_BSWAP32' 30485 | tmp = DUK_BSWAP32(tmp); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:76: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30485:10: note: in expansion of macro 'DUK_BSWAP32' 30485 | tmp = DUK_BSWAP32(tmp); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30489:36: warning: use of old-style cast to 'void*' [-Wold-style-cast] 30489 | duk_memcpy((void *) (buf + offset), (const void *) du.uc, 4); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30489:57: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 30489 | duk_memcpy((void *) (buf + offset), (const void *) du.uc, 4); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30489:3: note: in expansion of macro 'duk_memcpy' 30489 | duk_memcpy((void *) (buf + offset), (const void *) du.uc, 4); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30496:45: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 30496 | du.d = (duk_double_t) duk_to_number(thr, 0); | ^ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:75: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:574:20: note: in expansion of macro 'DUK_BSWAP32' 574 | duk__bswaptmp1 = DUK_BSWAP32(duk__bswaptmp1); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30498:4: note: in expansion of macro 'DUK_DBLUNION_BSWAP64' 30498 | DUK_DBLUNION_BSWAP64(&du); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:76: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:574:20: note: in expansion of macro 'DUK_BSWAP32' 574 | duk__bswaptmp1 = DUK_BSWAP32(duk__bswaptmp1); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30498:4: note: in expansion of macro 'DUK_DBLUNION_BSWAP64' 30498 | DUK_DBLUNION_BSWAP64(&du); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:75: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:575:20: note: in expansion of macro 'DUK_BSWAP32' 575 | duk__bswaptmp2 = DUK_BSWAP32(duk__bswaptmp2); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30498:4: note: in expansion of macro 'DUK_DBLUNION_BSWAP64' 30498 | DUK_DBLUNION_BSWAP64(&du); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:76: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:575:20: note: in expansion of macro 'DUK_BSWAP32' 575 | duk__bswaptmp2 = DUK_BSWAP32(duk__bswaptmp2); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30498:4: note: in expansion of macro 'DUK_DBLUNION_BSWAP64' 30498 | DUK_DBLUNION_BSWAP64(&du); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30501:36: warning: use of old-style cast to 'void*' [-Wold-style-cast] 30501 | duk_memcpy((void *) (buf + offset), (const void *) du.uc, 8); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30501:57: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 30501 | duk_memcpy((void *) (buf + offset), (const void *) du.uc, 8); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30501:3: note: in expansion of macro 'duk_memcpy' 30501 | duk_memcpy((void *) (buf + offset), (const void *) du.uc, 8); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30517:31: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 30517 | field_bytelen = (duk_int_t) nbytes; | ^~~~~~ | ------------------ | static_cast ( nbytes) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30518:29: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 30518 | if (offset + (duk_uint_t) field_bytelen > check_length) { | ^~~~~~~~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30546:43: warning: use of old-style cast to 'duk_int64_t' {aka 'long long int'} [-Wold-style-cast] 30546 | tmp = (duk_int64_t) duk_to_number(thr, 0); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30547:36: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 30547 | p = (duk_uint8_t *) (buf + offset); | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30551:36: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 30551 | p[i] = (duk_uint8_t) (tmp & 0xff); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30581:43: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 30581 | duk_push_uint(thr, offset + (duk_uint_t) nbytes); | ^~~~~~ | ------------------- | static_cast ( nbytes) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30597:44: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 30597 | duk_push_uint(thr, offset + (duk_uint_t) nbytes); | ^~~~~~ | ------------------- | static_cast ( nbytes) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10319:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10319 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_ARGS); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10323:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_ARGS' 10323 | DUK_ERROR_RANGE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30600:2: note: in expansion of macro 'DUK_DCERROR_RANGE_INVALID_ARGS' 30600 | DUK_DCERROR_RANGE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hbufobj* duk__autospawn_arraybuffer(duk_hthread*, duk_hbuffer*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30614:34: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 30614 | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_ARRAYBUFFER), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_typedarray_buffer_getter(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30628:94: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 30628 | h_bufobj = (duk_hbufobj *) duk__getrequire_bufobj_this(thr, DUK__BUFOBJ_FLAG_THROW /*flags*/); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30630:44: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 30630 | if (DUK_HEAPHDR_IS_BUFFER((duk_heaphdr *) h_bufobj)) { | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4750:35: note: in definition of macro 'DUK_HEAPHDR_GET_TYPE' 4750 | #define DUK_HEAPHDR_GET_TYPE(h) ((h)->h_flags & DUK_HEAPHDR_FLAGS_TYPE_MASK) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30630:6: note: in expansion of macro 'DUK_HEAPHDR_IS_BUFFER' 30630 | if (DUK_HEAPHDR_IS_BUFFER((duk_heaphdr *) h_bufobj)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30632:58: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 30632 | (void) duk__autospawn_arraybuffer(thr, (duk_hbuffer *) h_bufobj); | ^~~~~~~~ | ------------------------ | reinterpret_cast ( h_bufobj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30636:52: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 30636 | DUK_HOBJECT_GET_CLASS_NUMBER((duk_hobject *) h_bufobj) != DUK_HOBJECT_CLASS_ARRAYBUFFER && | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4801:48: note: in definition of macro 'DUK_HEAPHDR_GET_FLAG_RANGE' 4801 | #define DUK_HEAPHDR_GET_FLAG_RANGE(h, m, n) (((h)->h_flags >> (m)) & ((1UL << (n)) - 1UL)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30636:7: note: in expansion of macro 'DUK_HOBJECT_GET_CLASS_NUMBER' 30636 | DUK_HOBJECT_GET_CLASS_NUMBER((duk_hobject *) h_bufobj) != DUK_HOBJECT_CLASS_ARRAYBUFFER && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30659:42: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 30659 | h_bufobj->buf_prop = (duk_hobject *) h_arrbuf; | ^~~~~~~~ | ------------------------ | reinterpret_cast ( h_arrbuf) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5062:91: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5062 | #define DUK_HBUFOBJ_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5062:43: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5062 | #define DUK_HBUFOBJ_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30660:5: note: in expansion of macro 'DUK_HBUFOBJ_INCREF' 30660 | DUK_HBUFOBJ_INCREF(thr, h_arrbuf); /* Now reachable and accounted for. */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5062:43: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5062 | #define DUK_HBUFOBJ_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30660:5: note: in expansion of macro 'DUK_HBUFOBJ_INCREF' 30660 | DUK_HBUFOBJ_INCREF(thr, h_arrbuf); /* Now reachable and accounted for. */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_typedarray_byteoffset_getter(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30676:94: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 30676 | h_bufobj = (duk_hbufobj *) duk__getrequire_bufobj_this(thr, DUK__BUFOBJ_FLAG_THROW /*flags*/); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30678:44: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 30678 | if (DUK_HEAPHDR_IS_BUFFER((duk_heaphdr *) h_bufobj)) { | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4750:35: note: in definition of macro 'DUK_HEAPHDR_GET_TYPE' 4750 | #define DUK_HEAPHDR_GET_TYPE(h) ((h)->h_flags & DUK_HEAPHDR_FLAGS_TYPE_MASK) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30678:6: note: in expansion of macro 'DUK_HEAPHDR_IS_BUFFER' 30678 | if (DUK_HEAPHDR_IS_BUFFER((duk_heaphdr *) h_bufobj)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_typedarray_bytelength_getter(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30692:94: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 30692 | h_bufobj = (duk_hbufobj *) duk__getrequire_bufobj_this(thr, DUK__BUFOBJ_FLAG_THROW /*flags*/); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30694:44: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 30694 | if (DUK_HEAPHDR_IS_BUFFER((duk_heaphdr *) h_bufobj)) { | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4750:35: note: in definition of macro 'DUK_HEAPHDR_GET_TYPE' 4750 | #define DUK_HEAPHDR_GET_TYPE(h) ((h)->h_flags & DUK_HEAPHDR_FLAGS_TYPE_MASK) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30694:6: note: in expansion of macro 'DUK_HEAPHDR_IS_BUFFER' 30694 | if (DUK_HEAPHDR_IS_BUFFER((duk_heaphdr *) h_bufobj)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30697:27: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 30697 | h_buf = (duk_hbuffer *) h_bufobj; | ^~~~~~~~ | ------------------------ | reinterpret_cast ( h_bufobj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30699:35: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 30699 | duk_push_uint(thr, (duk_uint_t) DUK_HBUFFER_GET_SIZE(h_buf)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:61: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30699:35: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 30699 | duk_push_uint(thr, (duk_uint_t) DUK_HBUFFER_GET_SIZE(h_buf)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk__cbor_double_to_uint32(double)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30800:24: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 30800 | return (duk_uint32_t) d; | ^ | - | static_cast< - | > () In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__cbor_encode_error(duk_cbor_encode_context*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:448:43: warning: use of old-style cast to 'duk_errcode_t' {aka 'int'} [-Wold-style-cast] 448 | #define DUK_ERR_TYPE_ERROR 6 /* TypeError */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:561:40: note: in expansion of macro 'DUK_ERR_TYPE_ERROR' 561 | (duk_error_raw((ctx), (duk_errcode_t) DUK_ERR_TYPE_ERROR, (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30808:9: note: in expansion of macro 'duk_type_error' 30808 | (void) duk_type_error(enc_ctx->thr, "cbor encode error"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:561:90: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 561 | (duk_error_raw((ctx), (duk_errcode_t) DUK_ERR_TYPE_ERROR, (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30808:9: note: in expansion of macro 'duk_type_error' 30808 | (void) duk_type_error(enc_ctx->thr, "cbor encode error"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:561:120: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 561 | (duk_error_raw((ctx), (duk_errcode_t) DUK_ERR_TYPE_ERROR, (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30808:9: note: in expansion of macro 'duk_type_error' 30808 | (void) duk_type_error(enc_ctx->thr, "cbor encode error"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:561:149: warning: use of old-style cast to 'duk_ret_t' {aka 'int'} [-Wold-style-cast] 561 | (duk_error_raw((ctx), (duk_errcode_t) DUK_ERR_TYPE_ERROR, (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30808:9: note: in expansion of macro 'duk_type_error' 30808 | (void) duk_type_error(enc_ctx->thr, "cbor encode error"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__cbor_encode_objarr_entry(duk_cbor_encode_context*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30828:3: note: in expansion of macro 'DUK_ERROR_RANGE' 30828 | DUK_ERROR_RANGE(thr, DUK_STR_ENC_RECLIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__cbor_encode_ensure_slowpath(duk_cbor_encode_context*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30883:82: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 30883 | p_new = (duk_uint8_t *) duk_resize_buffer(enc_ctx->thr, enc_ctx->idx_buf, newlen); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30885:58: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 30885 | old_data_len = (duk_size_t) (enc_ctx->ptr - enc_ctx->buf); | ^ | ------------ | static_cast ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__cbor_encode_ensure(duk_cbor_encode_context*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30893:62: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 30893 | if (DUK_LIKELY((duk_size_t) (enc_ctx->buf_end - enc_ctx->ptr) >= len)) { | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_size_t duk__cbor_get_reserve(duk_cbor_encode_context*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30902:54: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 30902 | return (duk_size_t) (enc_ctx->buf_end - enc_ctx->ptr); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__cbor_encode_uint32(duk_cbor_encode_context*, duk_uint32_t, duk_uint8_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30913:46: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 30913 | *p++ = (duk_uint8_t) (base + (duk_uint8_t) u); | ^ | - | static_cast<- | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30913:47: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 30913 | *p++ = (duk_uint8_t) (base + (duk_uint8_t) u); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30916:24: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 30916 | *p++ = (duk_uint8_t) u; | ^ | - | static_cast<- | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30919:45: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 30919 | DUK_RAW_WRITEINC_U16_BE(p, (duk_uint16_t) u); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2441:94: note: in definition of macro 'DUK_RAW_WRITEINC_U16_BE' 2441 | #define DUK_RAW_WRITEINC_U16_BE(ptr, val) duk_raw_writeinc_u16_be(&(ptr), (duk_uint16_t) (val)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2441:97: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 2441 | #define DUK_RAW_WRITEINC_U16_BE(ptr, val) duk_raw_writeinc_u16_be(&(ptr), (duk_uint16_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30919:3: note: in expansion of macro 'DUK_RAW_WRITEINC_U16_BE' 30919 | DUK_RAW_WRITEINC_U16_BE(p, (duk_uint16_t) u); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2442:97: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2442 | #define DUK_RAW_WRITEINC_U32_BE(ptr, val) duk_raw_writeinc_u32_be(&(ptr), (duk_uint32_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30922:3: note: in expansion of macro 'DUK_RAW_WRITEINC_U32_BE' 30922 | DUK_RAW_WRITEINC_U32_BE(p, u); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__cbor_encode_double_fp(duk_cbor_encode_context*, double)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30962:31: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 30962 | u16 = (((duk_uint16_t) u.uc[7]) << 8) | ((duk_uint16_t) u.uc[6]); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30962:64: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 30962 | u16 = (((duk_uint16_t) u.uc[7]) << 8) | ((duk_uint16_t) u.uc[6]); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30963:44: warning: use of old-style cast to 'duk_int16_t' {aka 'short int'} [-Wold-style-cast] 30963 | expt = (duk_int16_t) ((u16 & 0x7ff0U) >> 4) - 1023; | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30981:39: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 30981 | t = (duk_uint32_t) (u.uc[7] & 0x80U) << 8; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30982:24: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 30982 | t += (duk_uint32_t) expt << 10; | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30983:31: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 30983 | t += ((duk_uint32_t) u.uc[6] & 0x0fU) << 6; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30984:31: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 30984 | t += ((duk_uint32_t) u.uc[5]) >> 2; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30989:46: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 30989 | DUK_RAW_WRITEINC_U16_BE(p, (duk_uint16_t) t); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2441:94: note: in definition of macro 'DUK_RAW_WRITEINC_U16_BE' 2441 | #define DUK_RAW_WRITEINC_U16_BE(ptr, val) duk_raw_writeinc_u16_be(&(ptr), (duk_uint16_t) (val)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2441:97: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 2441 | #define DUK_RAW_WRITEINC_U16_BE(ptr, val) duk_raw_writeinc_u16_be(&(ptr), (duk_uint16_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:30989:4: note: in expansion of macro 'DUK_RAW_WRITEINC_U16_BE' 30989 | DUK_RAW_WRITEINC_U16_BE(p, (duk_uint16_t) t); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31014:27: warning: use of old-style cast to 'duk_float_t' {aka 'float'} [-Wold-style-cast] 31014 | d_float = (duk_float_t) d; | ^ | - | static_cast<- | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31015:48: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 31015 | use_float = duk_double_equals((duk_double_t) d_float, d); | ^~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2443:98: warning: use of old-style cast to 'duk_float_t' {aka 'float'} [-Wold-style-cast] 2443 | #define DUK_RAW_WRITEINC_FLOAT_BE(ptr, val) duk_raw_writeinc_float_be(&(ptr), (duk_float_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31019:4: note: in expansion of macro 'DUK_RAW_WRITEINC_FLOAT_BE' 31019 | DUK_RAW_WRITEINC_FLOAT_BE(p, d_float); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2444:100: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 2444 | #define DUK_RAW_WRITEINC_DOUBLE_BE(ptr, val) duk_raw_writeinc_double_be(&(ptr), (duk_double_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31056:2: note: in expansion of macro 'DUK_RAW_WRITEINC_DOUBLE_BE' 31056 | DUK_RAW_WRITEINC_DOUBLE_BE(p, d); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__cbor_encode_string_top(duk_cbor_encode_context*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31198:72: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 31198 | str = (const duk_uint8_t *) duk_require_lstring(enc_ctx->thr, -1, &len); | ^ | - | reinterpret_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31220:41: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 31220 | (duk_uint32_t) len, | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31225:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 31225 | duk_memcpy((void *) p, (const void *) str, len); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31225:40: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 31225 | duk_memcpy((void *) p, (const void *) str, len); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31225:2: note: in expansion of macro 'duk_memcpy' 31225 | duk_memcpy((void *) p, (const void *) str, len); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__cbor_encode_object(duk_cbor_encode_context*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31252:51: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 31252 | duk__cbor_encode_uint32(enc_ctx, (duk_uint32_t) len, 0x80U); | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31254:57: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 31254 | duk_get_prop_index(enc_ctx->thr, -1, (duk_uarridx_t) i); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31262:71: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 31262 | buf = (duk_uint8_t *) duk_require_buffer_data(enc_ctx->thr, -1, &len); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31264:51: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 31264 | duk__cbor_encode_uint32(enc_ctx, (duk_uint32_t) len, 0x40U); | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31267:30: warning: use of old-style cast to 'void*' [-Wold-style-cast] 31267 | duk_memcpy_unsafe((void *) p, (const void *) buf, len); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31267:48: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 31267 | duk_memcpy_unsafe((void *) p, (const void *) buf, len); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31267:3: note: in expansion of macro 'duk_memcpy_unsafe' 31267 | duk_memcpy_unsafe((void *) p, (const void *) buf, len); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31280:53: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 31280 | off_ib = (duk_size_t) (enc_ctx->ptr - enc_ctx->buf); /* XXX: get_offset? */ | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31298:49: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 31298 | enc_ctx->buf[off_ib] = 0xa0U + (duk_uint8_t) count; | ^~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__cbor_encode_buffer(duk_cbor_encode_context*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31319:65: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 31319 | buf = (duk_uint8_t *) duk_require_buffer(enc_ctx->thr, -1, &len); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31321:50: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 31321 | duk__cbor_encode_uint32(enc_ctx, (duk_uint32_t) len, 0x40U); | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31324:29: warning: use of old-style cast to 'void*' [-Wold-style-cast] 31324 | duk_memcpy_unsafe((void *) p, (const void *) buf, len); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31324:47: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 31324 | duk_memcpy_unsafe((void *) p, (const void *) buf, len); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31324:2: note: in expansion of macro 'duk_memcpy_unsafe' 31324 | duk_memcpy_unsafe((void *) p, (const void *) buf, len); | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__cbor_decode_error(duk_cbor_decode_context*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:448:43: warning: use of old-style cast to 'duk_errcode_t' {aka 'int'} [-Wold-style-cast] 448 | #define DUK_ERR_TYPE_ERROR 6 /* TypeError */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:561:40: note: in expansion of macro 'DUK_ERR_TYPE_ERROR' 561 | (duk_error_raw((ctx), (duk_errcode_t) DUK_ERR_TYPE_ERROR, (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31439:9: note: in expansion of macro 'duk_type_error' 31439 | (void) duk_type_error(dec_ctx->thr, "cbor decode error"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:561:90: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 561 | (duk_error_raw((ctx), (duk_errcode_t) DUK_ERR_TYPE_ERROR, (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31439:9: note: in expansion of macro 'duk_type_error' 31439 | (void) duk_type_error(dec_ctx->thr, "cbor decode error"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:561:120: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 561 | (duk_error_raw((ctx), (duk_errcode_t) DUK_ERR_TYPE_ERROR, (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31439:9: note: in expansion of macro 'duk_type_error' 31439 | (void) duk_type_error(dec_ctx->thr, "cbor decode error"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:561:149: warning: use of old-style cast to 'duk_ret_t' {aka 'int'} [-Wold-style-cast] 561 | (duk_error_raw((ctx), (duk_errcode_t) DUK_ERR_TYPE_ERROR, (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31439:9: note: in expansion of macro 'duk_type_error' 31439 | (void) duk_type_error(dec_ctx->thr, "cbor decode error"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__cbor_decode_objarr_entry(duk_cbor_decode_context*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31456:3: note: in expansion of macro 'DUK_ERROR_RANGE' 31456 | DUK_ERROR_RANGE(thr, DUK_STR_DEC_RECLIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__cbor_decode_push_aival_int(duk_cbor_decode_context*, duk_uint8_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31560:55: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 31560 | t = (duk_uint32_t) duk__cbor_decode_readbyte(dec_ctx); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31563:55: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 31563 | t = (duk_uint32_t) duk__cbor_decode_read_u16(dec_ctx); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31566:55: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 31566 | t = (duk_uint32_t) duk__cbor_decode_read_u32(dec_ctx); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31573:55: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 31573 | t = (duk_uint32_t) duk__cbor_decode_read_u32(dec_ctx); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31575:55: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 31575 | t = (duk_uint32_t) duk__cbor_decode_read_u32(dec_ctx); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31625:23: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 31625 | d1 = (duk_double_t) t1; /* XXX: cast helpers */ | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31626:23: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 31626 | d2 = (duk_double_t) t2 * 4294967296.0; | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31646:20: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 31646 | if ((duk_uint_t) t <= (duk_uint_t) - (DUK_INT_MIN + 1)) { | ^ | -------------- | static_cast ( t) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31646:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 31646 | if ((duk_uint_t) t <= (duk_uint_t) - (DUK_INT_MIN + 1)) { | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31647:49: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 31647 | duk_push_int(dec_ctx->thr, -1 - ((duk_int_t) t)); | ^ | ------------- | static_cast ( t) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31649:56: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 31649 | duk_push_number(dec_ctx->thr, -1.0 - (duk_double_t) t); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31652:44: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 31652 | duk_push_uint(dec_ctx->thr, (duk_uint_t) t); | ^ | -------------- | static_cast ( t) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__cbor_decode_skip_aival_int(duk_cbor_decode_context*, duk_uint8_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31667:49: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 31667 | duk__cbor_decode_consume(dec_ctx, (duk_size_t) skip); | ^~~~ | ----------------- | static_cast ( skip) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk__cbor_decode_aival_uint32(duk_cbor_decode_context*, duk_uint8_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31677:25: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 31677 | return (duk_uint32_t) ai; | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31682:55: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 31682 | t = (duk_uint32_t) duk__cbor_decode_readbyte(dec_ctx); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31685:55: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 31685 | t = (duk_uint32_t) duk__cbor_decode_read_u16(dec_ctx); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31688:55: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 31688 | t = (duk_uint32_t) duk__cbor_decode_read_u32(dec_ctx); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31691:55: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 31691 | t = (duk_uint32_t) duk__cbor_decode_read_u32(dec_ctx); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31695:55: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 31695 | t = (duk_uint32_t) duk__cbor_decode_read_u32(dec_ctx); | ^ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__cbor_decode_buffer(duk_cbor_decode_context*, duk_uint8_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31717:73: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 31717 | buf = (duk_uint8_t *) duk_push_fixed_buffer(dec_ctx->thr, (duk_size_t) len); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:775:30: note: in definition of macro 'duk_push_fixed_buffer' 775 | duk_push_buffer_raw((ctx), (size), 0 /*flags*/) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:775:48: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 775 | duk_push_buffer_raw((ctx), (size), 0 /*flags*/) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31717:24: note: in expansion of macro 'duk_push_fixed_buffer' 31717 | buf = (duk_uint8_t *) duk_push_fixed_buffer(dec_ctx->thr, (duk_size_t) len); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31718:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 31718 | duk_memcpy((void *) buf, (const void *) inp, (size_t) len); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31718:42: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 31718 | duk_memcpy((void *) buf, (const void *) inp, (size_t) len); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31718:56: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 31718 | duk_memcpy((void *) buf, (const void *) inp, (size_t) len); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31718:2: note: in expansion of macro 'duk_memcpy' 31718 | duk_memcpy((void *) buf, (const void *) inp, (size_t) len); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__cbor_decode_join_buffers(duk_cbor_decode_context*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31739:78: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 31739 | buf_data = (duk_uint8_t *) duk_require_buffer(dec_ctx->thr, idx, &buf_size); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31741:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 31741 | duk_memcpy_unsafe((void *) p, (const void *) buf_data, buf_size); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31741:50: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 31741 | duk_memcpy_unsafe((void *) p, (const void *) buf_data, buf_size); | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31741:5: note: in expansion of macro 'duk_memcpy_unsafe' 31741 | duk_memcpy_unsafe((void *) p, (const void *) buf_data, buf_size); | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:775:48: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 775 | duk_push_buffer_raw((ctx), (size), 0 /*flags*/) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31754:24: note: in expansion of macro 'duk_push_fixed_buffer' 31754 | p = (duk_uint8_t *) duk_push_fixed_buffer(dec_ctx->thr, total_size); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk__cbor_decode_half_float(duk_cbor_decode_context*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31792:27: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 31792 | u16 = ((duk_uint_t) inp[0] << 8) + (duk_uint_t) inp[1]; | ^ | ------------------- | static_cast ( inp[0]) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31792:55: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 31792 | u16 = ((duk_uint_t) inp[0] << 8) + (duk_uint_t) inp[1]; | ^ | ------------------- | static_cast ( inp[1]) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31793:41: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 31793 | expt = (duk_int_t) ((u16 >> 10) & 0x1fU) - 15; | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31799:24: warning: use of old-style cast to 'void*' [-Wold-style-cast] 31799 | duk_memzero((void *) &u, sizeof(u)); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3091:21: note: in definition of macro 'duk_memzero' 3091 | void *duk__dst = (dst); \ | ^~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31799:2: note: in expansion of macro 'duk_memzero' 31799 | duk_memzero((void *) &u, sizeof(u)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31819:55: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 31819 | u.uc[6] = 0x10U + (duk_uint8_t) ((u16 >> 6) & 0x0fU); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31820:47: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 31820 | u.uc[5] = (duk_uint8_t) ((u16 << 2) & 0xffU); /* Mask is really 0xfcU */ | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31846:35: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 31846 | tmp += (duk_uint_t) (expt + 1023) << 20; | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31847:38: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 31847 | tmp += (duk_uint_t) (inp[0] & 0x03U) << 18; | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31848:38: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 31848 | tmp += (duk_uint_t) (inp[1] & 0xffU) << 10; | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__cbor_decode_string(duk_cbor_decode_context*, duk_uint8_t, duk_uint8_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31882:76: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 31882 | buf_data = (duk_uint8_t *) duk_require_buffer(dec_ctx->thr, -1, &buf_size); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31883:56: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 31883 | (void) duk_push_lstring(dec_ctx->thr, (const char *) buf_data, buf_size); | ^~~~~~~~ | ----------------------- | reinterpret_cast ( buf_data) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31891:56: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 31891 | (void) duk_push_lstring(dec_ctx->thr, (const char *) inp, (duk_size_t) len); | ^~~ | ------------------ | reinterpret_cast ( inp) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31891:74: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 31891 | (void) duk_push_lstring(dec_ctx->thr, (const char *) inp, (duk_size_t) len); | ^~~ | ---------------- | static_cast ( len) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__cbor_decode_array(duk_cbor_decode_context*, duk_uint8_t, duk_uint8_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31933:56: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 31933 | duk_put_prop_index(dec_ctx->thr, -2, (duk_uarridx_t) idx); | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk__cbor_decode_float(duk_cbor_decode_context*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32007:24: warning: use of old-style cast to 'void*' [-Wold-style-cast] 32007 | duk_memcpy((void *) u.uc, (const void *) inp, 4); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32007:43: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 32007 | duk_memcpy((void *) u.uc, (const void *) inp, 4); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32007:2: note: in expansion of macro 'duk_memcpy' 32007 | duk_memcpy((void *) u.uc, (const void *) inp, 4); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32009:26: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 32009 | return (duk_double_t) u.f; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk__cbor_decode_double(duk_cbor_decode_context*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32016:24: warning: use of old-style cast to 'void*' [-Wold-style-cast] 32016 | duk_memcpy((void *) u.uc, (const void *) inp, 8); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32016:43: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 32016 | duk_memcpy((void *) u.uc, (const void *) inp, 8); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32016:2: note: in expansion of macro 'duk_memcpy' 32016 | duk_memcpy((void *) u.uc, (const void *) inp, 8); | ^~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__cbor_encode(duk_hthread*, duk_idx_t, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:777:67: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 777 | duk_push_buffer_raw((ctx), (size), DUK_BUF_FLAG_DYNAMIC /*flags*/) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32557:24: note: in expansion of macro 'duk_push_dynamic_buffer' 32557 | buf = (duk_uint8_t *) duk_push_dynamic_buffer(thr, enc_ctx.len); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32569:89: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 32569 | duk_resize_buffer(enc_ctx.thr, enc_ctx.idx_buf, (duk_size_t) (enc_ctx.ptr - enc_ctx.buf)); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__cbor_decode(duk_hthread*, duk_idx_t, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32586:84: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 32586 | dec_ctx.buf = (const duk_uint8_t *) duk_require_buffer_data(thr, idx, &dec_ctx.len); | ^ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:448:43: warning: use of old-style cast to 'duk_errcode_t' {aka 'int'} [-Wold-style-cast] 448 | #define DUK_ERR_TYPE_ERROR 6 /* TypeError */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:561:40: note: in expansion of macro 'DUK_ERR_TYPE_ERROR' 561 | (duk_error_raw((ctx), (duk_errcode_t) DUK_ERR_TYPE_ERROR, (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32597:10: note: in expansion of macro 'duk_type_error' 32597 | (void) duk_type_error(thr, "trailing garbage"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:561:90: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 561 | (duk_error_raw((ctx), (duk_errcode_t) DUK_ERR_TYPE_ERROR, (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32597:10: note: in expansion of macro 'duk_type_error' 32597 | (void) duk_type_error(thr, "trailing garbage"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:561:120: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 561 | (duk_error_raw((ctx), (duk_errcode_t) DUK_ERR_TYPE_ERROR, (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32597:10: note: in expansion of macro 'duk_type_error' 32597 | (void) duk_type_error(thr, "trailing garbage"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:561:149: warning: use of old-style cast to 'duk_ret_t' {aka 'int'} [-Wold-style-cast] 561 | (duk_error_raw((ctx), (duk_errcode_t) DUK_ERR_TYPE_ERROR, (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32597:10: note: in expansion of macro 'duk_type_error' 32597 | (void) duk_type_error(thr, "trailing garbage"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: At global scope: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32748:47: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 32748 | #define DUK__YEAR(x) ((duk_uint8_t) ((x) -1970)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32756:2: note: in expansion of macro 'DUK__YEAR' 32756 | DUK__YEAR(2023), | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32748:47: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 32748 | #define DUK__YEAR(x) ((duk_uint8_t) ((x) -1970)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32757:2: note: in expansion of macro 'DUK__YEAR' 32757 | DUK__YEAR(2035), | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32748:47: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 32748 | #define DUK__YEAR(x) ((duk_uint8_t) ((x) -1970)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32758:2: note: in expansion of macro 'DUK__YEAR' 32758 | DUK__YEAR(2019), | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32748:47: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 32748 | #define DUK__YEAR(x) ((duk_uint8_t) ((x) -1970)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32759:2: note: in expansion of macro 'DUK__YEAR' 32759 | DUK__YEAR(2031), | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32748:47: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 32748 | #define DUK__YEAR(x) ((duk_uint8_t) ((x) -1970)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32760:2: note: in expansion of macro 'DUK__YEAR' 32760 | DUK__YEAR(2015), | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32748:47: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 32748 | #define DUK__YEAR(x) ((duk_uint8_t) ((x) -1970)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32761:2: note: in expansion of macro 'DUK__YEAR' 32761 | DUK__YEAR(2027), | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32748:47: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 32748 | #define DUK__YEAR(x) ((duk_uint8_t) ((x) -1970)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32762:2: note: in expansion of macro 'DUK__YEAR' 32762 | DUK__YEAR(2011), | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32748:47: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 32748 | #define DUK__YEAR(x) ((duk_uint8_t) ((x) -1970)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32765:2: note: in expansion of macro 'DUK__YEAR' 32765 | DUK__YEAR(2012), | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32748:47: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 32748 | #define DUK__YEAR(x) ((duk_uint8_t) ((x) -1970)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32766:2: note: in expansion of macro 'DUK__YEAR' 32766 | DUK__YEAR(2024), | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32748:47: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 32748 | #define DUK__YEAR(x) ((duk_uint8_t) ((x) -1970)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32767:2: note: in expansion of macro 'DUK__YEAR' 32767 | DUK__YEAR(2008), | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32748:47: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 32748 | #define DUK__YEAR(x) ((duk_uint8_t) ((x) -1970)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32768:2: note: in expansion of macro 'DUK__YEAR' 32768 | DUK__YEAR(2020), | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32748:47: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 32748 | #define DUK__YEAR(x) ((duk_uint8_t) ((x) -1970)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32769:2: note: in expansion of macro 'DUK__YEAR' 32769 | DUK__YEAR(2032), | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32748:47: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 32748 | #define DUK__YEAR(x) ((duk_uint8_t) ((x) -1970)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32770:2: note: in expansion of macro 'DUK__YEAR' 32770 | DUK__YEAR(2016), | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32748:47: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 32748 | #define DUK__YEAR(x) ((duk_uint8_t) ((x) -1970)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32771:2: note: in expansion of macro 'DUK__YEAR' 32771 | DUK__YEAR(2028) | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32863:2: note: in expansion of macro 'DUK__PACK_RULE' 32863 | DUK__PACK_RULE(DUK__PM_YEAR, DUK__SM_MINUS, DUK__PI_MONTH, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:56: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32863:2: note: in expansion of macro 'DUK__PACK_RULE' 32863 | DUK__PACK_RULE(DUK__PM_YEAR, DUK__SM_MINUS, DUK__PI_MONTH, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:93: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32863:2: note: in expansion of macro 'DUK__PACK_RULE' 32863 | DUK__PACK_RULE(DUK__PM_YEAR, DUK__SM_MINUS, DUK__PI_MONTH, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32845:26: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32845 | (((duk_uint32_t) (flags)) << 21)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32863:2: note: in expansion of macro 'DUK__PACK_RULE' 32863 | DUK__PACK_RULE(DUK__PM_YEAR, DUK__SM_MINUS, DUK__PI_MONTH, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32864:2: note: in expansion of macro 'DUK__PACK_RULE' 32864 | DUK__PACK_RULE(DUK__PM_MONTH, DUK__SM_MINUS, DUK__PI_DAY, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:56: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32864:2: note: in expansion of macro 'DUK__PACK_RULE' 32864 | DUK__PACK_RULE(DUK__PM_MONTH, DUK__SM_MINUS, DUK__PI_DAY, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:93: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32864:2: note: in expansion of macro 'DUK__PACK_RULE' 32864 | DUK__PACK_RULE(DUK__PM_MONTH, DUK__SM_MINUS, DUK__PI_DAY, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32845:26: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32845 | (((duk_uint32_t) (flags)) << 21)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32864:2: note: in expansion of macro 'DUK__PACK_RULE' 32864 | DUK__PACK_RULE(DUK__PM_MONTH, DUK__SM_MINUS, DUK__PI_DAY, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32865:2: note: in expansion of macro 'DUK__PACK_RULE' 32865 | DUK__PACK_RULE(DUK__PM_YEAR | DUK__PM_MONTH | DUK__PM_DAY, DUK__SM_T | DUK__SM_SPACE, DUK__PI_HOUR, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:56: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32865:2: note: in expansion of macro 'DUK__PACK_RULE' 32865 | DUK__PACK_RULE(DUK__PM_YEAR | DUK__PM_MONTH | DUK__PM_DAY, DUK__SM_T | DUK__SM_SPACE, DUK__PI_HOUR, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:93: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32865:2: note: in expansion of macro 'DUK__PACK_RULE' 32865 | DUK__PACK_RULE(DUK__PM_YEAR | DUK__PM_MONTH | DUK__PM_DAY, DUK__SM_T | DUK__SM_SPACE, DUK__PI_HOUR, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32845:26: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32845 | (((duk_uint32_t) (flags)) << 21)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32865:2: note: in expansion of macro 'DUK__PACK_RULE' 32865 | DUK__PACK_RULE(DUK__PM_YEAR | DUK__PM_MONTH | DUK__PM_DAY, DUK__SM_T | DUK__SM_SPACE, DUK__PI_HOUR, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32866:2: note: in expansion of macro 'DUK__PACK_RULE' 32866 | DUK__PACK_RULE(DUK__PM_HOUR, DUK__SM_COLON, DUK__PI_MINUTE, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:56: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32866:2: note: in expansion of macro 'DUK__PACK_RULE' 32866 | DUK__PACK_RULE(DUK__PM_HOUR, DUK__SM_COLON, DUK__PI_MINUTE, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:93: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32866:2: note: in expansion of macro 'DUK__PACK_RULE' 32866 | DUK__PACK_RULE(DUK__PM_HOUR, DUK__SM_COLON, DUK__PI_MINUTE, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32845:26: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32845 | (((duk_uint32_t) (flags)) << 21)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32866:2: note: in expansion of macro 'DUK__PACK_RULE' 32866 | DUK__PACK_RULE(DUK__PM_HOUR, DUK__SM_COLON, DUK__PI_MINUTE, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32867:2: note: in expansion of macro 'DUK__PACK_RULE' 32867 | DUK__PACK_RULE(DUK__PM_MINUTE, DUK__SM_COLON, DUK__PI_SECOND, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:56: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32867:2: note: in expansion of macro 'DUK__PACK_RULE' 32867 | DUK__PACK_RULE(DUK__PM_MINUTE, DUK__SM_COLON, DUK__PI_SECOND, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:93: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32867:2: note: in expansion of macro 'DUK__PACK_RULE' 32867 | DUK__PACK_RULE(DUK__PM_MINUTE, DUK__SM_COLON, DUK__PI_SECOND, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32845:26: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32845 | (((duk_uint32_t) (flags)) << 21)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32867:2: note: in expansion of macro 'DUK__PACK_RULE' 32867 | DUK__PACK_RULE(DUK__PM_MINUTE, DUK__SM_COLON, DUK__PI_SECOND, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32868:2: note: in expansion of macro 'DUK__PACK_RULE' 32868 | DUK__PACK_RULE(DUK__PM_SECOND, DUK__SM_PERIOD, DUK__PI_MILLISECOND, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:56: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32868:2: note: in expansion of macro 'DUK__PACK_RULE' 32868 | DUK__PACK_RULE(DUK__PM_SECOND, DUK__SM_PERIOD, DUK__PI_MILLISECOND, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:93: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32868:2: note: in expansion of macro 'DUK__PACK_RULE' 32868 | DUK__PACK_RULE(DUK__PM_SECOND, DUK__SM_PERIOD, DUK__PI_MILLISECOND, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32845:26: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32845 | (((duk_uint32_t) (flags)) << 21)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32868:2: note: in expansion of macro 'DUK__PACK_RULE' 32868 | DUK__PACK_RULE(DUK__PM_SECOND, DUK__SM_PERIOD, DUK__PI_MILLISECOND, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32869:2: note: in expansion of macro 'DUK__PACK_RULE' 32869 | DUK__PACK_RULE(DUK__PM_TZHOUR, DUK__SM_COLON, DUK__PI_TZMINUTE, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:56: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32869:2: note: in expansion of macro 'DUK__PACK_RULE' 32869 | DUK__PACK_RULE(DUK__PM_TZHOUR, DUK__SM_COLON, DUK__PI_TZMINUTE, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:93: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32869:2: note: in expansion of macro 'DUK__PACK_RULE' 32869 | DUK__PACK_RULE(DUK__PM_TZHOUR, DUK__SM_COLON, DUK__PI_TZMINUTE, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32845:26: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32845 | (((duk_uint32_t) (flags)) << 21)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32869:2: note: in expansion of macro 'DUK__PACK_RULE' 32869 | DUK__PACK_RULE(DUK__PM_TZHOUR, DUK__SM_COLON, DUK__PI_TZMINUTE, 0), | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32870:2: note: in expansion of macro 'DUK__PACK_RULE' 32870 | DUK__PACK_RULE(DUK__PM_YEAR | DUK__PM_MONTH | DUK__PM_DAY | DUK__PM_HOUR /*Note1*/ | DUK__PM_MINUTE | DUK__PM_SECOND | | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:56: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32870:2: note: in expansion of macro 'DUK__PACK_RULE' 32870 | DUK__PACK_RULE(DUK__PM_YEAR | DUK__PM_MONTH | DUK__PM_DAY | DUK__PM_HOUR /*Note1*/ | DUK__PM_MINUTE | DUK__PM_SECOND | | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:93: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32870:2: note: in expansion of macro 'DUK__PACK_RULE' 32870 | DUK__PACK_RULE(DUK__PM_YEAR | DUK__PM_MONTH | DUK__PM_DAY | DUK__PM_HOUR /*Note1*/ | DUK__PM_MINUTE | DUK__PM_SECOND | | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32845:26: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32845 | (((duk_uint32_t) (flags)) << 21)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32870:2: note: in expansion of macro 'DUK__PACK_RULE' 32870 | DUK__PACK_RULE(DUK__PM_YEAR | DUK__PM_MONTH | DUK__PM_DAY | DUK__PM_HOUR /*Note1*/ | DUK__PM_MINUTE | DUK__PM_SECOND | | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32875:2: note: in expansion of macro 'DUK__PACK_RULE' 32875 | DUK__PACK_RULE(DUK__PM_YEAR | DUK__PM_MONTH | DUK__PM_DAY | DUK__PM_HOUR /*Note1*/ | DUK__PM_MINUTE | DUK__PM_SECOND | | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:56: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32875:2: note: in expansion of macro 'DUK__PACK_RULE' 32875 | DUK__PACK_RULE(DUK__PM_YEAR | DUK__PM_MONTH | DUK__PM_DAY | DUK__PM_HOUR /*Note1*/ | DUK__PM_MINUTE | DUK__PM_SECOND | | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:93: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32875:2: note: in expansion of macro 'DUK__PACK_RULE' 32875 | DUK__PACK_RULE(DUK__PM_YEAR | DUK__PM_MONTH | DUK__PM_DAY | DUK__PM_HOUR /*Note1*/ | DUK__PM_MINUTE | DUK__PM_SECOND | | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32845:26: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32845 | (((duk_uint32_t) (flags)) << 21)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32875:2: note: in expansion of macro 'DUK__PACK_RULE' 32875 | DUK__PACK_RULE(DUK__PM_YEAR | DUK__PM_MONTH | DUK__PM_DAY | DUK__PM_HOUR /*Note1*/ | DUK__PM_MINUTE | DUK__PM_SECOND | | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32880:2: note: in expansion of macro 'DUK__PACK_RULE' 32880 | DUK__PACK_RULE(DUK__PM_YEAR | DUK__PM_MONTH | DUK__PM_DAY | DUK__PM_HOUR /*Note1*/ | DUK__PM_MINUTE | DUK__PM_SECOND | | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:56: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32880:2: note: in expansion of macro 'DUK__PACK_RULE' 32880 | DUK__PACK_RULE(DUK__PM_YEAR | DUK__PM_MONTH | DUK__PM_DAY | DUK__PM_HOUR /*Note1*/ | DUK__PM_MINUTE | DUK__PM_SECOND | | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:93: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32880:2: note: in expansion of macro 'DUK__PACK_RULE' 32880 | DUK__PACK_RULE(DUK__PM_YEAR | DUK__PM_MONTH | DUK__PM_DAY | DUK__PM_HOUR /*Note1*/ | DUK__PM_MINUTE | DUK__PM_SECOND | | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32845:26: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32845 | (((duk_uint32_t) (flags)) << 21)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32880:2: note: in expansion of macro 'DUK__PACK_RULE' 32880 | DUK__PACK_RULE(DUK__PM_YEAR | DUK__PM_MONTH | DUK__PM_DAY | DUK__PM_HOUR /*Note1*/ | DUK__PM_MINUTE | DUK__PM_SECOND | | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32885:2: note: in expansion of macro 'DUK__PACK_RULE' 32885 | DUK__PACK_RULE(DUK__PM_YEAR | DUK__PM_MONTH | DUK__PM_DAY | DUK__PM_HOUR /*Note1*/ | DUK__PM_MINUTE | DUK__PM_SECOND | | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:56: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32885:2: note: in expansion of macro 'DUK__PACK_RULE' 32885 | DUK__PACK_RULE(DUK__PM_YEAR | DUK__PM_MONTH | DUK__PM_DAY | DUK__PM_HOUR /*Note1*/ | DUK__PM_MINUTE | DUK__PM_SECOND | | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32844:93: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32844 | ((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32885:2: note: in expansion of macro 'DUK__PACK_RULE' 32885 | DUK__PACK_RULE(DUK__PM_YEAR | DUK__PM_MONTH | DUK__PM_DAY | DUK__PM_HOUR /*Note1*/ | DUK__PM_MINUTE | DUK__PM_SECOND | | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32845:26: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 32845 | (((duk_uint32_t) (flags)) << 21)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32885:2: note: in expansion of macro 'DUK__PACK_RULE' 32885 | DUK__PACK_RULE(DUK__PM_YEAR | DUK__PM_MONTH | DUK__PM_DAY | DUK__PM_HOUR /*Note1*/ | DUK__PM_MINUTE | DUK__PM_SECOND | | ^~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__parse_string_iso8601_subset(duk_hthread*, const char*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32913:2: note: in expansion of macro 'duk_memzero' 32913 | duk_memzero(parts, sizeof(parts)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32919:28: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 32919 | p = (const duk_uint8_t *) str; | ^~~ | - | reinterpret_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32943:39: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 32943 | accum = accum * 10 + ((duk_int_t) ch) - ((duk_int_t) DUK_ASC_0) + 0x00; | ^~ | -------------- | static_cast ( ch) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10816:29: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 10816 | #define DUK_ASC_0 0x30 | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32943:58: note: in expansion of macro 'DUK_ASC_0' 32943 | accum = accum * 10 + ((duk_int_t) ch) - ((duk_int_t) DUK_ASC_0) + 0x00; | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32966:93: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 32966 | for (i = 0; i < (duk_small_uint_t) (sizeof(duk__parse_iso8601_seps) / sizeof(duk_uint8_t)); i++) { | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32971:86: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 32971 | if (i == (duk_small_uint_t) (sizeof(duk__parse_iso8601_seps) / sizeof(duk_uint8_t))) { | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32979:97: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 32979 | for (i = 0; i < (duk_small_uint_t) (sizeof(duk__parse_iso8601_control) / sizeof(duk_uint32_t)); i++) { | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32849:60: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 32849 | (var_nextidx) = (duk_small_uint_t) (((rule) >> 17) & 0x0f); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32994:5: note: in expansion of macro 'DUK__UNPACK_RULE' 32994 | DUK__UNPACK_RULE(rule, nextpart, cflags); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32850:49: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 32850 | (var_flags) = (duk_small_uint_t) ((rule) >> 21); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:32994:5: note: in expansion of macro 'DUK__UNPACK_RULE' 32994 | DUK__UNPACK_RULE(rule, nextpart, cflags); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33025:90: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 33025 | if (i == (duk_small_uint_t) (sizeof(duk__parse_iso8601_control) / sizeof(duk_uint32_t))) { | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: At global scope: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33139:64: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 33139 | DUK_LOCAL duk_uint8_t duk__days_in_month[12] = { (duk_uint8_t) 31, (duk_uint8_t) 28, (duk_uint8_t) 31, (duk_uint8_t) 30, | ^~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33139:82: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 33139 | DUK_LOCAL duk_uint8_t duk__days_in_month[12] = { (duk_uint8_t) 31, (duk_uint8_t) 28, (duk_uint8_t) 31, (duk_uint8_t) 30, | ^~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33139:100: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 33139 | DUK_LOCAL duk_uint8_t duk__days_in_month[12] = { (duk_uint8_t) 31, (duk_uint8_t) 28, (duk_uint8_t) 31, (duk_uint8_t) 30, | ^~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33139:118: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 33139 | DUK_LOCAL duk_uint8_t duk__days_in_month[12] = { (duk_uint8_t) 31, (duk_uint8_t) 28, (duk_uint8_t) 31, (duk_uint8_t) 30, | ^~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33140:57: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 33140 | (duk_uint8_t) 31, (duk_uint8_t) 30, (duk_uint8_t) 31, (duk_uint8_t) 31, | ^~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33140:75: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 33140 | (duk_uint8_t) 31, (duk_uint8_t) 30, (duk_uint8_t) 31, (duk_uint8_t) 31, | ^~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33140:93: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 33140 | (duk_uint8_t) 31, (duk_uint8_t) 30, (duk_uint8_t) 31, (duk_uint8_t) 31, | ^~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33140:111: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 33140 | (duk_uint8_t) 31, (duk_uint8_t) 30, (duk_uint8_t) 31, (duk_uint8_t) 31, | ^~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33141:57: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 33141 | (duk_uint8_t) 30, (duk_uint8_t) 31, (duk_uint8_t) 30, (duk_uint8_t) 31 }; | ^~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33141:75: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 33141 | (duk_uint8_t) 30, (duk_uint8_t) 31, (duk_uint8_t) 30, (duk_uint8_t) 31 }; | ^~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33141:93: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 33141 | (duk_uint8_t) 30, (duk_uint8_t) 31, (duk_uint8_t) 30, (duk_uint8_t) 31 }; | ^~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33141:111: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 33141 | (duk_uint8_t) 30, (duk_uint8_t) 31, (duk_uint8_t) 30, (duk_uint8_t) 31 }; | ^~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk__make_day(duk_double_t, duk_double_t, duk_double_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33299:43: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 33299 | day_num = duk__day_from_year((duk_int_t) year); | ^~~~ | ---------------- | static_cast ( year) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33300:49: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 33300 | is_leap = duk_bi_date_is_leap_year((duk_int_t) year); | ^~~~ | ---------------- | static_cast ( year) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33302:24: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 33302 | n = (duk_small_int_t) month; | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33311:24: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 33311 | return (duk_double_t) day_num + day; | ^~~~~~~ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_bi_date_timeval_to_parts(duk_double_t, duk_int_t*, duk_double_t*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:1365:63: warning: use of old-style cast to 'double' [-Wold-style-cast] 1365 | #define DUK_DATE_MSEC_DAY (24L * 60L * 60L * 1000L) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33349:43: note: in expansion of macro 'DUK_DATE_MSEC_DAY' 33349 | d1 = (duk_double_t) DUK_FMOD(d, (double) DUK_DATE_MSEC_DAY); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33349:60: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 33349 | d1 = (duk_double_t) DUK_FMOD(d, (double) DUK_DATE_MSEC_DAY); | ^ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:1365:63: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 1365 | #define DUK_DATE_MSEC_DAY (24L * 60L * 60L * 1000L) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33352:24: note: in expansion of macro 'DUK_DATE_MSEC_DAY' 33352 | d1 += (duk_double_t) DUK_DATE_MSEC_DAY; | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:1365:63: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 1365 | #define DUK_DATE_MSEC_DAY (24L * 60L * 60L * 1000L) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33354:46: note: in expansion of macro 'DUK_DATE_MSEC_DAY' 33354 | d2 = DUK_FLOOR((double) (d / (duk_double_t) DUK_DATE_MSEC_DAY)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33354:63: warning: use of old-style cast to 'double' [-Wold-style-cast] 33354 | d2 = DUK_FLOOR((double) (d / (duk_double_t) DUK_DATE_MSEC_DAY)); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33357:19: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 33357 | t1 = (duk_int_t) d1; | ^~ | -------------- | static_cast ( d1) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33358:19: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 33358 | t2 = (duk_int_t) d2; | ^~ | -------------- | static_cast ( d2) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33440:54: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 33440 | equiv_year = (duk_int_t) duk__date_equivyear[arridx] + 1970; | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33463:38: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 33463 | dparts[i] = (duk_double_t) parts[i]; | ^ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk_bi_date_get_timeval_from_dparts(duk_double_t*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:1364:57: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 1364 | #define DUK_DATE_MSEC_HOUR (60L * 60L * 1000L) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33527:58: note: in expansion of macro 'DUK_DATE_MSEC_HOUR' 33527 | tmp_time += dparts[DUK_DATE_IDX_HOUR] * ((duk_double_t) DUK_DATE_MSEC_HOUR); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33527:11: warning: compound assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile] 33527 | tmp_time += dparts[DUK_DATE_IDX_HOUR] * ((duk_double_t) DUK_DATE_MSEC_HOUR); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:1363:51: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 1363 | #define DUK_DATE_MSEC_MINUTE (60L * 1000L) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33528:60: note: in expansion of macro 'DUK_DATE_MSEC_MINUTE' 33528 | tmp_time += dparts[DUK_DATE_IDX_MINUTE] * ((duk_double_t) DUK_DATE_MSEC_MINUTE); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33528:11: warning: compound assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile] 33528 | tmp_time += dparts[DUK_DATE_IDX_MINUTE] * ((duk_double_t) DUK_DATE_MSEC_MINUTE); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:1362:39: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 1362 | #define DUK_DATE_MSEC_SECOND 1000L | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33529:60: note: in expansion of macro 'DUK_DATE_MSEC_SECOND' 33529 | tmp_time += dparts[DUK_DATE_IDX_SECOND] * ((duk_double_t) DUK_DATE_MSEC_SECOND); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33529:11: warning: compound assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile] 33529 | tmp_time += dparts[DUK_DATE_IDX_SECOND] * ((duk_double_t) DUK_DATE_MSEC_SECOND); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33530:11: warning: compound assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile] 33530 | tmp_time += dparts[DUK_DATE_IDX_MILLISECOND]; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:1365:63: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 1365 | #define DUK_DATE_MSEC_DAY (24L * 60L * 60L * 1000L) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33536:32: note: in expansion of macro 'DUK_DATE_MSEC_DAY' 33536 | d = tmp_day * ((duk_double_t) DUK_DATE_MSEC_DAY) + tmp_time; | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33604:5: warning: compound assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile] 33604 | d -= tzoff * 1000L; | ~~^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk__push_this_get_timeval_tzoffset(duk_hthread*, duk_small_uint_t, duk_int_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33629:3: note: in expansion of macro 'DUK_ERROR_TYPE' 33629 | DUK_ERROR_TYPE(thr, "expected Date"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33629:3: note: in expansion of macro 'DUK_ERROR_TYPE' 33629 | DUK_ERROR_TYPE(thr, "expected Date"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33629:3: note: in expansion of macro 'DUK_ERROR_TYPE' 33629 | DUK_ERROR_TYPE(thr, "expected Date"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:71: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33633:2: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 33633 | duk_xget_owndataprop_stridx_short(thr, -1, DUK_STRIDX_INT_VALUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:104: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33633:2: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 33633 | duk_xget_owndataprop_stridx_short(thr, -1, DUK_STRIDX_INT_VALUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33642:4: note: in expansion of macro 'DUK_ERROR_RANGE' 33642 | DUK_ERROR_RANGE(thr, "Invalid Date"); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk__set_this_timeval_from_dparts(duk_hthread*, duk_double_t*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33684:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 33684 | duk_xdef_prop_stridx_short(thr, -3, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33684:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 33684 | duk_xdef_prop_stridx_short(thr, -3, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33684:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 33684 | duk_xdef_prop_stridx_short(thr, -3, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__format_parts_iso8601(duk_int_t*, duk_int_t, duk_small_uint_t, duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33708:45: warning: use of old-style cast to 'long int' [-Wold-style-cast] 33708 | (long) parts[DUK_DATE_IDX_YEAR]); | ^ | ------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33709:40: warning: use of old-style cast to 'char' [-Wold-style-cast] 33709 | yearstr[sizeof(yearstr) - 1] = (char) 0; | ^ | -------- | static_cast ( 0) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33732:49: warning: use of old-style cast to 'int' [-Wold-style-cast] 33732 | DUK_SNPRINTF(tzstr, sizeof(tzstr), fmt, (int) arg_hours, (int) arg_minutes); | ^~~~~~~~~ | --------------- | static_cast ( arg_hours) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33732:66: warning: use of old-style cast to 'int' [-Wold-style-cast] 33732 | DUK_SNPRINTF(tzstr, sizeof(tzstr), fmt, (int) arg_hours, (int) arg_minutes); | ^~~~~~~~~~~ | ----------------- | static_cast ( arg_minutes) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33733:37: warning: use of old-style cast to 'char' [-Wold-style-cast] 33733 | tzstr[sizeof(tzstr) - 1] = (char) 0; | ^ | -------- | static_cast ( 0) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33736:21: warning: use of old-style cast to 'char' [-Wold-style-cast] 33736 | tzstr[1] = (char) 0; | ^ | -------- | static_cast ( 0) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33743:24: warning: use of old-style cast to 'char*' [-Wold-style-cast] 33743 | DUK_SPRINTF((char *) out_buf, | ^~~~~~~ | ---------------- | reinterpret_cast ( out_buf) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33745:30: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 33745 | (const char *) yearstr, | ^~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33746:45: warning: use of old-style cast to 'int' [-Wold-style-cast] 33746 | (int) parts[DUK_DATE_IDX_MONTH], | ^ | ----- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33747:43: warning: use of old-style cast to 'int' [-Wold-style-cast] 33747 | (int) parts[DUK_DATE_IDX_DAY], | ^ | ----- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33748:21: warning: use of old-style cast to 'int' [-Wold-style-cast] 33748 | (int) sep, | ^~~ | --------- | static_cast ( sep) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33749:44: warning: use of old-style cast to 'int' [-Wold-style-cast] 33749 | (int) parts[DUK_DATE_IDX_HOUR], | ^ | ----- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33750:46: warning: use of old-style cast to 'int' [-Wold-style-cast] 33750 | (int) parts[DUK_DATE_IDX_MINUTE], | ^ | ----- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33751:46: warning: use of old-style cast to 'int' [-Wold-style-cast] 33751 | (int) parts[DUK_DATE_IDX_SECOND], | ^ | ----- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33752:51: warning: use of old-style cast to 'int' [-Wold-style-cast] 33752 | (int) parts[DUK_DATE_IDX_MILLISECOND], | ^ | ----- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33753:30: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 33753 | (const char *) tzstr); | ^~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33755:24: warning: use of old-style cast to 'char*' [-Wold-style-cast] 33755 | DUK_SPRINTF((char *) out_buf, | ^~~~~~~ | ---------------- | reinterpret_cast ( out_buf) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33757:30: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 33757 | (const char *) yearstr, | ^~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33758:45: warning: use of old-style cast to 'int' [-Wold-style-cast] 33758 | (int) parts[DUK_DATE_IDX_MONTH], | ^ | ----- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33759:43: warning: use of old-style cast to 'int' [-Wold-style-cast] 33759 | (int) parts[DUK_DATE_IDX_DAY]); | ^ | ----- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33762:24: warning: use of old-style cast to 'char*' [-Wold-style-cast] 33762 | DUK_SPRINTF((char *) out_buf, | ^~~~~~~ | ---------------- | reinterpret_cast ( out_buf) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33764:44: warning: use of old-style cast to 'int' [-Wold-style-cast] 33764 | (int) parts[DUK_DATE_IDX_HOUR], | ^ | ----- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33765:46: warning: use of old-style cast to 'int' [-Wold-style-cast] 33765 | (int) parts[DUK_DATE_IDX_MINUTE], | ^ | ----- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33766:46: warning: use of old-style cast to 'int' [-Wold-style-cast] 33766 | (int) parts[DUK_DATE_IDX_SECOND], | ^ | ----- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33767:51: warning: use of old-style cast to 'int' [-Wold-style-cast] 33767 | (int) parts[DUK_DATE_IDX_MILLISECOND], | ^ | ----- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33768:30: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 33768 | (const char *) tzstr); | ^~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk__to_string_helper(duk_hthread*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33823:38: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 33823 | duk_push_string(thr, (const char *) buf); | ^~~ | ------------------ | reinterpret_cast ( buf) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk__get_part_helper(duk_hthread*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33835:92: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 33835 | duk_small_uint_t idx_part = (duk_small_uint_t) (flags_and_idx >> DUK_DATE_FLAG_VALUE_SHIFT); /* unpack args */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk__set_part_helper(duk_hthread*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33869:97: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 33869 | duk_small_uint_t maxnargs = (duk_small_uint_t) (flags_and_maxnargs >> DUK_DATE_FLAG_VALUE_SHIFT); /* unpack args */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33920:19: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 33920 | if ((duk_idx_t) i >= nargs) { | ^ | ------------- | static_cast ( i) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33929:46: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 33929 | duk__twodigit_year_fixup(thr, (duk_idx_t) i); | ^ | ------------- | static_cast ( i) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:33932:48: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 33932 | dparts[idx] = duk_to_number(thr, (duk_idx_t) i); | ^ | ------------- | static_cast ( i) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__set_parts_from_args(duk_hthread*, duk_double_t*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34006:19: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 34006 | if ((duk_idx_t) i < nargs) { | ^ | ------------- | static_cast ( i) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34007:39: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 34007 | d = duk_to_number(thr, (duk_idx_t) i); | ^ | ------------- | static_cast ( i) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_uint_t duk__date_get_indirect_magic(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34169:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 34169 | duk_small_uint_t magicidx = (duk_small_uint_t) duk_get_current_magic(thr); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34171:53: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 34171 | return (duk_small_uint_t) duk__date_magics[magicidx]; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_date_constructor(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34189:36: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 34189 | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_DATE), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34199:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 34199 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34199:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 34199 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34199:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 34199 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34215:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 34215 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34215:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 34215 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34215:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 34215 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_date_prototype_to_json(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34329:2: note: in expansion of macro 'duk_get_prop_stridx_short' 34329 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_TO_ISO_STRING); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34329:2: note: in expansion of macro 'duk_get_prop_stridx_short' 34329 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_TO_ISO_STRING); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_date_prototype_set_time(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34476:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 34476 | duk_xdef_prop_stridx_short(thr, -3, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34476:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 34476 | duk_xdef_prop_stridx_short(thr, -3, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34476:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 34476 | duk_xdef_prop_stridx_short(thr, -3, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_date_prototype_toprimitive(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34508:3: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 34508 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk_bi_date_get_now_gettimeofday()': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34594:25: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 34594 | d = ((duk_double_t) tv.tv_sec) * 1000.0 + ((duk_double_t) tv.tv_usec) / 1000.0; | ^~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34594:63: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 34594 | d = ((duk_double_t) tv.tv_sec) * 1000.0 + ((duk_double_t) tv.tv_usec) / 1000.0; | ^~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk_bi_date_get_local_tzoffset_gmtime(duk_double_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34696:26: warning: use of old-style cast to 'time_t' {aka 'long long int'} [-Wold-style-cast] 34696 | t = (time_t) (d / 1000.0); | ^ | -------- | static_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34699:23: warning: use of old-style cast to 'void*' [-Wold-style-cast] 34699 | duk_memzero((void *) tms, sizeof(struct tm) * 2); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3091:21: note: in definition of macro 'duk_memzero' 3091 | void *duk__dst = (dst); \ | ^~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34699:2: note: in expansion of macro 'duk_memzero' 34699 | duk_memzero((void *) tms, sizeof(struct tm) * 2); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34747:22: warning: use of old-style cast to 'time_t' {aka 'long long int'} [-Wold-style-cast] 34747 | if (t1 == (time_t) -1 || t2 == (time_t) -1) { | ^ | ----------- | static_cast ( -1) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34747:43: warning: use of old-style cast to 'time_t' {aka 'long long int'} [-Wold-style-cast] 34747 | if (t1 == (time_t) -1 || t2 == (time_t) -1) { | ^ | ----------- | static_cast ( -1) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34767:36: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 34767 | return (duk_int_t) difftime(t2, t1); | ^ | ----------- | static_cast ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_bi_date_parse_string_strptime(duk_hthread*, const char*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34784:2: note: in expansion of macro 'duk_memzero' 34784 | duk_memzero(buf, sizeof(buf)); /* valgrind whine without this */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34785:54: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 34785 | DUK_SNPRINTF(buf, sizeof(buf), "%s", (const char *) str); | ^~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34786:32: warning: use of old-style cast to 'char' [-Wold-style-cast] 34786 | buf[sizeof(buf) - 1] = (char) 0; | ^ | -------- | static_cast ( 0) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34790:2: note: in expansion of macro 'duk_memzero' 34790 | duk_memzero(&tm, sizeof(tm)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34791:30: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 34791 | if (strptime((const char *) buf, "%c", &tm) != NULL) { | ^~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34808:41: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 34808 | duk_push_number(thr, ((duk_double_t) t) * 1000.0); | ^ | - | static_cast< - | > () In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_bi_date_format_parts_strftime(duk_hthread*, duk_int_t*, duk_int_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34871:2: note: in expansion of macro 'duk_memzero' 34871 | duk_memzero(&tm, sizeof(tm)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:34881:2: note: in expansion of macro 'duk_memzero' 34881 | duk_memzero(buf, sizeof(buf)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_duktape_object_gc(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35140:48: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 35140 | flags = (duk_small_uint_t) duk_get_uint(thr, 0); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_duktape_object_enc(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35210:3: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 35210 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_duktape_object_dec(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35243:3: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 35243 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_codepoint_t duk__utf8_decode_next(duk__decode_context*, duk_uint8_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35334:29: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 35334 | return (duk_codepoint_t) x; | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__utf8_encode_char(void*, duk_codepoint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35409:36: warning: use of old-style cast to 'struct duk__encode_context*' [-Wold-style-cast] 35409 | enc_ctx = (duk__encode_context *) udata; | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35415:35: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 35415 | *enc_ctx->out++ = (duk_uint8_t) codepoint; | ^~~~~~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35439:97: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 35439 | (duk_codepoint_t) (0x010000L + ((enc_ctx->lead - 0xd800L) << 10) + (codepoint - 0xdc00L)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35458:62: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 35458 | enc_ctx->out += duk_unicode_encode_xutf8((duk_ucodepoint_t) codepoint, enc_ctx->out); | ^~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk__decode_helper(duk_hthread*, duk__decode_context*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35512:3: note: in expansion of macro 'DUK_ERROR_TYPE' 35512 | DUK_ERROR_TYPE(thr, DUK_STR_RESULT_TOO_LONG); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35512:3: note: in expansion of macro 'DUK_ERROR_TYPE' 35512 | DUK_ERROR_TYPE(thr, DUK_STR_RESULT_TOO_LONG); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35512:3: note: in expansion of macro 'DUK_ERROR_TYPE' 35512 | DUK_ERROR_TYPE(thr, DUK_STR_RESULT_TOO_LONG); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35516:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 35516 | (duk_uint8_t *) duk_push_fixed_buffer_nozero(thr, 3 + (3 * len)); /* used parts will be always manually written over */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35518:68: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 35518 | input = (const duk_uint8_t *) duk_get_buffer_data(thr, 0, &len_tmp); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35567:54: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 35567 | out += duk_unicode_encode_cesu8((duk_ucodepoint_t) codepoint, out); | ^~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35587:39: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 35587 | duk_push_lstring(thr, (const char *) output, (duk_size_t) (out - output)); | ^~~~~~ | --------------------- | reinterpret_cast ( output) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35587:73: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 35587 | duk_push_lstring(thr, (const char *) output, (duk_size_t) (out - output)); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35591:2: note: in expansion of macro 'DUK_ERROR_TYPE' 35591 | DUK_ERROR_TYPE(thr, DUK_STR_UTF8_DECODE_FAILED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35591:2: note: in expansion of macro 'DUK_ERROR_TYPE' 35591 | DUK_ERROR_TYPE(thr, DUK_STR_UTF8_DECODE_FAILED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35591:2: note: in expansion of macro 'DUK_ERROR_TYPE' 35591 | DUK_ERROR_TYPE(thr, DUK_STR_UTF8_DECODE_FAILED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_textencoder_prototype_encode(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6413:63: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6413 | #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35629:22: note: in expansion of macro 'DUK_HSTRING_GET_CHARLEN' 35629 | len = (duk_size_t) DUK_HSTRING_GET_CHARLEN(h_input); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35631:4: note: in expansion of macro 'DUK_ERROR_TYPE' 35631 | DUK_ERROR_TYPE(thr, DUK_STR_RESULT_TOO_LONG); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35631:4: note: in expansion of macro 'DUK_ERROR_TYPE' 35631 | DUK_ERROR_TYPE(thr, DUK_STR_RESULT_TOO_LONG); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35631:4: note: in expansion of macro 'DUK_ERROR_TYPE' 35631 | DUK_ERROR_TYPE(thr, DUK_STR_RESULT_TOO_LONG); | ^~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:777:67: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 777 | duk_push_buffer_raw((ctx), (size), DUK_BUF_FLAG_DYNAMIC /*flags*/) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35646:27: note: in expansion of macro 'duk_push_dynamic_buffer' 35646 | output = (duk_uint8_t *) duk_push_dynamic_buffer(thr, 3 * len); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35665:62: warning: use of old-style cast to 'void*' [-Wold-style-cast] 35665 | duk_decode_string(thr, 0, duk__utf8_encode_char, (void *) &enc_ctx); | ^~~~~~~ | ----------------- | static_cast ( &enc_ctx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35678:49: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 35678 | final_len = (duk_size_t) (enc_ctx.out - output); | ^ | ------------ | static_cast ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_textdecoder_constructor(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:775:48: warning: use of old-style cast to 'struct duk__decode_context*' [-Wold-style-cast] 775 | duk_push_buffer_raw((ctx), (size), 0 /*flags*/) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35722:36: note: in expansion of macro 'duk_push_fixed_buffer' 35722 | dec_ctx = (duk__decode_context *) duk_push_fixed_buffer(thr, sizeof(duk__decode_context)); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35723:33: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 35723 | dec_ctx->fatal = (duk_uint8_t) fatal; | ^~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35724:38: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 35724 | dec_ctx->ignore_bom = (duk_uint8_t) ignore_bom; | ^~~~~~~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk__decode_context* duk__get_textdecoder_context(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35736:68: warning: use of old-style cast to 'struct duk__decode_context*' [-Wold-style-cast] 35736 | dec_ctx = (duk__decode_context *) duk_require_buffer(thr, -1, NULL); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_error_constructor_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35814:64: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 35814 | DUK_HOBJECT_FLAG_EXTENSIBLE | DUK_HOBJECT_FLAG_FASTREFS | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_ERROR); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35824:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 35824 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_MESSAGE, DUK_PROPDESC_FLAGS_WC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35824:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 35824 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_MESSAGE, DUK_PROPDESC_FLAGS_WC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35824:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 35824 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_MESSAGE, DUK_PROPDESC_FLAGS_WC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_error_prototype_to_string(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35848:2: note: in expansion of macro 'duk_get_prop_stridx_short' 35848 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_NAME); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35848:2: note: in expansion of macro 'duk_get_prop_stridx_short' 35848 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_NAME); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35862:2: note: in expansion of macro 'duk_get_prop_stridx_short' 35862 | duk_get_prop_stridx_short(thr, -2, DUK_STRIDX_MESSAGE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35862:2: note: in expansion of macro 'duk_get_prop_stridx_short' 35862 | duk_get_prop_stridx_short(thr, -2, DUK_STRIDX_MESSAGE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk__error_getter_helper(duk_hthread*, duk_small_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:71: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35924:2: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 35924 | duk_xget_owndataprop_stridx_short(thr, -1, DUK_STRIDX_INT_TRACEDATA); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:104: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35924:2: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 35924 | duk_xget_owndataprop_stridx_short(thr, -1, DUK_STRIDX_INT_TRACEDATA); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35947:52: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 35947 | duk_get_prop_index(thr, idx_td, (duk_uarridx_t) i); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35948:58: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 35948 | duk_get_prop_index(thr, idx_td, (duk_uarridx_t) (i + 1)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35952:46: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 35952 | t = (duk_small_int_t) duk_get_type(thr, -2); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35967:5: note: in expansion of macro 'duk_get_prop_stridx_short' 35967 | duk_get_prop_stridx_short(thr, -2, DUK_STRIDX_NAME); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35967:5: note: in expansion of macro 'duk_get_prop_stridx_short' 35967 | duk_get_prop_stridx_short(thr, -2, DUK_STRIDX_NAME); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35968:5: note: in expansion of macro 'duk_get_prop_stridx_short' 35968 | duk_get_prop_stridx_short(thr, -3, DUK_STRIDX_FILE_NAME); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35968:5: note: in expansion of macro 'duk_get_prop_stridx_short' 35968 | duk_get_prop_stridx_short(thr, -3, DUK_STRIDX_FILE_NAME); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35971:80: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 35971 | line = (duk_uint_t) duk_hobject_pc2line_query(thr, -4, (duk_uint_fast32_t) pc); | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35971:82: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 35971 | line = (duk_uint_t) duk_hobject_pc2line_query(thr, -4, (duk_uint_fast32_t) pc); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35995:63: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 35995 | (const char *) DUK_HSTRING_GET_DATA(h_name); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:35995:63: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 35995 | (const char *) DUK_HSTRING_GET_DATA(h_name); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36007:25: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36007 | (const char *) funcname, | ^~~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36008:80: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36008 | (const char *) ((flags & DUK_ACT_FLAG_STRICT) ? str_strict : str_empty), | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36009:86: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36009 | (const char *) ((flags & DUK_ACT_FLAG_TAILCALLED) ? str_tailcall : str_empty), | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36010:86: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36010 | (const char *) ((flags & DUK_ACT_FLAG_CONSTRUCT) ? str_construct : str_empty), | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36011:89: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36011 | (const char *) ((flags & DUK_ACT_FLAG_DIRECT_EVAL) ? str_directeval : str_empty), | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36012:90: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36012 | (const char *) ((flags & DUK_ACT_FLAG_PREVENT_YIELD) ? str_prevyield : str_empty)); | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36017:25: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36017 | (const char *) funcname, | ^~~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36018:25: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36018 | (const char *) filename, | ^~~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36019:80: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36019 | (const char *) ((flags & DUK_ACT_FLAG_STRICT) ? str_strict : str_empty), | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36020:86: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36020 | (const char *) ((flags & DUK_ACT_FLAG_TAILCALLED) ? str_tailcall : str_empty), | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36021:86: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36021 | (const char *) ((flags & DUK_ACT_FLAG_CONSTRUCT) ? str_construct : str_empty), | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36022:89: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36022 | (const char *) ((flags & DUK_ACT_FLAG_DIRECT_EVAL) ? str_directeval : str_empty), | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36023:90: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36023 | (const char *) ((flags & DUK_ACT_FLAG_PREVENT_YIELD) ? str_prevyield : str_empty)); | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36028:25: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36028 | (const char *) funcname, | ^~~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36029:25: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36029 | (const char *) filename, | ^~~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36030:26: warning: use of old-style cast to 'long unsigned int' [-Wold-style-cast] 36030 | (unsigned long) line, | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36031:80: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36031 | (const char *) ((flags & DUK_ACT_FLAG_STRICT) ? str_strict : str_empty), | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36032:86: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36032 | (const char *) ((flags & DUK_ACT_FLAG_TAILCALLED) ? str_tailcall : str_empty), | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36033:86: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36033 | (const char *) ((flags & DUK_ACT_FLAG_CONSTRUCT) ? str_construct : str_empty), | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36034:89: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36034 | (const char *) ((flags & DUK_ACT_FLAG_DIRECT_EVAL) ? str_directeval : str_empty), | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36035:90: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36035 | (const char *) ((flags & DUK_ACT_FLAG_PREVENT_YIELD) ? str_prevyield : str_empty)); | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36068:53: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36068 | str_file = (const char *) duk_get_string(thr, -2); | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36071:66: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36071 | (const char *) (str_file ? str_file : "null"), | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36072:29: warning: use of old-style cast to 'long int' [-Wold-style-cast] 36072 | (long) pc); | ^~ | --------- | static_cast ( pc) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_function_constructor(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36263:39: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 36263 | (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_sourcecode), | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36263:39: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 36263 | (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_sourcecode), | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36264:30: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 36264 | (duk_size_t) DUK_HSTRING_GET_BYTELEN(h_sourcecode), | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36269:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 36269 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36269:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 36269 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36269:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 36269 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36271:52: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 36271 | func = (duk_hcompfunc *) duk_known_hobject(thr, -1); | ^ | ----------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_function_prototype_to_string(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36317:7: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 36317 | tv = DUK_GET_TVAL_NEGIDX(thr, -1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36320:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 36320 | if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36321:22: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 36321 | duk_hobject *obj = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36331:3: note: in expansion of macro 'duk_get_prop_stridx_short' 36331 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_NAME); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36331:3: note: in expansion of macro 'duk_get_prop_stridx_short' 36331 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_NAME); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36340:80: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36340 | duk_push_sprintf(thr, "function %s() { [ecmascript code] }", (const char *) func_name); | ^~~~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36342:76: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36342 | duk_push_sprintf(thr, "function %s() { [native code] }", (const char *) func_name); | ^~~~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36344:75: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 36344 | duk_push_sprintf(thr, "function %s() { [bound code] }", (const char *) func_name); | ^~~~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1180:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1180 | #define DUK_TVAL_IS_LIGHTFUNC(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_LIGHTFUNC) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36348:13: note: in expansion of macro 'DUK_TVAL_IS_LIGHTFUNC' 36348 | } else if (DUK_TVAL_IS_LIGHTFUNC(tv)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36357:2: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 36357 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_function_prototype_bind(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7853:33: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 7853 | #define DUK_HBOUNDFUNC_MAX_ARGS 0x20000000UL | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36421:26: note: in expansion of macro 'DUK_HBOUNDFUNC_MAX_ARGS' 36421 | if (nargs > (duk_idx_t) DUK_HBOUNDFUNC_MAX_ARGS) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10328:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10328 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_COUNT); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10332:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_COUNT' 10332 | DUK_ERROR_RANGE_INVALID_COUNT((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36422:3: note: in expansion of macro 'DUK_DCERROR_RANGE_INVALID_COUNT' 36422 | DUK_DCERROR_RANGE_INVALID_COUNT(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36448:11: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 36448 | tv_tmp = DUK_GET_TVAL_POSIDX(thr, 0); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36450:11: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 36450 | tv_tmp = DUK_GET_TVAL_NEGIDX(thr, -2); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36453:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 36453 | if (DUK_TVAL_IS_OBJECT(tv_tmp)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36457:14: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 36457 | h_target = DUK_TVAL_GET_OBJECT(tv_tmp); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36465:62: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 36465 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) h_bound, bound_proto); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7204:28: note: in definition of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 7204 | duk_hobject *duk__obj = (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7209:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 7209 | DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36465:3: note: in expansion of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 36465 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) h_bound, bound_proto); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7209:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 7209 | DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36465:3: note: in expansion of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 36465 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) h_bound, bound_proto); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36474:43: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 36474 | DUK_HOBJECT_SET_STRICT((duk_hobject *) h_bound); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4769:4: note: in definition of macro 'DUK_HEAPHDR_SET_FLAG_BITS' 4769 | (h)->h_flags |= (bits); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36474:4: note: in expansion of macro 'DUK_HOBJECT_SET_STRICT' 36474 | DUK_HOBJECT_SET_STRICT((duk_hobject *) h_bound); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36480:48: warning: use of old-style cast to 'void*' [-Wold-style-cast] 36480 | h_boundtarget = (duk_hboundfunc *) (void *) h_target; | ^~~~~~~~ | ----------------- | static_cast ( h_target) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36480:48: warning: use of old-style cast to 'duk_hboundfunc*' {aka 'struct duk_hboundfunc*'} [-Wold-style-cast] 36480 | h_boundtarget = (duk_hboundfunc *) (void *) h_target; | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36501:42: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 36501 | DUK_HOBJECT_SET_STRICT((duk_hobject *) h_bound); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4769:4: note: in definition of macro 'DUK_HEAPHDR_SET_FLAG_BITS' 4769 | (h)->h_flags |= (bits); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36501:3: note: in expansion of macro 'DUK_HOBJECT_SET_STRICT' 36501 | DUK_HOBJECT_SET_STRICT((duk_hobject *) h_bound); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36503:62: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 36503 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) h_bound, bound_proto); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7204:28: note: in definition of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 7204 | duk_hobject *duk__obj = (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7209:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 7209 | DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36503:3: note: in expansion of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 36503 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) h_bound, bound_proto); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7209:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 7209 | DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36503:3: note: in expansion of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 36503 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) h_bound, bound_proto); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36506:2: note: in expansion of macro 'DUK_TVAL_INCREF' 36506 | DUK_TVAL_INCREF(thr, &h_bound->target); /* old values undefined, no decref needed */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36506:2: note: in expansion of macro 'DUK_TVAL_INCREF' 36506 | DUK_TVAL_INCREF(thr, &h_bound->target); /* old values undefined, no decref needed */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36507:2: note: in expansion of macro 'DUK_TVAL_INCREF' 36507 | DUK_TVAL_INCREF(thr, &h_bound->this_binding); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36507:2: note: in expansion of macro 'DUK_TVAL_INCREF' 36507 | DUK_TVAL_INCREF(thr, &h_bound->this_binding); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7853:33: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 7853 | #define DUK_HBOUNDFUNC_MAX_ARGS 0x20000000UL | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36510:32: note: in expansion of macro 'DUK_HBOUNDFUNC_MAX_ARGS' 36510 | if (bound_nargs > (duk_idx_t) DUK_HBOUNDFUNC_MAX_ARGS) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10328:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10328 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_COUNT); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10332:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_COUNT' 10332 | DUK_ERROR_RANGE_INVALID_COUNT((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36511:3: note: in expansion of macro 'DUK_DCERROR_RANGE_INVALID_COUNT' 36511 | DUK_DCERROR_RANGE_INVALID_COUNT(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36513:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 36513 | tv_res = (duk_tval *) DUK_ALLOC_CHECKED(thr, ((duk_size_t) bound_nargs) * sizeof(duk_tval)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9181:80: note: in definition of macro 'DUK_ALLOC_CHECKED' 9181 | #define DUK_ALLOC_CHECKED(thr, size) duk_heap_mem_alloc_checked((thr), (size)) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9181:85: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 9181 | #define DUK_ALLOC_CHECKED(thr, size) duk_heap_mem_alloc_checked((thr), (size)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36513:24: note: in expansion of macro 'DUK_ALLOC_CHECKED' 36513 | tv_res = (duk_tval *) DUK_ALLOC_CHECKED(thr, ((duk_size_t) bound_nargs) * sizeof(duk_tval)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36521:64: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 36521 | duk_copy_tvals_incref(thr, tv_res, tv_prevbound, (duk_size_t) n_prevbound); | ^~~~~~~~~~~ | ------------------------ | static_cast ( n_prevbound) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36523:51: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 36523 | duk_copy_tvals_incref(thr, tv_res + n_prevbound, DUK_GET_TVAL_POSIDX(thr, 1), (duk_size_t) nargs); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36523:93: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 36523 | duk_copy_tvals_incref(thr, tv_res + n_prevbound, DUK_GET_TVAL_POSIDX(thr, 1), (duk_size_t) nargs); | ^~~~~ | ------------------ | static_cast ( nargs) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36530:2: note: in expansion of macro 'duk_get_prop_stridx_short' 36530 | duk_get_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36530:2: note: in expansion of macro 'duk_get_prop_stridx_short' 36530 | duk_get_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36545:42: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 36545 | DUK_TVAL_SET_U32(tv_tmp, (duk_uint32_t) bound_len); /* in-place update, fastint */ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1115:18: note: in definition of macro 'DUK_TVAL_SET_DOUBLE' 1115 | duk__dblval = (d); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36545:2: note: in expansion of macro 'DUK_TVAL_SET_U32' 36545 | DUK_TVAL_SET_U32(tv_tmp, (duk_uint32_t) bound_len); /* in-place update, fastint */ | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1121:92: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 1121 | #define DUK_TVAL_SET_U32(tv, i) DUK_TVAL_SET_DOUBLE((tv), (duk_double_t) (i)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1115:18: note: in definition of macro 'DUK_TVAL_SET_DOUBLE' 1115 | duk__dblval = (d); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36545:2: note: in expansion of macro 'DUK_TVAL_SET_U32' 36545 | DUK_TVAL_SET_U32(tv_tmp, (duk_uint32_t) bound_len); /* in-place update, fastint */ | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36546:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 36546 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_C); /* attrs in E6 Section 9.2.4 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36546:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 36546 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_C); /* attrs in E6 Section 9.2.4 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36546:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 36546 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_C); /* attrs in E6 Section 9.2.4 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36565:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 36565 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36565:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 36565 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36565:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 36565 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36567:2: note: in expansion of macro 'duk_get_prop_stridx_short' 36567 | duk_get_prop_stridx_short(thr, -2, DUK_STRIDX_FILE_NAME); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36567:2: note: in expansion of macro 'duk_get_prop_stridx_short' 36567 | duk_get_prop_stridx_short(thr, -2, DUK_STRIDX_FILE_NAME); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36568:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 36568 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_FILE_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36568:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 36568 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_FILE_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36568:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 36568 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_FILE_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_native_function_length(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36586:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 36586 | if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36587:24: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 36587 | h = (duk_hnatfunc *) DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:86: warning: use of old-style cast to 'duk_hnatfunc*' {aka 'struct duk_hnatfunc*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36587:24: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 36587 | h = (duk_hnatfunc *) DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36589:47: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 36589 | if (!DUK_HOBJECT_IS_NATFUNC((duk_hobject *) h)) { | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36589:8: note: in expansion of macro 'DUK_HOBJECT_IS_NATFUNC' 36589 | if (!DUK_HOBJECT_IS_NATFUNC((duk_hobject *) h)) { | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7817:52: warning: use of old-style cast to 'duk_int16_t' {aka 'short int'} [-Wold-style-cast] 7817 | #define DUK_HNATFUNC_NARGS_VARARGS ((duk_int16_t) -1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36593:35: note: in expansion of macro 'DUK_HNATFUNC_NARGS_VARARGS' 36593 | duk_push_int(thr, func_nargs == DUK_HNATFUNC_NARGS_VARARGS ? 0 : func_nargs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1180:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1180 | #define DUK_TVAL_IS_LIGHTFUNC(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_LIGHTFUNC) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36594:13: note: in expansion of macro 'DUK_TVAL_IS_LIGHTFUNC' 36594 | } else if (DUK_TVAL_IS_LIGHTFUNC(tv)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1164:89: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1164 | #define DUK_TVAL_GET_LIGHTFUNC_FLAGS(tv) (((duk_small_uint_t) (tv)->ui[DUK_DBL_IDX_UI0]) & 0xffffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36598:14: note: in expansion of macro 'DUK_TVAL_GET_LIGHTFUNC_FLAGS' 36598 | lf_flags = DUK_TVAL_GET_LIGHTFUNC_FLAGS(tv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36607:2: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 36607 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_native_function_name(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36618:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 36618 | if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36619:24: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 36619 | h = (duk_hnatfunc *) DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:86: warning: use of old-style cast to 'duk_hnatfunc*' {aka 'struct duk_hnatfunc*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36619:24: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 36619 | h = (duk_hnatfunc *) DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36621:47: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 36621 | if (!DUK_HOBJECT_IS_NATFUNC((duk_hobject *) h)) { | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36621:8: note: in expansion of macro 'DUK_HOBJECT_IS_NATFUNC' 36621 | if (!DUK_HOBJECT_IS_NATFUNC((duk_hobject *) h)) { | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1180:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1180 | #define DUK_TVAL_IS_LIGHTFUNC(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_LIGHTFUNC) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36628:13: note: in expansion of macro 'DUK_TVAL_IS_LIGHTFUNC' 36628 | } else if (DUK_TVAL_IS_LIGHTFUNC(tv)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36636:2: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 36636 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_function_prototype_hasinstance(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36644:40: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 36644 | ret = duk_js_instanceof_ordinary(thr, DUK_GET_TVAL_POSIDX(thr, 0), DUK_GET_THIS_TVAL_PTR(thr)); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: At global scope: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36673:2: note: in expansion of macro 'DUK__MKBITS' 36673 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x00-0x0f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36673:39: note: in expansion of macro 'DUK__MKBITS' 36673 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x00-0x0f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36674:2: note: in expansion of macro 'DUK__MKBITS' 36674 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x10-0x1f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36674:39: note: in expansion of macro 'DUK__MKBITS' 36674 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x10-0x1f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36675:2: note: in expansion of macro 'DUK__MKBITS' 36675 | DUK__MKBITS(0, 1, 0, 1, 1, 0, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 0x20-0x2f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36675:39: note: in expansion of macro 'DUK__MKBITS' 36675 | DUK__MKBITS(0, 1, 0, 1, 1, 0, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 0x20-0x2f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36676:2: note: in expansion of macro 'DUK__MKBITS' 36676 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 0, 1, 0, 1), /* 0x30-0x3f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36676:39: note: in expansion of macro 'DUK__MKBITS' 36676 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 0, 1, 0, 1), /* 0x30-0x3f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36677:2: note: in expansion of macro 'DUK__MKBITS' 36677 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 0x40-0x4f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36677:39: note: in expansion of macro 'DUK__MKBITS' 36677 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 0x40-0x4f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36678:2: note: in expansion of macro 'DUK__MKBITS' 36678 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 0, 1), /* 0x50-0x5f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36678:39: note: in expansion of macro 'DUK__MKBITS' 36678 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 0, 1), /* 0x50-0x5f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36679:2: note: in expansion of macro 'DUK__MKBITS' 36679 | DUK__MKBITS(0, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 0x60-0x6f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36679:39: note: in expansion of macro 'DUK__MKBITS' 36679 | DUK__MKBITS(0, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 0x60-0x6f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36680:2: note: in expansion of macro 'DUK__MKBITS' 36680 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 1, 0), /* 0x70-0x7f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36680:39: note: in expansion of macro 'DUK__MKBITS' 36680 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 1, 0), /* 0x70-0x7f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36685:2: note: in expansion of macro 'DUK__MKBITS' 36685 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x00-0x0f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36685:39: note: in expansion of macro 'DUK__MKBITS' 36685 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x00-0x0f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36686:2: note: in expansion of macro 'DUK__MKBITS' 36686 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x10-0x1f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36686:39: note: in expansion of macro 'DUK__MKBITS' 36686 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x10-0x1f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36687:2: note: in expansion of macro 'DUK__MKBITS' 36687 | DUK__MKBITS(0, 1, 0, 0, 0, 0, 0, 1), DUK__MKBITS(1, 1, 1, 0, 0, 1, 1, 0), /* 0x20-0x2f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36687:39: note: in expansion of macro 'DUK__MKBITS' 36687 | DUK__MKBITS(0, 1, 0, 0, 0, 0, 0, 1), DUK__MKBITS(1, 1, 1, 0, 0, 1, 1, 0), /* 0x20-0x2f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36688:2: note: in expansion of macro 'DUK__MKBITS' 36688 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 0, 0, 0, 0, 0, 0), /* 0x30-0x3f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36688:39: note: in expansion of macro 'DUK__MKBITS' 36688 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 0, 0, 0, 0, 0, 0), /* 0x30-0x3f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36689:2: note: in expansion of macro 'DUK__MKBITS' 36689 | DUK__MKBITS(0, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 0x40-0x4f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36689:39: note: in expansion of macro 'DUK__MKBITS' 36689 | DUK__MKBITS(0, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 0x40-0x4f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36690:2: note: in expansion of macro 'DUK__MKBITS' 36690 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 0, 1), /* 0x50-0x5f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36690:39: note: in expansion of macro 'DUK__MKBITS' 36690 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 0, 1), /* 0x50-0x5f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36691:2: note: in expansion of macro 'DUK__MKBITS' 36691 | DUK__MKBITS(0, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 0x60-0x6f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36691:39: note: in expansion of macro 'DUK__MKBITS' 36691 | DUK__MKBITS(0, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 0x60-0x6f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36692:2: note: in expansion of macro 'DUK__MKBITS' 36692 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 1, 0), /* 0x70-0x7f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36692:39: note: in expansion of macro 'DUK__MKBITS' 36692 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 1, 0), /* 0x70-0x7f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36697:2: note: in expansion of macro 'DUK__MKBITS' 36697 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x00-0x0f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36697:39: note: in expansion of macro 'DUK__MKBITS' 36697 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x00-0x0f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36698:2: note: in expansion of macro 'DUK__MKBITS' 36698 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x10-0x1f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36698:39: note: in expansion of macro 'DUK__MKBITS' 36698 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x10-0x1f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36699:2: note: in expansion of macro 'DUK__MKBITS' 36699 | DUK__MKBITS(0, 0, 0, 1, 1, 0, 1, 0), DUK__MKBITS(0, 0, 0, 1, 1, 0, 0, 1), /* 0x20-0x2f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36699:39: note: in expansion of macro 'DUK__MKBITS' 36699 | DUK__MKBITS(0, 0, 0, 1, 1, 0, 1, 0), DUK__MKBITS(0, 0, 0, 1, 1, 0, 0, 1), /* 0x20-0x2f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36700:2: note: in expansion of macro 'DUK__MKBITS' 36700 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 1, 1, 0, 1, 0, 1), /* 0x30-0x3f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36700:39: note: in expansion of macro 'DUK__MKBITS' 36700 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 1, 1, 0, 1, 0, 1), /* 0x30-0x3f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36701:2: note: in expansion of macro 'DUK__MKBITS' 36701 | DUK__MKBITS(1, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x40-0x4f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36701:39: note: in expansion of macro 'DUK__MKBITS' 36701 | DUK__MKBITS(1, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x40-0x4f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36702:2: note: in expansion of macro 'DUK__MKBITS' 36702 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x50-0x5f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36702:39: note: in expansion of macro 'DUK__MKBITS' 36702 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x50-0x5f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36703:2: note: in expansion of macro 'DUK__MKBITS' 36703 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x60-0x6f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36703:39: note: in expansion of macro 'DUK__MKBITS' 36703 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x60-0x6f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36704:2: note: in expansion of macro 'DUK__MKBITS' 36704 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x70-0x7f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36704:39: note: in expansion of macro 'DUK__MKBITS' 36704 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x70-0x7f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36709:2: note: in expansion of macro 'DUK__MKBITS' 36709 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x00-0x0f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36709:39: note: in expansion of macro 'DUK__MKBITS' 36709 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x00-0x0f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36710:2: note: in expansion of macro 'DUK__MKBITS' 36710 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x10-0x1f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36710:39: note: in expansion of macro 'DUK__MKBITS' 36710 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x10-0x1f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36711:2: note: in expansion of macro 'DUK__MKBITS' 36711 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x20-0x2f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36711:39: note: in expansion of macro 'DUK__MKBITS' 36711 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x20-0x2f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36712:2: note: in expansion of macro 'DUK__MKBITS' 36712 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x30-0x3f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36712:39: note: in expansion of macro 'DUK__MKBITS' 36712 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x30-0x3f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36713:2: note: in expansion of macro 'DUK__MKBITS' 36713 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x40-0x4f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36713:39: note: in expansion of macro 'DUK__MKBITS' 36713 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x40-0x4f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36714:2: note: in expansion of macro 'DUK__MKBITS' 36714 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x50-0x5f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36714:39: note: in expansion of macro 'DUK__MKBITS' 36714 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x50-0x5f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36715:2: note: in expansion of macro 'DUK__MKBITS' 36715 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x60-0x6f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36715:39: note: in expansion of macro 'DUK__MKBITS' 36715 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x60-0x6f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36716:2: note: in expansion of macro 'DUK__MKBITS' 36716 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x70-0x7f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36716:39: note: in expansion of macro 'DUK__MKBITS' 36716 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x70-0x7f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36722:2: note: in expansion of macro 'DUK__MKBITS' 36722 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x00-0x0f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36722:39: note: in expansion of macro 'DUK__MKBITS' 36722 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x00-0x0f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36723:2: note: in expansion of macro 'DUK__MKBITS' 36723 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x10-0x1f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36723:39: note: in expansion of macro 'DUK__MKBITS' 36723 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), /* 0x10-0x1f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36724:2: note: in expansion of macro 'DUK__MKBITS' 36724 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 1, 1, 0, 1, 1, 1), /* 0x20-0x2f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36724:39: note: in expansion of macro 'DUK__MKBITS' 36724 | DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 1, 1, 0, 1, 1, 1), /* 0x20-0x2f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36725:2: note: in expansion of macro 'DUK__MKBITS' 36725 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 0, 0, 0, 0, 0, 0), /* 0x30-0x3f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36725:39: note: in expansion of macro 'DUK__MKBITS' 36725 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 0, 0, 0, 0, 0, 0), /* 0x30-0x3f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36726:2: note: in expansion of macro 'DUK__MKBITS' 36726 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 0x40-0x4f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36726:39: note: in expansion of macro 'DUK__MKBITS' 36726 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 0x40-0x4f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36727:2: note: in expansion of macro 'DUK__MKBITS' 36727 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 0, 1), /* 0x50-0x5f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36727:39: note: in expansion of macro 'DUK__MKBITS' 36727 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 0, 1), /* 0x50-0x5f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36728:2: note: in expansion of macro 'DUK__MKBITS' 36728 | DUK__MKBITS(0, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 0x60-0x6f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36728:39: note: in expansion of macro 'DUK__MKBITS' 36728 | DUK__MKBITS(0, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), /* 0x60-0x6f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36729:2: note: in expansion of macro 'DUK__MKBITS' 36729 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 0, 0) /* 0x70-0x7f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36668:119: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36668 | ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36729:39: note: in expansion of macro 'DUK__MKBITS' 36729 | DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 0, 0) /* 0x70-0x7f */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_int_t duk__decode_hex_escape(const duk_uint8_t*, duk_small_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36751:45: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 36751 | ch = (duk_small_int_t) duk_hex_dectab[*p++]; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'int duk__transform_helper(duk_hthread*, duk__transform_callback, const void*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36774:21: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 36774 | tfm_ctx->p_start = DUK_HSTRING_GET_DATA(tfm_ctx->h_str); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36779:109: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 36779 | cp = (duk_codepoint_t) duk_unicode_decode_xutf8_checked(thr, &tfm_ctx->p, tfm_ctx->p_start, tfm_ctx->p_end); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__transform_callback_encode_uri(duk__transform_context*, const void*, duk_codepoint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36794:61: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 36794 | const duk_uint8_t *unescaped_table = (const duk_uint8_t *) udata; | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36800:2: note: in expansion of macro 'DUK_BW_ENSURE' 36800 | DUK_BW_ENSURE(tfm_ctx->thr, &tfm_ctx->bw, 3 * DUK_UNICODE_MAX_XUTF8_LENGTH); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36805:65: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36805 | DUK_BW_WRITE_RAW_U8(tfm_ctx->thr, &tfm_ctx->bw, (duk_uint8_t) cp); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2616:35: note: in definition of macro 'DUK_BW_WRITE_RAW_U8' 2616 | *(bw_ctx)->p++ = (duk_uint8_t) (val); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2616:38: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2616 | *(bw_ctx)->p++ = (duk_uint8_t) (val); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36805:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8' 36805 | DUK_BW_WRITE_RAW_U8(tfm_ctx->thr, &tfm_ctx->bw, (duk_uint8_t) cp); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36815:54: warning: use of old-style cast to 'duk_ucodepoint_t*' {aka 'unsigned int*'} [-Wold-style-cast] 36815 | (duk_ucodepoint_t *) &cp2) == 0) { | ^~~ | - | reinterpret_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36822:79: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 36822 | cp = (duk_codepoint_t) (((cp1 - 0xd800L) << 10) + (cp2 - 0xdc00L) + 0x10000L); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36839:52: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 36839 | len = duk_unicode_encode_xutf8((duk_ucodepoint_t) cp, xutf8_buf); | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36841:36: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 36841 | t = (duk_small_int_t) xutf8_buf[i]; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2632:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2632 | *duk__p++ = (duk_uint8_t) (val1); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36842:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8_3' 36842 | DUK_BW_WRITE_RAW_U8_3(tfm_ctx->thr, | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36845:60: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36845 | (duk_uint8_t) duk_uc_nybbles[t >> 4], | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2633:30: note: in definition of macro 'DUK_BW_WRITE_RAW_U8_3' 2633 | *duk__p++ = (duk_uint8_t) (val2); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2633:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2633 | *duk__p++ = (duk_uint8_t) (val2); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36842:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8_3' 36842 | DUK_BW_WRITE_RAW_U8_3(tfm_ctx->thr, | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36846:62: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36846 | (duk_uint8_t) duk_uc_nybbles[t & 0x0f]); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2634:30: note: in definition of macro 'DUK_BW_WRITE_RAW_U8_3' 2634 | *duk__p++ = (duk_uint8_t) (val3); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2634:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2634 | *duk__p++ = (duk_uint8_t) (val3); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36842:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8_3' 36842 | DUK_BW_WRITE_RAW_U8_3(tfm_ctx->thr, | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10392:3: note: in expansion of macro 'DUK_ERROR' 10392 | DUK_ERROR((thr), DUK_ERR_URI_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36852:2: note: in expansion of macro 'DUK_ERROR_URI' 36852 | DUK_ERROR_URI(tfm_ctx->thr, DUK_STR_INVALID_INPUT); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10392:3: note: in expansion of macro 'DUK_ERROR' 10392 | DUK_ERROR((thr), DUK_ERR_URI_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36852:2: note: in expansion of macro 'DUK_ERROR_URI' 36852 | DUK_ERROR_URI(tfm_ctx->thr, DUK_STR_INVALID_INPUT); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10392:3: note: in expansion of macro 'DUK_ERROR' 10392 | DUK_ERROR((thr), DUK_ERR_URI_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36852:2: note: in expansion of macro 'DUK_ERROR_URI' 36852 | DUK_ERROR_URI(tfm_ctx->thr, DUK_STR_INVALID_INPUT); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__transform_callback_decode_uri(duk__transform_context*, const void*, duk_codepoint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36857:60: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 36857 | const duk_uint8_t *reserved_table = (const duk_uint8_t *) udata; | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36866:2: note: in expansion of macro 'DUK_BW_ENSURE' 36866 | DUK_BW_ENSURE(tfm_ctx->thr, | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36871:30: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 36871 | if (cp == (duk_codepoint_t) '%') { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36873:53: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 36873 | duk_size_t left = (duk_size_t) (tfm_ctx->p_end - p); /* bytes left */ | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2632:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2632 | *duk__p++ = (duk_uint8_t) (val1); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36891:5: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8_3' 36891 | DUK_BW_WRITE_RAW_U8_3(tfm_ctx->thr, &tfm_ctx->bw, DUK_ASC_PERCENT, p[0], p[1]); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2633:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2633 | *duk__p++ = (duk_uint8_t) (val2); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36891:5: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8_3' 36891 | DUK_BW_WRITE_RAW_U8_3(tfm_ctx->thr, &tfm_ctx->bw, DUK_ASC_PERCENT, p[0], p[1]); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2634:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2634 | *duk__p++ = (duk_uint8_t) (val3); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36891:5: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8_3' 36891 | DUK_BW_WRITE_RAW_U8_3(tfm_ctx->thr, &tfm_ctx->bw, DUK_ASC_PERCENT, p[0], p[1]); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36893:67: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 36893 | DUK_BW_WRITE_RAW_U8(tfm_ctx->thr, &tfm_ctx->bw, (duk_uint8_t) t); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2616:35: note: in definition of macro 'DUK_BW_WRITE_RAW_U8' 2616 | *(bw_ctx)->p++ = (duk_uint8_t) (val); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2616:38: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2616 | *(bw_ctx)->p++ = (duk_uint8_t) (val); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36893:5: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8' 36893 | DUK_BW_WRITE_RAW_U8(tfm_ctx->thr, &tfm_ctx->bw, (duk_uint8_t) t); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2677:35: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 2677 | duk__cp = (duk_ucodepoint_t) (cp); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36979:4: note: in expansion of macro 'DUK_BW_WRITE_RAW_XUTF8' 36979 | DUK_BW_WRITE_RAW_XUTF8(tfm_ctx->thr, &tfm_ctx->bw, ((cp >> 10) + 0xd800L)); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2677:35: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 2677 | duk__cp = (duk_ucodepoint_t) (cp); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36980:4: note: in expansion of macro 'DUK_BW_WRITE_RAW_XUTF8' 36980 | DUK_BW_WRITE_RAW_XUTF8(tfm_ctx->thr, &tfm_ctx->bw, ((cp & 0x03ffL) + 0xdc00L)); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2677:35: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 2677 | duk__cp = (duk_ucodepoint_t) (cp); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36982:4: note: in expansion of macro 'DUK_BW_WRITE_RAW_XUTF8' 36982 | DUK_BW_WRITE_RAW_XUTF8(tfm_ctx->thr, &tfm_ctx->bw, cp); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2677:35: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 2677 | duk__cp = (duk_ucodepoint_t) (cp); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36985:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_XUTF8' 36985 | DUK_BW_WRITE_RAW_XUTF8(tfm_ctx->thr, &tfm_ctx->bw, cp); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10392:3: note: in expansion of macro 'DUK_ERROR' 10392 | DUK_ERROR((thr), DUK_ERR_URI_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36990:2: note: in expansion of macro 'DUK_ERROR_URI' 36990 | DUK_ERROR_URI(tfm_ctx->thr, DUK_STR_INVALID_INPUT); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10392:3: note: in expansion of macro 'DUK_ERROR' 10392 | DUK_ERROR((thr), DUK_ERR_URI_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36990:2: note: in expansion of macro 'DUK_ERROR_URI' 36990 | DUK_ERROR_URI(tfm_ctx->thr, DUK_STR_INVALID_INPUT); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10392:3: note: in expansion of macro 'DUK_ERROR' 10392 | DUK_ERROR((thr), DUK_ERR_URI_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36990:2: note: in expansion of macro 'DUK_ERROR_URI' 36990 | DUK_ERROR_URI(tfm_ctx->thr, DUK_STR_INVALID_INPUT); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__transform_callback_escape(duk__transform_context*, const void*, duk_codepoint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36998:2: note: in expansion of macro 'DUK_BW_ENSURE' 36998 | DUK_BW_ENSURE(tfm_ctx->thr, &tfm_ctx->bw, 6); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37003:65: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 37003 | DUK_BW_WRITE_RAW_U8(tfm_ctx->thr, &tfm_ctx->bw, (duk_uint8_t) cp); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2616:35: note: in definition of macro 'DUK_BW_WRITE_RAW_U8' 2616 | *(bw_ctx)->p++ = (duk_uint8_t) (val); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2616:38: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2616 | *(bw_ctx)->p++ = (duk_uint8_t) (val); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37003:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8' 37003 | DUK_BW_WRITE_RAW_U8(tfm_ctx->thr, &tfm_ctx->bw, (duk_uint8_t) cp); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10805:29: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 10805 | #define DUK_ASC_PERCENT 0x25 | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2632:30: note: in definition of macro 'DUK_BW_WRITE_RAW_U8_3' 2632 | *duk__p++ = (duk_uint8_t) (val1); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37007:39: note: in expansion of macro 'DUK_ASC_PERCENT' 37007 | (duk_uint8_t) DUK_ASC_PERCENT, | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2632:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2632 | *duk__p++ = (duk_uint8_t) (val1); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37005:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8_3' 37005 | DUK_BW_WRITE_RAW_U8_3(tfm_ctx->thr, | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37008:61: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 37008 | (duk_uint8_t) duk_uc_nybbles[cp >> 4], | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2633:30: note: in definition of macro 'DUK_BW_WRITE_RAW_U8_3' 2633 | *duk__p++ = (duk_uint8_t) (val2); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2633:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2633 | *duk__p++ = (duk_uint8_t) (val2); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37005:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8_3' 37005 | DUK_BW_WRITE_RAW_U8_3(tfm_ctx->thr, | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37009:63: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 37009 | (duk_uint8_t) duk_uc_nybbles[cp & 0x0f]); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2634:30: note: in definition of macro 'DUK_BW_WRITE_RAW_U8_3' 2634 | *duk__p++ = (duk_uint8_t) (val3); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2634:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2634 | *duk__p++ = (duk_uint8_t) (val3); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37005:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8_3' 37005 | DUK_BW_WRITE_RAW_U8_3(tfm_ctx->thr, | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10805:29: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 10805 | #define DUK_ASC_PERCENT 0x25 | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2665:30: note: in definition of macro 'DUK_BW_WRITE_RAW_U8_6' 2665 | *duk__p++ = (duk_uint8_t) (val1); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37013:39: note: in expansion of macro 'DUK_ASC_PERCENT' 37013 | (duk_uint8_t) DUK_ASC_PERCENT, | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2665:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2665 | *duk__p++ = (duk_uint8_t) (val1); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37011:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8_6' 37011 | DUK_BW_WRITE_RAW_U8_6(tfm_ctx->thr, | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10885:29: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 10885 | #define DUK_ASC_LC_U 0x75 | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2666:30: note: in definition of macro 'DUK_BW_WRITE_RAW_U8_6' 2666 | *duk__p++ = (duk_uint8_t) (val2); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37014:39: note: in expansion of macro 'DUK_ASC_LC_U' 37014 | (duk_uint8_t) DUK_ASC_LC_U, | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2666:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2666 | *duk__p++ = (duk_uint8_t) (val2); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37011:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8_6' 37011 | DUK_BW_WRITE_RAW_U8_6(tfm_ctx->thr, | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37015:62: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 37015 | (duk_uint8_t) duk_uc_nybbles[cp >> 12], | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2667:30: note: in definition of macro 'DUK_BW_WRITE_RAW_U8_6' 2667 | *duk__p++ = (duk_uint8_t) (val3); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2667:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2667 | *duk__p++ = (duk_uint8_t) (val3); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37011:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8_6' 37011 | DUK_BW_WRITE_RAW_U8_6(tfm_ctx->thr, | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37016:70: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 37016 | (duk_uint8_t) duk_uc_nybbles[(cp >> 8) & 0x0f], | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2668:30: note: in definition of macro 'DUK_BW_WRITE_RAW_U8_6' 2668 | *duk__p++ = (duk_uint8_t) (val4); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2668:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2668 | *duk__p++ = (duk_uint8_t) (val4); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37011:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8_6' 37011 | DUK_BW_WRITE_RAW_U8_6(tfm_ctx->thr, | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37017:70: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 37017 | (duk_uint8_t) duk_uc_nybbles[(cp >> 4) & 0x0f], | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2669:30: note: in definition of macro 'DUK_BW_WRITE_RAW_U8_6' 2669 | *duk__p++ = (duk_uint8_t) (val5); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2669:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2669 | *duk__p++ = (duk_uint8_t) (val5); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37011:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8_6' 37011 | DUK_BW_WRITE_RAW_U8_6(tfm_ctx->thr, | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37018:63: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 37018 | (duk_uint8_t) duk_uc_nybbles[cp & 0x0f]); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2670:30: note: in definition of macro 'DUK_BW_WRITE_RAW_U8_6' 2670 | *duk__p++ = (duk_uint8_t) (val6); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2670:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2670 | *duk__p++ = (duk_uint8_t) (val6); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37011:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8_6' 37011 | DUK_BW_WRITE_RAW_U8_6(tfm_ctx->thr, | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37031:2: note: in expansion of macro 'DUK_ERROR_TYPE' 37031 | DUK_ERROR_TYPE(tfm_ctx->thr, DUK_STR_INVALID_INPUT); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37031:2: note: in expansion of macro 'DUK_ERROR_TYPE' 37031 | DUK_ERROR_TYPE(tfm_ctx->thr, DUK_STR_INVALID_INPUT); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37031:2: note: in expansion of macro 'DUK_ERROR_TYPE' 37031 | DUK_ERROR_TYPE(tfm_ctx->thr, DUK_STR_INVALID_INPUT); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__transform_callback_unescape(duk__transform_context*, const void*, duk_codepoint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37040:30: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 37040 | if (cp == (duk_codepoint_t) '%') { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37042:53: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 37042 | duk_size_t left = (duk_size_t) (tfm_ctx->p_end - p); /* bytes left */ | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37045:27: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 37045 | cp = (duk_codepoint_t) t; | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37048:27: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 37048 | cp = (duk_codepoint_t) t; | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2800:3: note: in expansion of macro 'DUK_BW_ENSURE' 2800 | DUK_BW_ENSURE((thr), (bw_ctx), DUK_UNICODE_MAX_XUTF8_LENGTH); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37053:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_XUTF8' 37053 | DUK_BW_WRITE_ENSURE_XUTF8(tfm_ctx->thr, &tfm_ctx->bw, cp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2677:35: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 2677 | duk__cp = (duk_ucodepoint_t) (cp); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2801:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_XUTF8' 2801 | DUK_BW_WRITE_RAW_XUTF8((thr), (bw_ctx), (cp)); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37053:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_XUTF8' 37053 | DUK_BW_WRITE_ENSURE_XUTF8(tfm_ctx->thr, &tfm_ctx->bw, cp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_global_object_eval(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37132:44: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 37132 | duk_js_compile(thr, (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h), (duk_size_t) DUK_HSTRING_GET_BYTELEN(h), comp_flags); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37132:44: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 37132 | duk_js_compile(thr, (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h), (duk_size_t) DUK_HSTRING_GET_BYTELEN(h), comp_flags); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37132:82: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 37132 | duk_js_compile(thr, (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h), (duk_size_t) DUK_HSTRING_GET_BYTELEN(h), comp_flags); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37133:52: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 37133 | func = (duk_hcompfunc *) duk_known_hobject(thr, -1); | ^ | ----------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37155:46: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 37155 | if (DUK_HOBJECT_HAS_STRICT((duk_hobject *) func)) { | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37155:7: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 37155 | if (DUK_HOBJECT_HAS_STRICT((duk_hobject *) func)) { | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37167:56: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 37167 | DUK_HOBJECT_FLAG_EXTENSIBLE | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_DECENV)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37169:42: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 37169 | duk_push_hobject(thr, (duk_hobject *) new_env); | ^~~~~~~ | ----------------------- | reinterpret_cast ( new_env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37172:57: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 37172 | DUK_HOBJECT_SET_PROTOTYPE(thr->heap, (duk_hobject *) new_env, act_lex_env); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7191:4: note: in definition of macro 'DUK_HOBJECT_SET_PROTOTYPE' 7191 | (h)->prototype = (x); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37173:4: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 37173 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, act_lex_env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37173:4: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 37173 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, act_lex_env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37176:36: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 37176 | outer_lex_env = (duk_hobject *) new_env; | ^~~~~~~ | ----------------------- | reinterpret_cast ( new_env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37177:36: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 37177 | outer_var_env = (duk_hobject *) new_env; | ^~~~~~~ | ----------------------- | reinterpret_cast ( new_env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37215:52: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 37215 | tv = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + act_caller->bottom_byteoff - | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37216:47: warning: use of old-style cast to 'void*' [-Wold-style-cast] 37215 | tv = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + act_caller->bottom_byteoff - | -------- | static_cast ( 37216 | sizeof(duk_tval)); /* this is just beneath bottom */ | ^ | ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37216:47: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 37215 | tv = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + act_caller->bottom_byteoff - | ------------ | static_cast ( 37216 | sizeof(duk_tval)); /* this is just beneath bottom */ | ^ | ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_global_object_parse_int(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37284:43: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 37284 | duk_numconv_parse(thr, (duk_small_int_t) radix, s2n_flags); | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_global_object_decode_uri(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37336:87: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 37336 | return duk__transform_helper(thr, duk__transform_callback_decode_uri, (const void *) duk__decode_uri_reserved_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_global_object_decode_uri_component(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37342:46: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 37342 | (const void *) duk__decode_uri_component_reserved_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_global_object_encode_uri(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37346:87: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 37346 | return duk__transform_helper(thr, duk__transform_callback_encode_uri, (const void *) duk__encode_uriunescaped_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_global_object_encode_uri_component(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37352:46: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 37352 | (const void *) duk__encode_uricomponent_unescaped_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_dec_syntax_error(duk_json_dec_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10113:37: note: in expansion of macro 'DUK_LINE_MACRO' 10113 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37568:2: note: in expansion of macro 'DUK_ERROR_FMT1' 37568 | DUK_ERROR_FMT1(js_ctx->thr, DUK_ERR_SYNTAX_ERROR, DUK_STR_FMT_INVALID_JSON, (long) (js_ctx->p - js_ctx->p_start)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10118:43: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10118 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37568:2: note: in expansion of macro 'DUK_ERROR_FMT1' 37568 | DUK_ERROR_FMT1(js_ctx->thr, DUK_ERR_SYNTAX_ERROR, DUK_STR_FMT_INVALID_JSON, (long) (js_ctx->p - js_ctx->p_start)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10118:76: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10118 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37568:2: note: in expansion of macro 'DUK_ERROR_FMT1' 37568 | DUK_ERROR_FMT1(js_ctx->thr, DUK_ERR_SYNTAX_ERROR, DUK_STR_FMT_INVALID_JSON, (long) (js_ctx->p - js_ctx->p_start)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37568:113: warning: use of old-style cast to 'long int' [-Wold-style-cast] 37568 | DUK_ERROR_FMT1(js_ctx->thr, DUK_ERR_SYNTAX_ERROR, DUK_STR_FMT_INVALID_JSON, (long) (js_ctx->p - js_ctx->p_start)); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10120:29: note: in definition of macro 'DUK_ERROR_FMT1' 10120 | (arg1)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint_fast32_t duk__json_dec_decode_hex_escape(duk_json_dec_ctx*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37636:43: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 37636 | res = (res * 16) + (duk_uint_fast32_t) t; | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_dec_req_stridx(duk_json_dec_ctx*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37666:28: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 37666 | p = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h) + 1; | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37666:28: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 37666 | p = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h) + 1; | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_int_t duk__json_dec_string_escape(duk_json_dec_ctx*, duk_uint8_t**)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37696:51: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 37696 | cp = (duk_uint_fast32_t) duk__json_dec_get(js_ctx); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2445:100: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 2445 | #define DUK_RAW_WRITEINC_XUTF8(ptr, val) duk_raw_writeinc_xutf8(&(ptr), (duk_ucodepoint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37746:2: note: in expansion of macro 'DUK_RAW_WRITEINC_XUTF8' 37746 | DUK_RAW_WRITEINC_XUTF8(*ext_p, cp); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_dec_string(duk_json_dec_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:43: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37783:7: note: in expansion of macro 'DUK_BW_ENSURE_RAW' 37783 | q = DUK_BW_ENSURE_RAW(js_ctx->thr, bw, safe + DUK_UNICODE_MAX_XUTF8_LENGTH, q); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37797:51: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 37797 | x = (duk_small_int_t) duk__json_decstr_lookup[b]; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_dec_plain_string(duk_json_dec_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37888:57: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 37888 | if (!duk_unicode_is_identifier_part((duk_codepoint_t) x)) { | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37894:47: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 37894 | duk_push_lstring(thr, (const char *) js_ctx->p, (duk_size_t) (p - js_ctx->p)); | ^ | ------------------------ | reinterpret_cast ( js_ctx->p) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37894:77: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 37894 | duk_push_lstring(thr, (const char *) js_ctx->p, (duk_size_t) (p - js_ctx->p)); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_dec_pointer(duk_json_dec_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37940:43: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 37940 | (void) DUK_SSCANF((const char *) js_ctx->p, DUK_STR_FMT_PTR, &voidptr); | ^ | ------------------------ | reinterpret_cast ( js_ctx->p) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_dec_buffer(duk_json_dec_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37994:39: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 37994 | src_len = (duk_size_t) (p - js_ctx->p); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37995:65: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 37995 | buf = (duk_uint8_t *) duk_push_fixed_buffer_nozero(thr, src_len); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37997:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 37997 | duk_memcpy((void *) buf, (const void *) js_ctx->p, src_len); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37997:50: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 37997 | duk_memcpy((void *) buf, (const void *) js_ctx->p, src_len); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:37997:2: note: in expansion of macro 'duk_memcpy' 37997 | duk_memcpy((void *) buf, (const void *) js_ctx->p, src_len); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_dec_number(duk_json_dec_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38060:39: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 38060 | duk_push_lstring(thr, (const char *) p_start, (duk_size_t) (p - p_start)); | ^~~~~~~ | ---------------------- | reinterpret_cast ( p_start) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38060:73: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 38060 | duk_push_lstring(thr, (const char *) p_start, (duk_size_t) (p - p_start)); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_dec_objarr_entry(duk_json_dec_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38087:3: note: in expansion of macro 'DUK_ERROR_RANGE' 38087 | DUK_ERROR_RANGE(thr, DUK_STR_DEC_RECLIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_dec_object(duk_json_dec_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38146:91: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 38146 | } else if (js_ctx->flag_ext_custom && duk_unicode_is_identifier_start((duk_codepoint_t) x)) { | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_dec_reviver_walk(duk_json_dec_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38342:52: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 38342 | arr_len = (duk_uarridx_t) duk_get_length(thr, -1); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38356:50: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 38356 | (duk_uint_t) i); /* -> [ ... holder name val val ToString(i) ] */ | ^ | -------------- | static_cast ( i) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__emit_1(duk_json_enc_ctx*, duk_uint_fast8_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2770:3: note: in expansion of macro 'DUK_BW_ENSURE' 2770 | DUK_BW_ENSURE((thr), (bw_ctx), 1); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38435:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_U8' 38435 | DUK_BW_WRITE_ENSURE_U8(js_ctx->thr, &js_ctx->bw, ch); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2616:38: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2616 | *(bw_ctx)->p++ = (duk_uint8_t) (val); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2771:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8' 2771 | DUK_BW_WRITE_RAW_U8((thr), (bw_ctx), (val)); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38435:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_U8' 38435 | DUK_BW_WRITE_ENSURE_U8(js_ctx->thr, &js_ctx->bw, ch); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__emit_2(duk_json_enc_ctx*, duk_uint_fast8_t, duk_uint_fast8_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2775:3: note: in expansion of macro 'DUK_BW_ENSURE' 2775 | DUK_BW_ENSURE((thr), (bw_ctx), 2); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38439:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_U8_2' 38439 | DUK_BW_WRITE_ENSURE_U8_2(js_ctx->thr, &js_ctx->bw, ch1, ch2); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2623:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2623 | *duk__p++ = (duk_uint8_t) (val1); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2776:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8_2' 2776 | DUK_BW_WRITE_RAW_U8_2((thr), (bw_ctx), (val1), (val2)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38439:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_U8_2' 38439 | DUK_BW_WRITE_ENSURE_U8_2(js_ctx->thr, &js_ctx->bw, ch1, ch2); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2624:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2624 | *duk__p++ = (duk_uint8_t) (val2); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2776:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8_2' 2776 | DUK_BW_WRITE_RAW_U8_2((thr), (bw_ctx), (val1), (val2)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38439:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_U8_2' 38439 | DUK_BW_WRITE_ENSURE_U8_2(js_ctx->thr, &js_ctx->bw, ch1, ch2); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__emit_hstring(duk_json_enc_ctx*, duk_hstring*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2834:3: note: in expansion of macro 'DUK_BW_ENSURE' 2834 | DUK_BW_ENSURE((thr), (bw_ctx), duk__val_len); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38443:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 38443 | DUK_BW_WRITE_ENSURE_HSTRING(js_ctx->thr, &js_ctx->bw, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2835:42: warning: use of old-style cast to 'void*' [-Wold-style-cast] 2835 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38443:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 38443 | DUK_BW_WRITE_ENSURE_HSTRING(js_ctx->thr, &js_ctx->bw, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2835:60: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 2835 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38443:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 38443 | DUK_BW_WRITE_ENSURE_HSTRING(js_ctx->thr, &js_ctx->bw, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2835:60: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 2835 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38443:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 38443 | DUK_BW_WRITE_ENSURE_HSTRING(js_ctx->thr, &js_ctx->bw, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2835:3: note: in expansion of macro 'duk_memcpy_unsafe' 2835 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38443:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 38443 | DUK_BW_WRITE_ENSURE_HSTRING(js_ctx->thr, &js_ctx->bw, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__emit_cstring(duk_json_enc_ctx*, const char*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2824:40: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 2824 | duk__val = (const duk_uint8_t *) (val); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38448:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_CSTRING' 38448 | DUK_BW_WRITE_ENSURE_CSTRING(js_ctx->thr, &js_ctx->bw, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2825:44: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 2825 | duk__val_len = DUK_STRLEN((const char *) duk__val); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38448:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_CSTRING' 38448 | DUK_BW_WRITE_ENSURE_CSTRING(js_ctx->thr, &js_ctx->bw, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2826:3: note: in expansion of macro 'DUK_BW_ENSURE' 2826 | DUK_BW_ENSURE((thr), (bw_ctx), duk__val_len); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38448:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_CSTRING' 38448 | DUK_BW_WRITE_ENSURE_CSTRING(js_ctx->thr, &js_ctx->bw, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2827:42: warning: use of old-style cast to 'void*' [-Wold-style-cast] 2827 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) duk__val, duk__val_len); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38448:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_CSTRING' 38448 | DUK_BW_WRITE_ENSURE_CSTRING(js_ctx->thr, &js_ctx->bw, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2827:60: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 2827 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) duk__val, duk__val_len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38448:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_CSTRING' 38448 | DUK_BW_WRITE_ENSURE_CSTRING(js_ctx->thr, &js_ctx->bw, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2827:3: note: in expansion of macro 'duk_memcpy_unsafe' 2827 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) duk__val, duk__val_len); \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38448:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_CSTRING' 38448 | DUK_BW_WRITE_ENSURE_CSTRING(js_ctx->thr, &js_ctx->bw, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__emit_stridx(duk_json_enc_ctx*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2834:3: note: in expansion of macro 'DUK_BW_ENSURE' 2834 | DUK_BW_ENSURE((thr), (bw_ctx), duk__val_len); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38459:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 38459 | DUK_BW_WRITE_ENSURE_HSTRING(js_ctx->thr, &js_ctx->bw, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2835:42: warning: use of old-style cast to 'void*' [-Wold-style-cast] 2835 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38459:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 38459 | DUK_BW_WRITE_ENSURE_HSTRING(js_ctx->thr, &js_ctx->bw, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2835:60: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 2835 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38459:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 38459 | DUK_BW_WRITE_ENSURE_HSTRING(js_ctx->thr, &js_ctx->bw, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2835:60: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 2835 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38459:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 38459 | DUK_BW_WRITE_ENSURE_HSTRING(js_ctx->thr, &js_ctx->bw, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2835:3: note: in expansion of macro 'duk_memcpy_unsafe' 2835 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38459:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 38459 | DUK_BW_WRITE_ENSURE_HSTRING(js_ctx->thr, &js_ctx->bw, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint8_t* duk__emit_esc_auto_fast(duk_json_enc_ctx*, duk_uint_fast32_t, duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38468:32: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 38468 | (((duk_uint_fast32_t) (nybbles)) << 16) | (((duk_uint_fast32_t) (esc1)) << 8) | ((duk_uint_fast32_t) (esc2)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38487:10: note: in expansion of macro 'DUK__MKESC' 38487 | tmp = DUK__MKESC(2, DUK_ASC_BACKSLASH, DUK_ASC_LC_X); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38468:71: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 38468 | (((duk_uint_fast32_t) (nybbles)) << 16) | (((duk_uint_fast32_t) (esc1)) << 8) | ((duk_uint_fast32_t) (esc2)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38487:10: note: in expansion of macro 'DUK__MKESC' 38487 | tmp = DUK__MKESC(2, DUK_ASC_BACKSLASH, DUK_ASC_LC_X); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38468:108: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 38468 | (((duk_uint_fast32_t) (nybbles)) << 16) | (((duk_uint_fast32_t) (esc1)) << 8) | ((duk_uint_fast32_t) (esc2)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38487:10: note: in expansion of macro 'DUK__MKESC' 38487 | tmp = DUK__MKESC(2, DUK_ASC_BACKSLASH, DUK_ASC_LC_X); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38468:32: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 38468 | (((duk_uint_fast32_t) (nybbles)) << 16) | (((duk_uint_fast32_t) (esc1)) << 8) | ((duk_uint_fast32_t) (esc2)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38489:10: note: in expansion of macro 'DUK__MKESC' 38489 | tmp = DUK__MKESC(4, DUK_ASC_BACKSLASH, DUK_ASC_LC_U); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38468:71: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 38468 | (((duk_uint_fast32_t) (nybbles)) << 16) | (((duk_uint_fast32_t) (esc1)) << 8) | ((duk_uint_fast32_t) (esc2)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38489:10: note: in expansion of macro 'DUK__MKESC' 38489 | tmp = DUK__MKESC(4, DUK_ASC_BACKSLASH, DUK_ASC_LC_U); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38468:108: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 38468 | (((duk_uint_fast32_t) (nybbles)) << 16) | (((duk_uint_fast32_t) (esc1)) << 8) | ((duk_uint_fast32_t) (esc2)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38489:10: note: in expansion of macro 'DUK__MKESC' 38489 | tmp = DUK__MKESC(4, DUK_ASC_BACKSLASH, DUK_ASC_LC_U); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38468:32: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 38468 | (((duk_uint_fast32_t) (nybbles)) << 16) | (((duk_uint_fast32_t) (esc1)) << 8) | ((duk_uint_fast32_t) (esc2)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38494:9: note: in expansion of macro 'DUK__MKESC' 38494 | tmp = DUK__MKESC(4, DUK_ASC_BACKSLASH, DUK_ASC_LC_U); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38468:71: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 38468 | (((duk_uint_fast32_t) (nybbles)) << 16) | (((duk_uint_fast32_t) (esc1)) << 8) | ((duk_uint_fast32_t) (esc2)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38494:9: note: in expansion of macro 'DUK__MKESC' 38494 | tmp = DUK__MKESC(4, DUK_ASC_BACKSLASH, DUK_ASC_LC_U); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38468:108: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 38468 | (((duk_uint_fast32_t) (nybbles)) << 16) | (((duk_uint_fast32_t) (esc1)) << 8) | ((duk_uint_fast32_t) (esc2)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38494:9: note: in expansion of macro 'DUK__MKESC' 38494 | tmp = DUK__MKESC(4, DUK_ASC_BACKSLASH, DUK_ASC_LC_U); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38468:32: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 38468 | (((duk_uint_fast32_t) (nybbles)) << 16) | (((duk_uint_fast32_t) (esc1)) << 8) | ((duk_uint_fast32_t) (esc2)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38498:10: note: in expansion of macro 'DUK__MKESC' 38498 | tmp = DUK__MKESC(8, DUK_ASC_BACKSLASH, DUK_ASC_UC_U); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38468:71: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 38468 | (((duk_uint_fast32_t) (nybbles)) << 16) | (((duk_uint_fast32_t) (esc1)) << 8) | ((duk_uint_fast32_t) (esc2)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38498:10: note: in expansion of macro 'DUK__MKESC' 38498 | tmp = DUK__MKESC(8, DUK_ASC_BACKSLASH, DUK_ASC_UC_U); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38468:108: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 38468 | (((duk_uint_fast32_t) (nybbles)) << 16) | (((duk_uint_fast32_t) (esc1)) << 8) | ((duk_uint_fast32_t) (esc2)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38498:10: note: in expansion of macro 'DUK__MKESC' 38498 | tmp = DUK__MKESC(8, DUK_ASC_BACKSLASH, DUK_ASC_UC_U); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38468:32: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 38468 | (((duk_uint_fast32_t) (nybbles)) << 16) | (((duk_uint_fast32_t) (esc1)) << 8) | ((duk_uint_fast32_t) (esc2)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38507:10: note: in expansion of macro 'DUK__MKESC' 38507 | tmp = DUK__MKESC(8, DUK_ASC_UC_U, DUK_ASC_PLUS); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38468:71: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 38468 | (((duk_uint_fast32_t) (nybbles)) << 16) | (((duk_uint_fast32_t) (esc1)) << 8) | ((duk_uint_fast32_t) (esc2)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38507:10: note: in expansion of macro 'DUK__MKESC' 38507 | tmp = DUK__MKESC(8, DUK_ASC_UC_U, DUK_ASC_PLUS); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38468:108: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 38468 | (((duk_uint_fast32_t) (nybbles)) << 16) | (((duk_uint_fast32_t) (esc1)) << 8) | ((duk_uint_fast32_t) (esc2)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38507:10: note: in expansion of macro 'DUK__MKESC' 38507 | tmp = DUK__MKESC(8, DUK_ASC_UC_U, DUK_ASC_PLUS); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38511:41: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 38511 | *q++ = (duk_uint8_t) ((tmp >> 8) & 0xff); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38512:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 38512 | *q++ = (duk_uint8_t) (tmp & 0xff); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38517:53: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 38517 | dig = (duk_small_uint_t) ((cp >> (4 * tmp)) & 0x0f); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_enc_key_autoquote(duk_json_enc_ctx*, duk_hstring*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38540:34: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 38540 | p_start = (const duk_int8_t *) DUK_HSTRING_GET_DATA(k); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_int8_t*' {aka 'const signed char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38540:34: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 38540 | p_start = (const duk_int8_t *) DUK_HSTRING_GET_DATA(k); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38548:31: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 38548 | cp = (duk_codepoint_t) (*p++); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38553:32: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 38553 | cp = (duk_codepoint_t) (*p++); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_enc_quote_string(duk_json_enc_ctx*, duk_hstring*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38584:12: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 38584 | p_start = DUK_HSTRING_GET_DATA(h_str); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38425:83: warning: use of old-style cast to 'duk_uint_fast8_t' {aka 'unsigned int'} [-Wold-style-cast] 38425 | #define DUK__EMIT_1(js_ctx, ch) duk__emit_1((js_ctx), (duk_uint_fast8_t) (ch)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38588:2: note: in expansion of macro 'DUK__EMIT_1' 38588 | DUK__EMIT_1(js_ctx, DUK_ASC_DOUBLEQUOTE); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38597:33: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 38597 | left = (duk_size_t) (p_end - p); | ^ | ------------------------ | static_cast ( (p_end - p)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:43: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2590:47: note: in expansion of macro 'DUK_BW_ENSURE_RAW' 2590 | #define DUK_BW_ENSURE_GETPTR(thr, bw_ctx, sz) DUK_BW_ENSURE_RAW((thr), (bw_ctx), (sz), (bw_ctx)->p) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38606:7: note: in expansion of macro 'DUK_BW_ENSURE_GETPTR' 38606 | q = DUK_BW_ENSURE_GETPTR(thr, &js_ctx->bw, space); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38620:35: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 38620 | *q++ = (duk_uint8_t) (b - 0x80); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38622:38: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 38622 | cp = (duk_ucodepoint_t) (*(p - 1)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38627:29: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 38627 | cp = (duk_ucodepoint_t) 0x7f; | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2445:100: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 2445 | #define DUK_RAW_WRITEINC_XUTF8(ptr, val) duk_raw_writeinc_xutf8(&(ptr), (duk_ucodepoint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38697:6: note: in expansion of macro 'DUK_RAW_WRITEINC_XUTF8' 38697 | DUK_RAW_WRITEINC_XUTF8(q, cp); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38425:83: warning: use of old-style cast to 'duk_uint_fast8_t' {aka 'unsigned int'} [-Wold-style-cast] 38425 | #define DUK__EMIT_1(js_ctx, ch) duk__emit_1((js_ctx), (duk_uint_fast8_t) (ch)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38705:2: note: in expansion of macro 'DUK__EMIT_1' 38705 | DUK__EMIT_1(js_ctx, DUK_ASC_DOUBLEQUOTE); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_enc_double(duk_json_enc_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38726:7: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 38726 | tv = DUK_GET_TVAL_NEGIDX(thr, -1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint8_t* duk__json_enc_buffer_data_hex(const duk_uint8_t*, duk_size_t, duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38818:42: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 38818 | shift_dst = (duk_bool_t) (((duk_size_t) dst) & 0x01U); | ^~~ | ---------------- | reinterpret_cast ( dst) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38818:54: warning: use of old-style cast to 'duk_bool_t' {aka 'unsigned int'} [-Wold-style-cast] 38818 | shift_dst = (duk_bool_t) (((duk_size_t) dst) & 0x01U); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38821:43: warning: use of old-style cast to 'void*' [-Wold-style-cast] 38821 | q16 = (duk_uint16_t *) (void *) (dst + 1); | ^ | ------------------ | static_cast ( (dst + 1)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38821:43: warning: use of old-style cast to 'duk_uint16_t*' {aka 'short unsigned int*'} [-Wold-style-cast] 38821 | q16 = (duk_uint16_t *) (void *) (dst + 1); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38824:35: warning: use of old-style cast to 'void*' [-Wold-style-cast] 38824 | q16 = (duk_uint16_t *) (void *) dst; | ^~~ | ------------ | static_cast ( dst) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38824:35: warning: use of old-style cast to 'duk_uint16_t*' {aka 'short unsigned int*'} [-Wold-style-cast] 38824 | q16 = (duk_uint16_t *) (void *) dst; | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38837:22: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 38837 | q = (duk_uint8_t *) q16; | ^~~ | ------------------- | reinterpret_cast ( q16) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38842:24: warning: use of old-style cast to 'void*' [-Wold-style-cast] 38842 | duk_memmove((void *) dst, (const void *) (dst + 1), 2 * len_safe); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3050:21: note: in definition of macro 'duk_memmove' 3050 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38842:52: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 38842 | duk_memmove((void *) dst, (const void *) (dst + 1), 2 * len_safe); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3051:27: note: in definition of macro 'duk_memmove' 3051 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3055:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3055 | (void) DUK_MEMMOVE(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38842:3: note: in expansion of macro 'duk_memmove' 38842 | duk_memmove((void *) dst, (const void *) (dst + 1), 2 * len_safe); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_enc_buffer_data(duk_json_enc_ctx*, duk_uint8_t*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:43: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2590:47: note: in expansion of macro 'DUK_BW_ENSURE_RAW' 2590 | #define DUK_BW_ENSURE_GETPTR(thr, bw_ctx, sz) DUK_BW_ENSURE_RAW((thr), (bw_ctx), (sz), (bw_ctx)->p) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38899:6: note: in expansion of macro 'DUK_BW_ENSURE_GETPTR' 38899 | q = DUK_BW_ENSURE_GETPTR(thr, &js_ctx->bw, space); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38918:23: warning: use of old-style cast to 'void*' [-Wold-style-cast] 38918 | duk_memcpy((void *) q, (const void *) "{\"_buf\":\"", 9); /* len: 9 */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38918:41: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 38918 | duk_memcpy((void *) q, (const void *) "{\"_buf\":\"", 9); /* len: 9 */ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38918:3: note: in expansion of macro 'duk_memcpy' 38918 | duk_memcpy((void *) q, (const void *) "{\"_buf\":\"", 9); /* len: 9 */ | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_enc_buffer_jx_jc(duk_json_enc_ctx*, duk_hbuffer*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38931:44: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 38931 | (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(js_ctx->thr->heap, h), | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38931:44: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 38931 | (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(js_ctx->thr->heap, h), | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38931:44: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 38931 | (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(js_ctx->thr->heap, h), | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38931:44: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 38931 | (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(js_ctx->thr->heap, h), | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38931:44: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 38931 | (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(js_ctx->thr->heap, h), | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38931:44: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 38931 | (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(js_ctx->thr->heap, h), | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38931:44: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 38931 | (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(js_ctx->thr->heap, h), | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38932:41: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 38932 | (duk_size_t) DUK_HBUFFER_GET_SIZE(h)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38932:41: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 38932 | (duk_size_t) DUK_HBUFFER_GET_SIZE(h)); | ^~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_enc_pointer(duk_json_enc_ctx*, void*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38991:2: note: in expansion of macro 'duk_memzero' 38991 | duk_memzero(buf, sizeof(buf)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_enc_bufobj(duk_json_enc_ctx*, duk_hbufobj*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7944:33: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 7944 | ((h)->offset + (h)->length <= DUK_HBUFFER_GET_SIZE((h)->buf))) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39025:32: note: in expansion of macro 'DUK_HBUFOBJ_VALID_SLICE' 39025 | if (h_bufobj->buf == NULL || !DUK_HBUFOBJ_VALID_SLICE(h_bufobj)) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39030:45: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 39030 | (duk_uint8_t *) DUK_HBUFOBJ_GET_SLICE_BASE(js_ctx->thr->heap, h_bufobj), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39030:45: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 39030 | (duk_uint8_t *) DUK_HBUFOBJ_GET_SLICE_BASE(js_ctx->thr->heap, h_bufobj), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39030:45: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 39030 | (duk_uint8_t *) DUK_HBUFOBJ_GET_SLICE_BASE(js_ctx->thr->heap, h_bufobj), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39030:45: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 39030 | (duk_uint8_t *) DUK_HBUFOBJ_GET_SLICE_BASE(js_ctx->thr->heap, h_bufobj), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39030:45: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 39030 | (duk_uint8_t *) DUK_HBUFOBJ_GET_SLICE_BASE(js_ctx->thr->heap, h_bufobj), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39030:45: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 39030 | (duk_uint8_t *) DUK_HBUFOBJ_GET_SLICE_BASE(js_ctx->thr->heap, h_bufobj), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:21: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39030:45: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 39030 | (duk_uint8_t *) DUK_HBUFOBJ_GET_SLICE_BASE(js_ctx->thr->heap, h_bufobj), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7926:79: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 7926 | (((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39030:45: note: in expansion of macro 'DUK_HBUFOBJ_GET_SLICE_BASE' 39030 | (duk_uint8_t *) DUK_HBUFOBJ_GET_SLICE_BASE(js_ctx->thr->heap, h_bufobj), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39031:52: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 39031 | (duk_size_t) h_bufobj->length); | ^~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_enc_newline_indent(duk_json_enc_ctx*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38425:83: warning: use of old-style cast to 'duk_uint_fast8_t' {aka 'unsigned int'} [-Wold-style-cast] 38425 | #define DUK__EMIT_1(js_ctx, ch) duk__emit_1((js_ctx), (duk_uint_fast8_t) (ch)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39062:2: note: in expansion of macro 'DUK__EMIT_1' 39062 | DUK__EMIT_1(js_ctx, 0x0a); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39073:35: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 39073 | gap_data = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(js_ctx->h_gap); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39073:35: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 39073 | gap_data = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(js_ctx->h_gap); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39074:25: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 39074 | gap_len = (duk_size_t) DUK_HSTRING_GET_BYTELEN(js_ctx->h_gap); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:43: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2590:47: note: in expansion of macro 'DUK_BW_ENSURE_RAW' 2590 | #define DUK_BW_ENSURE_GETPTR(thr, bw_ctx, sz) DUK_BW_ENSURE_RAW((thr), (bw_ctx), (sz), (bw_ctx)->p) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39078:6: note: in expansion of macro 'DUK_BW_ENSURE_GETPTR' 39078 | p = DUK_BW_ENSURE_GETPTR(js_ctx->thr, &js_ctx->bw, need_bytes); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39081:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 39081 | duk_memcpy((void *) p, (const void *) gap_data, (size_t) gap_len); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39081:40: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 39081 | duk_memcpy((void *) p, (const void *) gap_data, (size_t) gap_len); | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39081:59: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 39081 | duk_memcpy((void *) p, (const void *) gap_data, (size_t) gap_len); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39081:2: note: in expansion of macro 'duk_memcpy' 39081 | duk_memcpy((void *) p, (const void *) gap_data, (size_t) gap_len); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39088:23: warning: use of old-style cast to 'void*' [-Wold-style-cast] 39088 | duk_memcpy((void *) p, (const void *) p_start, (size_t) avail_bytes); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39088:41: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 39088 | duk_memcpy((void *) p, (const void *) p_start, (size_t) avail_bytes); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39088:59: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 39088 | duk_memcpy((void *) p, (const void *) p_start, (size_t) avail_bytes); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39088:3: note: in expansion of macro 'duk_memcpy' 39088 | duk_memcpy((void *) p, (const void *) p_start, (size_t) avail_bytes); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39095:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 39095 | duk_memcpy((void *) p, (const void *) p_start, (size_t) need_bytes); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39095:40: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 39095 | duk_memcpy((void *) p, (const void *) p_start, (size_t) need_bytes); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39095:58: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 39095 | duk_memcpy((void *) p, (const void *) p_start, (size_t) need_bytes); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39095:2: note: in expansion of macro 'duk_memcpy' 39095 | duk_memcpy((void *) p, (const void *) p_start, (size_t) need_bytes); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_enc_objarr_entry(duk_json_enc_ctx*, duk_idx_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39127:4: note: in expansion of macro 'DUK_ERROR_TYPE' 39127 | DUK_ERROR_TYPE(thr, DUK_STR_CYCLIC_INPUT); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39127:4: note: in expansion of macro 'DUK_ERROR_TYPE' 39127 | DUK_ERROR_TYPE(thr, DUK_STR_CYCLIC_INPUT); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39127:4: note: in expansion of macro 'DUK_ERROR_TYPE' 39127 | DUK_ERROR_TYPE(thr, DUK_STR_CYCLIC_INPUT); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39134:51: warning: use of old-style cast to 'void*' [-Wold-style-cast] 39134 | duk_push_sprintf(thr, DUK_STR_FMT_PTR, (void *) h_target); | ^~~~~~~~ | ----------------- | static_cast ( h_target) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39137:4: note: in expansion of macro 'DUK_ERROR_TYPE' 39137 | DUK_ERROR_TYPE(thr, DUK_STR_CYCLIC_INPUT); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39137:4: note: in expansion of macro 'DUK_ERROR_TYPE' 39137 | DUK_ERROR_TYPE(thr, DUK_STR_CYCLIC_INPUT); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39137:4: note: in expansion of macro 'DUK_ERROR_TYPE' 39137 | DUK_ERROR_TYPE(thr, DUK_STR_CYCLIC_INPUT); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39149:3: note: in expansion of macro 'DUK_ERROR_RANGE' 39149 | DUK_ERROR_RANGE(thr, DUK_STR_ENC_RECLIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_enc_objarr_exit(duk_json_enc_ctx*, duk_idx_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39177:51: warning: use of old-style cast to 'void*' [-Wold-style-cast] 39177 | duk_push_sprintf(thr, DUK_STR_FMT_PTR, (void *) h_target); | ^~~~~~~~ | ----------------- | static_cast ( h_target) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_enc_object(duk_json_enc_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38425:83: warning: use of old-style cast to 'duk_uint_fast8_t' {aka 'unsigned int'} [-Wold-style-cast] 38425 | #define DUK__EMIT_1(js_ctx, ch) duk__emit_1((js_ctx), (duk_uint_fast8_t) (ch)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39225:2: note: in expansion of macro 'DUK__EMIT_1' 39225 | DUK__EMIT_1(js_ctx, DUK_ASC_LCURLY); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39233:56: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 39233 | arr_len = (duk_uarridx_t) duk_get_length(thr, idx_keys); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39246:15: note: in expansion of macro 'DUK_BW_GET_SIZE' 39246 | prev_size = DUK_BW_GET_SIZE(js_ctx->thr, &js_ctx->bw); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38426:84: warning: use of old-style cast to 'duk_uint_fast8_t' {aka 'unsigned int'} [-Wold-style-cast] 38426 | #define DUK__EMIT_2(js_ctx, ch1, ch2) duk__emit_2((js_ctx), (duk_uint_fast8_t) (ch1), (duk_uint_fast8_t) (ch2)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39250:4: note: in expansion of macro 'DUK__EMIT_2' 39250 | DUK__EMIT_2(js_ctx, DUK_ASC_COLON, DUK_ASC_SPACE); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38426:110: warning: use of old-style cast to 'duk_uint_fast8_t' {aka 'unsigned int'} [-Wold-style-cast] 38426 | #define DUK__EMIT_2(js_ctx, ch1, ch2) duk__emit_2((js_ctx), (duk_uint_fast8_t) (ch1), (duk_uint_fast8_t) (ch2)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39250:4: note: in expansion of macro 'DUK__EMIT_2' 39250 | DUK__EMIT_2(js_ctx, DUK_ASC_COLON, DUK_ASC_SPACE); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38425:83: warning: use of old-style cast to 'duk_uint_fast8_t' {aka 'unsigned int'} [-Wold-style-cast] 38425 | #define DUK__EMIT_1(js_ctx, ch) duk__emit_1((js_ctx), (duk_uint_fast8_t) (ch)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39253:4: note: in expansion of macro 'DUK__EMIT_1' 39253 | DUK__EMIT_1(js_ctx, DUK_ASC_COLON); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38425:83: warning: use of old-style cast to 'duk_uint_fast8_t' {aka 'unsigned int'} [-Wold-style-cast] 38425 | #define DUK__EMIT_1(js_ctx, ch) duk__emit_1((js_ctx), (duk_uint_fast8_t) (ch)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39264:4: note: in expansion of macro 'DUK__EMIT_1' 39264 | DUK__EMIT_1(js_ctx, DUK_ASC_COMMA); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38425:83: warning: use of old-style cast to 'duk_uint_fast8_t' {aka 'unsigned int'} [-Wold-style-cast] 38425 | #define DUK__EMIT_1(js_ctx, ch) duk__emit_1((js_ctx), (duk_uint_fast8_t) (ch)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39279:2: note: in expansion of macro 'DUK__EMIT_1' 39279 | DUK__EMIT_1(js_ctx, DUK_ASC_RCURLY); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__json_enc_array(duk_json_enc_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38425:83: warning: use of old-style cast to 'duk_uint_fast8_t' {aka 'unsigned int'} [-Wold-style-cast] 38425 | #define DUK__EMIT_1(js_ctx, ch) duk__emit_1((js_ctx), (duk_uint_fast8_t) (ch)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39305:2: note: in expansion of macro 'DUK__EMIT_1' 39305 | DUK__EMIT_1(js_ctx, DUK_ASC_LBRACKET); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39307:55: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 39307 | arr_len = (duk_uarridx_t) duk_get_length(thr, idx_arr); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39320:53: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 39320 | (void) duk_push_uint_to_hstring(thr, (duk_uint_t) i); /* -> [ ... key ] */ | ^ | -------------- | static_cast ( i) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38425:83: warning: use of old-style cast to 'duk_uint_fast8_t' {aka 'unsigned int'} [-Wold-style-cast] 38425 | #define DUK__EMIT_1(js_ctx, ch) duk__emit_1((js_ctx), (duk_uint_fast8_t) (ch)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39333:3: note: in expansion of macro 'DUK__EMIT_1' 39333 | DUK__EMIT_1(js_ctx, DUK_ASC_COMMA); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38425:83: warning: use of old-style cast to 'duk_uint_fast8_t' {aka 'unsigned int'} [-Wold-style-cast] 38425 | #define DUK__EMIT_1(js_ctx, ch) duk__emit_1((js_ctx), (duk_uint_fast8_t) (ch)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39345:2: note: in expansion of macro 'DUK__EMIT_1' 39345 | DUK__EMIT_1(js_ctx, DUK_ASC_RBRACKET); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__json_enc_value(duk_json_enc_ctx*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39368:14: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 39368 | tv_holder = DUK_GET_TVAL_POSIDX(thr, idx_holder); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39370:11: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 39370 | tv_key = DUK_GET_TVAL_NEGIDX(thr, -1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39385:3: note: in expansion of macro 'duk_get_prop_stridx_short' 39385 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_TO_JSON); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39385:3: note: in expansion of macro 'duk_get_prop_stridx_short' 39385 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_TO_JSON); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39417:7: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 39417 | tv = DUK_GET_TVAL_NEGIDX(thr, -1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39418:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 39418 | if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39421:7: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 39421 | h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39429:31: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 39429 | h_bufobj = (duk_hbufobj *) h; | ^ | ----------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4801:90: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 4801 | #define DUK_HEAPHDR_GET_FLAG_RANGE(h, m, n) (((h)->h_flags >> (m)) & ((1UL << (n)) - 1UL)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6618:2: note: in expansion of macro 'DUK_HEAPHDR_GET_FLAG_RANGE' 6618 | DUK_HEAPHDR_GET_FLAG_RANGE(&(h)->hdr, DUK_HOBJECT_FLAG_CLASS_BASE, DUK_HOBJECT_FLAG_CLASS_BITS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39437:25: note: in expansion of macro 'DUK_HOBJECT_GET_CLASS_NUMBER' 39437 | c = (duk_small_int_t) DUK_HOBJECT_GET_CLASS_NUMBER(h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:71: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39461:4: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 39461 | duk_xget_owndataprop_stridx_short(thr, -1, DUK_STRIDX_INT_VALUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:104: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39461:4: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 39461 | duk_xget_owndataprop_stridx_short(thr, -1, DUK_STRIDX_INT_VALUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39504:7: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 39504 | tv = DUK_GET_TVAL_NEGIDX(thr, -1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39506:10: note: in expansion of macro 'DUK_TVAL_GET_TAG' 39506 | switch (DUK_TVAL_GET_TAG(tv)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1147:78: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1147 | #define DUK_TVAL_GET_BOOLEAN(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:38431:65: note: in definition of macro 'DUK__EMIT_STRIDX' 38431 | #define DUK__EMIT_STRIDX(js_ctx, i) duk__emit_stridx((js_ctx), (i)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39519:28: note: in expansion of macro 'DUK_TVAL_GET_BOOLEAN' 39519 | DUK__EMIT_STRIDX(js_ctx, DUK_TVAL_GET_BOOLEAN(tv) ? DUK_STRIDX_TRUE : DUK_STRIDX_FALSE); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1168:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 1168 | #define DUK_TVAL_GET_POINTER(tv) ((void *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39525:33: note: in expansion of macro 'DUK_TVAL_GET_POINTER' 39525 | duk__json_enc_pointer(js_ctx, DUK_TVAL_GET_POINTER(tv)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39530:20: note: in expansion of macro 'DUK_TVAL_GET_STRING' 39530 | duk_hstring *h = DUK_TVAL_GET_STRING(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39539:20: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 39539 | duk_hobject *h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1167:85: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 1167 | #define DUK_TVAL_GET_BUFFER(tv) ((duk_hbuffer *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39563:39: note: in expansion of macro 'DUK_TVAL_GET_BUFFER' 39563 | duk__json_enc_buffer_jx_jc(js_ctx, DUK_TVAL_GET_BUFFER(tv)); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__json_enc_allow_into_proplist(duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1181:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1181 | #define DUK_TVAL_IS_STRING(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39625:6: note: in expansion of macro 'DUK_TVAL_IS_STRING' 39625 | if (DUK_TVAL_IS_STRING(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39627:7: note: in expansion of macro 'DUK_TVAL_GET_STRING' 39627 | h = DUK_TVAL_GET_STRING(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39633:13: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 39633 | } else if (DUK_TVAL_IS_NUMBER(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39635:13: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 39635 | } else if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39637:7: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 39637 | h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4801:90: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 4801 | #define DUK_HEAPHDR_GET_FLAG_RANGE(h, m, n) (((h)->h_flags >> (m)) & ((1UL << (n)) - 1UL)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6618:2: note: in expansion of macro 'DUK_HEAPHDR_GET_FLAG_RANGE' 6618 | DUK_HEAPHDR_GET_FLAG_RANGE(&(h)->hdr, DUK_HOBJECT_FLAG_CLASS_BASE, DUK_HOBJECT_FLAG_CLASS_BITS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:39639:25: note: in expansion of macro 'DUK_HOBJECT_GET_CLASS_NUMBER' 39639 | c = (duk_small_int_t) DUK_HOBJECT_GET_CLASS_NUMBER(h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_bi_json_parse_helper(duk_hthread*, duk_idx_t, duk_idx_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40172:2: note: in expansion of macro 'duk_memzero' 40172 | duk_memzero(&js_ctx_alloc, sizeof(js_ctx_alloc)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40202:42: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 40202 | js_ctx->p_start = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_text); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40202:42: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 40202 | js_ctx->p_start = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_text); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40204:41: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 40204 | js_ctx->p_end = ((const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_text)) + DUK_HSTRING_GET_BYTELEN(h_text); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40204:41: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 40204 | js_ctx->p_end = ((const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_text)) + DUK_HSTRING_GET_BYTELEN(h_text); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40225:3: note: in expansion of macro 'duk_put_prop_stridx_short' 40225 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_EMPTY_STRING); /* default attrs ok */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40225:3: note: in expansion of macro 'duk_put_prop_stridx_short' 40225 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_EMPTY_STRING); /* default attrs ok */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_bi_json_stringify_helper(duk_hthread*, duk_idx_t, duk_idx_t, duk_idx_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40283:2: note: in expansion of macro 'duk_memzero' 40283 | duk_memzero(&js_ctx_alloc, sizeof(js_ctx_alloc)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40429:92: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 40429 | nspace = (duk_small_int_t) duk_to_int_clamped(thr, idx_space, 0 /*minval*/, 10 /*maxval*/); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40432:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 40432 | duk_push_lstring(thr, spaces, (duk_size_t) nspace); | ^~~~~~ | ------------------- | static_cast ( nspace) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40520:2: note: in expansion of macro 'duk_put_prop_stridx_short' 40520 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_EMPTY_STRING); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40520:2: note: in expansion of macro 'duk_put_prop_stridx_short' 40520 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_EMPTY_STRING); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2526:52: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 2526 | duk_push_lstring((thr), (const char *) (bw_ctx)->p_base, (duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40545:3: note: in expansion of macro 'DUK_BW_PUSH_AS_STRING' 40545 | DUK_BW_PUSH_AS_STRING(thr, &js_ctx->bw); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2526:104: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2526 | duk_push_lstring((thr), (const char *) (bw_ctx)->p_base, (duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40545:3: note: in expansion of macro 'DUK_BW_PUSH_AS_STRING' 40545 | DUK_BW_PUSH_AS_STRING(thr, &js_ctx->bw); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk__math_minmax(duk_hthread*, duk_double_t, duk__two_arg_func)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40655:47: warning: use of old-style cast to 'double' [-Wold-style-cast] 40655 | res = (duk_double_t) min_max(res, (double) t); | ^ | ---------- | static_cast ( t) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40655:48: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 40655 | res = (duk_double_t) min_max(res, (double) t); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_math_object_onearg_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40909:51: warning: use of old-style cast to 'double' [-Wold-style-cast] 40909 | duk_push_number(thr, (duk_double_t) fun((double) arg1)); | ^~~~ | ------------- | static_cast ( arg1) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40909:55: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 40909 | duk_push_number(thr, (duk_double_t) fun((double) arg1)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_math_object_twoarg_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40924:51: warning: use of old-style cast to 'double' [-Wold-style-cast] 40924 | duk_push_number(thr, (duk_double_t) fun((double) arg1, (double) arg2)); | ^~~~ | ------------- | static_cast ( arg1) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40924:66: warning: use of old-style cast to 'double' [-Wold-style-cast] 40924 | duk_push_number(thr, (duk_double_t) fun((double) arg1, (double) arg2)); | ^~~~ | ------------- | static_cast ( arg2) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40924:70: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 40924 | duk_push_number(thr, (duk_double_t) fun((double) arg1, (double) arg2)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_math_object_random(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40937:68: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 40937 | duk_push_number(thr, (duk_double_t) duk_util_get_random_double(thr)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_math_object_hypot(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41004:50: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 41004 | duk_push_number(thr, (duk_double_t) DUK_SQRT(sum) * max); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_math_object_imul(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41097:34: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 41097 | duk_push_i32(thr, (duk_int32_t) z); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5992:65: note: in definition of macro 'duk_push_i32' 5992 | #define duk_push_i32(thr, val) duk_push_int((thr), (duk_int_t) (val)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5992:68: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 5992 | #define duk_push_i32(thr, val) duk_push_int((thr), (duk_int_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41097:2: note: in expansion of macro 'duk_push_i32' 41097 | duk_push_i32(thr, (duk_int32_t) z); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk__push_this_number_plain(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41126:3: note: in expansion of macro 'DUK_ERROR_TYPE' 41126 | DUK_ERROR_TYPE(thr, "number expected"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41126:3: note: in expansion of macro 'DUK_ERROR_TYPE' 41126 | DUK_ERROR_TYPE(thr, "number expected"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41126:3: note: in expansion of macro 'DUK_ERROR_TYPE' 41126 | DUK_ERROR_TYPE(thr, "number expected"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:71: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41129:2: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 41129 | duk_xget_owndataprop_stridx_short(thr, -1, DUK_STRIDX_INT_VALUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:104: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41129:2: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 41129 | duk_xget_owndataprop_stridx_short(thr, -1, DUK_STRIDX_INT_VALUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_number_constructor(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41186:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 41186 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41186:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 41186 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41186:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 41186 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_number_prototype_to_string(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41203:65: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 41203 | radix = (duk_small_int_t) duk_to_int_check_range(thr, 0, 2, 36); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_number_prototype_to_fixed(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41236:70: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 41236 | frac_digits = (duk_small_int_t) duk_to_int_check_range(thr, 0, 0, 20); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_number_prototype_to_exponential(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41275:70: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 41275 | frac_digits = (duk_small_int_t) duk_to_int_check_range(thr, 0, 0, 20); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_number_prototype_to_precision(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41314:63: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 41314 | prec = (duk_small_int_t) duk_to_int_check_range(thr, 0, 1, 21); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_object_constructor(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41412:36: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 41412 | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_OBJECT), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_object_constructor_create(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41474:42: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 41474 | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_OBJECT), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_object_constructor_seal_freeze_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41574:68: warning: use of old-style cast to 'duk_bool_t' {aka 'unsigned int'} [-Wold-style-cast] 41574 | duk_seal_freeze_raw(thr, 0, (duk_bool_t) duk_get_current_magic(thr) /*is_freeze*/); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_object_constructor_is_sealed_frozen_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41585:52: warning: use of old-style cast to 'duk_bool_t' {aka 'unsigned int'} [-Wold-style-cast] 41585 | is_frozen = (duk_bool_t) duk_get_current_magic(thr); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_object_prototype_to_locale_string(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41607:2: note: in expansion of macro 'duk_get_prop_stridx_short' 41607 | duk_get_prop_stridx_short(thr, 0, DUK_STRIDX_TO_STRING); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41607:2: note: in expansion of macro 'duk_get_prop_stridx_short' 41607 | duk_get_prop_stridx_short(thr, 0, DUK_STRIDX_TO_STRING); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_object_prototype_has_own_property(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41653:85: warning: use of old-style cast to 'duk_ret_t' {aka 'int'} [-Wold-style-cast] 41653 | return (duk_ret_t) duk_hobject_object_ownprop_helper(thr, 0 /*required_desc_flags*/); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_object_prototype_property_is_enumerable(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41659:112: warning: use of old-style cast to 'duk_ret_t' {aka 'int'} [-Wold-style-cast] 41659 | return (duk_ret_t) duk_hobject_object_ownprop_helper(thr, DUK_PROPDESC_FLAG_ENUMERABLE /*required_desc_flags*/); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_object_getprototype_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41692:7: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 41692 | tv = DUK_GET_TVAL_POSIDX(thr, 0); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41694:10: note: in expansion of macro 'DUK_TVAL_GET_TAG' 41694 | switch (DUK_TVAL_GET_TAG(tv)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41702:7: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 41702 | h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41709:3: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 41709 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_object_setprototype_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41810:3: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 41810 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_object_constructor_define_property(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41845:54: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 41845 | magic = (duk_small_uint_t) duk_get_current_magic(thr); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_object_constructor_keys_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41988:7: note: in expansion of macro 'duk_get_prop_stridx_short' 41988 | if (!duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_OWN_KEYS)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:41988:7: note: in expansion of macro 'duk_get_prop_stridx_short' 41988 | if (!duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_OWN_KEYS)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_object_prototype_lookupaccessor(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42112:4: note: in expansion of macro 'DUK_ERROR_RANGE' 42112 | DUK_ERROR_RANGE(thr, DUK_STR_PROTOTYPE_CHAIN_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_pointer_constructor(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42179:37: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 42179 | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_POINTER), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42184:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 42184 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42184:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 42184 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42184:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 42184 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_pointer_prototype_tostring_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1184:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1184 | #define DUK_TVAL_IS_POINTER(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_POINTER) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42203:6: note: in expansion of macro 'DUK_TVAL_IS_POINTER' 42203 | if (DUK_TVAL_IS_POINTER(tv)) { | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42205:13: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 42205 | } else if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42206:20: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 42206 | duk_hobject *h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:71: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42214:3: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 42214 | duk_xget_owndataprop_stridx_short(thr, -1, DUK_STRIDX_INT_VALUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:104: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42214:3: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 42214 | duk_xget_owndataprop_stridx_short(thr, -1, DUK_STRIDX_INT_VALUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42225:2: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 42225 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_proxy_ownkeys_postprocess(duk_hthread*, duk_hobject*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42289:46: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 42289 | len = (duk_uarridx_t) duk_get_length(thr, -1); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10380:71: note: in expansion of macro 'DUK_LINE_MACRO' 10380 | duk_err_type_invalid_trap_result((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42300:4: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_TRAP_RESULT' 42300 | DUK_ERROR_TYPE_INVALID_TRAP_RESULT(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5996:74: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5996 | #define duk_push_uarridx(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42336:3: note: in expansion of macro 'duk_push_uarridx' 42336 | duk_push_uarridx(thr, idx++); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_reflect_object_delete_property(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42392:11: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 42392 | tv_obj = DUK_GET_TVAL_POSIDX(thr, 0); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42393:11: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 42393 | tv_key = DUK_GET_TVAL_POSIDX(thr, 1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_reflect_object_get(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10298:3: note: in expansion of macro 'DUK_ERROR' 10298 | DUK_ERROR((thr), DUK_ERR_ERROR, DUK_STR_UNSUPPORTED); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42410:3: note: in expansion of macro 'DUK_ERROR_UNSUPPORTED' 42410 | DUK_ERROR_UNSUPPORTED(thr); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10298:3: note: in expansion of macro 'DUK_ERROR' 10298 | DUK_ERROR((thr), DUK_ERR_ERROR, DUK_STR_UNSUPPORTED); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42410:3: note: in expansion of macro 'DUK_ERROR_UNSUPPORTED' 42410 | DUK_ERROR_UNSUPPORTED(thr); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10298:3: note: in expansion of macro 'DUK_ERROR' 10298 | DUK_ERROR((thr), DUK_ERR_ERROR, DUK_STR_UNSUPPORTED); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42410:3: note: in expansion of macro 'DUK_ERROR_UNSUPPORTED' 42410 | DUK_ERROR_UNSUPPORTED(thr); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42416:11: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 42416 | tv_obj = DUK_GET_TVAL_POSIDX(thr, 0); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42417:11: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 42417 | tv_key = DUK_GET_TVAL_POSIDX(thr, 1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_reflect_object_has(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42434:11: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 42434 | tv_obj = DUK_GET_TVAL_POSIDX(thr, 0); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42435:11: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 42435 | tv_key = DUK_GET_TVAL_POSIDX(thr, 1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_reflect_object_set(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10298:3: note: in expansion of macro 'DUK_ERROR' 10298 | DUK_ERROR((thr), DUK_ERR_ERROR, DUK_STR_UNSUPPORTED); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42454:3: note: in expansion of macro 'DUK_ERROR_UNSUPPORTED' 42454 | DUK_ERROR_UNSUPPORTED(thr); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10298:3: note: in expansion of macro 'DUK_ERROR' 10298 | DUK_ERROR((thr), DUK_ERR_ERROR, DUK_STR_UNSUPPORTED); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42454:3: note: in expansion of macro 'DUK_ERROR_UNSUPPORTED' 42454 | DUK_ERROR_UNSUPPORTED(thr); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10298:3: note: in expansion of macro 'DUK_ERROR' 10298 | DUK_ERROR((thr), DUK_ERR_ERROR, DUK_STR_UNSUPPORTED); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42454:3: note: in expansion of macro 'DUK_ERROR_UNSUPPORTED' 42454 | DUK_ERROR_UNSUPPORTED(thr); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42460:11: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 42460 | tv_obj = DUK_GET_TVAL_POSIDX(thr, 0); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42461:11: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 42461 | tv_key = DUK_GET_TVAL_POSIDX(thr, 1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42462:11: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 42462 | tv_val = DUK_GET_TVAL_POSIDX(thr, 2); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_regexp_constructor(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42510:3: note: in expansion of macro 'duk_get_prop_stridx_short' 42510 | duk_get_prop_stridx_short(thr, 0, DUK_STRIDX_SOURCE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42510:3: note: in expansion of macro 'duk_get_prop_stridx_short' 42510 | duk_get_prop_stridx_short(thr, 0, DUK_STRIDX_SOURCE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_regexp_prototype_flags(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42619:38: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 42619 | duk_push_string(thr, (const char *) buf); | ^~~ | ------------------ | reinterpret_cast ( buf) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_regexp_prototype_shared_getter(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:71: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42637:3: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 42637 | duk_xget_owndataprop_stridx_short(thr, 0, DUK_STRIDX_INT_SOURCE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:104: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42637:3: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 42637 | duk_xget_owndataprop_stridx_short(thr, 0, DUK_STRIDX_INT_SOURCE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:71: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42638:3: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 42638 | duk_xget_owndataprop_stridx_short(thr, 0, DUK_STRIDX_INT_BYTECODE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:104: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42638:3: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 42638 | duk_xget_owndataprop_stridx_short(thr, 0, DUK_STRIDX_INT_BYTECODE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42640:33: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 42640 | re_flags = (duk_small_uint_t) DUK_HSTRING_GET_DATA(h_bc)[0]; /* Safe even if h_bc length is 0 (= NUL) */ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42640:61: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 42640 | re_flags = (duk_small_uint_t) DUK_HSTRING_GET_DATA(h_bc)[0]; /* Safe even if h_bc length is 0 (= NUL) */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42654:3: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 42654 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hstring* duk__str_tostring_notregexp(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42721:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 42721 | DUK_ERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk__str_search_shared(duk_hthread*, duk_hstring*, duk_hstring*, duk_int_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42746:12: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 42746 | q_start = DUK_HSTRING_GET_DATA(h_search); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:46: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42747:23: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 42747 | q_blen = (duk_int_t) DUK_HSTRING_GET_BYTELEN(h_search); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42753:84: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 42753 | bpos = (duk_int_t) duk_heap_strcache_offset_char2byte(thr, h_this, (duk_uint32_t) cpos); | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42753:88: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 42753 | bpos = (duk_int_t) duk_heap_strcache_offset_char2byte(thr, h_this, (duk_uint32_t) cpos); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42755:12: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 42755 | p_start = DUK_HSTRING_GET_DATA(h_this); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42775:51: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 42775 | if ((t == firstbyte) && ((duk_size_t) (p_end - p) >= (duk_size_t) q_blen)) { | ^ | ------------------------ | static_cast ( (p_end - p)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42775:69: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 42775 | if ((t == firstbyte) && ((duk_size_t) (p_end - p) >= (duk_size_t) q_blen)) { | ^~~~~~ | ------------------- | static_cast ( q_blen) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42777:34: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 42777 | if (duk_memcmp((const void *) p, (const void *) q_start, (size_t) q_blen) == 0) { | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42777:52: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 42777 | if (duk_memcmp((const void *) p, (const void *) q_start, (size_t) q_blen) == 0) { | ^~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42777:70: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 42777 | if (duk_memcmp((const void *) p, (const void *) q_start, (size_t) q_blen) == 0) { | ^~~~~~ | --------------- | static_cast ( q_blen) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_constructor(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42839:11: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 42839 | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_STRING); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42842:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 42842 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42842:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 42842 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42842:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 42842 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VALUE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk__construct_from_codepoints(duk_hthread*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42864:44: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 42864 | DUK_BW_INIT_PUSHBUF(thr, bw, (duk_size_t) n); /* initial estimate for ASCII only codepoints */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2513:41: note: in definition of macro 'DUK_BW_INIT_PUSHBUF' 2513 | duk_bw_init_pushbuf((thr), (bw_ctx), (sz)); \ | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10319:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10319 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_ARGS); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10323:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_ARGS' 10323 | DUK_ERROR_RANGE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42879:5: note: in expansion of macro 'DUK_DCERROR_RANGE_INVALID_ARGS' 42879 | DUK_DCERROR_RANGE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42882:28: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 42882 | cp = (duk_ucodepoint_t) i32; | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2805:3: note: in expansion of macro 'DUK_BW_ENSURE' 2805 | DUK_BW_ENSURE((thr), (bw_ctx), DUK_UNICODE_MAX_CESU8_LENGTH); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42883:4: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_CESU8' 42883 | DUK_BW_WRITE_ENSURE_CESU8(thr, bw, cp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2686:35: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 2686 | duk__cp = (duk_ucodepoint_t) (cp); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2806:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_CESU8' 2806 | DUK_BW_WRITE_RAW_CESU8((thr), (bw_ctx), (cp)); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42883:4: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_CESU8' 42883 | DUK_BW_WRITE_ENSURE_CESU8(thr, bw, cp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42891:48: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 42891 | cp = (duk_ucodepoint_t) duk_to_uint32(thr, i); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2800:3: note: in expansion of macro 'DUK_BW_ENSURE' 2800 | DUK_BW_ENSURE((thr), (bw_ctx), DUK_UNICODE_MAX_XUTF8_LENGTH); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42892:4: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_XUTF8' 42892 | DUK_BW_WRITE_ENSURE_XUTF8(thr, bw, cp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2677:35: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 2677 | duk__cp = (duk_ucodepoint_t) (cp); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2801:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_XUTF8' 2801 | DUK_BW_WRITE_RAW_XUTF8((thr), (bw_ctx), (cp)); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42892:4: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_XUTF8' 42892 | DUK_BW_WRITE_ENSURE_XUTF8(thr, bw, cp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_to_string(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1181:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1181 | #define DUK_TVAL_IS_STRING(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42927:6: note: in expansion of macro 'DUK_TVAL_IS_STRING' 42927 | if (DUK_TVAL_IS_STRING(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42929:13: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 42929 | } else if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42930:20: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 42930 | duk_hobject *h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:71: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42938:3: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 42938 | duk_xget_owndataprop_stridx_short(thr, -1, DUK_STRIDX_INT_VALUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:104: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42938:3: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 42938 | duk_xget_owndataprop_stridx_short(thr, -1, DUK_STRIDX_INT_VALUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42948:2: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 42948 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_char_at(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42975:39: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 42975 | duk_substring(thr, -1, (duk_size_t) pos, (duk_size_t) pos + 1U); | ^~~ | ---------------- | static_cast ( pos) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42975:57: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 42975 | duk_substring(thr, -1, (duk_size_t) pos, (duk_size_t) pos + 1U); | ^~~ | ---------------- | static_cast ( pos) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42980:44: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 42980 | if (DUK_UNLIKELY(pos < 0 || (duk_uint_t) pos >= (duk_uint_t) DUK_HSTRING_GET_CHARLEN(h))) { | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6413:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6413 | #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42980:64: note: in expansion of macro 'DUK_HSTRING_GET_CHARLEN' 42980 | if (DUK_UNLIKELY(pos < 0 || (duk_uint_t) pos >= (duk_uint_t) DUK_HSTRING_GET_CHARLEN(h))) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42983:40: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 42983 | duk_substring(thr, -1, (duk_size_t) pos, (duk_size_t) pos + 1U); | ^~~ | ---------------- | static_cast ( pos) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42983:58: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 42983 | duk_substring(thr, -1, (duk_size_t) pos, (duk_size_t) pos + 1U); | ^~~ | ---------------- | static_cast ( pos) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_char_code_at(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6413:63: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 6413 | #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43008:43: note: in expansion of macro 'DUK_HSTRING_GET_CHARLEN' 43008 | (duk_int_t) DUK_HSTRING_GET_CHARLEN(h) - 1 /*max(incl)*/, | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43026:73: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 43026 | cp = (duk_uint32_t) duk_hstring_char_code_at_raw(thr, h, (duk_uint_t) pos, (duk_bool_t) magic /*surrogate_aware*/); | ^~~ | ---------------- | static_cast ( pos) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43026:91: warning: use of old-style cast to 'duk_bool_t' {aka 'unsigned int'} [-Wold-style-cast] 43026 | cp = (duk_uint32_t) duk_hstring_char_code_at_raw(thr, h, (duk_uint_t) pos, (duk_bool_t) magic /*surrogate_aware*/); | ^~~~~ | ------------------ | static_cast ( magic) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43026:116: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 43026 | cp = (duk_uint32_t) duk_hstring_char_code_at_raw(thr, h, (duk_uint_t) pos, (duk_bool_t) magic /*surrogate_aware*/); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:70: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43027:3: note: in expansion of macro 'duk_push_u32' 43027 | duk_push_u32(thr, cp); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_substring(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6413:63: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 6413 | #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43047:20: note: in expansion of macro 'DUK_HSTRING_GET_CHARLEN' 43047 | len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43068:38: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 43068 | duk_substring(thr, -1, (duk_size_t) start_pos, (duk_size_t) end_pos); | ^~~~~~~~~ | ---------------------- | static_cast ( start_pos) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43068:62: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 43068 | duk_substring(thr, -1, (duk_size_t) start_pos, (duk_size_t) end_pos); | ^~~~~~~ | -------------------- | static_cast ( end_pos) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_substr(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6413:63: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 6413 | #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43085:20: note: in expansion of macro 'DUK_HSTRING_GET_CHARLEN' 43085 | len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43112:38: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 43112 | duk_substring(thr, -1, (duk_size_t) start_pos, (duk_size_t) end_pos); | ^~~~~~~~~ | ---------------------- | static_cast ( start_pos) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43112:62: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 43112 | duk_substring(thr, -1, (duk_size_t) start_pos, (duk_size_t) end_pos); | ^~~~~~~ | -------------------- | static_cast ( end_pos) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_slice(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6413:63: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 6413 | #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43124:20: note: in expansion of macro 'DUK_HSTRING_GET_CHARLEN' 43124 | len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43149:38: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 43149 | duk_substring(thr, -1, (duk_size_t) start_pos, (duk_size_t) end_pos); | ^~~~~~~~~ | ---------------------- | static_cast ( start_pos) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43149:62: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 43149 | duk_substring(thr, -1, (duk_size_t) start_pos, (duk_size_t) end_pos); | ^~~~~~~ | -------------------- | static_cast ( end_pos) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_caseconv_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43161:52: warning: use of old-style cast to 'duk_bool_t' {aka 'unsigned int'} [-Wold-style-cast] 43161 | duk_unicode_case_convert_string(thr, (duk_bool_t) uppercase); | ^~~~~~~~~ | ---------------------- | static_cast ( uppercase) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_indexof_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43174:80: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 43174 | duk_small_uint_t is_lastindexof = (duk_small_uint_t) duk_get_current_magic(thr); /* 0=indexOf, 1=lastIndexOf */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6413:63: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 6413 | #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43178:26: note: in expansion of macro 'DUK_HSTRING_GET_CHARLEN' 43178 | clen_this = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h_this); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_replace(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43258:4: note: in expansion of macro 'duk_put_prop_stridx_short' 43258 | duk_put_prop_stridx_short(thr, 0, DUK_STRIDX_LAST_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43258:4: note: in expansion of macro 'duk_put_prop_stridx_short' 43258 | duk_put_prop_stridx_short(thr, 0, DUK_STRIDX_LAST_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43281:13: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 43281 | r_start = DUK_HSTRING_GET_DATA(h_repl); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43323:4: note: in expansion of macro 'duk_get_prop_stridx_short' 43323 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43323:4: note: in expansion of macro 'duk_get_prop_stridx_short' 43323 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43339:5: note: in expansion of macro 'duk_get_prop_stridx_short' 43339 | duk_get_prop_stridx_short(thr, 0, DUK_STRIDX_LAST_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43339:5: note: in expansion of macro 'duk_get_prop_stridx_short' 43339 | duk_get_prop_stridx_short(thr, 0, DUK_STRIDX_LAST_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43340:53: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 43340 | last_index = (duk_uint32_t) duk_get_uint(thr, -1); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43345:52: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 43345 | duk_push_uint(thr, (duk_uint_t) (last_index + 1)); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43346:5: note: in expansion of macro 'duk_put_prop_stridx_short' 43346 | duk_put_prop_stridx_short(thr, 0, DUK_STRIDX_LAST_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43346:5: note: in expansion of macro 'duk_put_prop_stridx_short' 43346 | duk_put_prop_stridx_short(thr, 0, DUK_STRIDX_LAST_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43350:51: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 43350 | match_caps = (duk_int_t) duk_get_length(thr, -1); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43364:14: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 43364 | p_start = DUK_HSTRING_GET_DATA(h_input); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43366:26: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 43366 | p_blen = (duk_size_t) DUK_HSTRING_GET_BYTELEN(h_input); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43370:14: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 43370 | q_start = DUK_HSTRING_GET_DATA(h_search); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43371:26: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 43371 | q_blen = (duk_size_t) DUK_HSTRING_GET_BYTELEN(h_search); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43384:35: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 43384 | if (duk_memcmp((const void *) p, (const void *) q_start, (size_t) q_blen) == 0) { | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43384:53: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 43384 | if (duk_memcmp((const void *) p, (const void *) q_start, (size_t) q_blen) == 0) { | ^~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43384:71: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 43384 | if (duk_memcmp((const void *) p, (const void *) q_start, (size_t) q_blen) == 0) { | ^~~~~~ | --------------- | static_cast ( q_blen) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43412:102: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 43412 | match_start_boff = (duk_uint32_t) duk_heap_strcache_offset_char2byte(thr, h_input, match_start_coff); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43414:64: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 43414 | tmp_sz = (duk_size_t) (match_start_boff - prev_match_end_boff); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2814:33: note: in definition of macro 'DUK_BW_WRITE_ENSURE_BYTES' 2814 | duk__valptr = (const void *) (valptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43415:38: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 43415 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + prev_match_end_boff, tmp_sz); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2814:39: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 2814 | duk__valptr = (const void *) (valptr); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43415:3: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_BYTES' 43415 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + prev_match_end_boff, tmp_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2815:35: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2815 | duk__valsz = (duk_size_t) (valsz); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43415:3: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_BYTES' 43415 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + prev_match_end_boff, tmp_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2816:3: note: in expansion of macro 'DUK_BW_ENSURE' 2816 | DUK_BW_ENSURE((thr), (bw_ctx), duk__valsz); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43415:3: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_BYTES' 43415 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + prev_match_end_boff, tmp_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2817:42: warning: use of old-style cast to 'void*' [-Wold-style-cast] 2817 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), duk__valptr, duk__valsz); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43415:3: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_BYTES' 43415 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + prev_match_end_boff, tmp_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2817:3: note: in expansion of macro 'duk_memcpy_unsafe' 2817 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), duk__valptr, duk__valsz); \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43415:3: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_BYTES' 43415 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + prev_match_end_boff, tmp_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43434:49: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 43434 | duk_get_prop_index(thr, 4, (duk_uarridx_t) idx); | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43443:36: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 43443 | duk_push_uint(thr, (duk_uint_t) match_start_coff); | ^~~~~~~~~~~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2834:3: note: in expansion of macro 'DUK_BW_ENSURE' 2834 | DUK_BW_ENSURE((thr), (bw_ctx), duk__val_len); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43452:4: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 43452 | DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_repl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2835:42: warning: use of old-style cast to 'void*' [-Wold-style-cast] 2835 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43452:4: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 43452 | DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_repl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2835:60: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 2835 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43452:4: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 43452 | DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_repl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2835:60: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 2835 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43452:4: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 43452 | DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_repl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2835:3: note: in expansion of macro 'duk_memcpy_unsafe' 2835 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43452:4: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 43452 | DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_repl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43471:35: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 43471 | left = (duk_size_t) (r_end - r); | ^ | ------------------------ | static_cast ( (r_end - r)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2834:3: note: in expansion of macro 'DUK_BW_ENSURE' 2834 | DUK_BW_ENSURE((thr), (bw_ctx), duk__val_len); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43484:6: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 43484 | DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_match); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2835:42: warning: use of old-style cast to 'void*' [-Wold-style-cast] 2835 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43484:6: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 43484 | DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_match); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2835:60: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 2835 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43484:6: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 43484 | DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_match); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2835:60: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 2835 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43484:6: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 43484 | DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_match); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2835:3: note: in expansion of macro 'duk_memcpy_unsafe' 2835 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43484:6: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 43484 | DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_match); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43489:28: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 43489 | tmp_sz = (duk_size_t) match_start_boff; | ^~~~~~~~~~~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2814:33: note: in definition of macro 'DUK_BW_WRITE_ENSURE_BYTES' 2814 | duk__valptr = (const void *) (valptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43490:41: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 43490 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input), tmp_sz); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2814:39: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 2814 | duk__valptr = (const void *) (valptr); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43490:6: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_BYTES' 43490 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input), tmp_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2815:35: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2815 | duk__valsz = (duk_size_t) (valsz); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43490:6: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_BYTES' 43490 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input), tmp_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2816:3: note: in expansion of macro 'DUK_BW_ENSURE' 2816 | DUK_BW_ENSURE((thr), (bw_ctx), duk__valsz); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43490:6: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_BYTES' 43490 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input), tmp_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2817:42: warning: use of old-style cast to 'void*' [-Wold-style-cast] 2817 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), duk__valptr, duk__valsz); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43490:6: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_BYTES' 43490 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input), tmp_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2817:3: note: in expansion of macro 'duk_memcpy_unsafe' 2817 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), duk__valptr, duk__valsz); \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43490:6: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_BYTES' 43490 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input), tmp_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6413:63: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 6413 | #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43504:49: note: in expansion of macro 'DUK_HSTRING_GET_CHARLEN' 43504 | match_start_coff + (duk_uint_fast32_t) DUK_HSTRING_GET_CHARLEN(h_match)); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43504:81: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 43501 | match_end_boff = (duk_uint32_t) duk_heap_strcache_offset_char2byte( | - | static_cast< - | > ( ...... 43504 | match_start_coff + (duk_uint_fast32_t) DUK_HSTRING_GET_CHARLEN(h_match)); | ^ | ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43506:78: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 43506 | tmp_sz = (duk_size_t) (DUK_HSTRING_GET_BYTELEN(h_input) - match_end_boff); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2814:33: note: in definition of macro 'DUK_BW_WRITE_ENSURE_BYTES' 2814 | duk__valptr = (const void *) (valptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43507:41: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 43507 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + match_end_boff, tmp_sz); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2814:39: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 2814 | duk__valptr = (const void *) (valptr); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43507:6: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_BYTES' 43507 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + match_end_boff, tmp_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2815:35: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2815 | duk__valsz = (duk_size_t) (valsz); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43507:6: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_BYTES' 43507 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + match_end_boff, tmp_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2816:3: note: in expansion of macro 'DUK_BW_ENSURE' 2816 | DUK_BW_ENSURE((thr), (bw_ctx), duk__valsz); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43507:6: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_BYTES' 43507 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + match_end_boff, tmp_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2817:42: warning: use of old-style cast to 'void*' [-Wold-style-cast] 2817 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), duk__valptr, duk__valsz); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43507:6: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_BYTES' 43507 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + match_end_boff, tmp_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2817:3: note: in expansion of macro 'duk_memcpy_unsafe' 2817 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), duk__valptr, duk__valsz); \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43507:6: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_BYTES' 43507 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + match_end_boff, tmp_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43543:50: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 43543 | duk_get_prop_index(thr, 4, (duk_uarridx_t) capnum); | ^~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2834:3: note: in expansion of macro 'DUK_BW_ENSURE' 2834 | DUK_BW_ENSURE((thr), (bw_ctx), duk__val_len); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43549:8: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 43549 | DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_tmp_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2835:42: warning: use of old-style cast to 'void*' [-Wold-style-cast] 2835 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43549:8: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 43549 | DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_tmp_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2835:60: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 2835 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43549:8: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 43549 | DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_tmp_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2835:60: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 2835 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43549:8: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 43549 | DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_tmp_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2835:3: note: in expansion of macro 'duk_memcpy_unsafe' 2835 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43549:8: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 43549 | DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_tmp_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2770:3: note: in expansion of macro 'DUK_BW_ENSURE' 2770 | DUK_BW_ENSURE((thr), (bw_ctx), 1); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43568:5: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_U8' 43568 | DUK_BW_WRITE_ENSURE_U8(thr, bw, (duk_uint8_t) (ch1 & 0xff)); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43568:62: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 43568 | DUK_BW_WRITE_ENSURE_U8(thr, bw, (duk_uint8_t) (ch1 & 0xff)); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2616:35: note: in definition of macro 'DUK_BW_WRITE_RAW_U8' 2616 | *(bw_ctx)->p++ = (duk_uint8_t) (val); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43568:5: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_U8' 43568 | DUK_BW_WRITE_ENSURE_U8(thr, bw, (duk_uint8_t) (ch1 & 0xff)); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2616:38: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2616 | *(bw_ctx)->p++ = (duk_uint8_t) (val); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2771:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8' 2771 | DUK_BW_WRITE_RAW_U8((thr), (bw_ctx), (val)); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43568:5: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_U8' 43568 | DUK_BW_WRITE_ENSURE_U8(thr, bw, (duk_uint8_t) (ch1 & 0xff)); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43585:79: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 43585 | tmp_sz = (duk_size_t) (DUK_HSTRING_GET_BYTELEN(h_input) - prev_match_end_boff); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2814:33: note: in definition of macro 'DUK_BW_WRITE_ENSURE_BYTES' 2814 | duk__valptr = (const void *) (valptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43586:37: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 43586 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + prev_match_end_boff, tmp_sz); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2814:39: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 2814 | duk__valptr = (const void *) (valptr); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43586:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_BYTES' 43586 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + prev_match_end_boff, tmp_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2815:35: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2815 | duk__valsz = (duk_size_t) (valsz); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43586:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_BYTES' 43586 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + prev_match_end_boff, tmp_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2816:3: note: in expansion of macro 'DUK_BW_ENSURE' 2816 | DUK_BW_ENSURE((thr), (bw_ctx), duk__valsz); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43586:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_BYTES' 43586 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + prev_match_end_boff, tmp_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2817:42: warning: use of old-style cast to 'void*' [-Wold-style-cast] 2817 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), duk__valptr, duk__valsz); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43586:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_BYTES' 43586 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + prev_match_end_boff, tmp_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2817:3: note: in expansion of macro 'duk_memcpy_unsafe' 2817 | duk_memcpy_unsafe((void *) ((bw_ctx)->p), duk__valptr, duk__valsz); \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43586:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_BYTES' 43586 | DUK_BW_WRITE_ENSURE_BYTES(thr, bw, DUK_HSTRING_GET_DATA(h_input) + prev_match_end_boff, tmp_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_split(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43694:4: note: in expansion of macro 'duk_get_prop_stridx_short' 43694 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43694:4: note: in expansion of macro 'duk_get_prop_stridx_short' 43694 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43697:103: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 43697 | match_start_boff = (duk_uint32_t) duk_heap_strcache_offset_char2byte(thr, h_input, match_start_coff); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43706:4: note: in expansion of macro 'duk_get_prop_stridx_short' 43706 | duk_get_prop_stridx_short(thr, 0, DUK_STRIDX_LAST_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43706:4: note: in expansion of macro 'duk_get_prop_stridx_short' 43706 | duk_get_prop_stridx_short(thr, 0, DUK_STRIDX_LAST_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43709:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 43709 | match_end_boff = (duk_uint32_t) duk_heap_strcache_offset_char2byte(thr, h_input, match_end_coff); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43714:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 43714 | duk_push_uint(thr, (duk_uint_t) (match_end_coff + 1)); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43715:5: note: in expansion of macro 'duk_put_prop_stridx_short' 43715 | duk_put_prop_stridx_short(thr, 0, DUK_STRIDX_LAST_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43715:5: note: in expansion of macro 'duk_put_prop_stridx_short' 43715 | duk_put_prop_stridx_short(thr, 0, DUK_STRIDX_LAST_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43727:14: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 43727 | p_start = DUK_HSTRING_GET_DATA(h_input); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43732:14: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 43732 | q_start = DUK_HSTRING_GET_DATA(h_sep); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43733:26: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 43733 | q_blen = (duk_size_t) DUK_HSTRING_GET_BYTELEN(h_sep); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6413:63: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6413 | #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43734:26: note: in expansion of macro 'DUK_HSTRING_GET_CHARLEN' 43734 | q_clen = (duk_size_t) DUK_HSTRING_GET_CHARLEN(h_sep); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43766:35: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 43766 | if (duk_memcmp((const void *) p, (const void *) q_start, (size_t) q_blen) == 0) { | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43766:53: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 43766 | if (duk_memcmp((const void *) p, (const void *) q_start, (size_t) q_blen) == 0) { | ^~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43766:71: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 43766 | if (duk_memcmp((const void *) p, (const void *) q_start, (size_t) q_blen) == 0) { | ^~~~~~ | --------------- | static_cast ( q_blen) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43784:50: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 43784 | match_start_boff = (duk_uint32_t) (p - p_start); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43785:62: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 43785 | match_end_coff = (duk_uint32_t) (match_start_coff + q_clen); /* constrained by string length */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43786:62: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 43786 | match_end_boff = (duk_uint32_t) (match_start_boff + q_blen); /* ditto */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43812:36: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 43812 | (const char *) (DUK_HSTRING_GET_DATA(h_input) + prev_match_end_boff), | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43812:87: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 43812 | (const char *) (DUK_HSTRING_GET_DATA(h_input) + prev_match_end_boff), | ^ | -------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43813:72: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 43813 | (duk_size_t) (match_start_boff - prev_match_end_boff)); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43827:48: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 43827 | duk_get_prop_index(thr, 4, (duk_uarridx_t) i); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43861:35: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 43861 | (const char *) DUK_HSTRING_GET_DATA(h_input) + prev_match_end_boff, | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43861:35: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 43861 | (const char *) DUK_HSTRING_GET_DATA(h_input) + prev_match_end_boff, | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43862:88: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 43862 | (duk_size_t) (DUK_HSTRING_GET_BYTELEN(h_input) - prev_match_end_boff)); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_search(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43942:2: note: in expansion of macro 'duk_get_prop_stridx_short' 43942 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43942:2: note: in expansion of macro 'duk_get_prop_stridx_short' 43942 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_match(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43975:2: note: in expansion of macro 'duk_put_prop_stridx_short' 43975 | duk_put_prop_stridx_short(thr, 0, DUK_STRIDX_LAST_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43975:2: note: in expansion of macro 'duk_put_prop_stridx_short' 43975 | duk_put_prop_stridx_short(thr, 0, DUK_STRIDX_LAST_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43995:3: note: in expansion of macro 'duk_get_prop_stridx_short' 43995 | duk_get_prop_stridx_short(thr, 0, DUK_STRIDX_LAST_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43995:3: note: in expansion of macro 'duk_get_prop_stridx_short' 43995 | duk_get_prop_stridx_short(thr, 0, DUK_STRIDX_LAST_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44003:4: note: in expansion of macro 'duk_put_prop_stridx_short' 44003 | duk_put_prop_stridx_short(thr, 0, DUK_STRIDX_LAST_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44003:4: note: in expansion of macro 'duk_put_prop_stridx_short' 44003 | duk_put_prop_stridx_short(thr, 0, DUK_STRIDX_LAST_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44008:46: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 44008 | duk_put_prop_index(thr, 2, (duk_uarridx_t) arr_idx); | ^~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_repeat(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44072:23: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 44072 | count = (duk_uint_t) count_signed; | ^~~~~~~~~~~~ | ------------ | static_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44081:68: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 44081 | buf = (duk_uint8_t *) duk_push_fixed_buffer_nozero(thr, result_len); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44083:30: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 44083 | src = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_input); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44083:30: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 44083 | src = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_input); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44100:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 44100 | duk_size_t remain = (duk_size_t) (p_end - p); | ^ | ------------------------ | static_cast ( (p_end - p)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44110:24: warning: use of old-style cast to 'void*' [-Wold-style-cast] 44110 | duk_memcpy((void *) p, (const void *) src, remain); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44110:42: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 44110 | duk_memcpy((void *) p, (const void *) src, remain); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44110:4: note: in expansion of macro 'duk_memcpy' 44110 | duk_memcpy((void *) p, (const void *) src, remain); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44113:24: warning: use of old-style cast to 'void*' [-Wold-style-cast] 44113 | duk_memcpy((void *) p, (const void *) src, copy_size); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44113:42: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 44113 | duk_memcpy((void *) p, (const void *) src, copy_size); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44113:4: note: in expansion of macro 'duk_memcpy' 44113 | duk_memcpy((void *) p, (const void *) src, copy_size); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44117:31: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 44117 | src = (const duk_uint8_t *) buf; /* Use buf as source for larger copies. */ | ^~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44118:36: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 44118 | copy_size = (duk_size_t) (p - buf); | ^ | ---------------------- | static_cast ( (p - buf)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10319:3: note: in expansion of macro 'DUK_ERROR_RANGE' 10319 | DUK_ERROR_RANGE((thr), DUK_STR_INVALID_ARGS); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10323:3: note: in expansion of macro 'DUK_ERROR_RANGE_INVALID_ARGS' 10323 | DUK_ERROR_RANGE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44135:2: note: in expansion of macro 'DUK_DCERROR_RANGE_INVALID_ARGS' 44135 | DUK_DCERROR_RANGE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_locale_compare(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44164:24: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 44164 | h1_len = (duk_size_t) DUK_HSTRING_GET_BYTELEN(h1); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44165:24: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 44165 | h2_len = (duk_size_t) DUK_HSTRING_GET_BYTELEN(h2); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44168:51: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 44168 | rc = (duk_small_int_t) duk_memcmp((const void *) DUK_HSTRING_GET_DATA(h1), | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44168:51: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 44168 | rc = (duk_small_int_t) duk_memcmp((const void *) DUK_HSTRING_GET_DATA(h1), | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44169:51: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 44169 | (const void *) DUK_HSTRING_GET_DATA(h2), | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44169:51: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 44169 | (const void *) DUK_HSTRING_GET_DATA(h2), | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44170:45: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 44170 | (size_t) prefix_len); | ^~~~~~~~~~ | ------------------- | static_cast ( prefix_len) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44170:55: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 44168 | rc = (duk_small_int_t) duk_memcmp((const void *) DUK_HSTRING_GET_DATA(h1), | - | static_cast< - | > ( 44169 | (const void *) DUK_HSTRING_GET_DATA(h2), 44170 | (size_t) prefix_len); | ^ | ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44192:32: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 44192 | duk_push_int(thr, (duk_int_t) ret); | ^~~ | --------------- | static_cast ( ret) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_startswith_endswith(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44238:22: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 44238 | off = (duk_int_t) blen_target - (duk_int_t) blen_search; | ^~~~~~~~~~~ | ----------------------- | static_cast ( blen_target) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44238:48: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 44238 | off = (duk_int_t) blen_target - (duk_int_t) blen_search; | ^~~~~~~~~~~ | ----------------------- | static_cast ( blen_search) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6413:63: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 6413 | #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44247:21: note: in expansion of macro 'DUK_HSTRING_GET_CHARLEN' 44247 | len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h_target); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44251:91: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 44251 | off = (duk_int_t) duk_heap_strcache_offset_char2byte(thr, h_target, (duk_uint_fast32_t) pos); | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44251:94: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 44251 | off = (duk_int_t) duk_heap_strcache_offset_char2byte(thr, h_target, (duk_uint_fast32_t) pos); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44253:23: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 44253 | off -= (duk_int_t) blen_search; | ^~~~~~~~~~~ | ----------------------- | static_cast ( blen_search) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44256:35: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 44256 | if (off < 0 || off > (duk_int_t) blen_target) { | ^~~~~~~~~~~ | ----------------------- | static_cast ( blen_target) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44269:41: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 44269 | blen_left = blen_target - (duk_size_t) off; | ^~~ | ---------------- | static_cast ( off) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44271:58: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 44271 | const duk_uint8_t *p_cmp_start = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_target) + off; | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44271:58: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 44271 | const duk_uint8_t *p_cmp_start = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_target) + off; | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44272:55: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 44272 | const duk_uint8_t *p_search = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_search); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44272:55: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 44272 | const duk_uint8_t *p_search = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_search); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44273:40: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 44273 | if (duk_memcmp_unsafe((const void *) p_cmp_start, (const void *) p_search, (size_t) blen_search) == 0) { | ^~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44273:68: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 44273 | if (duk_memcmp_unsafe((const void *) p_cmp_start, (const void *) p_search, (size_t) blen_search) == 0) { | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44273:87: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 44273 | if (duk_memcmp_unsafe((const void *) p_cmp_start, (const void *) p_search, (size_t) blen_search) == 0) { | ^~~~~~~~~~~ | -------------------- | static_cast ( blen_search) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_includes(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6413:63: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 6413 | #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44297:20: note: in expansion of macro 'DUK_HSTRING_GET_CHARLEN' 44297 | len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_symbol_constructor_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44335:59: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 44335 | desc = (const duk_uint8_t *) duk_to_lstring(thr, 0, &len); | ^ | - | reinterpret_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:775:48: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 775 | duk_push_buffer_raw((ctx), (size), 0 /*flags*/) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44345:24: note: in expansion of macro 'duk_push_fixed_buffer' 44345 | buf = (duk_uint8_t *) duk_push_fixed_buffer(thr, 1 + len + 1 + 17 + 1); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44349:29: warning: use of old-style cast to 'void*' [-Wold-style-cast] 44349 | duk_memcpy_unsafe((void *) p, (const void *) desc, len); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44349:47: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 44349 | duk_memcpy_unsafe((void *) p, (const void *) desc, len); | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44349:2: note: in expansion of macro 'duk_memcpy_unsafe' 44349 | duk_memcpy_unsafe((void *) p, (const void *) desc, len); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44359:29: warning: use of old-style cast to 'char*' [-Wold-style-cast] 44359 | p += DUK_SPRINTF((char *) p, | ^ | ---------- | reinterpret_cast ( p) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44362:60: warning: use of old-style cast to 'long unsigned int' [-Wold-style-cast] 44362 | (unsigned long) thr->heap->sym_counter[1], | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44363:60: warning: use of old-style cast to 'long unsigned int' [-Wold-style-cast] 44363 | (unsigned long) thr->heap->sym_counter[0]); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44377:39: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 44377 | duk_push_lstring(thr, (const char *) buf, (duk_size_t) (p - buf)); | ^~~ | ------------------ | reinterpret_cast ( buf) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44377:65: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 44377 | duk_push_lstring(thr, (const char *) buf, (duk_size_t) (p - buf)); | ^ | ---------------------- | static_cast ( (p - buf)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hstring* duk__auto_unbox_symbol(duk_hthread*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44393:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 44393 | if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44394:11: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 44394 | h_obj = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1181:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1181 | #define DUK_TVAL_IS_STRING(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44406:7: note: in expansion of macro 'DUK_TVAL_IS_STRING' 44406 | if (!DUK_TVAL_IS_STRING(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44409:10: note: in expansion of macro 'DUK_TVAL_GET_STRING' 44409 | h_str = DUK_TVAL_GET_STRING(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_symbol_key_for(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44448:28: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 44448 | p = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44448:28: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 44448 | p = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44456:46: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 44456 | duk_push_lstring(thr, (const char *) (p + 1), (duk_size_t) (DUK_HSTRING_GET_BYTELEN(h) - 1)); | ^ | ---------------------- | reinterpret_cast ( (p + 1)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44456:93: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 44456 | duk_push_lstring(thr, (const char *) (p + 1), (duk_size_t) (DUK_HSTRING_GET_BYTELEN(h) - 1)); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_thread_constructor(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44504:53: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 44504 | new_thr = (duk_hthread *) duk_known_hobject(thr, -1); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_thread_resume(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44533:37: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 44533 | duk_hthread *thr = (duk_hthread *) ctx; | ^~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44548:58: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 44548 | is_error = (duk_small_uint_t) duk_to_boolean_top_pop(thr); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44605:22: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 44605 | duk_push_tval(thr, DUK_GET_TVAL_NEGIDX(thr_resume, -1)); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44661:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 44661 | DUK_TVAL_SET_TVAL_UPDREF(thr, &thr->heap->lj.value2, &thr->valstack_bottom[0]); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44661:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 44661 | DUK_TVAL_SET_TVAL_UPDREF(thr, &thr->heap->lj.value2, &thr->valstack_bottom[0]); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44661:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 44661 | DUK_TVAL_SET_TVAL_UPDREF(thr, &thr->heap->lj.value2, &thr->valstack_bottom[0]); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44661:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 44661 | DUK_TVAL_SET_TVAL_UPDREF(thr, &thr->heap->lj.value2, &thr->valstack_bottom[0]); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44661:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 44661 | DUK_TVAL_SET_TVAL_UPDREF(thr, &thr->heap->lj.value2, &thr->valstack_bottom[0]); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44661:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 44661 | DUK_TVAL_SET_TVAL_UPDREF(thr, &thr->heap->lj.value2, &thr->valstack_bottom[0]); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44665:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 44665 | DUK_TVAL_SET_TVAL_UPDREF(thr, &thr->heap->lj.value1, &thr->valstack_bottom[1]); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44665:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 44665 | DUK_TVAL_SET_TVAL_UPDREF(thr, &thr->heap->lj.value1, &thr->valstack_bottom[1]); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44665:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 44665 | DUK_TVAL_SET_TVAL_UPDREF(thr, &thr->heap->lj.value1, &thr->valstack_bottom[1]); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44665:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 44665 | DUK_TVAL_SET_TVAL_UPDREF(thr, &thr->heap->lj.value1, &thr->valstack_bottom[1]); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44665:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 44665 | DUK_TVAL_SET_TVAL_UPDREF(thr, &thr->heap->lj.value1, &thr->valstack_bottom[1]); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44665:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 44665 | DUK_TVAL_SET_TVAL_UPDREF(thr, &thr->heap->lj.value1, &thr->valstack_bottom[1]); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10371:65: note: in expansion of macro 'DUK_LINE_MACRO' 10371 | duk_err_type_invalid_state((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10375:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_STATE' 10375 | DUK_ERROR_TYPE_INVALID_STATE((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44676:2: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_STATE' 44676 | DUK_DCERROR_TYPE_INVALID_STATE(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_thread_yield(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44708:58: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 44708 | is_error = (duk_small_uint_t) duk_to_boolean_top_pop(thr); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44782:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 44782 | DUK_TVAL_SET_TVAL_UPDREF(thr, &thr->heap->lj.value1, &thr->valstack_bottom[0]); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44782:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 44782 | DUK_TVAL_SET_TVAL_UPDREF(thr, &thr->heap->lj.value1, &thr->valstack_bottom[0]); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44782:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 44782 | DUK_TVAL_SET_TVAL_UPDREF(thr, &thr->heap->lj.value1, &thr->valstack_bottom[0]); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44782:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 44782 | DUK_TVAL_SET_TVAL_UPDREF(thr, &thr->heap->lj.value1, &thr->valstack_bottom[0]); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44782:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 44782 | DUK_TVAL_SET_TVAL_UPDREF(thr, &thr->heap->lj.value1, &thr->valstack_bottom[0]); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44782:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 44782 | DUK_TVAL_SET_TVAL_UPDREF(thr, &thr->heap->lj.value1, &thr->valstack_bottom[0]); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10371:65: note: in expansion of macro 'DUK_LINE_MACRO' 10371 | duk_err_type_invalid_state((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10375:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_STATE' 10375 | DUK_ERROR_TYPE_INVALID_STATE((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44793:2: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_STATE' 44793 | DUK_DCERROR_TYPE_INVALID_STATE(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_type_error_thrower(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10366:3: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 10366 | DUK_ERROR_TYPE_INVALID_ARGS((thr)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44810:2: note: in expansion of macro 'DUK_DCERROR_TYPE_INVALID_ARGS' 44810 | DUK_DCERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__add_traceback(duk_hthread*, duk_hthread*, const char*, duk_int_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49156:41: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 49156 | if (depth > (duk_int_t) thr_callstack->callstack_top) { | ^~~~~~~~~~~~~ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49157:38: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 49157 | depth = (duk_int_t) thr_callstack->callstack_top; | ^~~~~~~~~~~~~ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49183:60: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 49183 | tv = duk_push_harray_with_size_outptr(thr, (duk_uint32_t) arr_size); | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49193:3: note: in expansion of macro 'DUK_TVAL_SET_STRING' 49193 | DUK_TVAL_SET_STRING(tv, s); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49193:3: note: in expansion of macro 'DUK_TVAL_SET_STRING' 49193 | DUK_TVAL_SET_STRING(tv, s); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49193:3: note: in expansion of macro 'DUK_TVAL_SET_STRING' 49193 | DUK_TVAL_SET_STRING(tv, s); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49194:3: note: in expansion of macro 'DUK_HSTRING_INCREF' 49194 | DUK_HSTRING_INCREF(thr, s); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49194:3: note: in expansion of macro 'DUK_HSTRING_INCREF' 49194 | DUK_HSTRING_INCREF(thr, s); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49197:53: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 49197 | u32 = (duk_uint32_t) thr->compile_ctx->curr_token.start_line; /* (flags<<32) + (line), flags = 0 */ | ^~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1121:92: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 1121 | #define DUK_TVAL_SET_U32(tv, i) DUK_TVAL_SET_DOUBLE((tv), (duk_double_t) (i)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1115:18: note: in definition of macro 'DUK_TVAL_SET_DOUBLE' 1115 | duk__dblval = (d); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49198:3: note: in expansion of macro 'DUK_TVAL_SET_U32' 49198 | DUK_TVAL_SET_U32(tv, u32); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49211:7: note: in expansion of macro 'DUK_TVAL_GET_STRING' 49211 | s = DUK_TVAL_GET_STRING(thr->valstack_top - 2); /* interned c_filename */ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49213:3: note: in expansion of macro 'DUK_TVAL_SET_STRING' 49213 | DUK_TVAL_SET_STRING(tv, s); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49213:3: note: in expansion of macro 'DUK_TVAL_SET_STRING' 49213 | DUK_TVAL_SET_STRING(tv, s); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49213:3: note: in expansion of macro 'DUK_TVAL_SET_STRING' 49213 | DUK_TVAL_SET_STRING(tv, s); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49214:3: note: in expansion of macro 'DUK_HSTRING_INCREF' 49214 | DUK_HSTRING_INCREF(thr, s); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49214:3: note: in expansion of macro 'DUK_HSTRING_INCREF' 49214 | DUK_HSTRING_INCREF(thr, s); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8071:46: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 8071 | #define DUK_TB_FLAG_NOBLAME_FILELINE (1U << 0) /* don't report __FILE__ / __LINE__ as fileName/lineNumber */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49218:42: note: in expansion of macro 'DUK_TB_FLAG_NOBLAME_FILELINE' 49218 | ((duk_double_t) DUK_TB_FLAG_NOBLAME_FILELINE) * DUK_DOUBLE_2TO32 : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49220:22: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 49220 | (duk_double_t) c_line; | ^~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49241:3: note: in expansion of macro 'DUK_TVAL_INCREF' 49241 | DUK_TVAL_INCREF(thr, tv); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49241:3: note: in expansion of macro 'DUK_TVAL_INCREF' 49241 | DUK_TVAL_INCREF(thr, tv); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49249:69: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 49249 | pc = (duk_uint32_t) duk_hthread_get_act_prev_pc(thr_callstack, act); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49252:28: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 49252 | d = ((duk_double_t) act->flags) * DUK_DOUBLE_2TO32 + (duk_double_t) pc; | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49252:71: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 49252 | d = ((duk_double_t) act->flags) * DUK_DOUBLE_2TO32 + (duk_double_t) pc; | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6208:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 6208 | duk_xdef_prop_stridx_short((thr), (obj_idx), (stridx), DUK_PROPDESC_FLAGS_WEC) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49276:2: note: in expansion of macro 'duk_xdef_prop_stridx_short_wec' 49276 | duk_xdef_prop_stridx_short_wec(thr, -2, DUK_STRIDX_INT_TRACEDATA); /* -> [ ... error ] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6208:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 6208 | duk_xdef_prop_stridx_short((thr), (obj_idx), (stridx), DUK_PROPDESC_FLAGS_WEC) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49276:2: note: in expansion of macro 'duk_xdef_prop_stridx_short_wec' 49276 | duk_xdef_prop_stridx_short_wec(thr, -2, DUK_STRIDX_INT_TRACEDATA); /* -> [ ... error ] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6208:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 6208 | duk_xdef_prop_stridx_short((thr), (obj_idx), (stridx), DUK_PROPDESC_FLAGS_WEC) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49276:2: note: in expansion of macro 'duk_xdef_prop_stridx_short_wec' 49276 | duk_xdef_prop_stridx_short_wec(thr, -2, DUK_STRIDX_INT_TRACEDATA); /* -> [ ... error ] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__add_compiler_error_line(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49423:6: note: in expansion of macro 'duk_get_prop_stridx_short' 49423 | if (duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_MESSAGE)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49423:6: note: in expansion of macro 'duk_get_prop_stridx_short' 49423 | if (duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_MESSAGE)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49445:56: warning: use of old-style cast to 'long int' [-Wold-style-cast] 49445 | (long) thr->compile_ctx->curr_token.start_line, | ^~~~~~~~~~ | ------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49448:3: note: in expansion of macro 'duk_put_prop_stridx_short' 49448 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_MESSAGE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49448:3: note: in expansion of macro 'duk_put_prop_stridx_short' 49448 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_MESSAGE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__uncaught_error_aware(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49624:32: warning: use of old-style cast to 'char' [-Wold-style-cast] 49624 | buf[sizeof(buf) - 1] = (char) 0; | ^ | -------- | static_cast ( 0) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49625:39: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 49625 | (void) duk_fatal(thr, (const char *) buf); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:544:25: note: in definition of macro 'duk_fatal' 544 | (duk_fatal_raw((ctx), (err_msg)), (duk_ret_t) 0) | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:544:48: warning: use of old-style cast to 'duk_ret_t' {aka 'int'} [-Wold-style-cast] 544 | (duk_fatal_raw((ctx), (err_msg)), (duk_ret_t) 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49625:9: note: in expansion of macro 'duk_fatal' 49625 | (void) duk_fatal(thr, (const char *) buf); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_err_setup_ljstate1(duk_hthread*, duk_small_uint_t, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49862:2: note: in expansion of macro 'DUK_TVAL_INCREF' 49862 | DUK_TVAL_INCREF(thr, tv_val); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49862:2: note: in expansion of macro 'DUK_TVAL_INCREF' 49862 | DUK_TVAL_INCREF(thr, tv_val); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_err_create_and_throw(duk_hthread*, duk_errcode_t, const char*, const char*, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49938:4: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 49938 | DUK_TVAL_SET_OBJECT(&tv_val, h_err); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49938:4: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 49938 | DUK_TVAL_SET_OBJECT(&tv_val, h_err); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49938:4: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 49938 | DUK_TVAL_SET_OBJECT(&tv_val, h_err); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49942:44: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 49942 | DUK_TVAL_SET_I32(&tv_val, (duk_int32_t) code); | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1115:18: note: in definition of macro 'DUK_TVAL_SET_DOUBLE' 1115 | duk__dblval = (d); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49942:4: note: in expansion of macro 'DUK_TVAL_SET_I32' 49942 | DUK_TVAL_SET_I32(&tv_val, (duk_int32_t) code); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1120:92: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 1120 | #define DUK_TVAL_SET_I32(tv, i) DUK_TVAL_SET_DOUBLE((tv), (duk_double_t) (i)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1115:18: note: in definition of macro 'DUK_TVAL_SET_DOUBLE' 1115 | duk__dblval = (d); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49942:4: note: in expansion of macro 'DUK_TVAL_SET_I32' 49942 | DUK_TVAL_SET_I32(&tv_val, (duk_int32_t) code); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49962:113: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 49962 | duk_push_error_object_raw(thr, code | DUK_ERRCODE_FLAG_NOBLAME_FILELINE, filename, line, "%s", (const char *) msg); | ^~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:49978:50: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 49978 | duk_err_setup_ljstate1(thr, DUK_LJ_TYPE_THROW, DUK_GET_TVAL_NEGIDX(thr, -1)); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_error_throw_from_negative_rc(duk_hthread*, duk_ret_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50022:60: warning: use of old-style cast to 'long int' [-Wold-style-cast] 50022 | duk_error_raw(thr, -rc, NULL, 0, "error (rc %ld)", (long) rc); | ^~ | --------- | static_cast ( rc) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hbuffer* duk_hbuffer_alloc(duk_heap*, duk_size_t, duk_small_uint_t, void**)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9168:86: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 9168 | #define DUK_ALLOC(heap, size) duk_heap_mem_alloc((heap), (size)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50067:24: note: in expansion of macro 'DUK_ALLOC' 50067 | res = (duk_hbuffer *) DUK_ALLOC(heap, alloc_size); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50074:23: warning: use of old-style cast to 'void*' [-Wold-style-cast] 50074 | duk_memzero((void *) res, (flags & DUK_BUF_FLAG_NOZERO) ? header_size : alloc_size); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3091:21: note: in definition of macro 'duk_memzero' 3091 | void *duk__dst = (dst); \ | ^~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50074:2: note: in expansion of macro 'duk_memzero' 50074 | duk_memzero((void *) res, (flags & DUK_BUF_FLAG_NOZERO) ? header_size : alloc_size); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50081:32: warning: use of old-style cast to 'duk_hbuffer_external*' {aka 'struct duk_hbuffer_external*'} [-Wold-style-cast] 50081 | h = (duk_hbuffer_external *) res; | ^~~ | - | reinterpret_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50093:52: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 50093 | duk_hbuffer_dynamic *h = (duk_hbuffer_dynamic *) res; | ^~~ | - | reinterpret_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8681:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8681 | (x)->curr_alloc = (void *) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50110:4: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_SET_DATA_PTR' 50110 | DUK_HBUFFER_DYNAMIC_SET_DATA_PTR(heap, h, ptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50123:59: warning: use of old-style cast to 'void*' [-Wold-style-cast] 50123 | *out_bufdata = (void *) ((duk_hbuffer_fixed *) (void *) res + 1); | ^~~ | ------------ | static_cast ( res) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50123:59: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 50123 | *out_bufdata = (void *) ((duk_hbuffer_fixed *) (void *) res + 1); | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50123:66: warning: use of old-style cast to 'void*' [-Wold-style-cast] 50123 | *out_bufdata = (void *) ((duk_hbuffer_fixed *) (void *) res + 1); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8641:22: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8641 | ((duk_hbuffer *) (x))->size = (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50126:2: note: in expansion of macro 'DUK_HBUFFER_SET_SIZE' 50126 | DUK_HBUFFER_SET_SIZE(res, size); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void* duk_hbuffer_get_dynalloc_ptr(duk_heap*, void*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50152:53: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 50152 | duk_hbuffer_dynamic *buf = (duk_hbuffer_dynamic *) ud; | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:67: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50154:18: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 50154 | return (void *) DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_hbuffer_resize(duk_hthread*, duk_hbuffer_dynamic*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50194:3: note: in expansion of macro 'DUK_ERROR_RANGE' 50194 | DUK_ERROR_RANGE(thr, "buffer too long"); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50204:79: warning: use of old-style cast to 'void*' [-Wold-style-cast] 50204 | res = DUK_REALLOC_INDIRECT(thr->heap, duk_hbuffer_get_dynalloc_ptr, (void *) buf, new_size); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9171:98: note: in definition of macro 'DUK_REALLOC_INDIRECT' 9171 | #define DUK_REALLOC_INDIRECT(heap, cb, ud, newsize) duk_heap_mem_realloc_indirect((heap), (cb), (ud), (newsize)) | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8656:84: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8656 | #define DUK_HBUFFER_DYNAMIC_GET_SIZE(x) DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:52: note: in definition of macro 'DUK_HBUFFER_GET_SIZE' 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50220:15: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_SIZE' 50220 | prev_size = DUK_HBUFFER_DYNAMIC_GET_SIZE(buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8656:45: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 8656 | #define DUK_HBUFFER_DYNAMIC_GET_SIZE(x) DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50220:15: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_SIZE' 50220 | prev_size = DUK_HBUFFER_DYNAMIC_GET_SIZE(buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50224:35: warning: use of old-style cast to 'char*' [-Wold-style-cast] 50224 | duk_memzero((void *) ((char *) res + prev_size), (duk_size_t) (new_size - prev_size)); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3091:21: note: in definition of macro 'duk_memzero' 3091 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50224:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 50224 | duk_memzero((void *) ((char *) res + prev_size), (duk_size_t) (new_size - prev_size)); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3091:21: note: in definition of macro 'duk_memzero' 3091 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50224:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 50224 | duk_memzero((void *) ((char *) res + prev_size), (duk_size_t) (new_size - prev_size)); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3092:26: note: in definition of macro 'duk_memzero' 3092 | duk_size_t duk__len = (len); \ | ^~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50224:4: note: in expansion of macro 'duk_memzero' 50224 | duk_memzero((void *) ((char *) res + prev_size), (duk_size_t) (new_size - prev_size)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8657:84: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8657 | #define DUK_HBUFFER_DYNAMIC_SET_SIZE(x, v) DUK_HBUFFER_SET_SIZE((duk_hbuffer *) (x), (v)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8641:21: note: in definition of macro 'DUK_HBUFFER_SET_SIZE' 8641 | ((duk_hbuffer *) (x))->size = (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50228:3: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_SET_SIZE' 50228 | DUK_HBUFFER_DYNAMIC_SET_SIZE(buf, new_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8641:22: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8641 | ((duk_hbuffer *) (x))->size = (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8657:45: note: in expansion of macro 'DUK_HBUFFER_SET_SIZE' 8657 | #define DUK_HBUFFER_DYNAMIC_SET_SIZE(x, v) DUK_HBUFFER_SET_SIZE((duk_hbuffer *) (x), (v)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50228:3: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_SET_SIZE' 50228 | DUK_HBUFFER_DYNAMIC_SET_SIZE(buf, new_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8681:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8681 | (x)->curr_alloc = (void *) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50229:3: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_SET_DATA_PTR' 50229 | DUK_HBUFFER_DYNAMIC_SET_DATA_PTR(thr->heap, buf, res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10294:65: note: in expansion of macro 'DUK_LINE_MACRO' 10294 | duk_err_error_alloc_failed((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50231:3: note: in expansion of macro 'DUK_ERROR_ALLOC_FAILED' 50231 | DUK_ERROR_ALLOC_FAILED(thr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint_t duk_hbufobj_clamp_bytelength(duk_hbufobj*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50256:26: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 50256 | buf_size = (duk_uint_t) DUK_HBUFFER_GET_SIZE(h_bufobj->buf); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:61: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50256:26: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 50256 | buf_size = (duk_uint_t) DUK_HBUFFER_GET_SIZE(h_bufobj->buf); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_free_hobject(duk_heap*, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50293:40: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 50293 | duk_hcompfunc *f = (duk_hcompfunc *) h; | ^ | ------------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50297:38: warning: use of old-style cast to 'duk_hnatfunc*' {aka 'struct duk_hnatfunc*'} [-Wold-style-cast] 50297 | duk_hnatfunc *f = (duk_hnatfunc *) h; | ^ | ------------------ | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50301:36: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 50301 | duk_hthread *t = (duk_hthread *) h; | ^ | ----------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50320:29: warning: use of old-style cast to 'void*' [-Wold-style-cast] 50320 | DUK_FREE(heap, (void *) cat); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9172:80: note: in definition of macro 'DUK_FREE' 9172 | #define DUK_FREE(heap, ptr) duk_heap_mem_free((heap), (ptr)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50325:28: warning: use of old-style cast to 'void*' [-Wold-style-cast] 50325 | DUK_FREE(heap, (void *) act); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9172:80: note: in definition of macro 'DUK_FREE' 9172 | #define DUK_FREE(heap, ptr) duk_heap_mem_free((heap), (ptr)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50334:51: warning: use of old-style cast to 'void*' [-Wold-style-cast] 50334 | duk_hboundfunc *f = (duk_hboundfunc *) (void *) h; | ^ | ---------- | static_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50334:51: warning: use of old-style cast to 'duk_hboundfunc*' {aka 'struct duk_hboundfunc*'} [-Wold-style-cast] 50334 | duk_hboundfunc *f = (duk_hboundfunc *) (void *) h; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50339:26: warning: use of old-style cast to 'void*' [-Wold-style-cast] 50339 | DUK_FREE(heap, (void *) h); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9172:80: note: in definition of macro 'DUK_FREE' 9172 | #define DUK_FREE(heap, ptr) duk_heap_mem_free((heap), (ptr)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_free_hbuffer(duk_heap*, duk_hbuffer*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50347:52: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 50347 | duk_hbuffer_dynamic *g = (duk_hbuffer_dynamic *) h; | ^ | - | reinterpret_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50351:26: warning: use of old-style cast to 'void*' [-Wold-style-cast] 50351 | DUK_FREE(heap, (void *) h); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9172:80: note: in definition of macro 'DUK_FREE' 9172 | #define DUK_FREE(heap, ptr) duk_heap_mem_free((heap), (ptr)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_free_hstring(duk_heap*, duk_hstring*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50368:26: warning: use of old-style cast to 'void*' [-Wold-style-cast] 50368 | DUK_FREE(heap, (void *) h); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9172:80: note: in definition of macro 'DUK_FREE' 9172 | #define DUK_FREE(heap, ptr) duk_heap_mem_free((heap), (ptr)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_heap_free_heaphdr_raw(duk_heap*, duk_heaphdr*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50379:42: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 50379 | duk_free_hstring(heap, (duk_hstring *) hdr); | ^~~ | ------------------- | reinterpret_cast ( hdr) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50382:42: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 50382 | duk_free_hobject(heap, (duk_hobject *) hdr); | ^~~ | ------------------- | reinterpret_cast ( hdr) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50386:42: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 50386 | duk_free_hbuffer(heap, (duk_hbuffer *) hdr); | ^~~ | ------------------- | reinterpret_cast ( hdr) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_size_t duk__heap_free_activation_freelist(duk_heap*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50411:27: warning: use of old-style cast to 'void*' [-Wold-style-cast] 50411 | DUK_FREE(heap, (void *) act); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9172:80: note: in definition of macro 'DUK_FREE' 9172 | #define DUK_FREE(heap, ptr) duk_heap_mem_free((heap), (ptr)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_size_t duk__heap_free_catcher_freelist(duk_heap*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50430:27: warning: use of old-style cast to 'void*' [-Wold-style-cast] 50430 | DUK_FREE(heap, (void *) cat); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9172:80: note: in definition of macro 'DUK_FREE' 9172 | #define DUK_FREE(heap, ptr) duk_heap_mem_free((heap), (ptr)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__free_run_finalizers(duk_heap*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50550:62: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 50550 | if (DUK_HOBJECT_HAS_FINALIZER_FAST(heap, (duk_hobject *) curr)) { | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7219:85: note: in definition of macro 'DUK_HOBJECT_HAS_FINALIZER_FAST' 7219 | #define DUK_HOBJECT_HAS_FINALIZER_FAST(heap, h) duk_hobject_has_finalizer_fast_raw((h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50551:53: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 50551 | if (!DUK_HEAPHDR_HAS_FINALIZED((duk_heaphdr *) curr)) { | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50551:11: note: in expansion of macro 'DUK_HEAPHDR_HAS_FINALIZED' 50551 | if (!DUK_HEAPHDR_HAS_FINALIZED((duk_heaphdr *) curr)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50554:52: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 50554 | duk_heap_run_finalizer(heap, (duk_hobject *) curr); | ^~~~ | -------------------- | reinterpret_cast ( curr) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__init_heap_strings(duk_heap*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50739:2: note: in expansion of macro 'duk_memzero' 50739 | duk_memzero(&bd_ctx, sizeof(bd_ctx)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50740:35: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 50740 | bd->data = (const duk_uint8_t *) duk_strings_data; | ^~~~~~~~~~~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2091:71: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2091 | #define DUK_STRDATA_DATA_LENGTH 972 | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50741:28: note: in expansion of macro 'DUK_STRDATA_DATA_LENGTH' 50741 | bd->length = (duk_size_t) DUK_STRDATA_DATA_LENGTH; | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50781:3: note: in expansion of macro 'DUK_HSTRING_INCREF' 50781 | DUK_HSTRING_INCREF(_never_referenced_, h); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50781:3: note: in expansion of macro 'DUK_HSTRING_INCREF' 50781 | DUK_HSTRING_INCREF(_never_referenced_, h); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__init_heap_thread(duk_heap*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50801:72: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 50801 | thr = duk_hthread_alloc_unchecked(heap, DUK_HOBJECT_FLAG_EXTENSIBLE | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_THREAD)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5065:91: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5065 | #define DUK_HTHREAD_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5065:43: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5065 | #define DUK_HTHREAD_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50818:2: note: in expansion of macro 'DUK_HTHREAD_INCREF' 50818 | DUK_HTHREAD_INCREF(thr, thr); /* Note: first argument not really used */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5065:43: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5065 | #define DUK_HTHREAD_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50818:2: note: in expansion of macro 'DUK_HTHREAD_INCREF' 50818 | DUK_HTHREAD_INCREF(thr, thr); /* Note: first argument not really used */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50831:61: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 50831 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) thr, thr->builtins[DUK_BIDX_THREAD_PROTOTYPE]); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7204:28: note: in definition of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 7204 | duk_hobject *duk__obj = (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7209:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 7209 | DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50831:2: note: in expansion of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 50831 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) thr, thr->builtins[DUK_BIDX_THREAD_PROTOTYPE]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7209:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 7209 | DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:50831:2: note: in expansion of macro 'DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF' 50831 | DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, (duk_hobject *) thr, thr->builtins[DUK_BIDX_THREAD_PROTOTYPE]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_heap* duk_heap_alloc(duk_alloc_function, duk_realloc_function, duk_free_function, void*, duk_fatal_function)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51160:60: warning: use of old-style cast to 'duk_heap*' {aka 'struct duk_heap*'} [-Wold-style-cast] 51160 | res = (duk_heap *) alloc_func(heap_udata, sizeof(duk_heap)); | ^ | ------------ | static_cast ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51169:2: note: in expansion of macro 'duk_memzero' 51169 | duk_memzero(res, sizeof(*res)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51265:50: warning: use of old-style cast to 'duk_uintptr_t' {aka 'unsigned int'} [-Wold-style-cast] 51265 | res->hash_seed = (duk_uint32_t) (duk_uintptr_t) res; | ^~~ | ------------------- | reinterpret_cast ( res) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51265:50: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 51265 | res->hash_seed = (duk_uint32_t) (duk_uintptr_t) res; | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51276:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 51276 | DUK_TVAL_SET_UNDEFINED(&res->lj.value1); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51277:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 51277 | DUK_TVAL_SET_UNDEFINED(&res->lj.value2); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51292:93: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 51292 | res->strtable = (duk_hstring **) alloc_func(heap_udata, sizeof(duk_hstring *) * st_initsize); | ^ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51315:2: note: in expansion of macro 'duk_memzero' 51315 | duk_memzero(res->strtable, sizeof(duk_hstring *) * st_initsize); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51390:53: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 51390 | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_OBJECT)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51394:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 51394 | DUK_HOBJECT_INCREF(res->heap_thread, res->heap_object); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51394:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 51394 | DUK_HOBJECT_INCREF(res->heap_thread, res->heap_object); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51405:82: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 51405 | res->rnd_state[0] = (duk_uint64_t) duk_time_get_ecmascript_time(res->heap_thread); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51420:24: warning: use of old-style cast to 'void*' [-Wold-style-cast] 51420 | duk_memcpy((void *) &tmp_u64, | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51421:30: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 51421 | (const void *) &res, | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51422:102: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 51422 | (size_t) (sizeof(void *) >= sizeof(duk_uint64_t) ? sizeof(duk_uint64_t) : sizeof(void *))); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51420:3: note: in expansion of macro 'duk_memcpy' 51420 | duk_memcpy((void *) &tmp_u64, | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_heap_process_finalize_list(duk_heap*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51708:49: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 51708 | duk_heap_run_finalizer(heap, (duk_hobject *) curr); /* must never longjmp */ | ^~~~ | -------------------- | reinterpret_cast ( curr) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51780:61: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 51780 | duk_hobject_refcount_finalize_norz(heap, (duk_hobject *) curr); | ^~~~ | -------------------- | reinterpret_cast ( curr) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51781:43: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 51781 | duk_free_hobject(heap, (duk_hobject *) curr); | ^~~~ | -------------------- | reinterpret_cast ( curr) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk__finalize_helper(duk_hthread*, void*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51853:2: note: in expansion of macro 'duk_get_prop_stridx_short' 51853 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_INT_FINALIZER); /* -> [... obj finalizer] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51853:2: note: in expansion of macro 'duk_get_prop_stridx_short' 51853 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_INT_FINALIZER); /* -> [... obj finalizer] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_heap_run_finalizer(duk_heap*, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51906:44: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 51906 | DUK_HEAPHDR_SET_FINALIZED((duk_heaphdr *) obj); /* ensure never re-entered until rescue cycle complete */ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4769:4: note: in definition of macro 'DUK_HEAPHDR_SET_FLAG_BITS' 4769 | (h)->h_flags |= (bits); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:51906:2: note: in expansion of macro 'DUK_HEAPHDR_SET_FINALIZED' 51906 | DUK_HEAPHDR_SET_FINALIZED((duk_heaphdr *) obj); /* ensure never re-entered until rescue cycle complete */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk_heap_hashstring(duk_heap*, const duk_uint8_t*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52042:43: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 52042 | hash = heap->hash_seed ^ ((duk_uint32_t) len); /* Bernstein hash init value is normally 5381 */ | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__mark_hobject(duk_heap*, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7132:46: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 7132 | #define DUK_HOBJECT_GET_ENEXT(h) ((h)->e_next) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52099:38: note: in expansion of macro 'DUK_HOBJECT_GET_ENEXT' 52099 | for (i = 0; i < (duk_uint_fast32_t) DUK_HOBJECT_GET_ENEXT(h); i++) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52100:22: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 52100 | duk_hstring *key = DUK_HOBJECT_E_GET_KEY(heap, h, i); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52100:22: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 52100 | duk_hstring *key = DUK_HOBJECT_E_GET_KEY(heap, h, i); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52104:51: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 52104 | duk__mark_heaphdr_nonnull(heap, (duk_heaphdr *) key); | ^~~ | ------------------- | reinterpret_cast ( key) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7069:54: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7069 | #define DUK_HOBJECT_E_SLOT_IS_ACCESSOR(heap, h, i) ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_ACCESSOR) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52105:7: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_IS_ACCESSOR' 52105 | if (DUK_HOBJECT_E_SLOT_IS_ACCESSOR(heap, h, i)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7069:54: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7069 | #define DUK_HOBJECT_E_SLOT_IS_ACCESSOR(heap, h, i) ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_ACCESSOR) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52105:7: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_IS_ACCESSOR' 52105 | if (DUK_HOBJECT_E_SLOT_IS_ACCESSOR(heap, h, i)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7006:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7006 | #define DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52106:44: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_PTR' 52106 | duk__mark_heaphdr(heap, (duk_heaphdr *) DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i)->a.get); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7006:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7006 | #define DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52106:44: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_PTR' 52106 | duk__mark_heaphdr(heap, (duk_heaphdr *) DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i)->a.get); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52106:87: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 52106 | duk__mark_heaphdr(heap, (duk_heaphdr *) DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i)->a.get); | ^~~ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7006:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7006 | #define DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52107:44: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_PTR' 52107 | duk__mark_heaphdr(heap, (duk_heaphdr *) DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i)->a.set); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7006:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7006 | #define DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52107:44: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_PTR' 52107 | duk__mark_heaphdr(heap, (duk_heaphdr *) DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i)->a.set); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52107:87: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 52107 | duk__mark_heaphdr(heap, (duk_heaphdr *) DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i)->a.set); | ^~~ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7006:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7006 | #define DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52109:26: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_PTR' 52109 | duk__mark_tval(heap, &DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i)->v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7006:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7006 | #define DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52109:26: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_PTR' 52109 | duk__mark_tval(heap, &DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i)->v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7138:50: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 7138 | #define DUK_HOBJECT_GET_ASIZE(h) ((h)->a_size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52113:38: note: in expansion of macro 'DUK_HOBJECT_GET_ASIZE' 52113 | for (i = 0; i < (duk_uint_fast32_t) DUK_HOBJECT_GET_ASIZE(h); i++) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52114:24: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 52114 | duk__mark_tval(heap, DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52114:24: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 52114 | duk__mark_tval(heap, DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7188:59: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 7188 | #define DUK_HOBJECT_GET_PROTOTYPE(heap, h) ((h)->prototype) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52119:42: note: in expansion of macro 'DUK_HOBJECT_GET_PROTOTYPE' 52119 | duk__mark_heaphdr(heap, (duk_heaphdr *) DUK_HOBJECT_GET_PROTOTYPE(heap, h)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52132:40: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 52132 | duk_hcompfunc *f = (duk_hcompfunc *) h; | ^ | ------------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52142:43: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 52142 | duk__mark_heaphdr(heap, (duk_heaphdr *) DUK_HCOMPFUNC_GET_DATA(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52142:43: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 52142 | duk__mark_heaphdr(heap, (duk_heaphdr *) DUK_HCOMPFUNC_GET_DATA(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:82: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52142:43: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 52142 | duk__mark_heaphdr(heap, (duk_heaphdr *) DUK_HCOMPFUNC_GET_DATA(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7596:56: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 7596 | #define DUK_HCOMPFUNC_GET_LEXENV(heap, h) ((h)->lex_env) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52143:43: note: in expansion of macro 'DUK_HCOMPFUNC_GET_LEXENV' 52143 | duk__mark_heaphdr(heap, (duk_heaphdr *) DUK_HCOMPFUNC_GET_LEXENV(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7601:56: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 7601 | #define DUK_HCOMPFUNC_GET_VARENV(heap, h) ((h)->var_env) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52144:43: note: in expansion of macro 'DUK_HCOMPFUNC_GET_VARENV' 52144 | duk__mark_heaphdr(heap, (duk_heaphdr *) DUK_HCOMPFUNC_GET_VARENV(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52146:7: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 52146 | if (DUK_HCOMPFUNC_GET_DATA(heap, f) != NULL) { | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52146:7: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 52146 | if (DUK_HCOMPFUNC_GET_DATA(heap, f) != NULL) { | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:87: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52147:9: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 52147 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:87: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52147:9: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 52147 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52147:9: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 52147 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52147:9: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 52147 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52147:9: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 52147 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:108: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52147:9: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 52147 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:108: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52147:9: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 52147 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7586:53: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7586 | #define DUK_HCOMPFUNC_GET_FUNCS(heap, h) ((h)->funcs) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7621:70: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS' 7621 | #define DUK_HCOMPFUNC_GET_CONSTS_END(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_FUNCS((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52148:13: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_END' 52148 | tv_end = DUK_HCOMPFUNC_GET_CONSTS_END(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7586:53: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 7586 | #define DUK_HCOMPFUNC_GET_FUNCS(heap, h) ((h)->funcs) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7621:70: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS' 7621 | #define DUK_HCOMPFUNC_GET_CONSTS_END(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_FUNCS((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52148:13: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_END' 52148 | tv_end = DUK_HCOMPFUNC_GET_CONSTS_END(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7591:59: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7591 | #define DUK_HCOMPFUNC_GET_BYTECODE(heap, h) ((h)->bytecode) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7623:73: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BYTECODE' 7623 | #define DUK_HCOMPFUNC_GET_FUNCS_END(heap, h) ((duk_hobject **) (void *) DUK_HCOMPFUNC_GET_BYTECODE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52155:13: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_END' 52155 | fn_end = DUK_HCOMPFUNC_GET_FUNCS_END(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7591:59: warning: use of old-style cast to 'duk_hobject**' {aka 'struct duk_hobject**'} [-Wold-style-cast] 7591 | #define DUK_HCOMPFUNC_GET_BYTECODE(heap, h) ((h)->bytecode) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7623:73: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BYTECODE' 7623 | #define DUK_HCOMPFUNC_GET_FUNCS_END(heap, h) ((duk_hobject **) (void *) DUK_HCOMPFUNC_GET_BYTECODE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52155:13: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_END' 52155 | fn_end = DUK_HCOMPFUNC_GET_FUNCS_END(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52157:54: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 52157 | duk__mark_heaphdr_nonnull(heap, (duk_heaphdr *) *fn); | ^~ | ------------------- | reinterpret_cast ( *fn) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52165:36: warning: use of old-style cast to 'duk_hdecenv*' {aka 'struct duk_hdecenv*'} [-Wold-style-cast] 52165 | duk_hdecenv *e = (duk_hdecenv *) h; | ^ | ----------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52167:46: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 52167 | duk__mark_heaphdr(heap, (duk_heaphdr *) e->thread); | ^~~~~~ | ------------------------- | reinterpret_cast ( e->thread) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52168:46: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 52168 | duk__mark_heaphdr(heap, (duk_heaphdr *) e->varmap); | ^~~~~~ | ------------------------- | reinterpret_cast ( e->varmap) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52170:36: warning: use of old-style cast to 'duk_hobjenv*' {aka 'struct duk_hobjenv*'} [-Wold-style-cast] 52170 | duk_hobjenv *e = (duk_hobjenv *) h; | ^ | ----------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52172:54: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 52172 | duk__mark_heaphdr_nonnull(heap, (duk_heaphdr *) e->target); | ^~~~~~ | ------------------------- | reinterpret_cast ( e->target) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52175:36: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 52175 | duk_hbufobj *b = (duk_hbufobj *) h; | ^ | ----------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52177:46: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 52177 | duk__mark_heaphdr(heap, (duk_heaphdr *) b->buf); | ^~~ | ---------------------- | reinterpret_cast ( b->buf) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52178:46: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 52178 | duk__mark_heaphdr(heap, (duk_heaphdr *) b->buf_prop); | ^~~~~~~~ | --------------------------- | reinterpret_cast ( b->buf_prop) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52181:51: warning: use of old-style cast to 'void*' [-Wold-style-cast] 52181 | duk_hboundfunc *f = (duk_hboundfunc *) (void *) h; | ^ | ---------- | static_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52181:51: warning: use of old-style cast to 'duk_hboundfunc*' {aka 'struct duk_hboundfunc*'} [-Wold-style-cast] 52181 | duk_hboundfunc *f = (duk_hboundfunc *) (void *) h; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52188:34: warning: use of old-style cast to 'duk_hproxy*' {aka 'struct duk_hproxy*'} [-Wold-style-cast] 52188 | duk_hproxy *p = (duk_hproxy *) h; | ^ | ---------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52190:54: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 52190 | duk__mark_heaphdr_nonnull(heap, (duk_heaphdr *) p->target); | ^~~~~~ | ------------------------- | reinterpret_cast ( p->target) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52191:54: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 52191 | duk__mark_heaphdr_nonnull(heap, (duk_heaphdr *) p->handler); | ^~~~~~~ | -------------------------- | reinterpret_cast ( p->handler) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52194:36: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 52194 | duk_hthread *t = (duk_hthread *) h; | ^ | ----------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52207:44: note: in expansion of macro 'DUK_ACT_GET_FUNC' 52207 | duk__mark_heaphdr(heap, (duk_heaphdr *) DUK_ACT_GET_FUNC(act)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52208:49: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 52208 | duk__mark_heaphdr(heap, (duk_heaphdr *) act->var_env); | ^~~~~~~ | ---------------------------- | reinterpret_cast ( act->var_env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52209:49: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 52209 | duk__mark_heaphdr(heap, (duk_heaphdr *) act->lex_env); | ^~~~~~~ | ---------------------------- | reinterpret_cast ( act->lex_env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52219:46: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 52219 | duk__mark_heaphdr(heap, (duk_heaphdr *) t->resumer); | ^~~~~~~ | -------------------------- | reinterpret_cast ( t->resumer) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52222:57: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 52222 | duk__mark_heaphdr(heap, (duk_heaphdr *) t->builtins[i]); | ^ | ------------------------------ | reinterpret_cast ( t->builtins[i]) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__mark_heaphdr(duk_heap*, duk_heaphdr*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52277:43: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 52277 | duk__mark_hstring(heap, (duk_hstring *) h); | ^ | ----------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52280:43: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 52280 | duk__mark_hobject(heap, (duk_hobject *) h); | ^ | ----------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__mark_tval(duk_heap*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52300:6: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 52300 | if (DUK_TVAL_IS_HEAP_ALLOCATED(tv)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52302:7: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 52302 | h = DUK_TVAL_GET_HEAPHDR(tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__mark_tvals(duk_heap*, duk_tval*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52313:7: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 52313 | if (DUK_TVAL_IS_HEAP_ALLOCATED(tv)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52315:8: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 52315 | h = DUK_TVAL_GET_HEAPHDR(tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__mark_roots_heap(duk_heap*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52340:48: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 52340 | duk__mark_heaphdr(heap, (duk_heaphdr *) heap->heap_thread); | ^~~~~~~~~~~ | --------------- | reinterpret_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52341:48: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 52341 | duk__mark_heaphdr(heap, (duk_heaphdr *) heap->heap_object); | ^~~~~~~~~~~ | --------------- | reinterpret_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52345:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 52345 | duk__mark_heaphdr(heap, (duk_heaphdr *) h); | ^ | ----------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__mark_finalizable(duk_heap*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52389:60: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 52389 | DUK_HOBJECT_HAS_FINALIZER_FAST(heap, (duk_hobject *) hdr)) { | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7219:85: note: in definition of macro 'DUK_HOBJECT_HAS_FINALIZER_FAST' 7219 | #define DUK_HOBJECT_HAS_FINALIZER_FAST(heap, h) duk_hobject_has_finalizer_fast_raw((h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__sweep_stringtable(duk_heap*, duk_size_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52653:50: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 52653 | if (DUK_HEAPHDR_HAS_REACHABLE((duk_heaphdr *) h)) { | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52653:8: note: in expansion of macro 'DUK_HEAPHDR_HAS_REACHABLE' 52653 | if (DUK_HEAPHDR_HAS_REACHABLE((duk_heaphdr *) h)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52654:49: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 52654 | DUK_HEAPHDR_CLEAR_REACHABLE((duk_heaphdr *) h); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4775:4: note: in definition of macro 'DUK_HEAPHDR_CLEAR_FLAG_BITS' 4775 | (h)->h_flags &= ~((bits)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52654:5: note: in expansion of macro 'DUK_HEAPHDR_CLEAR_REACHABLE' 52654 | DUK_HEAPHDR_CLEAR_REACHABLE((duk_heaphdr *) h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52685:59: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 52685 | duk_heap_strcache_string_remove(heap, (duk_hstring *) h); | ^ | - | const_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52688:57: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 52688 | duk_heap_strtable_unlink_prev(heap, (duk_hstring *) h, (duk_hstring *) prev); | ^ | - | const_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52688:76: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 52688 | duk_heap_strtable_unlink_prev(heap, (duk_hstring *) h, (duk_hstring *) prev); | ^~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52693:44: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 52693 | duk_free_hstring(heap, (duk_hstring *) h); | ^ | - | const_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__sweep_heap(duk_heap*, duk_small_uint_t, duk_size_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52812:77: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 52812 | if (DUK_HEAPHDR_IS_OBJECT(curr) && DUK_HOBJECT_IS_THREAD((duk_hobject *) curr)) { | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4801:48: note: in definition of macro 'DUK_HEAPHDR_GET_FLAG_RANGE' 4801 | #define DUK_HEAPHDR_GET_FLAG_RANGE(h, m, n) (((h)->h_flags >> (m)) & ((1UL << (n)) - 1UL)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6717:35: note: in expansion of macro 'DUK_HOBJECT_GET_CLASS_NUMBER' 6717 | #define DUK_HOBJECT_IS_THREAD(h) (DUK_HOBJECT_GET_CLASS_NUMBER((h)) == DUK_HOBJECT_CLASS_THREAD) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52812:39: note: in expansion of macro 'DUK_HOBJECT_IS_THREAD' 52812 | if (DUK_HEAPHDR_IS_OBJECT(curr) && DUK_HOBJECT_IS_THREAD((duk_hobject *) curr)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52813:45: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 52813 | duk_hthread *thr_curr = (duk_hthread *) curr; | ^~~~ | -------------------- | reinterpret_cast ( curr) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__compact_object_list(duk_heap*, duk_hthread*, duk_heaphdr*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:52951:25: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 52951 | obj = (duk_hobject *) curr; | ^~~~ | -------------------- | reinterpret_cast ( curr) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_heap_mark_and_sweep(duk_heap*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:53518:124: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 53518 | heap->ms_trigger_counter = (duk_int_t) ((tmp * DUK_HEAP_MARK_AND_SWEEP_TRIGGER_MULT) + DUK_HEAP_MARK_AND_SWEEP_TRIGGER_ADD); | ^ | ----------- | static_cast ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void* duk_heap_mem_alloc_zeroed(duk_heap*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:53695:3: note: in expansion of macro 'duk_memzero' 53695 | duk_memzero(res, size); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void* duk_heap_mem_alloc_checked(duk_hthread*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10294:65: note: in expansion of macro 'DUK_LINE_MACRO' 10294 | duk_err_error_alloc_failed((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:53714:2: note: in expansion of macro 'DUK_ERROR_ALLOC_FAILED' 53714 | DUK_ERROR_ALLOC_FAILED(thr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void* duk_heap_mem_alloc_checked_zeroed(duk_hthread*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:53727:3: note: in expansion of macro 'duk_memzero' 53727 | duk_memzero(res, size); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10294:65: note: in expansion of macro 'DUK_LINE_MACRO' 10294 | duk_err_error_alloc_failed((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:53733:2: note: in expansion of macro 'DUK_ERROR_ALLOC_FAILED' 53733 | DUK_ERROR_ALLOC_FAILED(thr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__decref_tvals_norz(duk_hthread*, duk_tval*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4932:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4932 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54208:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 54208 | DUK_TVAL_DECREF_NORZ(thr, tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4933:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4933 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54208:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 54208 | DUK_TVAL_DECREF_NORZ(thr, tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_hobject_refcount_finalize_norz(duk_heap*, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54231:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 54231 | p_key = DUK_HOBJECT_E_GET_KEY_BASE(heap, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54231:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 54231 | p_key = DUK_HOBJECT_E_GET_KEY_BASE(heap, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54232:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 54232 | p_val = DUK_HOBJECT_E_GET_VALUE_BASE(heap, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54232:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 54232 | p_val = DUK_HOBJECT_E_GET_VALUE_BASE(heap, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54233:11: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 54233 | p_flag = DUK_HOBJECT_E_GET_FLAGS_BASE(heap, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54233:11: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 54233 | p_flag = DUK_HOBJECT_E_GET_FLAGS_BASE(heap, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5048:2: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5048 | DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hstring_refzero, duk_hstring *) /* no 'norz' variant */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54242:3: note: in expansion of macro 'DUK_HSTRING_DECREF_NORZ' 54242 | DUK_HSTRING_DECREF_NORZ(thr, key); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5048:2: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5048 | DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hstring_refzero, duk_hstring *) /* no 'norz' variant */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54242:3: note: in expansion of macro 'DUK_HSTRING_DECREF_NORZ' 54242 | DUK_HSTRING_DECREF_NORZ(thr, key); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54247:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54247 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, h_getset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54247:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54247 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, h_getset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54250:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54250 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, h_getset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54250:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54250 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, h_getset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4932:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4932 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54254:4: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 54254 | DUK_TVAL_DECREF_NORZ(thr, tv_val); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4933:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4933 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54254:4: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 54254 | DUK_TVAL_DECREF_NORZ(thr, tv_val); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54258:9: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 54258 | p_tv = DUK_HOBJECT_A_GET_BASE(heap, h); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54258:9: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 54258 | p_tv = DUK_HOBJECT_A_GET_BASE(heap, h); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4932:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4932 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54263:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 54263 | DUK_TVAL_DECREF_NORZ(thr, tv_val); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4933:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4933 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54263:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 54263 | DUK_TVAL_DECREF_NORZ(thr, tv_val); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7188:59: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 7188 | #define DUK_HOBJECT_GET_PROTOTYPE(heap, h) ((h)->prototype) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54268:28: note: in expansion of macro 'DUK_HOBJECT_GET_PROTOTYPE' 54268 | h_proto = (duk_hobject *) DUK_HOBJECT_GET_PROTOTYPE(heap, h); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54270:2: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54270 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, h_proto); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54270:2: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54270 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, h_proto); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54292:40: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 54292 | duk_hcompfunc *f = (duk_hcompfunc *) h; | ^ | ------------------- | reinterpret_cast ( h) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54298:18: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 54298 | if (DUK_LIKELY(DUK_HCOMPFUNC_GET_DATA(heap, f) != NULL)) { | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54298:18: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 54298 | if (DUK_LIKELY(DUK_HCOMPFUNC_GET_DATA(heap, f) != NULL)) { | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:87: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54299:9: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 54299 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:87: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54299:9: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 54299 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54299:9: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 54299 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54299:9: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 54299 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54299:9: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 54299 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:108: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54299:9: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 54299 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:108: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54299:9: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 54299 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7586:53: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7586 | #define DUK_HCOMPFUNC_GET_FUNCS(heap, h) ((h)->funcs) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7621:70: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS' 7621 | #define DUK_HCOMPFUNC_GET_CONSTS_END(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_FUNCS((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54300:13: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_END' 54300 | tv_end = DUK_HCOMPFUNC_GET_CONSTS_END(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7586:53: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 7586 | #define DUK_HCOMPFUNC_GET_FUNCS(heap, h) ((h)->funcs) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7621:70: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS' 7621 | #define DUK_HCOMPFUNC_GET_CONSTS_END(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_FUNCS((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54300:13: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_END' 54300 | tv_end = DUK_HCOMPFUNC_GET_CONSTS_END(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4932:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4932 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54302:5: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 54302 | DUK_TVAL_DECREF_NORZ(thr, tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4933:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4933 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54302:5: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 54302 | DUK_TVAL_DECREF_NORZ(thr, tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7591:59: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7591 | #define DUK_HCOMPFUNC_GET_BYTECODE(heap, h) ((h)->bytecode) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7623:73: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BYTECODE' 7623 | #define DUK_HCOMPFUNC_GET_FUNCS_END(heap, h) ((duk_hobject **) (void *) DUK_HCOMPFUNC_GET_BYTECODE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54307:16: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_END' 54307 | funcs_end = DUK_HCOMPFUNC_GET_FUNCS_END(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7591:59: warning: use of old-style cast to 'duk_hobject**' {aka 'struct duk_hobject**'} [-Wold-style-cast] 7591 | #define DUK_HCOMPFUNC_GET_BYTECODE(heap, h) ((h)->bytecode) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7623:73: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BYTECODE' 7623 | #define DUK_HCOMPFUNC_GET_FUNCS_END(heap, h) ((duk_hobject **) (void *) DUK_HCOMPFUNC_GET_BYTECODE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54307:16: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_END' 54307 | funcs_end = DUK_HCOMPFUNC_GET_FUNCS_END(heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54313:54: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 54313 | DUK_HCOMPFUNC_DECREF_NORZ(thr, (duk_hcompfunc *) h_func); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:42: note: in definition of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54313:5: note: in expansion of macro 'DUK_HCOMPFUNC_DECREF_NORZ' 54313 | DUK_HCOMPFUNC_DECREF_NORZ(thr, (duk_hcompfunc *) h_func); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5058:43: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5058 | #define DUK_HCOMPFUNC_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54313:5: note: in expansion of macro 'DUK_HCOMPFUNC_DECREF_NORZ' 54313 | DUK_HCOMPFUNC_DECREF_NORZ(thr, (duk_hcompfunc *) h_func); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5058:43: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5058 | #define DUK_HCOMPFUNC_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54313:5: note: in expansion of macro 'DUK_HCOMPFUNC_DECREF_NORZ' 54313 | DUK_HCOMPFUNC_DECREF_NORZ(thr, (duk_hcompfunc *) h_func); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7596:56: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 7596 | #define DUK_HCOMPFUNC_GET_LEXENV(heap, h) ((h)->lex_env) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5109:8: note: in definition of macro 'DUK_HEAPHDR_DECREF_ALLOWNULL' 5109 | if ((h) != NULL) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54321:53: note: in expansion of macro 'DUK_HCOMPFUNC_GET_LEXENV' 54321 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_heaphdr *) DUK_HCOMPFUNC_GET_LEXENV(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7596:56: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 7596 | #define DUK_HCOMPFUNC_GET_LEXENV(heap, h) ((h)->lex_env) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:42: note: in definition of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5110:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF' 5110 | DUK_HEAPHDR_DECREF((thr), (duk_heaphdr *) (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54321:3: note: in expansion of macro 'DUK_HEAPHDR_DECREF_ALLOWNULL' 54321 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_heaphdr *) DUK_HCOMPFUNC_GET_LEXENV(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54321:53: note: in expansion of macro 'DUK_HCOMPFUNC_GET_LEXENV' 54321 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_heaphdr *) DUK_HCOMPFUNC_GET_LEXENV(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5110:48: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5110 | DUK_HEAPHDR_DECREF((thr), (duk_heaphdr *) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:42: note: in definition of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5110:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF' 5110 | DUK_HEAPHDR_DECREF((thr), (duk_heaphdr *) (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54321:3: note: in expansion of macro 'DUK_HEAPHDR_DECREF_ALLOWNULL' 54321 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_heaphdr *) DUK_HCOMPFUNC_GET_LEXENV(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5043:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5043 | #define DUK_HEAPHDR_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5110:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF' 5110 | DUK_HEAPHDR_DECREF((thr), (duk_heaphdr *) (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54321:3: note: in expansion of macro 'DUK_HEAPHDR_DECREF_ALLOWNULL' 54321 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_heaphdr *) DUK_HCOMPFUNC_GET_LEXENV(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5043:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5043 | #define DUK_HEAPHDR_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5110:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF' 5110 | DUK_HEAPHDR_DECREF((thr), (duk_heaphdr *) (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54321:3: note: in expansion of macro 'DUK_HEAPHDR_DECREF_ALLOWNULL' 54321 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_heaphdr *) DUK_HCOMPFUNC_GET_LEXENV(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7601:56: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 7601 | #define DUK_HCOMPFUNC_GET_VARENV(heap, h) ((h)->var_env) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5109:8: note: in definition of macro 'DUK_HEAPHDR_DECREF_ALLOWNULL' 5109 | if ((h) != NULL) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54322:53: note: in expansion of macro 'DUK_HCOMPFUNC_GET_VARENV' 54322 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_heaphdr *) DUK_HCOMPFUNC_GET_VARENV(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7601:56: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 7601 | #define DUK_HCOMPFUNC_GET_VARENV(heap, h) ((h)->var_env) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:42: note: in definition of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5110:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF' 5110 | DUK_HEAPHDR_DECREF((thr), (duk_heaphdr *) (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54322:3: note: in expansion of macro 'DUK_HEAPHDR_DECREF_ALLOWNULL' 54322 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_heaphdr *) DUK_HCOMPFUNC_GET_VARENV(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54322:53: note: in expansion of macro 'DUK_HCOMPFUNC_GET_VARENV' 54322 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_heaphdr *) DUK_HCOMPFUNC_GET_VARENV(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5110:48: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5110 | DUK_HEAPHDR_DECREF((thr), (duk_heaphdr *) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:42: note: in definition of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5110:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF' 5110 | DUK_HEAPHDR_DECREF((thr), (duk_heaphdr *) (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54322:3: note: in expansion of macro 'DUK_HEAPHDR_DECREF_ALLOWNULL' 54322 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_heaphdr *) DUK_HCOMPFUNC_GET_VARENV(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5043:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5043 | #define DUK_HEAPHDR_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5110:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF' 5110 | DUK_HEAPHDR_DECREF((thr), (duk_heaphdr *) (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54322:3: note: in expansion of macro 'DUK_HEAPHDR_DECREF_ALLOWNULL' 54322 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_heaphdr *) DUK_HCOMPFUNC_GET_VARENV(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5043:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5043 | #define DUK_HEAPHDR_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5110:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF' 5110 | DUK_HEAPHDR_DECREF((thr), (duk_heaphdr *) (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54322:3: note: in expansion of macro 'DUK_HEAPHDR_DECREF_ALLOWNULL' 54322 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_heaphdr *) DUK_HCOMPFUNC_GET_VARENV(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5109:8: note: in definition of macro 'DUK_HEAPHDR_DECREF_ALLOWNULL' 5109 | if ((h) != NULL) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54323:53: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 54323 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5109:8: note: in definition of macro 'DUK_HEAPHDR_DECREF_ALLOWNULL' 5109 | if ((h) != NULL) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54323:53: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 54323 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:82: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5109:8: note: in definition of macro 'DUK_HEAPHDR_DECREF_ALLOWNULL' 5109 | if ((h) != NULL) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54323:53: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 54323 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:42: note: in definition of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5110:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF' 5110 | DUK_HEAPHDR_DECREF((thr), (duk_heaphdr *) (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54323:3: note: in expansion of macro 'DUK_HEAPHDR_DECREF_ALLOWNULL' 54323 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54323:53: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 54323 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:42: note: in definition of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5110:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF' 5110 | DUK_HEAPHDR_DECREF((thr), (duk_heaphdr *) (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54323:3: note: in expansion of macro 'DUK_HEAPHDR_DECREF_ALLOWNULL' 54323 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54323:53: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 54323 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:82: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:42: note: in definition of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5110:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF' 5110 | DUK_HEAPHDR_DECREF((thr), (duk_heaphdr *) (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54323:3: note: in expansion of macro 'DUK_HEAPHDR_DECREF_ALLOWNULL' 54323 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54323:53: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 54323 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5110:48: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5110 | DUK_HEAPHDR_DECREF((thr), (duk_heaphdr *) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:42: note: in definition of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5110:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF' 5110 | DUK_HEAPHDR_DECREF((thr), (duk_heaphdr *) (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54323:3: note: in expansion of macro 'DUK_HEAPHDR_DECREF_ALLOWNULL' 54323 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5043:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5043 | #define DUK_HEAPHDR_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5110:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF' 5110 | DUK_HEAPHDR_DECREF((thr), (duk_heaphdr *) (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54323:3: note: in expansion of macro 'DUK_HEAPHDR_DECREF_ALLOWNULL' 54323 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5043:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5043 | #define DUK_HEAPHDR_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5110:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF' 5110 | DUK_HEAPHDR_DECREF((thr), (duk_heaphdr *) (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54323:3: note: in expansion of macro 'DUK_HEAPHDR_DECREF_ALLOWNULL' 54323 | DUK_HEAPHDR_DECREF_ALLOWNULL(thr, (duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA(heap, f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54325:36: warning: use of old-style cast to 'duk_hdecenv*' {aka 'struct duk_hdecenv*'} [-Wold-style-cast] 54325 | duk_hdecenv *e = (duk_hdecenv *) h; | ^ | ----------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5067:43: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5067 | #define DUK_HTHREAD_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5170:4: note: in expansion of macro 'DUK_HTHREAD_DECREF_NORZ' 5170 | DUK_HTHREAD_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54327:3: note: in expansion of macro 'DUK_HTHREAD_DECREF_NORZ_ALLOWNULL' 54327 | DUK_HTHREAD_DECREF_NORZ_ALLOWNULL(thr, e->thread); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5067:43: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5067 | #define DUK_HTHREAD_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5170:4: note: in expansion of macro 'DUK_HTHREAD_DECREF_NORZ' 5170 | DUK_HTHREAD_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54327:3: note: in expansion of macro 'DUK_HTHREAD_DECREF_NORZ_ALLOWNULL' 54327 | DUK_HTHREAD_DECREF_NORZ_ALLOWNULL(thr, e->thread); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54328:3: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54328 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, e->varmap); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54328:3: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54328 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, e->varmap); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54330:36: warning: use of old-style cast to 'duk_hobjenv*' {aka 'struct duk_hobjenv*'} [-Wold-style-cast] 54330 | duk_hobjenv *e = (duk_hobjenv *) h; | ^ | ----------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54333:3: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 54333 | DUK_HOBJECT_DECREF_NORZ(thr, e->target); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54333:3: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 54333 | DUK_HOBJECT_DECREF_NORZ(thr, e->target); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54336:36: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 54336 | duk_hbufobj *b = (duk_hbufobj *) h; | ^ | ----------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54338:61: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 54338 | DUK_HBUFFER_DECREF_NORZ_ALLOWNULL(thr, (duk_hbuffer *) b->buf); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5151:8: note: in definition of macro 'DUK_HBUFFER_DECREF_NORZ_ALLOWNULL' 5151 | if ((h) != NULL) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54338:61: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 54338 | DUK_HBUFFER_DECREF_NORZ_ALLOWNULL(thr, (duk_hbuffer *) b->buf); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:42: note: in definition of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5152:4: note: in expansion of macro 'DUK_HBUFFER_DECREF_NORZ' 5152 | DUK_HBUFFER_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54338:3: note: in expansion of macro 'DUK_HBUFFER_DECREF_NORZ_ALLOWNULL' 54338 | DUK_HBUFFER_DECREF_NORZ_ALLOWNULL(thr, (duk_hbuffer *) b->buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5055:2: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5055 | DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hbuffer_refzero, duk_hbuffer *) /* no 'norz' variant */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5152:4: note: in expansion of macro 'DUK_HBUFFER_DECREF_NORZ' 5152 | DUK_HBUFFER_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54338:3: note: in expansion of macro 'DUK_HBUFFER_DECREF_NORZ_ALLOWNULL' 54338 | DUK_HBUFFER_DECREF_NORZ_ALLOWNULL(thr, (duk_hbuffer *) b->buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5055:2: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5055 | DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hbuffer_refzero, duk_hbuffer *) /* no 'norz' variant */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5152:4: note: in expansion of macro 'DUK_HBUFFER_DECREF_NORZ' 5152 | DUK_HBUFFER_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54338:3: note: in expansion of macro 'DUK_HBUFFER_DECREF_NORZ_ALLOWNULL' 54338 | DUK_HBUFFER_DECREF_NORZ_ALLOWNULL(thr, (duk_hbuffer *) b->buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54339:61: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 54339 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) b->buf_prop); | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5133:8: note: in definition of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 5133 | if ((h) != NULL) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54339:61: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 54339 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) b->buf_prop); | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:42: note: in definition of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54339:3: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54339 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) b->buf_prop); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54339:3: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54339 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) b->buf_prop); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54339:3: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54339 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) b->buf_prop); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54342:51: warning: use of old-style cast to 'void*' [-Wold-style-cast] 54342 | duk_hboundfunc *f = (duk_hboundfunc *) (void *) h; | ^ | ---------- | static_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54342:51: warning: use of old-style cast to 'duk_hboundfunc*' {aka 'struct duk_hboundfunc*'} [-Wold-style-cast] 54342 | duk_hboundfunc *f = (duk_hboundfunc *) (void *) h; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4932:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4932 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54344:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 54344 | DUK_TVAL_DECREF_NORZ(thr, &f->target); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4933:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4933 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54344:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 54344 | DUK_TVAL_DECREF_NORZ(thr, &f->target); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4932:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4932 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54345:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 54345 | DUK_TVAL_DECREF_NORZ(thr, &f->this_binding); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4933:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4933 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54345:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 54345 | DUK_TVAL_DECREF_NORZ(thr, &f->this_binding); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54349:34: warning: use of old-style cast to 'duk_hproxy*' {aka 'struct duk_hproxy*'} [-Wold-style-cast] 54349 | duk_hproxy *p = (duk_hproxy *) h; | ^ | ---------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54351:3: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 54351 | DUK_HOBJECT_DECREF_NORZ(thr, p->target); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54351:3: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 54351 | DUK_HOBJECT_DECREF_NORZ(thr, p->target); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54352:3: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 54352 | DUK_HOBJECT_DECREF_NORZ(thr, p->handler); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54352:3: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 54352 | DUK_HOBJECT_DECREF_NORZ(thr, p->handler); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54355:36: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 54355 | duk_hthread *t = (duk_hthread *) h; | ^ | ----------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4932:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4932 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54363:4: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 54363 | DUK_TVAL_DECREF_NORZ(thr, tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4933:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4933 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54363:4: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 54363 | DUK_TVAL_DECREF_NORZ(thr, tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5133:8: note: in definition of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 5133 | if ((h) != NULL) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54368:59: note: in expansion of macro 'DUK_ACT_GET_FUNC' 54368 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) DUK_ACT_GET_FUNC(act)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:42: note: in definition of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54368:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54368 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) DUK_ACT_GET_FUNC(act)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54368:59: note: in expansion of macro 'DUK_ACT_GET_FUNC' 54368 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) DUK_ACT_GET_FUNC(act)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54368:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54368 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) DUK_ACT_GET_FUNC(act)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54368:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54368 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) DUK_ACT_GET_FUNC(act)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54369:64: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 54369 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) act->var_env); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5133:8: note: in definition of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 5133 | if ((h) != NULL) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54369:64: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 54369 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) act->var_env); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:42: note: in definition of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54369:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54369 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) act->var_env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54369:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54369 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) act->var_env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54369:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54369 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) act->var_env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54370:64: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 54370 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) act->lex_env); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5133:8: note: in definition of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 5133 | if ((h) != NULL) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54370:64: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 54370 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) act->lex_env); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:42: note: in definition of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54370:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54370 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) act->lex_env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54370:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54370 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) act->lex_env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54370:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54370 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) act->lex_env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54381:72: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 54381 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) t->builtins[i]); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5133:8: note: in definition of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 5133 | if ((h) != NULL) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54381:72: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 54381 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) t->builtins[i]); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:42: note: in definition of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54381:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54381 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) t->builtins[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54381:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54381 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) t->builtins[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54381:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 54381 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, (duk_hobject *) t->builtins[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54384:61: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 54384 | DUK_HTHREAD_DECREF_NORZ_ALLOWNULL(thr, (duk_hthread *) t->resumer); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5169:8: note: in definition of macro 'DUK_HTHREAD_DECREF_NORZ_ALLOWNULL' 5169 | if ((h) != NULL) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54384:61: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 54384 | DUK_HTHREAD_DECREF_NORZ_ALLOWNULL(thr, (duk_hthread *) t->resumer); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:42: note: in definition of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5170:4: note: in expansion of macro 'DUK_HTHREAD_DECREF_NORZ' 5170 | DUK_HTHREAD_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54384:3: note: in expansion of macro 'DUK_HTHREAD_DECREF_NORZ_ALLOWNULL' 54384 | DUK_HTHREAD_DECREF_NORZ_ALLOWNULL(thr, (duk_hthread *) t->resumer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5067:43: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5067 | #define DUK_HTHREAD_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5170:4: note: in expansion of macro 'DUK_HTHREAD_DECREF_NORZ' 5170 | DUK_HTHREAD_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54384:3: note: in expansion of macro 'DUK_HTHREAD_DECREF_NORZ_ALLOWNULL' 54384 | DUK_HTHREAD_DECREF_NORZ_ALLOWNULL(thr, (duk_hthread *) t->resumer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5067:43: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5067 | #define DUK_HTHREAD_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5170:4: note: in expansion of macro 'DUK_HTHREAD_DECREF_NORZ' 5170 | DUK_HTHREAD_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54384:3: note: in expansion of macro 'DUK_HTHREAD_DECREF_NORZ_ALLOWNULL' 54384 | DUK_HTHREAD_DECREF_NORZ_ALLOWNULL(thr, (duk_hthread *) t->resumer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_heaphdr_refcount_finalize_norz(duk_heap*, duk_heaphdr*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54401:60: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 54401 | duk_hobject_refcount_finalize_norz(heap, (duk_hobject *) hdr); | ^~~ | ------------------- | reinterpret_cast ( hdr) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__refcount_free_pending(duk_heap*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54484:60: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 54484 | duk_hobject_refcount_finalize_norz(heap, (duk_hobject *) curr); | ^~~~ | -------------------- | reinterpret_cast ( curr) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54490:42: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 54490 | duk_free_hobject(heap, (duk_hobject *) curr); /* Invalidates 'curr'. */ | ^~~~ | -------------------- | reinterpret_cast ( curr) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__refcount_refzero_hobject(duk_heap*, duk_hobject*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54509:24: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 54509 | hdr = (duk_heaphdr *) obj; | ^~~ | ------------------- | reinterpret_cast ( obj) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54525:72: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 54525 | if (DUK_UNLIKELY(DUK_HOBJECT_HAS_FINALIZER_FAST(heap, (duk_hobject *) hdr) != 0U)) { | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54525:19: note: in expansion of macro 'DUK_HOBJECT_HAS_FINALIZER_FAST' 54525 | if (DUK_UNLIKELY(DUK_HOBJECT_HAS_FINALIZER_FAST(heap, (duk_hobject *) hdr) != 0U)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__refcount_refzero_hbuffer(duk_heap*, duk_hbuffer*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54653:60: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 54653 | DUK_HEAP_REMOVE_FROM_HEAP_ALLOCATED(heap, (duk_heaphdr *) buf); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9105:101: note: in definition of macro 'DUK_HEAP_REMOVE_FROM_HEAP_ALLOCATED' 9105 | #define DUK_HEAP_REMOVE_FROM_HEAP_ALLOCATED(heap, hdr) duk_heap_remove_from_heap_allocated((heap), (hdr)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__hstring_refzero_helper(duk_hthread*, duk_hstring*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54736:55: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 54736 | duk__refcount_refzero_hstring(heap, (duk_hstring *) h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54762:2: note: in expansion of macro 'DUK__RZ_STRING' 54762 | DUK__RZ_STRING(); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__hbuffer_refzero_helper(duk_hthread*, duk_hbuffer*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54740:55: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 54740 | duk__refcount_refzero_hbuffer(heap, (duk_hbuffer *) h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54773:2: note: in expansion of macro 'DUK__RZ_BUFFER' 54773 | DUK__RZ_BUFFER(); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__hobject_refzero_helper(duk_hthread*, duk_hobject*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54744:55: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 54744 | duk__refcount_refzero_hobject(heap, (duk_hobject *) h, skip_free_pending); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54784:2: note: in expansion of macro 'DUK__RZ_OBJECT' 54784 | DUK__RZ_OBJECT(); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__heaphdr_refzero_helper(duk_hthread*, duk_heaphdr*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4750:76: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 4750 | #define DUK_HEAPHDR_GET_TYPE(h) ((h)->h_flags & DUK_HEAPHDR_FLAGS_TYPE_MASK) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54795:29: note: in expansion of macro 'DUK_HEAPHDR_GET_TYPE' 54795 | htype = (duk_small_uint_t) DUK_HEAPHDR_GET_TYPE(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54736:55: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 54736 | duk__refcount_refzero_hstring(heap, (duk_hstring *) h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54807:3: note: in expansion of macro 'DUK__RZ_STRING' 54807 | DUK__RZ_STRING(); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54744:55: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 54744 | duk__refcount_refzero_hobject(heap, (duk_hobject *) h, skip_free_pending); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54815:3: note: in expansion of macro 'DUK__RZ_OBJECT' 54815 | DUK__RZ_OBJECT(); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54740:55: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 54740 | duk__refcount_refzero_hbuffer(heap, (duk_hbuffer *) h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:54825:3: note: in expansion of macro 'DUK__RZ_BUFFER' 54825 | DUK__RZ_BUFFER(); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint_fast32_t duk_heap_strcache_offset_char2byte(duk_hthread*, duk_hstring*, duk_uint_fast32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6413:63: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 6413 | #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55141:36: note: in expansion of macro 'DUK_HSTRING_GET_CHARLEN' 55141 | char_length = (duk_uint_fast32_t) DUK_HSTRING_GET_CHARLEN(h); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55209:34: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 55209 | p_start = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55209:34: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 55209 | p_start = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55210:69: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 55210 | p_end = (const duk_uint8_t *) (p_start + DUK_HSTRING_GET_BYTELEN(h)); | ^ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55293:49: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 55293 | byte_offset = (duk_uint32_t) (p_found - p_start); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55309:48: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 55309 | sce->bidx = (duk_uint32_t) (p_found - p_start); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55310:30: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 55310 | sce->cidx = (duk_uint32_t) char_offset; | ^~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55323:44: warning: use of old-style cast to 'void*' [-Wold-style-cast] 55323 | duk_memmove((void *) (&heap->strcache[1]), | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3050:21: note: in definition of macro 'duk_memmove' 3050 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55324:50: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 55324 | (const void *) (&heap->strcache[0]), | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3051:27: note: in definition of macro 'duk_memmove' 3051 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55325:36: warning: use of old-style cast to 'char*' [-Wold-style-cast] 55325 | (size_t) (((char *) sce) - ((char *) &heap->strcache[0]))); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3052:26: note: in definition of macro 'duk_memmove' 3052 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55325:70: warning: use of old-style cast to 'char*' [-Wold-style-cast] 55325 | (size_t) (((char *) sce) - ((char *) &heap->strcache[0]))); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3052:26: note: in definition of macro 'duk_memmove' 3052 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55325:72: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 55325 | (size_t) (((char *) sce) - ((char *) &heap->strcache[0]))); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3052:26: note: in definition of macro 'duk_memmove' 3052 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3055:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3055 | (void) DUK_MEMMOVE(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55323:4: note: in expansion of macro 'duk_memmove' 55323 | duk_memmove((void *) (&heap->strcache[1]), | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10285:61: note: in expansion of macro 'DUK_LINE_MACRO' 10285 | duk_err_error_internal((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55346:2: note: in expansion of macro 'DUK_ERROR_INTERNAL' 55346 | DUK_ERROR_INTERNAL(thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hstring* duk__strtable_alloc_hstring(duk_heap*, const duk_uint8_t*, duk_uint32_t, duk_uint32_t, const duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9168:86: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 9168 | #define DUK_ALLOC(heap, size) duk_heap_mem_alloc((heap), (size)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55539:25: note: in expansion of macro 'DUK_ALLOC' 55539 | res = (duk_hstring *) DUK_ALLOC(heap, sizeof(duk_hstring) + blen + 1); | ^~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55543:3: note: in expansion of macro 'duk_memzero' 55543 | duk_memzero(res, sizeof(duk_hstring)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55549:38: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 55549 | data_tmp = (duk_uint8_t *) (res + 1); | ^ | ------------------------- | reinterpret_cast ( (res + 1)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55550:3: note: in expansion of macro 'duk_memcpy' 55550 | duk_memcpy(data_tmp, str, blen); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55551:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 55551 | data_tmp[blen] = (duk_uint8_t) 0; | ^ | - | static_cast<- | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55552:32: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 55552 | data = (const duk_uint8_t *) data_tmp; | ^~~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__strtable_grow_inplace(duk_heap*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9170:98: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 9170 | #define DUK_REALLOC(heap, ptr, newsize) duk_heap_mem_realloc((heap), (ptr), (newsize)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55657:29: note: in expansion of macro 'DUK_REALLOC' 55657 | new_ptr = (duk_hstring **) DUK_REALLOC(heap, heap->strtable, sizeof(duk_hstring *) * new_st_size); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__strtable_shrink_inplace(duk_heap*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9170:98: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 9170 | #define DUK_REALLOC(heap, ptr, newsize) duk_heap_mem_realloc((heap), (ptr), (newsize)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:55806:29: note: in expansion of macro 'DUK_REALLOC' 55806 | new_ptr = (duk_hstring **) DUK_REALLOC(heap, heap->strtable, sizeof(duk_hstring *) * new_st_size); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hstring* duk_heap_strtable_intern(duk_heap*, const duk_uint8_t*, duk_uint32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56083:56: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 56083 | strhash = duk_heap_hashstring(heap, str, (duk_size_t) blen); | ^~~~ | ----------------- | static_cast ( blen) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56097:40: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 56097 | duk_memcmp_unsafe((const void *) str, (const void *) DUK_HSTRING_GET_DATA(h), (size_t) blen) == 0) { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56097:60: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 56097 | duk_memcmp_unsafe((const void *) str, (const void *) DUK_HSTRING_GET_DATA(h), (size_t) blen) == 0) { | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56097:60: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 56097 | duk_memcmp_unsafe((const void *) str, (const void *) DUK_HSTRING_GET_DATA(h), (size_t) blen) == 0) { | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56097:94: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 56097 | duk_memcmp_unsafe((const void *) str, (const void *) DUK_HSTRING_GET_DATA(h), (size_t) blen) == 0) { | ^~~~ | ------------- | static_cast ( blen) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hstring* duk_heap_strtable_intern_u32(duk_heap*, duk_uint32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56148:62: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 56148 | return duk_heap_strtable_intern(heap, (const duk_uint8_t *) p, (duk_uint32_t) ((buf + sizeof(buf)) - p)); | ^ | - | const_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56148:104: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 56148 | return duk_heap_strtable_intern(heap, (const duk_uint8_t *) p, (duk_uint32_t) ((buf + sizeof(buf)) - p)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hstring* duk_heap_strtable_intern_checked(duk_hthread*, const duk_uint8_t*, duk_uint32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10294:65: note: in expansion of macro 'DUK_LINE_MACRO' 10294 | duk_err_error_alloc_failed((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56169:3: note: in expansion of macro 'DUK_ERROR_ALLOC_FAILED' 56169 | DUK_ERROR_ALLOC_FAILED(thr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint_t duk__strtable_litcache_key(const duk_uint8_t*, duk_uint32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56182:24: warning: use of old-style cast to 'duk_uintptr_t' {aka 'unsigned int'} [-Wold-style-cast] 56182 | key = (duk_uintptr_t) blen ^ (duk_uintptr_t) str; | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56182:47: warning: use of old-style cast to 'duk_uintptr_t' {aka 'unsigned int'} [-Wold-style-cast] 56182 | key = (duk_uintptr_t) blen ^ (duk_uintptr_t) str; | ^~~ | ------------------- | reinterpret_cast ( str) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56183:51: warning: use of old-style cast to 'duk_uintptr_t' {aka 'unsigned int'} [-Wold-style-cast] 56183 | key &= (duk_uintptr_t) (DUK_USE_LITCACHE_SIZE - 1); /* Assumes size is power of 2. */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56186:22: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 56186 | return (duk_uint_t) key; | ^~~ | ---------------- | static_cast ( key) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hstring* duk_heap_strtable_intern_literal_checked(duk_hthread*, const duk_uint8_t*, duk_uint32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56224:3: note: in expansion of macro 'DUK_HSTRING_INCREF' 56224 | DUK_HSTRING_INCREF(thr, h); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56224:3: note: in expansion of macro 'DUK_HSTRING_INCREF' 56224 | DUK_HSTRING_INCREF(thr, h); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hstring* duk_heap_strtable_intern_u32_checked(duk_hthread*, duk_uint32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10294:65: note: in expansion of macro 'DUK_LINE_MACRO' 10294 | duk_err_error_alloc_failed((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56241:3: note: in expansion of macro 'DUK_ERROR_ALLOC_FAILED' 56241 | DUK_ERROR_ALLOC_FAILED(thr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void* duk__hobject_alloc_init(duk_hthread*, duk_uint_t, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9182:92: warning: use of old-style cast to 'void*' [-Wold-style-cast] 9182 | #define DUK_ALLOC_CHECKED_ZEROED(thr, size) duk_heap_mem_alloc_checked_zeroed((thr), (size)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56546:17: note: in expansion of macro 'DUK_ALLOC_CHECKED_ZEROED' 56546 | res = (void *) DUK_ALLOC_CHECKED_ZEROED(thr, size); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56548:67: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 56548 | duk__init_object_parts(thr->heap, hobject_flags, (duk_hobject *) res); | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hobject* duk_hobject_alloc_unchecked(duk_heap*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9169:93: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 9169 | #define DUK_ALLOC_ZEROED(heap, size) duk_heap_mem_alloc_zeroed((heap), (size)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56573:24: note: in expansion of macro 'DUK_ALLOC_ZEROED' 56573 | res = (duk_hobject *) DUK_ALLOC_ZEROED(heap, sizeof(duk_hobject)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hobject* duk_hobject_alloc(duk_hthread*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56588:87: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 56588 | res = (duk_hobject *) duk__hobject_alloc_init(thr, hobject_flags, sizeof(duk_hobject)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hcompfunc* duk_hcompfunc_alloc(duk_hthread*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56595:91: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 56595 | res = (duk_hcompfunc *) duk__hobject_alloc_init(thr, hobject_flags, sizeof(duk_hcompfunc)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hnatfunc* duk_hnatfunc_alloc(duk_hthread*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56614:89: warning: use of old-style cast to 'duk_hnatfunc*' {aka 'struct duk_hnatfunc*'} [-Wold-style-cast] 56614 | res = (duk_hnatfunc *) duk__hobject_alloc_init(thr, hobject_flags, sizeof(duk_hnatfunc)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hboundfunc* duk_hboundfunc_alloc(duk_heap*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9168:86: warning: use of old-style cast to 'duk_hboundfunc*' {aka 'struct duk_hboundfunc*'} [-Wold-style-cast] 9168 | #define DUK_ALLOC(heap, size) duk_heap_mem_alloc((heap), (size)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56625:27: note: in expansion of macro 'DUK_ALLOC' 56625 | res = (duk_hboundfunc *) DUK_ALLOC(heap, sizeof(duk_hboundfunc)); | ^~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56629:2: note: in expansion of macro 'duk_memzero' 56629 | duk_memzero(res, sizeof(duk_hboundfunc)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56633:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 56633 | DUK_TVAL_SET_UNDEFINED(&res->target); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56634:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 56634 | DUK_TVAL_SET_UNDEFINED(&res->this_binding); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hbufobj* duk_hbufobj_alloc(duk_hthread*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56647:87: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 56647 | res = (duk_hbufobj *) duk__hobject_alloc_init(thr, hobject_flags, sizeof(duk_hbufobj)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hthread* duk_hthread_alloc_unchecked(duk_heap*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9168:86: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 9168 | #define DUK_ALLOC(heap, size) duk_heap_mem_alloc((heap), (size)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56667:24: note: in expansion of macro 'DUK_ALLOC' 56667 | res = (duk_hthread *) DUK_ALLOC(heap, sizeof(duk_hthread)); | ^~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56671:2: note: in expansion of macro 'duk_memzero' 56671 | duk_memzero(res, sizeof(duk_hthread)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hthread* duk_hthread_alloc(duk_hthread*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10294:65: note: in expansion of macro 'DUK_LINE_MACRO' 10294 | duk_err_error_alloc_failed((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56712:3: note: in expansion of macro 'DUK_ERROR_ALLOC_FAILED' 56712 | DUK_ERROR_ALLOC_FAILED(thr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_harray* duk_harray_alloc(duk_hthread*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56721:85: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 56721 | res = (duk_harray *) duk__hobject_alloc_init(thr, hobject_flags, sizeof(duk_harray)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hdecenv* duk_hdecenv_alloc(duk_hthread*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56731:87: warning: use of old-style cast to 'duk_hdecenv*' {aka 'struct duk_hdecenv*'} [-Wold-style-cast] 56731 | res = (duk_hdecenv *) duk__hobject_alloc_init(thr, hobject_flags, sizeof(duk_hdecenv)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hobjenv* duk_hobjenv_alloc(duk_hthread*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56747:87: warning: use of old-style cast to 'duk_hobjenv*' {aka 'struct duk_hobjenv*'} [-Wold-style-cast] 56747 | res = (duk_hobjenv *) duk__hobject_alloc_init(thr, hobject_flags, sizeof(duk_hobjenv)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hproxy* duk_hproxy_alloc(duk_hthread*, duk_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56760:85: warning: use of old-style cast to 'duk_hproxy*' {aka 'struct duk_hproxy*'} [-Wold-style-cast] 56760 | res = (duk_hproxy *) duk__hobject_alloc_init(thr, hobject_flags, sizeof(duk_hproxy)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk__sort_key_t duk__hstring_sort_key(duk_hstring*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6437:52: warning: use of old-style cast to 'duk__sort_key_t' {aka 'long long unsigned int'} [-Wold-style-cast] 6437 | #define DUK_HSTRING_GET_ARRIDX_FAST(h) ((h)->arridx) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56972:26: note: in expansion of macro 'DUK_HSTRING_GET_ARRIDX_FAST' 56972 | val = (duk__sort_key_t) DUK_HSTRING_GET_ARRIDX_FAST(x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56975:75: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 56975 | val = val + (duk__sort_key_t) (DUK_HEAPHDR_GET_FLAGS_RAW((duk_heaphdr *) x) & DUK_HSTRING_FLAG_SYMBOL); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4739:40: note: in definition of macro 'DUK_HEAPHDR_GET_FLAGS_RAW' 4739 | #define DUK_HEAPHDR_GET_FLAGS_RAW(h) ((h)->h_flags) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56975:103: warning: use of old-style cast to 'duk__sort_key_t' {aka 'long long unsigned int'} [-Wold-style-cast] 56975 | val = val + (duk__sort_key_t) (DUK_HEAPHDR_GET_FLAGS_RAW((duk_heaphdr *) x) & DUK_HSTRING_FLAG_SYMBOL); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56978:27: warning: use of old-style cast to 'duk__sort_key_t' {aka 'long long unsigned int'} [-Wold-style-cast] 56978 | return (duk__sort_key_t) val; | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__sort_enum_keys_es6(duk_hthread*, duk_hobject*, duk_int_fast32_t, duk_int_fast32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57011:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 57011 | keys = DUK_HOBJECT_E_GET_KEY_BASE(thr->heap, h_obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57011:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 57011 | keys = DUK_HOBJECT_E_GET_KEY_BASE(thr->heap, h_obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57053:47: warning: use of old-style cast to 'void*' [-Wold-style-cast] 57053 | duk_memmove((void *) (keys + idx_insert + 1), | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3050:21: note: in definition of macro 'duk_memmove' 3050 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57054:49: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 57054 | (const void *) (keys + idx_insert), | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3051:27: note: in definition of macro 'duk_memmove' 3051 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57055:43: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 57055 | ((size_t) (idx - idx_insert) * sizeof(duk_hstring *))); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3052:26: note: in definition of macro 'duk_memmove' 3052 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3055:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3055 | (void) DUK_MEMMOVE(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57053:4: note: in expansion of macro 'duk_memmove' 57053 | duk_memmove((void *) (keys + idx_insert + 1), | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_hobject_enumerator_create(duk_hthread*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57118:2: note: in expansion of macro 'duk_put_prop_stridx_short' 57118 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_INT_TARGET); /* Target is bare, plain put OK. */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57118:2: note: in expansion of macro 'duk_put_prop_stridx_short' 57118 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_INT_TARGET); /* Target is bare, plain put OK. */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57122:2: note: in expansion of macro 'duk_put_prop_stridx_short' 57122 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_INT_NEXT); /* Target is bare, plain put OK. */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57122:2: note: in expansion of macro 'duk_put_prop_stridx_short' 57122 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_INT_NEXT); /* Target is bare, plain put OK. */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57143:7: note: in expansion of macro 'duk_get_prop_stridx_short' 57143 | if (!duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_OWN_KEYS)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57143:7: note: in expansion of macro 'duk_get_prop_stridx_short' 57143 | if (!duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_OWN_KEYS)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57154:3: note: in expansion of macro 'duk_put_prop_stridx_short' 57154 | duk_put_prop_stridx_short(thr, -4, DUK_STRIDX_INT_TARGET); /* Target is bare, plain put OK. */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57154:3: note: in expansion of macro 'duk_put_prop_stridx_short' 57154 | duk_put_prop_stridx_short(thr, -4, DUK_STRIDX_INT_TARGET); /* Target is bare, plain put OK. */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57173:50: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 57173 | len = (duk_uint_fast32_t) duk_get_length(thr, -1); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57175:54: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 57175 | (void) duk_get_prop_index(thr, -1, (duk_uarridx_t) i); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6413:63: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 6413 | #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57250:31: note: in expansion of macro 'DUK_HSTRING_GET_CHARLEN' 57250 | len = (duk_uint_fast32_t) DUK_HSTRING_GET_CHARLEN(h_val); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57256:32: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 57256 | h_bufobj = (duk_hbufobj *) curr; | ^~~~ | -------------------- | reinterpret_cast ( curr) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57269:68: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 57269 | len = (duk_uint_fast32_t) (h_bufobj->length >> h_bufobj->shift); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57280:66: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 57280 | k = duk_heap_strtable_intern_u32_checked(thr, (duk_uint32_t) i); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7138:50: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 7138 | #define DUK_HOBJECT_GET_ASIZE(h) ((h)->a_size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57304:40: note: in expansion of macro 'DUK_HOBJECT_GET_ASIZE' 57304 | for (i = 0; i < (duk_uint_fast32_t) DUK_HOBJECT_GET_ASIZE(curr); i++) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57308:10: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 57308 | tv = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, curr, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57308:10: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 57308 | tv = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, curr, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1175:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1175 | #define DUK_TVAL_IS_UNUSED(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_UNUSED) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57309:9: note: in expansion of macro 'DUK_TVAL_IS_UNUSED' 57309 | if (DUK_TVAL_IS_UNUSED(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57312:66: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 57312 | k = duk_heap_strtable_intern_u32_checked(thr, (duk_uint32_t) i); /* Fragile reachability. */ | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7132:46: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 7132 | #define DUK_HOBJECT_GET_ENEXT(h) ((h)->e_next) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57332:39: note: in expansion of macro 'DUK_HOBJECT_GET_ENEXT' 57332 | for (i = 0; i < (duk_uint_fast32_t) DUK_HOBJECT_GET_ENEXT(curr); i++) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57335:8: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 57335 | k = DUK_HOBJECT_E_GET_KEY(thr->heap, curr, i); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57335:8: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 57335 | k = DUK_HOBJECT_E_GET_KEY(thr->heap, curr, i); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7066:4: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7066 | ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_ENUMERABLE) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57340:9: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_IS_ENUMERABLE' 57340 | !DUK_HOBJECT_E_SLOT_IS_ENUMERABLE(thr->heap, curr, i)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7066:4: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7066 | ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_ENUMERABLE) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57340:9: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_IS_ENUMERABLE' 57340 | !DUK_HOBJECT_E_SLOT_IS_ENUMERABLE(thr->heap, curr, i)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57405:48: warning: use of old-style cast to 'duk_int_fast32_t' {aka 'int'} [-Wold-style-cast] 57405 | (duk_int_fast32_t) sort_start_index, | ^~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57406:48: warning: use of old-style cast to 'duk_int_fast32_t' {aka 'int'} [-Wold-style-cast] 57406 | (duk_int_fast32_t) sort_end_index); | ^~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:56918:31: warning: use of old-style cast to 'duk_int_fast32_t' {aka 'int'} [-Wold-style-cast] 56918 | #define DUK__ENUM_START_INDEX 2 | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57441:46: note: in expansion of macro 'DUK__ENUM_START_INDEX' 57441 | (duk_int_fast32_t) DUK__ENUM_START_INDEX, | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7132:46: warning: use of old-style cast to 'duk_int_fast32_t' {aka 'int'} [-Wold-style-cast] 7132 | #define DUK_HOBJECT_GET_ENEXT(h) ((h)->e_next) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57442:46: note: in expansion of macro 'DUK_HOBJECT_GET_ENEXT' 57442 | (duk_int_fast32_t) DUK_HOBJECT_GET_ENEXT(res)); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_hobject_enumerator_next(duk_hthread*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57476:2: note: in expansion of macro 'duk_get_prop_stridx_short' 57476 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_INT_NEXT); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57476:2: note: in expansion of macro 'duk_get_prop_stridx_short' 57476 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_INT_NEXT); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57477:52: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 57477 | idx = (duk_uint_fast32_t) duk_require_uint(thr, -1); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:71: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57486:2: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 57486 | duk_xget_owndataprop_stridx_short(thr, -1, DUK_STRIDX_INT_TARGET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:104: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57486:2: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 57486 | duk_xget_owndataprop_stridx_short(thr, -1, DUK_STRIDX_INT_TARGET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57510:7: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 57510 | k = DUK_HOBJECT_E_GET_KEY(thr->heap, e, idx); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57510:7: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 57510 | k = DUK_HOBJECT_E_GET_KEY(thr->heap, e, idx); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57530:35: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 57530 | duk_push_u32(thr, (duk_uint32_t) idx); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:67: note: in definition of macro 'duk_push_u32' 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:70: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57530:2: note: in expansion of macro 'duk_push_u32' 57530 | duk_push_u32(thr, (duk_uint32_t) idx); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57531:2: note: in expansion of macro 'duk_put_prop_stridx_short' 57531 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_INT_NEXT); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57531:2: note: in expansion of macro 'duk_put_prop_stridx_short' 57531 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_INT_NEXT); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_hobject_get_enumerated_keys(duk_hthread*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57579:74: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 57579 | count = (duk_uint32_t) (DUK_HOBJECT_GET_ENEXT(e) - DUK__ENUM_START_INDEX); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57582:60: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 57582 | tv = duk_push_harray_with_size_outptr(thr, (duk_uint32_t) count); | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57588:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 57588 | keys = DUK_HOBJECT_E_GET_KEY_BASE(thr->heap, e); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57588:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 57588 | keys = DUK_HOBJECT_E_GET_KEY_BASE(thr->heap, e); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57597:3: note: in expansion of macro 'DUK_TVAL_SET_STRING' 57597 | DUK_TVAL_SET_STRING(tv, k); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57597:3: note: in expansion of macro 'DUK_TVAL_SET_STRING' 57597 | DUK_TVAL_SET_STRING(tv, k); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57597:3: note: in expansion of macro 'DUK_TVAL_SET_STRING' 57597 | DUK_TVAL_SET_STRING(tv, k); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57599:3: note: in expansion of macro 'DUK_HSTRING_INCREF' 57599 | DUK_HSTRING_INCREF(thr, k); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57599:3: note: in expansion of macro 'DUK_HSTRING_INCREF' 57599 | DUK_HSTRING_INCREF(thr, k); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_hobject_prototype_chain_contains(duk_hthread*, duk_hobject*, duk_hobject*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57643:5: note: in expansion of macro 'DUK_ERROR_RANGE' 57643 | DUK_ERROR_RANGE(thr, DUK_STR_PROTOTYPE_CHAIN_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_hobject_set_prototype_updref(duk_hthread*, duk_hobject*, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57660:2: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 57660 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, p); /* avoid problems if p == h->prototype */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57660:2: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 57660 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, p); /* avoid problems if p == h->prototype */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5050:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5050 | #define DUK_HOBJECT_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5128:4: note: in expansion of macro 'DUK_HOBJECT_DECREF' 5128 | DUK_HOBJECT_DECREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57661:2: note: in expansion of macro 'DUK_HOBJECT_DECREF_ALLOWNULL' 57661 | DUK_HOBJECT_DECREF_ALLOWNULL(thr, tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5050:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5050 | #define DUK_HOBJECT_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5128:4: note: in expansion of macro 'DUK_HOBJECT_DECREF' 5128 | DUK_HOBJECT_DECREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57661:2: note: in expansion of macro 'DUK_HOBJECT_DECREF_ALLOWNULL' 57661 | DUK_HOBJECT_DECREF_ALLOWNULL(thr, tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_hobject_pc2line_pack(duk_hthread*, duk_compiler_instr*, duk_uint_fast32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57697:105: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 57697 | curr_offset = (duk_uint_fast32_t) (sizeof(duk_uint32_t) + num_header_entries * sizeof(duk_uint32_t) * 2); | ^ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57699:44: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 57699 | duk_push_dynamic_buffer(thr, (duk_size_t) curr_offset); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:777:30: note: in definition of macro 'duk_push_dynamic_buffer' 777 | duk_push_buffer_raw((ctx), (size), DUK_BUF_FLAG_DYNAMIC /*flags*/) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57700:59: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 57700 | h_buf = (duk_hbuffer_dynamic *) duk_known_hbuffer(thr, -1); | ^ | - | reinterpret_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:67: warning: use of old-style cast to 'duk_uint32_t*' {aka 'unsigned int*'} [-Wold-style-cast] 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57703:25: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 57703 | hdr = (duk_uint32_t *) DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(thr->heap, h_buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57705:26: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 57705 | hdr[0] = (duk_uint32_t) length; /* valid pc range is [0, length[ */ | ^~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57709:69: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 57709 | new_size = (duk_size_t) (curr_offset + DUK_PC2LINE_MAX_DIFF_LENGTH); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:67: warning: use of old-style cast to 'duk_uint32_t*' {aka 'unsigned int*'} [-Wold-style-cast] 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57712:26: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 57712 | hdr = (duk_uint32_t *) DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(thr->heap, h_buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57716:50: warning: use of old-style cast to 'duk_int_fast32_t' {aka 'int'} [-Wold-style-cast] 57716 | curr_line = (duk_int_fast32_t) instrs[curr_pc].line; | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57717:39: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 57717 | hdr[hdr_index + 0] = (duk_uint32_t) curr_line; | ^~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57718:39: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 57718 | hdr[hdr_index + 1] = (duk_uint32_t) curr_offset; | ^~~~~~~~~~~ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57728:3: note: in expansion of macro 'duk_memzero' 57728 | duk_memzero(be_ctx, sizeof(*be_ctx)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57729:35: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 57729 | be_ctx->data = ((duk_uint8_t *) hdr) + curr_offset; | ^~~ | ------------------- | reinterpret_cast ( hdr) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7256:75: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 7256 | #define DUK_PC2LINE_MAX_DIFF_LENGTH (((DUK_PC2LINE_SKIP - 1) * 35 + 7) / 8) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57730:33: note: in expansion of macro 'DUK_PC2LINE_MAX_DIFF_LENGTH' 57730 | be_ctx->length = (duk_size_t) DUK_PC2LINE_MAX_DIFF_LENGTH; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57739:46: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 57739 | next_line = (duk_int32_t) instrs[curr_pc].line; | ^~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57752:72: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 57752 | duk_be_encode(be_ctx, (duk_uint32_t) ((0x02 << 2) + (diff_line - 1)), 4); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57756:75: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 57756 | duk_be_encode(be_ctx, (duk_uint32_t) ((0x06 << 8) + (diff_line + 0x80)), 11); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57761:86: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 57761 | duk_be_encode(be_ctx, (duk_uint32_t) ((0x07 << 16) + ((next_line >> 16) & 0xffff)), 19); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57762:61: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 57762 | duk_be_encode(be_ctx, (duk_uint32_t) (next_line & 0xffff), 16); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57772:46: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 57772 | curr_offset += (duk_uint_fast32_t) be_ctx->offset; | ^~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57776:26: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 57776 | new_size = (duk_size_t) curr_offset; | ^~~~~~~~~~~ | ------------------------ | static_cast ( curr_offset) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint_fast32_t duk__hobject_pc2line_query_raw(duk_hthread*, duk_hbuffer_fixed*, duk_uint_fast32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8653:81: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8653 | #define DUK_HBUFFER_FIXED_GET_SIZE(x) DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:52: note: in definition of macro 'DUK_HBUFFER_GET_SIZE' 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57815:6: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_SIZE' 57815 | if (DUK_HBUFFER_FIXED_GET_SIZE(buf) <= sizeof(duk_uint32_t)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8653:42: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 8653 | #define DUK_HBUFFER_FIXED_GET_SIZE(x) DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57815:6: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_SIZE' 57815 | if (DUK_HBUFFER_FIXED_GET_SIZE(buf) <= sizeof(duk_uint32_t)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57820:34: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 57820 | hdr = (duk_uint32_t *) (void *) DUK_HBUFFER_FIXED_GET_DATA_PTR(thr->heap, buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57820:34: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 57820 | hdr = (duk_uint32_t *) (void *) DUK_HBUFFER_FIXED_GET_DATA_PTR(thr->heap, buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57820:34: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 57820 | hdr = (duk_uint32_t *) (void *) DUK_HBUFFER_FIXED_GET_DATA_PTR(thr->heap, buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:108: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57820:34: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 57820 | hdr = (duk_uint32_t *) (void *) DUK_HBUFFER_FIXED_GET_DATA_PTR(thr->heap, buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:108: warning: use of old-style cast to 'duk_uint32_t*' {aka 'unsigned int*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57820:34: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 57820 | hdr = (duk_uint32_t *) (void *) DUK_HBUFFER_FIXED_GET_DATA_PTR(thr->heap, buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57830:19: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 57830 | if ((duk_size_t) start_offset > DUK_HBUFFER_FIXED_GET_SIZE(buf)) { | ^~~~~~~~~~~~ | ------------ | static_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8653:81: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8653 | #define DUK_HBUFFER_FIXED_GET_SIZE(x) DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:52: note: in definition of macro 'DUK_HBUFFER_GET_SIZE' 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57830:34: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_SIZE' 57830 | if ((duk_size_t) start_offset > DUK_HBUFFER_FIXED_GET_SIZE(buf)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8653:42: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 8653 | #define DUK_HBUFFER_FIXED_GET_SIZE(x) DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57830:34: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_SIZE' 57830 | if ((duk_size_t) start_offset > DUK_HBUFFER_FIXED_GET_SIZE(buf)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57841:2: note: in expansion of macro 'duk_memzero' 57841 | duk_memzero(bd_ctx, sizeof(*bd_ctx)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57842:34: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 57842 | bd_ctx->data = ((duk_uint8_t *) hdr) + start_offset; | ^~~ | ------------------- | reinterpret_cast ( hdr) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8653:81: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8653 | #define DUK_HBUFFER_FIXED_GET_SIZE(x) DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:52: note: in definition of macro 'DUK_HBUFFER_GET_SIZE' 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57843:33: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_SIZE' 57843 | bd_ctx->length = (duk_size_t) (DUK_HBUFFER_FIXED_GET_SIZE(buf) - start_offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8653:42: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 8653 | #define DUK_HBUFFER_FIXED_GET_SIZE(x) DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57843:33: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_SIZE' 57843 | bd_ctx->length = (duk_size_t) (DUK_HBUFFER_FIXED_GET_SIZE(buf) - start_offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57843:79: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 57843 | bd_ctx->length = (duk_size_t) (DUK_HBUFFER_FIXED_GET_SIZE(buf) - start_offset); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint_fast32_t duk_hobject_pc2line_query(duk_hthread*, duk_idx_t, duk_uint_fast32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:71: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57900:2: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 57900 | duk_xget_owndataprop_stridx_short(thr, idx_func, DUK_STRIDX_INT_PC2LINE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:104: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57900:2: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 57900 | duk_xget_owndataprop_stridx_short(thr, idx_func, DUK_STRIDX_INT_PC2LINE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57901:66: warning: use of old-style cast to 'void*' [-Wold-style-cast] 57901 | pc2line = (duk_hbuffer_fixed *) (void *) duk_get_hbuffer(thr, -1); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57901:66: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 57901 | pc2line = (duk_hbuffer_fixed *) (void *) duk_get_hbuffer(thr, -1); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:57904:75: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 57904 | line = duk__hobject_pc2line_query_raw(thr, pc2line, (duk_uint_fast32_t) pc); | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk__tval_number_to_arr_idx(duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58038:23: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 58038 | idx = (duk_uint32_t) dbl; | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58039:39: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 58039 | if (duk_double_equals((duk_double_t) idx, dbl)) { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk__to_property_key(duk_hthread*, duk_idx_t, duk_hstring**)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58092:11: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 58092 | tv_dst = DUK_GET_TVAL_NEGIDX(thr, idx); /* intentionally unvalidated */ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1181:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1181 | #define DUK_TVAL_IS_STRING(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58093:6: note: in expansion of macro 'DUK_TVAL_IS_STRING' 58093 | if (DUK_TVAL_IS_STRING(tv_dst)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58100:7: note: in expansion of macro 'DUK_TVAL_GET_STRING' 58100 | h = DUK_TVAL_GET_STRING(tv_dst); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__key_is_plain_buf_ownprop(duk_hthread*, duk_hbuffer*, duk_hstring*, duk_uint32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58126:16: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 58126 | if (arr_idx < DUK_HBUFFER_GET_SIZE(buf)) { | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk__count_used_e_keys(duk_hthread*, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58197:6: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 58197 | e = DUK_HOBJECT_E_GET_KEY_BASE(thr->heap, obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58197:6: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 58197 | e = DUK_HOBJECT_E_GET_KEY_BASE(thr->heap, obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58203:24: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 58203 | return (duk_uint32_t) n; | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__compute_a_stats(duk_hthread*, duk_hobject*, duk_uint32_t*, duk_uint32_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58214:55: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 58214 | duk_uint_fast32_t highest_idx = (duk_uint_fast32_t) -1; /* see below */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58222:6: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 58222 | a = DUK_HOBJECT_A_GET_BASE(thr->heap, obj); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58222:6: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 58222 | a = DUK_HOBJECT_A_GET_BASE(thr->heap, obj); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1175:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1175 | #define DUK_TVAL_IS_UNUSED(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_UNUSED) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58225:8: note: in expansion of macro 'DUK_TVAL_IS_UNUSED' 58225 | if (!DUK_TVAL_IS_UNUSED(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58236:29: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 58236 | *out_used = (duk_uint32_t) used; | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58237:49: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 58237 | *out_min_size = (duk_uint32_t) (highest_idx + 1); /* 0 if no used entries */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_tval* duk__obtain_arridx_slot_slowpath(duk_hthread*, duk_uint32_t, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58382:9: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 58382 | return DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, arr_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58382:9: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 58382 | return DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, arr_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_tval* duk__obtain_arridx_slot(duk_hthread*, duk_uint32_t, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58387:10: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 58387 | return DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, arr_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58387:10: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 58387 | return DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, arr_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_hobject_proxy_check(duk_hobject*, duk_hobject**, duk_hobject**)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58411:27: warning: use of old-style cast to 'duk_hproxy*' {aka 'struct duk_hproxy*'} [-Wold-style-cast] 58411 | h_proxy = (duk_hproxy *) obj; | ^~~ | ------------------ | reinterpret_cast ( obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hobject* duk_hobject_resolve_proxy_target(duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58438:28: warning: use of old-style cast to 'duk_hproxy*' {aka 'struct duk_hproxy*'} [-Wold-style-cast] 58438 | h_proxy = (duk_hproxy *) obj; | ^~~ | ------------------ | reinterpret_cast ( obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__proxy_check_prop(duk_hthread*, duk_hobject*, duk_small_uint_t, duk_tval*, duk_hobject**)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1181:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1181 | #define DUK_TVAL_IS_STRING(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58478:6: note: in expansion of macro 'DUK_TVAL_IS_STRING' 58478 | if (DUK_TVAL_IS_STRING(tv_key)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58479:40: note: in expansion of macro 'DUK_TVAL_GET_STRING' 58479 | duk_hstring *h_key = (duk_hstring *) DUK_TVAL_GET_STRING(tv_key); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:86: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58479:40: note: in expansion of macro 'DUK_TVAL_GET_STRING' 58479 | duk_hstring *h_key = (duk_hstring *) DUK_TVAL_GET_STRING(tv_key); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58506:6: note: in expansion of macro 'duk_get_prop_stridx_short' 58506 | if (duk_get_prop_stridx_short(thr, -1, stridx_trap)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58506:6: note: in expansion of macro 'duk_get_prop_stridx_short' 58506 | if (duk_get_prop_stridx_short(thr, -1, stridx_trap)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_hobject_realloc_props(duk_hthread*, duk_hobject*, duk_uint32_t, duk_uint32_t, duk_uint32_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10294:65: note: in expansion of macro 'DUK_LINE_MACRO' 10294 | duk_err_error_alloc_failed((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58650:3: note: in expansion of macro 'DUK_ERROR_ALLOC_FAILED' 58650 | DUK_ERROR_ALLOC_FAILED(thr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9168:86: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 9168 | #define DUK_ALLOC(heap, size) duk_heap_mem_alloc((heap), (size)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58701:27: note: in expansion of macro 'DUK_ALLOC' 58701 | new_p = (duk_uint8_t *) DUK_ALLOC(thr->heap, new_alloc_size); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6961:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6961 | (set_e_pv) = (duk_propvalue *) (void *) (p_base); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58713:2: note: in expansion of macro 'DUK_HOBJECT_P_SET_REALLOC_PTRS' 58713 | DUK_HOBJECT_P_SET_REALLOC_PTRS(new_p, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6961:50: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6961 | (set_e_pv) = (duk_propvalue *) (void *) (p_base); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58713:2: note: in expansion of macro 'DUK_HOBJECT_P_SET_REALLOC_PTRS' 58713 | DUK_HOBJECT_P_SET_REALLOC_PTRS(new_p, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6962:62: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6962 | (set_e_k) = (duk_hstring **) (void *) ((set_e_pv) + (n_ent)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58713:2: note: in expansion of macro 'DUK_HOBJECT_P_SET_REALLOC_PTRS' 58713 | DUK_HOBJECT_P_SET_REALLOC_PTRS(new_p, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6962:62: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6962 | (set_e_k) = (duk_hstring **) (void *) ((set_e_pv) + (n_ent)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58713:2: note: in expansion of macro 'DUK_HOBJECT_P_SET_REALLOC_PTRS' 58713 | DUK_HOBJECT_P_SET_REALLOC_PTRS(new_p, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6963:60: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6963 | (set_e_f) = (duk_uint8_t *) (void *) ((set_e_k) + (n_ent)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58713:2: note: in expansion of macro 'DUK_HOBJECT_P_SET_REALLOC_PTRS' 58713 | DUK_HOBJECT_P_SET_REALLOC_PTRS(new_p, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6963:60: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6963 | (set_e_f) = (duk_uint8_t *) (void *) ((set_e_k) + (n_ent)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58713:2: note: in expansion of macro 'DUK_HOBJECT_P_SET_REALLOC_PTRS' 58713 | DUK_HOBJECT_P_SET_REALLOC_PTRS(new_p, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6964:61: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6964 | (set_a) = (duk_tval *) (void *) (((duk_uint8_t *) (set_e_f)) + sizeof(duk_uint8_t) * (n_ent) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58713:2: note: in expansion of macro 'DUK_HOBJECT_P_SET_REALLOC_PTRS' 58713 | DUK_HOBJECT_P_SET_REALLOC_PTRS(new_p, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6965:71: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6965 | DUK_HOBJECT_E_FLAG_PADDING((n_ent))); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58713:2: note: in expansion of macro 'DUK_HOBJECT_P_SET_REALLOC_PTRS' 58713 | DUK_HOBJECT_P_SET_REALLOC_PTRS(new_p, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6965:71: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6965 | DUK_HOBJECT_E_FLAG_PADDING((n_ent))); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58713:2: note: in expansion of macro 'DUK_HOBJECT_P_SET_REALLOC_PTRS' 58713 | DUK_HOBJECT_P_SET_REALLOC_PTRS(new_p, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6966:57: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6966 | (set_h) = (duk_uint32_t *) (void *) ((set_a) + (n_arr)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58713:2: note: in expansion of macro 'DUK_HOBJECT_P_SET_REALLOC_PTRS' 58713 | DUK_HOBJECT_P_SET_REALLOC_PTRS(new_p, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6966:57: warning: use of old-style cast to 'duk_uint32_t*' {aka 'unsigned int*'} [-Wold-style-cast] 6966 | (set_h) = (duk_uint32_t *) (void *) ((set_a) + (n_arr)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58713:2: note: in expansion of macro 'DUK_HOBJECT_P_SET_REALLOC_PTRS' 58713 | DUK_HOBJECT_P_SET_REALLOC_PTRS(new_p, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58770:10: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 58770 | tv1 = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58770:10: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 58770 | tv1 = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1175:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1175 | #define DUK_TVAL_IS_UNUSED(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_UNUSED) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58771:8: note: in expansion of macro 'DUK_TVAL_IS_UNUSED' 58771 | if (DUK_TVAL_IS_UNUSED(tv1)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58799:65: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 58799 | key = duk_heap_strtable_intern_u32(thr->heap, (duk_uint32_t) i); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58824:46: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 58824 | duk_pop_n_nodecref_unsafe(thr, (duk_idx_t) new_e_next); | ^~~~~~~~~~ | ---------------------- | static_cast ( new_e_next) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58836:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 58836 | key = DUK_HOBJECT_E_GET_KEY(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58836:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 58836 | key = DUK_HOBJECT_E_GET_KEY(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58844:26: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 58844 | new_e_pv[new_e_next] = DUK_HOBJECT_E_GET_VALUE(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58844:26: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 58844 | new_e_pv[new_e_next] = DUK_HOBJECT_E_GET_VALUE(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58845:25: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 58845 | new_e_f[new_e_next] = DUK_HOBJECT_E_GET_FLAGS(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58845:25: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 58845 | new_e_f[new_e_next] = DUK_HOBJECT_E_GET_FLAGS(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58875:29: warning: use of old-style cast to 'void*' [-Wold-style-cast] 58875 | duk_memcpy_unsafe((void *) new_a, (const void *) DUK_HOBJECT_A_GET_BASE(thr->heap, obj), array_copy_size); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58875:51: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 58875 | duk_memcpy_unsafe((void *) new_a, (const void *) DUK_HOBJECT_A_GET_BASE(thr->heap, obj), array_copy_size); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58875:51: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 58875 | duk_memcpy_unsafe((void *) new_a, (const void *) DUK_HOBJECT_A_GET_BASE(thr->heap, obj), array_copy_size); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:81: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58875:51: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 58875 | duk_memcpy_unsafe((void *) new_a, (const void *) DUK_HOBJECT_A_GET_BASE(thr->heap, obj), array_copy_size); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58875:2: note: in expansion of macro 'duk_memcpy_unsafe' 58875 | duk_memcpy_unsafe((void *) new_a, (const void *) DUK_HOBJECT_A_GET_BASE(thr->heap, obj), array_copy_size); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:938:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 938 | #define DUK_TAG_UNUSED 0xfff2UL /* marker; not actual tagged value */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1064:46: note: in expansion of macro 'DUK_TAG_UNUSED' 1064 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNUSED; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58879:3: note: in expansion of macro 'DUK_TVAL_SET_UNUSED' 58879 | DUK_TVAL_SET_UNUSED(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3076:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3076 | (void) DUK_MEMSET(duk__dst, duk__val, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58901:3: note: in expansion of macro 'duk_memset' 58901 | duk_memset(new_h, 0xff, sizeof(duk_uint32_t) * new_h_size); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58918:32: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 58918 | new_h[j] = (duk_uint32_t) i; | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6896:34: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6896 | (h)->props = (duk_uint8_t *) (x); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58958:2: note: in expansion of macro 'DUK_HOBJECT_SET_PROPS' 58958 | DUK_HOBJECT_SET_PROPS(thr->heap, obj, new_p); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10294:65: note: in expansion of macro 'DUK_LINE_MACRO' 10294 | duk_err_error_alloc_failed((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59009:2: note: in expansion of macro 'DUK_ERROR_ALLOC_FAILED' 59009 | DUK_ERROR_ALLOC_FAILED(thr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__grow_props_for_new_entry_item(duk_hthread*, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10294:65: note: in expansion of macro 'DUK_LINE_MACRO' 10294 | duk_err_error_alloc_failed((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59081:3: note: in expansion of macro 'DUK_ERROR_ALLOC_FAILED' 59081 | DUK_ERROR_ALLOC_FAILED(thr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__grow_props_for_array_item(duk_hthread*, duk_hobject*, duk_uint32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10294:65: note: in expansion of macro 'DUK_LINE_MACRO' 10294 | duk_err_error_alloc_failed((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59118:3: note: in expansion of macro 'DUK_ERROR_ALLOC_FAILED' 59118 | DUK_ERROR_ALLOC_FAILED(thr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__abandon_array_part(duk_hthread*, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10294:65: note: in expansion of macro 'DUK_LINE_MACRO' 10294 | duk_err_error_alloc_failed((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59173:3: note: in expansion of macro 'DUK_ERROR_ALLOC_FAILED' 59173 | DUK_ERROR_ALLOC_FAILED(thr); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_hobject_find_entry(duk_heap*, duk_hobject*, duk_hstring*, duk_int_t*, duk_int_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59292:17: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 59292 | h_keys_base = DUK_HOBJECT_E_GET_KEY_BASE(heap, obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59292:17: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 59292 | h_keys_base = DUK_HOBJECT_E_GET_KEY_BASE(heap, obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59296:26: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 59296 | *e_idx = (duk_int_t) i; | ^ | ------------- | static_cast ( i) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6955:75: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6955 | DUK_HOBJECT_GET_ASIZE((h)) * sizeof(duk_tval))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59312:12: note: in expansion of macro 'DUK_HOBJECT_H_GET_BASE' 59312 | h_base = DUK_HOBJECT_H_GET_BASE(heap, obj); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6955:75: warning: use of old-style cast to 'duk_uint32_t*' {aka 'unsigned int*'} [-Wold-style-cast] 6955 | DUK_HOBJECT_GET_ASIZE((h)) * sizeof(duk_tval))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59312:12: note: in expansion of macro 'DUK_HOBJECT_H_GET_BASE' 59312 | h_base = DUK_HOBJECT_H_GET_BASE(heap, obj); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59333:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 59333 | if (DUK_HOBJECT_E_GET_KEY(heap, obj, t) == key) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59333:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 59333 | if (DUK_HOBJECT_E_GET_KEY(heap, obj, t) == key) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59336:27: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 59336 | *e_idx = (duk_int_t) t; | ^ | ------------- | static_cast ( t) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59337:27: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 59337 | *h_idx = (duk_int_t) i; | ^ | ------------- | static_cast ( i) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_tval* duk_hobject_find_entry_tval_ptr(duk_heap*, duk_hobject*, duk_hstring*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7069:54: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7069 | #define DUK_HOBJECT_E_SLOT_IS_ACCESSOR(heap, h, i) ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_ACCESSOR) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59364:8: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_IS_ACCESSOR' 59364 | if (!DUK_HOBJECT_E_SLOT_IS_ACCESSOR(heap, obj, e_idx)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7069:54: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7069 | #define DUK_HOBJECT_E_SLOT_IS_ACCESSOR(heap, h, i) ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_ACCESSOR) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59364:8: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_IS_ACCESSOR' 59364 | if (!DUK_HOBJECT_E_SLOT_IS_ACCESSOR(heap, obj, e_idx)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59365:11: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 59365 | return DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, obj, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59365:11: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 59365 | return DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, obj, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_tval* duk_hobject_find_entry_tval_ptr_and_attrs(duk_heap*, duk_hobject*, duk_hstring*, duk_uint_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7069:54: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7069 | #define DUK_HOBJECT_E_SLOT_IS_ACCESSOR(heap, h, i) ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_ACCESSOR) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59390:8: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_IS_ACCESSOR' 59390 | if (!DUK_HOBJECT_E_SLOT_IS_ACCESSOR(heap, obj, e_idx)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7069:54: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7069 | #define DUK_HOBJECT_E_SLOT_IS_ACCESSOR(heap, h, i) ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_ACCESSOR) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59390:8: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_IS_ACCESSOR' 59390 | if (!DUK_HOBJECT_E_SLOT_IS_ACCESSOR(heap, obj, e_idx)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59391:17: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 59391 | *out_attrs = DUK_HOBJECT_E_GET_FLAGS(heap, obj, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59391:17: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 59391 | *out_attrs = DUK_HOBJECT_E_GET_FLAGS(heap, obj, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59392:11: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 59392 | return DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, obj, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59392:11: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 59392 | return DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, obj, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_tval* duk_hobject_find_array_entry_tval_ptr(duk_heap*, duk_hobject*, duk_uarridx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59412:7: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 59412 | tv = DUK_HOBJECT_A_GET_VALUE_PTR(heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59412:7: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 59412 | tv = DUK_HOBJECT_A_GET_VALUE_PTR(heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk__hobject_alloc_entry_checked(duk_hthread*, duk_hobject*, duk_hstring*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7022:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 7022 | DUK_HOBJECT_E_GET_KEY((heap), (h), (i)) = (k); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59452:2: note: in expansion of macro 'DUK_HOBJECT_E_SET_KEY' 59452 | DUK_HOBJECT_E_SET_KEY(thr->heap, obj, idx, key); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7022:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 7022 | DUK_HOBJECT_E_GET_KEY((heap), (h), (i)) = (k); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59452:2: note: in expansion of macro 'DUK_HOBJECT_E_SET_KEY' 59452 | DUK_HOBJECT_E_SET_KEY(thr->heap, obj, idx, key); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59453:2: note: in expansion of macro 'DUK_HSTRING_INCREF' 59453 | DUK_HSTRING_INCREF(thr, key); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59453:2: note: in expansion of macro 'DUK_HSTRING_INCREF' 59453 | DUK_HSTRING_INCREF(thr, key); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6955:75: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6955 | DUK_HOBJECT_GET_ASIZE((h)) * sizeof(duk_tval))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59459:26: note: in expansion of macro 'DUK_HOBJECT_H_GET_BASE' 59459 | duk_uint32_t *h_base = DUK_HOBJECT_H_GET_BASE(thr->heap, obj); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6955:75: warning: use of old-style cast to 'duk_uint32_t*' {aka 'unsigned int*'} [-Wold-style-cast] 6955 | DUK_HOBJECT_GET_ASIZE((h)) * sizeof(duk_tval))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59459:26: note: in expansion of macro 'DUK_HOBJECT_H_GET_BASE' 59459 | duk_uint32_t *h_base = DUK_HOBJECT_H_GET_BASE(thr->heap, obj); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59494:21: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 59494 | return (duk_int_t) idx; | ^~~ | --------------- | static_cast ( idx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_heaphdr* duk_hobject_get_internal_value_heaphdr(duk_heap*, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59516:20: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 59516 | duk_heaphdr *h = DUK_TVAL_GET_HEAPHDR(tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hstring* duk_hobject_get_internal_value_string(duk_heap*, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59527:70: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 59527 | h = (duk_hstring *) duk_hobject_get_internal_value_heaphdr(heap, obj); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hobject* duk__hobject_get_entry_object_stridx(duk_heap*, duk_hobject*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59539:20: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 59539 | if (tv != NULL && DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59540:7: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 59540 | h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_harray* duk_hobject_get_formals(duk_hthread*, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59550:96: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 59550 | h = (duk_harray *) duk__hobject_get_entry_object_stridx(thr->heap, obj, DUK_STRIDX_INT_FORMALS); | ^ | -------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__get_own_propdesc_raw(duk_hthread*, duk_hobject*, duk_hstring*, duk_uint32_t, duk_propdesc*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59843:21: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 59843 | out_desc->flags = DUK_HOBJECT_E_GET_FLAGS(thr->heap, obj, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59843:21: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 59843 | out_desc->flags = DUK_HOBJECT_E_GET_FLAGS(thr->heap, obj, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7009:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7009 | #define DUK_HOBJECT_E_GET_VALUE_GETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59848:20: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_GETTER' 59848 | out_desc->get = DUK_HOBJECT_E_GET_VALUE_GETTER(thr->heap, obj, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7009:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7009 | #define DUK_HOBJECT_E_GET_VALUE_GETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59848:20: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_GETTER' 59848 | out_desc->get = DUK_HOBJECT_E_GET_VALUE_GETTER(thr->heap, obj, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7011:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7011 | #define DUK_HOBJECT_E_GET_VALUE_SETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59849:20: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_SETTER' 59849 | out_desc->set = DUK_HOBJECT_E_GET_VALUE_SETTER(thr->heap, obj, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7011:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7011 | #define DUK_HOBJECT_E_GET_VALUE_SETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59849:20: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_SETTER' 59849 | out_desc->set = DUK_HOBJECT_E_GET_VALUE_SETTER(thr->heap, obj, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59858:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 59858 | tv = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, obj, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59858:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 59858 | tv = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, obj, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59872:9: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 59872 | tv = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, arr_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59872:9: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 59872 | tv = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, arr_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1175:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1175 | #define DUK_TVAL_IS_UNUSED(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_UNUSED) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59873:9: note: in expansion of macro 'DUK_TVAL_IS_UNUSED' 59873 | if (!DUK_TVAL_IS_UNUSED(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59885:35: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 59885 | out_desc->a_idx = (duk_int_t) arr_idx; /* XXX: limit 2G due to being signed */ | ^~~~~~~ | ------------------- | static_cast ( arr_idx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59909:22: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 59909 | a = (duk_harray *) obj; | ^~~ | ------------------ | reinterpret_cast ( obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59916:40: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 59916 | duk_push_uint(thr, (duk_uint_t) a->length); | ^~~~~~ | ---------------------- | static_cast ( a->length) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6413:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6413 | #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59973:37: note: in expansion of macro 'DUK_HSTRING_GET_CHARLEN' 59973 | duk_push_uint(thr, (duk_uint_t) DUK_HSTRING_GET_CHARLEN(h_val)); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:59992:30: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 59992 | h_bufobj = (duk_hbufobj *) obj; | ^~~ | ------------------- | reinterpret_cast ( obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60004:58: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 60004 | elem_size = (duk_small_uint_t) (1U << h_bufobj->shift); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7957:92: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 7957 | (DUK_ASSERT_EXPR((h) != NULL), DUK_ASSERT_EXPR((h)->buf != NULL), ((h)->offset + (off) <= DUK_HBUFFER_GET_SIZE((h)->buf))) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60009:10: note: in expansion of macro 'DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL' 60009 | DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL(h_bufobj, byte_off + elem_size)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60010:30: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60010 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60010:30: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60010 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60010:30: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60010 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60010:30: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60010 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60010:30: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60010 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60010:30: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60010 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60010:30: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60010 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__get_propdesc(duk_hthread*, duk_hobject*, duk_hstring*, duk_propdesc*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60199:5: note: in expansion of macro 'DUK_ERROR_RANGE' 60199 | DUK_ERROR_RANGE(thr, DUK_STR_PROTOTYPE_CHAIN_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_tval* duk__getprop_shallow_fastpath_array_tval(duk_hthread*, duk_hobject*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1192:32: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 1192 | #define DUK_TVAL_IS_DOUBLE(tv) DUK_TVAL_IS_NUMBER((tv)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60260:10: note: in expansion of macro 'DUK_TVAL_IS_DOUBLE' 60260 | if (DUK_TVAL_IS_DOUBLE(tv_key)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60284:7: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 60284 | tv = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60284:7: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 60284 | tv = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1175:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1175 | #define DUK_TVAL_IS_UNUSED(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_UNUSED) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60285:7: note: in expansion of macro 'DUK_TVAL_IS_UNUSED' 60285 | if (!DUK_TVAL_IS_UNUSED(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__putprop_shallow_fastpath_array_tval(duk_hthread*, duk_hobject*, duk_tval*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60308:21: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 60308 | a = (duk_harray *) obj; | ^~~ | ------------------ | reinterpret_cast ( obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1192:32: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 1192 | #define DUK_TVAL_IS_DOUBLE(tv) DUK_TVAL_IS_NUMBER((tv)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60316:10: note: in expansion of macro 'DUK_TVAL_IS_DOUBLE' 60316 | if (DUK_TVAL_IS_DOUBLE(tv_key)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60350:19: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 60350 | ((duk_harray *) obj)->length = new_len; | ^~~ | ------------------ | reinterpret_cast ( obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60353:7: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 60353 | tv = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60353:7: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 60353 | tv = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60354:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 60354 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv_val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60354:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 60354 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv_val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60354:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 60354 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv_val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60354:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 60354 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv_val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60354:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 60354 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv_val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60354:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 60354 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv_val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__getprop_fastpath_bufobj_tval(duk_hthread*, duk_hobject*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60376:29: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 60376 | h_bufobj = (duk_hbufobj *) obj; | ^~~ | ------------------- | reinterpret_cast ( obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1192:32: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 1192 | #define DUK_TVAL_IS_DOUBLE(tv) DUK_TVAL_IS_NUMBER((tv)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60386:10: note: in expansion of macro 'DUK_TVAL_IS_DOUBLE' 60386 | if (DUK_TVAL_IS_DOUBLE(tv_key)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60404:55: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 60404 | elem_size = (duk_small_uint_t) (1U << h_bufobj->shift); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7957:92: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 7957 | (DUK_ASSERT_EXPR((h) != NULL), DUK_ASSERT_EXPR((h)->buf != NULL), ((h)->offset + (off) <= DUK_HBUFFER_GET_SIZE((h)->buf))) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60406:31: note: in expansion of macro 'DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL' 60406 | if (h_bufobj->buf != NULL && DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL(h_bufobj, byte_off + elem_size)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60407:26: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60407 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + h_bufobj->offset + byte_off; | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60407:26: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60407 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + h_bufobj->offset + byte_off; | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60407:26: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60407 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + h_bufobj->offset + byte_off; | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60407:26: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60407 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + h_bufobj->offset + byte_off; | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60407:26: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60407 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + h_bufobj->offset + byte_off; | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60407:26: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60407 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + h_bufobj->offset + byte_off; | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60407:26: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60407 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + h_bufobj->offset + byte_off; | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__putprop_fastpath_bufobj_tval(duk_hthread*, duk_hobject*, duk_tval*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60426:38: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 60426 | if (!(DUK_HOBJECT_IS_BUFOBJ(obj) && DUK_TVAL_IS_NUMBER(tv_val))) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60431:29: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 60431 | h_bufobj = (duk_hbufobj *) obj; | ^~~ | ------------------- | reinterpret_cast ( obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1192:32: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 1192 | #define DUK_TVAL_IS_DOUBLE(tv) DUK_TVAL_IS_NUMBER((tv)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60441:10: note: in expansion of macro 'DUK_TVAL_IS_DOUBLE' 60441 | if (DUK_TVAL_IS_DOUBLE(tv_key)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60459:55: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 60459 | elem_size = (duk_small_uint_t) (1U << h_bufobj->shift); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7957:92: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 7957 | (DUK_ASSERT_EXPR((h) != NULL), DUK_ASSERT_EXPR((h)->buf != NULL), ((h)->offset + (off) <= DUK_HBUFFER_GET_SIZE((h)->buf))) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60467:31: note: in expansion of macro 'DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL' 60467 | if (h_bufobj->buf != NULL && DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL(h_bufobj, byte_off + elem_size)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60468:26: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60468 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + h_bufobj->offset + byte_off; | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60468:26: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60468 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + h_bufobj->offset + byte_off; | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60468:26: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60468 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + h_bufobj->offset + byte_off; | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60468:26: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60468 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + h_bufobj->offset + byte_off; | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60468:26: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60468 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + h_bufobj->offset + byte_off; | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60468:26: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60468 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + h_bufobj->offset + byte_off; | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60468:26: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60468 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + h_bufobj->offset + byte_off; | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_hobject_getprop(duk_hthread*, duk_tval*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60526:10: note: in expansion of macro 'DUK_TVAL_GET_TAG' 60526 | switch (DUK_TVAL_GET_TAG(tv_obj)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10138:37: note: in expansion of macro 'DUK_LINE_MACRO' 10138 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60534:3: note: in expansion of macro 'DUK_ERROR_FMT2' 60534 | DUK_ERROR_FMT2(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10143:43: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10143 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60534:3: note: in expansion of macro 'DUK_ERROR_FMT2' 60534 | DUK_ERROR_FMT2(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10143:76: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10143 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60534:3: note: in expansion of macro 'DUK_ERROR_FMT2' 60534 | DUK_ERROR_FMT2(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60551:20: note: in expansion of macro 'DUK_TVAL_GET_STRING' 60551 | duk_hstring *h = DUK_TVAL_GET_STRING(tv_obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60568:11: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 60568 | if (DUK_TVAL_IS_NUMBER(tv_key)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6413:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6413 | #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60608:36: note: in expansion of macro 'DUK_HSTRING_GET_CHARLEN' 60608 | duk_push_uint(thr, (duk_uint_t) DUK_HSTRING_GET_CHARLEN(h)); /* [] -> [res] */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60627:10: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 60627 | curr = DUK_TVAL_GET_OBJECT(tv_obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1174:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1174 | #define DUK_TVAL_IS_UNDEFINED(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_UNDEFINED) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60697:24: note: in expansion of macro 'DUK_TVAL_IS_UNDEFINED' 60697 | !DUK_TVAL_IS_UNDEFINED(tv_hook); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60699:7: note: in expansion of macro 'DUK_ERROR_TYPE' 60699 | DUK_ERROR_TYPE(thr, DUK_STR_PROXY_REJECTED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60699:7: note: in expansion of macro 'DUK_ERROR_TYPE' 60699 | DUK_ERROR_TYPE(thr, DUK_STR_PROXY_REJECTED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60699:7: note: in expansion of macro 'DUK_ERROR_TYPE' 60699 | DUK_ERROR_TYPE(thr, DUK_STR_PROXY_REJECTED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60711:4: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 60711 | DUK_TVAL_SET_OBJECT(tv_obj, curr); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60711:4: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 60711 | DUK_TVAL_SET_OBJECT(tv_obj, curr); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60711:4: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 60711 | DUK_TVAL_SET_OBJECT(tv_obj, curr); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1167:85: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 1167 | #define DUK_TVAL_GET_BUFFER(tv) ((duk_hbuffer *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60741:20: note: in expansion of macro 'DUK_TVAL_GET_BUFFER' 60741 | duk_hbuffer *h = DUK_TVAL_GET_BUFFER(tv_obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60756:11: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 60756 | if (DUK_TVAL_IS_NUMBER(tv_key)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60770:51: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 60770 | if (arr_idx != DUK__NO_ARRAY_INDEX && arr_idx < DUK_HBUFFER_GET_SIZE(h)) { | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60772:40: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60772 | duk_push_uint(thr, ((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h))[arr_idx]); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60772:40: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60772 | duk_push_uint(thr, ((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h))[arr_idx]); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60772:40: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60772 | duk_push_uint(thr, ((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h))[arr_idx]); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60772:40: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60772 | duk_push_uint(thr, ((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h))[arr_idx]); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60772:40: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60772 | duk_push_uint(thr, ((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h))[arr_idx]); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60772:40: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60772 | duk_push_uint(thr, ((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h))[arr_idx]); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60772:40: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 60772 | duk_push_uint(thr, ((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h))[arr_idx]); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60794:36: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 60794 | duk_push_uint(thr, (duk_uint_t) DUK_HBUFFER_GET_SIZE(h)); /* [] -> [res] */ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:61: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60794:36: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 60794 | duk_push_uint(thr, (duk_uint_t) DUK_HBUFFER_GET_SIZE(h)); /* [] -> [res] */ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60889:4: note: in expansion of macro 'DUK_ERROR_RANGE' 60889 | DUK_ERROR_RANGE(thr, DUK_STR_PROTOTYPE_CHAIN_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60938:47: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 60938 | if (key == DUK_HTHREAD_STRING_CALLER(thr) && DUK_TVAL_IS_OBJECT(tv_obj)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60939:23: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 60939 | duk_hobject *orig = DUK_TVAL_GET_OBJECT(tv_obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60956:5: note: in expansion of macro 'DUK_ERROR_TYPE' 60956 | DUK_ERROR_TYPE(thr, DUK_STR_STRICT_CALLER_READ); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60956:5: note: in expansion of macro 'DUK_ERROR_TYPE' 60956 | DUK_ERROR_TYPE(thr, DUK_STR_STRICT_CALLER_READ); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60956:5: note: in expansion of macro 'DUK_ERROR_TYPE' 60956 | DUK_ERROR_TYPE(thr, DUK_STR_STRICT_CALLER_READ); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_hobject_hasprop(duk_hthread*, duk_tval*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61014:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 61014 | if (DUK_TVAL_IS_OBJECT(tv_obj)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61015:9: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 61015 | obj = DUK_TVAL_GET_OBJECT(tv_obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1183:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1183 | #define DUK_TVAL_IS_BUFFER(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61019:13: note: in expansion of macro 'DUK_TVAL_IS_BUFFER' 61019 | } else if (DUK_TVAL_IS_BUFFER(tv_obj)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1167:85: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 1167 | #define DUK_TVAL_GET_BUFFER(tv) ((duk_hbuffer *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61021:42: note: in expansion of macro 'DUK_TVAL_GET_BUFFER' 61021 | if (duk__key_is_plain_buf_ownprop(thr, DUK_TVAL_GET_BUFFER(tv_obj), key, arr_idx)) { | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1180:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1180 | #define DUK_TVAL_IS_LIGHTFUNC(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_LIGHTFUNC) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61026:13: note: in expansion of macro 'DUK_TVAL_IS_LIGHTFUNC' 61026 | } else if (DUK_TVAL_IS_LIGHTFUNC(tv_obj)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61038:3: note: in expansion of macro 'DUK_ERROR_TYPE' 61038 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_BASE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61038:3: note: in expansion of macro 'DUK_ERROR_TYPE' 61038 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_BASE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61038:3: note: in expansion of macro 'DUK_ERROR_TYPE' 61038 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_BASE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61085:7: note: in expansion of macro 'DUK_ERROR_TYPE' 61085 | DUK_ERROR_TYPE(thr, DUK_STR_PROXY_REJECTED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61085:7: note: in expansion of macro 'DUK_ERROR_TYPE' 61085 | DUK_ERROR_TYPE(thr, DUK_STR_PROXY_REJECTED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61085:7: note: in expansion of macro 'DUK_ERROR_TYPE' 61085 | DUK_ERROR_TYPE(thr, DUK_STR_PROXY_REJECTED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk__to_new_array_length_checked(duk_hthread*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1192:32: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 1192 | #define DUK_TVAL_IS_DOUBLE(tv) DUK_TVAL_IS_NUMBER((tv)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61167:6: note: in expansion of macro 'DUK_TVAL_IS_DOUBLE' 61167 | if (DUK_TVAL_IS_DOUBLE(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61184:40: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 61184 | if (!duk_double_equals((duk_double_t) res, d)) { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61191:2: note: in expansion of macro 'DUK_ERROR_RANGE' 61191 | DUK_ERROR_RANGE(thr, DUK_STR_INVALID_ARRAY_LENGTH); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__handle_put_array_length_smaller(duk_hthread*, duk_hobject*, duk_uint32_t, duk_uint32_t, duk_bool_t, duk_uint32_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61264:9: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 61264 | tv = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61264:9: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 61264 | tv = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:938:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 938 | #define DUK_TAG_UNUSED 0xfff2UL /* marker; not actual tagged value */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1064:46: note: in expansion of macro 'DUK_TAG_UNUSED' 1064 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNUSED; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5229:3: note: in expansion of macro 'DUK_TVAL_SET_UNUSED' 5229 | DUK_TVAL_SET_UNUSED(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5418:44: note: in expansion of macro 'DUK_TVAL_SET_UNUSED_UPDREF_ALT0' 5418 | #define DUK_TVAL_SET_UNUSED_UPDREF DUK_TVAL_SET_UNUSED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61265:4: note: in expansion of macro 'DUK_TVAL_SET_UNUSED_UPDREF' 61265 | DUK_TVAL_SET_UNUSED_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5230:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5230 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5418:44: note: in expansion of macro 'DUK_TVAL_SET_UNUSED_UPDREF_ALT0' 5418 | #define DUK_TVAL_SET_UNUSED_UPDREF DUK_TVAL_SET_UNUSED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61265:4: note: in expansion of macro 'DUK_TVAL_SET_UNUSED_UPDREF' 61265 | DUK_TVAL_SET_UNUSED_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5230:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5230 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5418:44: note: in expansion of macro 'DUK_TVAL_SET_UNUSED_UPDREF_ALT0' 5418 | #define DUK_TVAL_SET_UNUSED_UPDREF DUK_TVAL_SET_UNUSED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61265:4: note: in expansion of macro 'DUK_TVAL_SET_UNUSED_UPDREF' 61265 | DUK_TVAL_SET_UNUSED_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61290:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 61290 | key = DUK_HOBJECT_E_GET_KEY(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61290:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 61290 | key = DUK_HOBJECT_E_GET_KEY(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7068:4: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7068 | ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_CONFIGURABLE) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61312:8: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_IS_CONFIGURABLE' 61312 | if (DUK_HOBJECT_E_SLOT_IS_CONFIGURABLE(thr->heap, obj, i)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7068:4: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7068 | ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_CONFIGURABLE) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61312:8: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_IS_CONFIGURABLE' 61312 | if (DUK_HOBJECT_E_SLOT_IS_CONFIGURABLE(thr->heap, obj, i)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61341:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 61341 | key = DUK_HOBJECT_E_GET_KEY(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61341:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 61341 | key = DUK_HOBJECT_E_GET_KEY(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__handle_put_array_length(duk_hthread*, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61414:21: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 61414 | a = (duk_harray *) obj; | ^~~ | ------------------ | reinterpret_cast ( obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61424:50: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 61424 | new_len = duk__to_new_array_length_checked(thr, DUK_GET_TVAL_NEGIDX(thr, -1)); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_hobject_putprop(duk_hthread*, duk_tval*, duk_tval*, duk_tval*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61552:10: note: in expansion of macro 'DUK_TVAL_GET_TAG' 61552 | switch (DUK_TVAL_GET_TAG(tv_obj)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10138:37: note: in expansion of macro 'DUK_LINE_MACRO' 10138 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61560:3: note: in expansion of macro 'DUK_ERROR_FMT2' 61560 | DUK_ERROR_FMT2(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10143:43: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10143 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61560:3: note: in expansion of macro 'DUK_ERROR_FMT2' 61560 | DUK_ERROR_FMT2(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10143:76: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10143 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61560:3: note: in expansion of macro 'DUK_ERROR_FMT2' 61560 | DUK_ERROR_FMT2(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61577:20: note: in expansion of macro 'DUK_TVAL_GET_STRING' 61577 | duk_hstring *h = DUK_TVAL_GET_STRING(tv_obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61608:10: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 61608 | orig = DUK_TVAL_GET_OBJECT(tv_obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61703:7: note: in expansion of macro 'DUK_ERROR_TYPE' 61703 | DUK_ERROR_TYPE(thr, DUK_STR_PROXY_REJECTED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61703:7: note: in expansion of macro 'DUK_ERROR_TYPE' 61703 | DUK_ERROR_TYPE(thr, DUK_STR_PROXY_REJECTED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61703:7: note: in expansion of macro 'DUK_ERROR_TYPE' 61703 | DUK_ERROR_TYPE(thr, DUK_STR_PROXY_REJECTED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61715:4: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 61715 | DUK_TVAL_SET_OBJECT(tv_obj, orig); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61715:4: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 61715 | DUK_TVAL_SET_OBJECT(tv_obj, orig); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61715:4: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 61715 | DUK_TVAL_SET_OBJECT(tv_obj, orig); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1167:85: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 1167 | #define DUK_TVAL_GET_BUFFER(tv) ((duk_hbuffer *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61724:20: note: in expansion of macro 'DUK_TVAL_GET_BUFFER' 61724 | duk_hbuffer *h = DUK_TVAL_GET_BUFFER(tv_obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61739:11: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 61739 | if (DUK_TVAL_IS_NUMBER(tv_key)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61753:51: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 61753 | if (arr_idx != DUK__NO_ARRAY_INDEX && arr_idx < DUK_HBUFFER_GET_SIZE(h)) { | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61756:27: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 61756 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61756:27: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 61756 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61756:27: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 61756 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61756:27: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 61756 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61756:27: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 61756 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61756:27: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 61756 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61756:27: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 61756 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61769:56: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 61769 | data[arr_idx] = (duk_uint8_t) duk_to_uint32(thr, -1); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7011:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7011 | #define DUK_HOBJECT_E_GET_VALUE_SETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61863:13: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_SETTER' 61863 | setter = DUK_HOBJECT_E_GET_VALUE_SETTER(thr->heap, curr, desc.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7011:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7011 | #define DUK_HOBJECT_E_GET_VALUE_SETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61863:13: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_SETTER' 61863 | setter = DUK_HOBJECT_E_GET_VALUE_SETTER(thr->heap, curr, desc.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61958:33: warning: use of old-style cast to 'duk_hbufobj*' {aka 'struct duk_hbufobj*'} [-Wold-style-cast] 61958 | h_bufobj = (duk_hbufobj *) curr; | ^~~~ | -------------------- | reinterpret_cast ( curr) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61974:60: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 61974 | elem_size = (duk_small_uint_t) (1U << h_bufobj->shift); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7957:92: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 7957 | (DUK_ASSERT_EXPR((h) != NULL), DUK_ASSERT_EXPR((h)->buf != NULL), ((h)->offset + (off) <= DUK_HBUFFER_GET_SIZE((h)->buf))) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61985:11: note: in expansion of macro 'DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL' 61985 | DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL(h_bufobj, byte_off + elem_size)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8728:101: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 8728 | (DUK_HBUFFER_HAS_DYNAMIC((x)) ? DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((heap), (duk_hbuffer_dynamic *) (x)) : \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:53: note: in definition of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61986:31: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 61986 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61986:31: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 61986 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:113: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61986:31: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 61986 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61986:31: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 61986 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61986:31: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 61986 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:41: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61986:31: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 61986 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8729:115: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8729 | DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), (duk_hbuffer_fixed *) (void *) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:61986:31: note: in expansion of macro 'DUK_HBUFFER_GET_DATA_PTR' 61986 | data = (duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR(thr->heap, h_bufobj->buf) + | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62012:4: note: in expansion of macro 'DUK_ERROR_RANGE' 62012 | DUK_ERROR_RANGE(thr, DUK_STR_PROTOTYPE_CHAIN_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62067:8: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 62067 | tv = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, orig, desc.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62067:8: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 62067 | tv = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, orig, desc.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62069:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62069 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv_val); /* side effects; e_idx may be invalidated */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62069:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62069 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv_val); /* side effects; e_idx may be invalidated */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62069:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62069 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv_val); /* side effects; e_idx may be invalidated */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62069:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62069 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv_val); /* side effects; e_idx may be invalidated */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62069:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62069 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv_val); /* side effects; e_idx may be invalidated */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62069:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62069 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv_val); /* side effects; e_idx may be invalidated */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62079:8: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 62079 | tv = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, orig, desc.a_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62079:8: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 62079 | tv = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, orig, desc.a_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62081:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62081 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv_val); /* side effects; a_idx may be invalidated */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62081:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62081 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv_val); /* side effects; a_idx may be invalidated */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62081:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62081 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv_val); /* side effects; a_idx may be invalidated */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62081:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62081 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv_val); /* side effects; a_idx may be invalidated */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62081:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62081 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv_val); /* side effects; a_idx may be invalidated */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62081:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62081 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv_val); /* side effects; a_idx may be invalidated */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62133:22: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 62133 | a = (duk_harray *) orig; | ^~~~ | ------------------- | reinterpret_cast ( orig) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62186:3: note: in expansion of macro 'DUK_TVAL_INCREF' 62186 | DUK_TVAL_INCREF(thr, tv); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62186:3: note: in expansion of macro 'DUK_TVAL_INCREF' 62186 | DUK_TVAL_INCREF(thr, tv); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62209:7: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 62209 | tv = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, orig, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62209:7: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 62209 | tv = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, orig, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62212:2: note: in expansion of macro 'DUK_TVAL_INCREF' 62212 | DUK_TVAL_INCREF(thr, tv); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62212:2: note: in expansion of macro 'DUK_TVAL_INCREF' 62212 | DUK_TVAL_INCREF(thr, tv); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62213:2: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 62213 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, orig, e_idx, DUK_PROPDESC_FLAGS_WEC); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62213:2: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 62213 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, orig, e_idx, DUK_PROPDESC_FLAGS_WEC); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:63: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62213:2: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 62213 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, orig, e_idx, DUK_PROPDESC_FLAGS_WEC); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62232:19: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 62232 | ((duk_harray *) orig)->length = new_array_length; | ^~~~ | ------------------- | reinterpret_cast ( orig) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62288:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62288 | DUK_ERROR_TYPE(thr, DUK_STR_PROXY_REJECTED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62288:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62288 | DUK_ERROR_TYPE(thr, DUK_STR_PROXY_REJECTED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62288:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62288 | DUK_ERROR_TYPE(thr, DUK_STR_PROXY_REJECTED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10138:37: note: in expansion of macro 'DUK_LINE_MACRO' 10138 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62301:3: note: in expansion of macro 'DUK_ERROR_FMT2' 62301 | DUK_ERROR_FMT2(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10143:43: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10143 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62301:3: note: in expansion of macro 'DUK_ERROR_FMT2' 62301 | DUK_ERROR_FMT2(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10143:76: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10143 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62301:3: note: in expansion of macro 'DUK_ERROR_FMT2' 62301 | DUK_ERROR_FMT2(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62315:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62315 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_EXTENSIBLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62315:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62315 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_EXTENSIBLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62315:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62315 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_EXTENSIBLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62324:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62324 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_WRITABLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62324:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62324 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_WRITABLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62324:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62324 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_WRITABLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62343:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62343 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_CONFIGURABLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62343:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62343 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_CONFIGURABLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62343:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62343 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_CONFIGURABLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62352:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62352 | DUK_ERROR_TYPE(thr, DUK_STR_SETTER_UNDEFINED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62352:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62352 | DUK_ERROR_TYPE(thr, DUK_STR_SETTER_UNDEFINED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62352:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62352 | DUK_ERROR_TYPE(thr, DUK_STR_SETTER_UNDEFINED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10285:61: note: in expansion of macro 'DUK_LINE_MACRO' 10285 | duk_err_error_internal((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62361:3: note: in expansion of macro 'DUK_ERROR_INTERNAL' 62361 | DUK_ERROR_INTERNAL(thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_hobject_delprop_raw(duk_hthread*, duk_hobject*, duk_hstring*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62427:8: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 62427 | tv = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, desc.a_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62427:8: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 62427 | tv = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, desc.a_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:938:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 938 | #define DUK_TAG_UNUSED 0xfff2UL /* marker; not actual tagged value */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1064:46: note: in expansion of macro 'DUK_TAG_UNUSED' 1064 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNUSED; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5229:3: note: in expansion of macro 'DUK_TVAL_SET_UNUSED' 5229 | DUK_TVAL_SET_UNUSED(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5418:44: note: in expansion of macro 'DUK_TVAL_SET_UNUSED_UPDREF_ALT0' 5418 | #define DUK_TVAL_SET_UNUSED_UPDREF DUK_TVAL_SET_UNUSED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62428:3: note: in expansion of macro 'DUK_TVAL_SET_UNUSED_UPDREF' 62428 | DUK_TVAL_SET_UNUSED_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5230:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5230 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5418:44: note: in expansion of macro 'DUK_TVAL_SET_UNUSED_UPDREF_ALT0' 5418 | #define DUK_TVAL_SET_UNUSED_UPDREF DUK_TVAL_SET_UNUSED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62428:3: note: in expansion of macro 'DUK_TVAL_SET_UNUSED_UPDREF' 62428 | DUK_TVAL_SET_UNUSED_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5230:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5230 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5418:44: note: in expansion of macro 'DUK_TVAL_SET_UNUSED_UPDREF_ALT0' 5418 | #define DUK_TVAL_SET_UNUSED_UPDREF DUK_TVAL_SET_UNUSED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62428:3: note: in expansion of macro 'DUK_TVAL_SET_UNUSED_UPDREF' 62428 | DUK_TVAL_SET_UNUSED_UPDREF(thr, tv); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6955:75: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6955 | DUK_HOBJECT_GET_ASIZE((h)) * sizeof(duk_tval))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62436:27: note: in expansion of macro 'DUK_HOBJECT_H_GET_BASE' 62436 | duk_uint32_t *h_base = DUK_HOBJECT_H_GET_BASE(thr->heap, obj); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6955:75: warning: use of old-style cast to 'duk_uint32_t*' {aka 'unsigned int*'} [-Wold-style-cast] 6955 | DUK_HOBJECT_GET_ASIZE((h)) * sizeof(duk_tval))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62436:27: note: in expansion of macro 'DUK_HOBJECT_H_GET_BASE' 62436 | duk_uint32_t *h_base = DUK_HOBJECT_H_GET_BASE(thr->heap, obj); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7069:54: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7069 | #define DUK_HOBJECT_E_SLOT_IS_ACCESSOR(heap, h, i) ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_ACCESSOR) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62458:7: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_IS_ACCESSOR' 62458 | if (DUK_HOBJECT_E_SLOT_IS_ACCESSOR(thr->heap, obj, desc.e_idx)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7069:54: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7069 | #define DUK_HOBJECT_E_SLOT_IS_ACCESSOR(heap, h, i) ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_ACCESSOR) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62458:7: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_IS_ACCESSOR' 62458 | if (DUK_HOBJECT_E_SLOT_IS_ACCESSOR(thr->heap, obj, desc.e_idx)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7009:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7009 | #define DUK_HOBJECT_E_GET_VALUE_GETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62461:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_GETTER' 62461 | tmp = DUK_HOBJECT_E_GET_VALUE_GETTER(thr->heap, obj, desc.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7009:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7009 | #define DUK_HOBJECT_E_GET_VALUE_GETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62461:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_GETTER' 62461 | tmp = DUK_HOBJECT_E_GET_VALUE_GETTER(thr->heap, obj, desc.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7034:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7034 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62462:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_GETTER' 62462 | DUK_HOBJECT_E_SET_VALUE_GETTER(thr->heap, obj, desc.e_idx, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7034:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7034 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62462:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_GETTER' 62462 | DUK_HOBJECT_E_SET_VALUE_GETTER(thr->heap, obj, desc.e_idx, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62464:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 62464 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62464:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 62464 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7011:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7011 | #define DUK_HOBJECT_E_GET_VALUE_SETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62466:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_SETTER' 62466 | tmp = DUK_HOBJECT_E_GET_VALUE_SETTER(thr->heap, obj, desc.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7011:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7011 | #define DUK_HOBJECT_E_GET_VALUE_SETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62466:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_SETTER' 62466 | tmp = DUK_HOBJECT_E_GET_VALUE_SETTER(thr->heap, obj, desc.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7038:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7038 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62467:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_SETTER' 62467 | DUK_HOBJECT_E_SET_VALUE_SETTER(thr->heap, obj, desc.e_idx, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7038:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7038 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62467:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_SETTER' 62467 | DUK_HOBJECT_E_SET_VALUE_SETTER(thr->heap, obj, desc.e_idx, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62469:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 62469 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62469:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 62469 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62471:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 62471 | tv = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, obj, desc.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62471:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 62471 | tv = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, obj, desc.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5219:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 5219 | DUK_TVAL_SET_UNDEFINED(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62472:4: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 62472 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, tv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4932:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4932 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5220:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 5220 | DUK_TVAL_DECREF_NORZ((thr), &tv__tmp); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62472:4: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 62472 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, tv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4933:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4933 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5220:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 5220 | DUK_TVAL_DECREF_NORZ((thr), &tv__tmp); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62472:4: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 62472 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, tv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7022:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 7022 | DUK_HOBJECT_E_GET_KEY((heap), (h), (i)) = (k); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62486:3: note: in expansion of macro 'DUK_HOBJECT_E_SET_KEY' 62486 | DUK_HOBJECT_E_SET_KEY(thr->heap, obj, desc.e_idx, NULL); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7022:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 7022 | DUK_HOBJECT_E_GET_KEY((heap), (h), (i)) = (k); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62486:3: note: in expansion of macro 'DUK_HOBJECT_E_SET_KEY' 62486 | DUK_HOBJECT_E_SET_KEY(thr->heap, obj, desc.e_idx, NULL); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5048:2: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5048 | DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hstring_refzero, duk_hstring *) /* no 'norz' variant */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62487:3: note: in expansion of macro 'DUK_HSTRING_DECREF_NORZ' 62487 | DUK_HSTRING_DECREF_NORZ(thr, key); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5048:2: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5048 | DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hstring_refzero, duk_hstring *) /* no 'norz' variant */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62487:3: note: in expansion of macro 'DUK_HSTRING_DECREF_NORZ' 62487 | DUK_HSTRING_DECREF_NORZ(thr, key); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62531:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62531 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_CONFIGURABLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62531:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62531 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_CONFIGURABLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62531:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62531 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_CONFIGURABLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_hobject_delprop(duk_hthread*, duk_tval*, duk_tval*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1174:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1174 | #define DUK_TVAL_IS_UNDEFINED(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_UNDEFINED) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62569:6: note: in expansion of macro 'DUK_TVAL_IS_UNDEFINED' 62569 | if (DUK_TVAL_IS_UNDEFINED(tv_obj) || DUK_TVAL_IS_NULL(tv_obj)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1176:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1176 | #define DUK_TVAL_IS_NULL(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_NULL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62569:39: note: in expansion of macro 'DUK_TVAL_IS_NULL' 62569 | if (DUK_TVAL_IS_UNDEFINED(tv_obj) || DUK_TVAL_IS_NULL(tv_obj)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62577:11: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 62577 | tv_obj = DUK_GET_TVAL_NEGIDX(thr, -2); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62578:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 62578 | if (DUK_TVAL_IS_OBJECT(tv_obj)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62579:22: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 62579 | duk_hobject *obj = DUK_TVAL_GET_OBJECT(tv_obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62603:14: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 62603 | tv_key = DUK_GET_TVAL_NEGIDX(thr, -1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62622:7: note: in expansion of macro 'DUK_ERROR_TYPE' 62622 | DUK_ERROR_TYPE(thr, DUK_STR_PROXY_REJECTED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62622:7: note: in expansion of macro 'DUK_ERROR_TYPE' 62622 | DUK_ERROR_TYPE(thr, DUK_STR_PROXY_REJECTED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62622:7: note: in expansion of macro 'DUK_ERROR_TYPE' 62622 | DUK_ERROR_TYPE(thr, DUK_STR_PROXY_REJECTED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1181:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1181 | #define DUK_TVAL_IS_STRING(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62639:13: note: in expansion of macro 'DUK_TVAL_IS_STRING' 62639 | } else if (DUK_TVAL_IS_STRING(tv_obj)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62647:20: note: in expansion of macro 'DUK_TVAL_GET_STRING' 62647 | duk_hstring *h = DUK_TVAL_GET_STRING(tv_obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1183:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1183 | #define DUK_TVAL_IS_BUFFER(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_BUFFER) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62660:13: note: in expansion of macro 'DUK_TVAL_IS_BUFFER' 62660 | } else if (DUK_TVAL_IS_BUFFER(tv_obj)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1167:85: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 1167 | #define DUK_TVAL_GET_BUFFER(tv) ((duk_hbuffer *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62665:20: note: in expansion of macro 'DUK_TVAL_GET_BUFFER' 62665 | duk_hbuffer *h = DUK_TVAL_GET_BUFFER(tv_obj); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62675:51: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 62675 | if (arr_idx != DUK__NO_ARRAY_INDEX && arr_idx < DUK_HBUFFER_GET_SIZE(h)) { | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1180:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1180 | #define DUK_TVAL_IS_LIGHTFUNC(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_LIGHTFUNC) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62678:13: note: in expansion of macro 'DUK_TVAL_IS_LIGHTFUNC' 62678 | } else if (DUK_TVAL_IS_LIGHTFUNC(tv_obj)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10138:37: note: in expansion of macro 'DUK_LINE_MACRO' 10138 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62702:2: note: in expansion of macro 'DUK_ERROR_FMT2' 62702 | DUK_ERROR_FMT2(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10143:43: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10143 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62702:2: note: in expansion of macro 'DUK_ERROR_FMT2' 62702 | DUK_ERROR_FMT2(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10143:76: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10143 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62702:2: note: in expansion of macro 'DUK_ERROR_FMT2' 62702 | DUK_ERROR_FMT2(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62713:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62713 | DUK_ERROR_TYPE(thr, DUK_STR_PROXY_REJECTED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62713:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62713 | DUK_ERROR_TYPE(thr, DUK_STR_PROXY_REJECTED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62713:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62713 | DUK_ERROR_TYPE(thr, DUK_STR_PROXY_REJECTED); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62722:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62722 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_CONFIGURABLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62722:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62722 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_CONFIGURABLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62722:3: note: in expansion of macro 'DUK_ERROR_TYPE' 62722 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_CONFIGURABLE); | ^~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_hobject_define_property_internal(duk_hthread*, duk_hobject*, duk_hstring*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7069:54: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7069 | #define DUK_HOBJECT_E_SLOT_IS_ACCESSOR(heap, h, i) ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_ACCESSOR) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62783:21: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_IS_ACCESSOR' 62783 | if (DUK_UNLIKELY(DUK_HOBJECT_E_SLOT_IS_ACCESSOR(thr->heap, obj, desc.e_idx))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7069:54: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7069 | #define DUK_HOBJECT_E_SLOT_IS_ACCESSOR(heap, h, i) ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_ACCESSOR) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62783:21: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_IS_ACCESSOR' 62783 | if (DUK_UNLIKELY(DUK_HOBJECT_E_SLOT_IS_ACCESSOR(thr->heap, obj, desc.e_idx))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62788:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 62788 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, obj, desc.e_idx, propflags); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62788:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 62788 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, obj, desc.e_idx, propflags); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:63: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62788:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 62788 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, obj, desc.e_idx, propflags); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62789:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 62789 | tv1 = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, obj, desc.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62789:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 62789 | tv1 = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, obj, desc.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62802:10: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 62802 | tv1 = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, desc.a_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62802:10: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 62802 | tv1 = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, desc.a_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62814:53: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 62814 | new_len = duk__to_new_array_length_checked(thr, DUK_GET_TVAL_NEGIDX(thr, -1)); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62815:21: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 62815 | ((duk_harray *) obj)->length = new_len; | ^~~ | ------------------ | reinterpret_cast ( obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62840:10: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 62840 | tv1 = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, arr_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62840:10: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 62840 | tv1 = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, arr_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62850:2: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 62850 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, obj, e_idx, propflags); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62850:2: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 62850 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, obj, e_idx, propflags); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:63: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62850:2: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 62850 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, obj, e_idx, propflags); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62851:8: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 62851 | tv1 = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, obj, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62851:8: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 62851 | tv1 = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, obj, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62853:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 62853 | DUK_TVAL_SET_UNDEFINED(tv1); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62862:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62862 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62862:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62862 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62862:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62862 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62862:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62862 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62862:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62862 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62862:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62862 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10285:61: note: in expansion of macro 'DUK_LINE_MACRO' 10285 | duk_err_error_internal((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62871:2: note: in expansion of macro 'DUK_ERROR_INTERNAL' 62871 | DUK_ERROR_INTERNAL(thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_hobject_define_property_internal_arridx(duk_hthread*, duk_hobject*, duk_uarridx_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62913:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62913 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62913:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62913 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62913:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62913 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62913:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62913 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62913:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62913 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62913:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 62913 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62922:51: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 62922 | key = duk_push_uint_to_hstring(thr, (duk_uint_t) arr_idx); | ^~~~~~~ | -------------------- | static_cast ( arr_idx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_size_t duk_hobject_get_length(duk_hthread*, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62943:26: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 62943 | return ((duk_harray *) obj)->length; | ^~~ | ------------------ | reinterpret_cast ( obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62949:34: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 62949 | (void) duk_hobject_getprop(thr, DUK_GET_TVAL_NEGIDX(thr, -2), DUK_GET_TVAL_NEGIDX(thr, -1)); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62949:64: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 62949 | (void) duk_hobject_getprop(thr, DUK_GET_TVAL_NEGIDX(thr, -2), DUK_GET_TVAL_NEGIDX(thr, -1)); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:62957:23: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 62957 | return (duk_size_t) val; | ^~~ | ---------------- | static_cast ( val) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_hobject_object_get_own_property_descriptor(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63036:3: note: in expansion of macro 'duk_put_prop_stridx_short' 63036 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_GET); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63036:3: note: in expansion of macro 'duk_put_prop_stridx_short' 63036 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_GET); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63042:3: note: in expansion of macro 'duk_put_prop_stridx_short' 63042 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_SET); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63042:3: note: in expansion of macro 'duk_put_prop_stridx_short' 63042 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_SET); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63045:3: note: in expansion of macro 'duk_put_prop_stridx_short' 63045 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_VALUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63045:3: note: in expansion of macro 'duk_put_prop_stridx_short' 63045 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_VALUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63047:3: note: in expansion of macro 'duk_put_prop_stridx_short' 63047 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_WRITABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63047:3: note: in expansion of macro 'duk_put_prop_stridx_short' 63047 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_WRITABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63050:2: note: in expansion of macro 'duk_put_prop_stridx_short' 63050 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_ENUMERABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63050:2: note: in expansion of macro 'duk_put_prop_stridx_short' 63050 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_ENUMERABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63052:2: note: in expansion of macro 'duk_put_prop_stridx_short' 63052 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_CONFIGURABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63052:2: note: in expansion of macro 'duk_put_prop_stridx_short' 63052 | duk_put_prop_stridx_short(thr, -2, DUK_STRIDX_CONFIGURABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_hobject_prepare_property_descriptor(duk_hthread*, duk_idx_t, duk_uint_t*, duk_idx_t*, duk_hobject**, duk_hobject**)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1174:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1174 | #define DUK_TVAL_IS_UNDEFINED(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_UNDEFINED) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63125:7: note: in expansion of macro 'DUK_TVAL_IS_UNDEFINED' 63125 | if (DUK_TVAL_IS_UNDEFINED(tv)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1174:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1174 | #define DUK_TVAL_IS_UNDEFINED(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_UNDEFINED) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63147:7: note: in expansion of macro 'DUK_TVAL_IS_UNDEFINED' 63147 | if (DUK_TVAL_IS_UNDEFINED(tv)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63194:2: note: in expansion of macro 'DUK_ERROR_TYPE' 63194 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_DESCRIPTOR); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63194:2: note: in expansion of macro 'DUK_ERROR_TYPE' 63194 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_DESCRIPTOR); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63194:2: note: in expansion of macro 'DUK_ERROR_TYPE' 63194 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_DESCRIPTOR); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_hobject_define_property_helper(duk_hthread*, duk_uint_t, duk_hobject*, duk_hstring*, duk_idx_t, duk_hobject*, duk_hobject*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63323:22: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 63323 | a = (duk_harray *) obj; | ^~~ | ------------------ | reinterpret_cast ( obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63328:58: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 63328 | arrlen_new_len = duk__to_new_array_length_checked(thr, DUK_GET_TVAL_POSIDX(thr, idx_value)); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:70: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63329:3: note: in expansion of macro 'duk_push_u32' 63329 | duk_push_u32(thr, arrlen_new_len); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63364:22: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 63364 | a = (duk_harray *) obj; | ^~~ | ------------------ | reinterpret_cast ( obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7034:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7034 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63464:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_GETTER' 63464 | DUK_HOBJECT_E_SET_VALUE_GETTER(thr->heap, obj, e_idx, get); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7034:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7034 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63464:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_GETTER' 63464 | DUK_HOBJECT_E_SET_VALUE_GETTER(thr->heap, obj, e_idx, get); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7038:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7038 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63465:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_SETTER' 63465 | DUK_HOBJECT_E_SET_VALUE_SETTER(thr->heap, obj, e_idx, set); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7038:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7038 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63465:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_SETTER' 63465 | DUK_HOBJECT_E_SET_VALUE_SETTER(thr->heap, obj, e_idx, set); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63466:4: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 63466 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, get); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63466:4: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 63466 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, get); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63467:4: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 63467 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, set); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63467:4: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 63467 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, set); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63469:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 63469 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, obj, e_idx, new_flags); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63469:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 63469 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, obj, e_idx, new_flags); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:63: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63469:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 63469 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, obj, e_idx, new_flags); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63494:5: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 63494 | DUK_TVAL_SET_UNDEFINED(&tv); /* default value */ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63509:7: note: in expansion of macro 'DUK_TVAL_INCREF' 63509 | DUK_TVAL_INCREF(thr, tv2); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63509:7: note: in expansion of macro 'DUK_TVAL_INCREF' 63509 | DUK_TVAL_INCREF(thr, tv2); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63522:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 63522 | tv2 = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, obj, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63522:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 63522 | tv2 = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, obj, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63524:4: note: in expansion of macro 'DUK_TVAL_INCREF' 63524 | DUK_TVAL_INCREF(thr, tv2); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63524:4: note: in expansion of macro 'DUK_TVAL_INCREF' 63524 | DUK_TVAL_INCREF(thr, tv2); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63526:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 63526 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, obj, e_idx, new_flags); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63526:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 63526 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, obj, e_idx, new_flags); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:63: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63526:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 63526 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, obj, e_idx, new_flags); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63708:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 63708 | tv1 = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, obj, curr.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63708:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 63708 | tv1 = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, obj, curr.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5219:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 5219 | DUK_TVAL_SET_UNDEFINED(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63709:4: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 63709 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, tv1); /* XXX: just decref */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4932:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4932 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5220:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 5220 | DUK_TVAL_DECREF_NORZ((thr), &tv__tmp); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63709:4: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 63709 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, tv1); /* XXX: just decref */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4933:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4933 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5220:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 5220 | DUK_TVAL_DECREF_NORZ((thr), &tv__tmp); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63709:4: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 63709 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, tv1); /* XXX: just decref */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7034:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7034 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63711:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_GETTER' 63711 | DUK_HOBJECT_E_SET_VALUE_GETTER(thr->heap, obj, curr.e_idx, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7034:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7034 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63711:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_GETTER' 63711 | DUK_HOBJECT_E_SET_VALUE_GETTER(thr->heap, obj, curr.e_idx, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7038:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7038 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63712:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_SETTER' 63712 | DUK_HOBJECT_E_SET_VALUE_SETTER(thr->heap, obj, curr.e_idx, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7038:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7038 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63712:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_SETTER' 63712 | DUK_HOBJECT_E_SET_VALUE_SETTER(thr->heap, obj, curr.e_idx, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7061:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7061 | DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)] &= ~(mask); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7077:55: note: in expansion of macro 'DUK_HOBJECT_E_CLEAR_FLAG_BITS' 7077 | #define DUK_HOBJECT_E_SLOT_CLEAR_WRITABLE(heap, h, i) DUK_HOBJECT_E_CLEAR_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_WRITABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63713:4: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_CLEAR_WRITABLE' 63713 | DUK_HOBJECT_E_SLOT_CLEAR_WRITABLE(thr->heap, obj, curr.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7061:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7061 | DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)] &= ~(mask); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7077:55: note: in expansion of macro 'DUK_HOBJECT_E_CLEAR_FLAG_BITS' 7077 | #define DUK_HOBJECT_E_SLOT_CLEAR_WRITABLE(heap, h, i) DUK_HOBJECT_E_CLEAR_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_WRITABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63713:4: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_CLEAR_WRITABLE' 63713 | DUK_HOBJECT_E_SLOT_CLEAR_WRITABLE(thr->heap, obj, curr.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7056:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7056 | DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)] |= (mask); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7075:53: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAG_BITS' 7075 | #define DUK_HOBJECT_E_SLOT_SET_ACCESSOR(heap, h, i) DUK_HOBJECT_E_SET_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_ACCESSOR) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63714:4: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_SET_ACCESSOR' 63714 | DUK_HOBJECT_E_SLOT_SET_ACCESSOR(thr->heap, obj, curr.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7056:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7056 | DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)] |= (mask); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7075:53: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAG_BITS' 7075 | #define DUK_HOBJECT_E_SLOT_SET_ACCESSOR(heap, h, i) DUK_HOBJECT_E_SET_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_ACCESSOR) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63714:4: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_SET_ACCESSOR' 63714 | DUK_HOBJECT_E_SLOT_SET_ACCESSOR(thr->heap, obj, curr.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7009:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7009 | #define DUK_HOBJECT_E_GET_VALUE_GETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63744:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_GETTER' 63744 | tmp = DUK_HOBJECT_E_GET_VALUE_GETTER(thr->heap, obj, curr.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7009:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7009 | #define DUK_HOBJECT_E_GET_VALUE_GETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63744:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_GETTER' 63744 | tmp = DUK_HOBJECT_E_GET_VALUE_GETTER(thr->heap, obj, curr.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7034:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7034 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63746:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_GETTER' 63746 | DUK_HOBJECT_E_SET_VALUE_GETTER(thr->heap, obj, curr.e_idx, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7034:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7034 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63746:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_GETTER' 63746 | DUK_HOBJECT_E_SET_VALUE_GETTER(thr->heap, obj, curr.e_idx, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63747:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 63747 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63747:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 63747 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7011:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7011 | #define DUK_HOBJECT_E_GET_VALUE_SETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63748:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_SETTER' 63748 | tmp = DUK_HOBJECT_E_GET_VALUE_SETTER(thr->heap, obj, curr.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7011:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7011 | #define DUK_HOBJECT_E_GET_VALUE_SETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63748:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_SETTER' 63748 | tmp = DUK_HOBJECT_E_GET_VALUE_SETTER(thr->heap, obj, curr.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7038:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7038 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63750:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_SETTER' 63750 | DUK_HOBJECT_E_SET_VALUE_SETTER(thr->heap, obj, curr.e_idx, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7038:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7038 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63750:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_SETTER' 63750 | DUK_HOBJECT_E_SET_VALUE_SETTER(thr->heap, obj, curr.e_idx, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63751:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 63751 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63751:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 63751 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:4: note: in definition of macro 'DUK_TVAL_SET_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63753:27: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 63753 | DUK_TVAL_SET_UNDEFINED(DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, obj, curr.e_idx)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:4: note: in definition of macro 'DUK_TVAL_SET_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63753:27: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 63753 | DUK_TVAL_SET_UNDEFINED(DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, obj, curr.e_idx)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63753:4: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 63753 | DUK_TVAL_SET_UNDEFINED(DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, obj, curr.e_idx)); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7061:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7061 | DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)] &= ~(mask); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7077:55: note: in expansion of macro 'DUK_HOBJECT_E_CLEAR_FLAG_BITS' 7077 | #define DUK_HOBJECT_E_SLOT_CLEAR_WRITABLE(heap, h, i) DUK_HOBJECT_E_CLEAR_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_WRITABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63754:4: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_CLEAR_WRITABLE' 63754 | DUK_HOBJECT_E_SLOT_CLEAR_WRITABLE(thr->heap, obj, curr.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7061:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7061 | DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)] &= ~(mask); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7077:55: note: in expansion of macro 'DUK_HOBJECT_E_CLEAR_FLAG_BITS' 7077 | #define DUK_HOBJECT_E_SLOT_CLEAR_WRITABLE(heap, h, i) DUK_HOBJECT_E_CLEAR_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_WRITABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63754:4: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_CLEAR_WRITABLE' 63754 | DUK_HOBJECT_E_SLOT_CLEAR_WRITABLE(thr->heap, obj, curr.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7061:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7061 | DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)] &= ~(mask); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7082:55: note: in expansion of macro 'DUK_HOBJECT_E_CLEAR_FLAG_BITS' 7082 | #define DUK_HOBJECT_E_SLOT_CLEAR_ACCESSOR(heap, h, i) DUK_HOBJECT_E_CLEAR_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_ACCESSOR) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63755:4: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_CLEAR_ACCESSOR' 63755 | DUK_HOBJECT_E_SLOT_CLEAR_ACCESSOR(thr->heap, obj, curr.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7061:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7061 | DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)] &= ~(mask); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7082:55: note: in expansion of macro 'DUK_HOBJECT_E_CLEAR_FLAG_BITS' 7082 | #define DUK_HOBJECT_E_SLOT_CLEAR_ACCESSOR(heap, h, i) DUK_HOBJECT_E_CLEAR_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_ACCESSOR) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63755:4: note: in expansion of macro 'DUK_HOBJECT_E_SLOT_CLEAR_ACCESSOR' 63755 | DUK_HOBJECT_E_SLOT_CLEAR_ACCESSOR(thr->heap, obj, curr.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63844:10: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 63844 | tv1 = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, curr.a_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63844:10: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 63844 | tv1 = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, curr.a_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63845:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 63845 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects; may invalidate a_idx */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63845:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 63845 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects; may invalidate a_idx */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63845:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 63845 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects; may invalidate a_idx */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63845:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 63845 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects; may invalidate a_idx */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63845:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 63845 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects; may invalidate a_idx */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63845:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 63845 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects; may invalidate a_idx */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63868:3: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 63868 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, obj, curr.e_idx, new_flags); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63868:3: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 63868 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, obj, curr.e_idx, new_flags); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:63: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63868:3: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 63868 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, obj, curr.e_idx, new_flags); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63875:23: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 63875 | a = (duk_harray *) obj; | ^~~ | ------------------ | reinterpret_cast ( obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7011:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7011 | #define DUK_HOBJECT_E_GET_VALUE_SETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63905:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_SETTER' 63905 | tmp = DUK_HOBJECT_E_GET_VALUE_SETTER(thr->heap, obj, curr.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7011:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7011 | #define DUK_HOBJECT_E_GET_VALUE_SETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63905:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_SETTER' 63905 | tmp = DUK_HOBJECT_E_GET_VALUE_SETTER(thr->heap, obj, curr.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7038:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7038 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63907:3: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_SETTER' 63907 | DUK_HOBJECT_E_SET_VALUE_SETTER(thr->heap, obj, curr.e_idx, set); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7038:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7038 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63907:3: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_SETTER' 63907 | DUK_HOBJECT_E_SET_VALUE_SETTER(thr->heap, obj, curr.e_idx, set); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63908:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 63908 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, set); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63908:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 63908 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, set); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5050:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5050 | #define DUK_HOBJECT_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5128:4: note: in expansion of macro 'DUK_HOBJECT_DECREF' 5128 | DUK_HOBJECT_DECREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63909:3: note: in expansion of macro 'DUK_HOBJECT_DECREF_ALLOWNULL' 63909 | DUK_HOBJECT_DECREF_ALLOWNULL(thr, tmp); /* side effects; may invalidate e_idx */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5050:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5050 | #define DUK_HOBJECT_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5128:4: note: in expansion of macro 'DUK_HOBJECT_DECREF' 5128 | DUK_HOBJECT_DECREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63909:3: note: in expansion of macro 'DUK_HOBJECT_DECREF_ALLOWNULL' 63909 | DUK_HOBJECT_DECREF_ALLOWNULL(thr, tmp); /* side effects; may invalidate e_idx */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7009:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7009 | #define DUK_HOBJECT_E_GET_VALUE_GETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63921:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_GETTER' 63921 | tmp = DUK_HOBJECT_E_GET_VALUE_GETTER(thr->heap, obj, curr.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7009:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7009 | #define DUK_HOBJECT_E_GET_VALUE_GETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63921:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_GETTER' 63921 | tmp = DUK_HOBJECT_E_GET_VALUE_GETTER(thr->heap, obj, curr.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7034:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7034 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63923:3: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_GETTER' 63923 | DUK_HOBJECT_E_SET_VALUE_GETTER(thr->heap, obj, curr.e_idx, get); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7034:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7034 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63923:3: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_GETTER' 63923 | DUK_HOBJECT_E_SET_VALUE_GETTER(thr->heap, obj, curr.e_idx, get); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63924:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 63924 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, get); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63924:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 63924 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, get); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5050:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5050 | #define DUK_HOBJECT_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5128:4: note: in expansion of macro 'DUK_HOBJECT_DECREF' 5128 | DUK_HOBJECT_DECREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63925:3: note: in expansion of macro 'DUK_HOBJECT_DECREF_ALLOWNULL' 63925 | DUK_HOBJECT_DECREF_ALLOWNULL(thr, tmp); /* side effects; may invalidate e_idx */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5050:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5050 | #define DUK_HOBJECT_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5128:4: note: in expansion of macro 'DUK_HOBJECT_DECREF' 5128 | DUK_HOBJECT_DECREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63925:3: note: in expansion of macro 'DUK_HOBJECT_DECREF_ALLOWNULL' 63925 | DUK_HOBJECT_DECREF_ALLOWNULL(thr, tmp); /* side effects; may invalidate e_idx */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63935:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 63935 | tv1 = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, obj, curr.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63935:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 63935 | tv1 = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, obj, curr.e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63936:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 63936 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects; may invalidate e_idx */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63936:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 63936 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects; may invalidate e_idx */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63936:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 63936 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects; may invalidate e_idx */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63936:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 63936 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects; may invalidate e_idx */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63936:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 63936 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects; may invalidate e_idx */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63936:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 63936 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects; may invalidate e_idx */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63946:24: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 63946 | a = (duk_harray *) obj; | ^~~ | ------------------ | reinterpret_cast ( obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:63980:22: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 63980 | a = (duk_harray *) obj; | ^~~ | ------------------ | reinterpret_cast ( obj) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64100:3: note: in expansion of macro 'DUK_ERROR_TYPE' 64100 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_EXTENSIBLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64100:3: note: in expansion of macro 'DUK_ERROR_TYPE' 64100 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_EXTENSIBLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64100:3: note: in expansion of macro 'DUK_ERROR_TYPE' 64100 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_EXTENSIBLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64108:3: note: in expansion of macro 'DUK_ERROR_TYPE' 64108 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_CONFIGURABLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64108:3: note: in expansion of macro 'DUK_ERROR_TYPE' 64108 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_CONFIGURABLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64108:3: note: in expansion of macro 'DUK_ERROR_TYPE' 64108 | DUK_ERROR_TYPE(thr, DUK_STR_NOT_CONFIGURABLE); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_hobject_object_seal_freeze_helper(duk_hthread*, duk_hobject*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7014:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7014 | #define DUK_HOBJECT_E_GET_FLAGS_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64186:8: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_PTR' 64186 | fp = DUK_HOBJECT_E_GET_FLAGS_PTR(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7014:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7014 | #define DUK_HOBJECT_E_GET_FLAGS_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64186:8: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_PTR' 64186 | fp = DUK_HOBJECT_E_GET_FLAGS_PTR(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_hobject_object_is_sealed_frozen_helper(duk_hthread*, duk_hobject*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64235:8: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 64235 | if (!DUK_HOBJECT_E_GET_KEY(thr->heap, obj, i)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64235:8: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 64235 | if (!DUK_HOBJECT_E_GET_KEY(thr->heap, obj, i)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64240:30: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 64240 | flags = (duk_small_uint_t) DUK_HOBJECT_E_GET_FLAGS(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64240:30: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 64240 | flags = (duk_small_uint_t) DUK_HOBJECT_E_GET_FLAGS(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:103: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64240:30: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 64240 | flags = (duk_small_uint_t) DUK_HOBJECT_E_GET_FLAGS(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64254:18: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 64254 | duk_tval *tv = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64254:18: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 64254 | duk_tval *tv = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, obj, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1175:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1175 | #define DUK_TVAL_IS_UNUSED(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_UNUSED) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64255:8: note: in expansion of macro 'DUK_TVAL_IS_UNUSED' 64255 | if (!DUK_TVAL_IS_UNUSED(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ucodepoint_t duk_hstring_char_code_at_raw(duk_hthread*, duk_hstring*, duk_uint_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64314:82: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 64314 | boff = (duk_uint32_t) duk_heap_strcache_offset_char2byte(thr, h, (duk_uint32_t) pos); | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64314:85: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 64314 | boff = (duk_uint32_t) duk_heap_strcache_offset_char2byte(thr, h, (duk_uint32_t) pos); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64319:12: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 64319 | p_start = DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64336:86: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 64336 | cp1 = (duk_ucodepoint_t) (((cp1 - 0xd800UL) << 10) + (cp2 - 0xdc00UL) + 0x10000UL); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_size_t duk__hstring_get_charlen_slowpath(duk_hstring*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64402:44: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 64402 | res = duk_unicode_unvalidated_utf8_length(DUK_HSTRING_GET_DATA(h), DUK_HSTRING_GET_BYTELEN(h)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64407:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 64407 | h->clen = (duk_uint32_t) res; | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_hstring_equals_ascii_cstring(duk_hstring*, const char*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64480:32: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 64480 | if (duk_memcmp((const void *) cstr, (const void *) DUK_HSTRING_GET_DATA(h), len) == 0) { | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64480:53: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 64480 | if (duk_memcmp((const void *) cstr, (const void *) DUK_HSTRING_GET_DATA(h), len) == 0) { | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64480:53: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 64480 | if (duk_memcmp((const void *) cstr, (const void *) DUK_HSTRING_GET_DATA(h), len) == 0) { | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_hthread_init_stacks(duk_heap*, duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9168:86: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 9168 | #define DUK_ALLOC(heap, size) duk_heap_mem_alloc((heap), (size)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64513:31: note: in expansion of macro 'DUK_ALLOC' 64513 | thr->valstack = (duk_tval *) DUK_ALLOC(heap, alloc_size); | ^~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64517:2: note: in expansion of macro 'duk_memzero' 64517 | duk_memzero(thr->valstack, alloc_size); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64524:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 64524 | DUK_TVAL_SET_UNDEFINED(&thr->valstack[i]); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void* duk_hthread_get_valstack_ptr(duk_heap*, void*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64540:37: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 64540 | duk_hthread *thr = (duk_hthread *) ud; | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64542:23: warning: use of old-style cast to 'void*' [-Wold-style-cast] 64542 | return (void *) thr->valstack; | ^~~~~~~~ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__push_stridx(duk_hthread*, duk_bitdecoder_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64699:49: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 64699 | n = (duk_small_uint_t) duk_bd_decode_varuint(bd); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__push_string(duk_hthread*, duk_bitdecoder_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64712:39: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 64712 | duk_push_lstring(thr, (const char *) tmp, (duk_size_t) len); | ^~~ | ------------------ | reinterpret_cast ( tmp) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64712:57: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 64712 | duk_push_lstring(thr, (const char *) tmp, (duk_size_t) len); | ^~~ | ---------------- | static_cast ( len) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__push_stridx_or_string(duk_hthread*, duk_bitdecoder_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64717:49: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 64717 | n = (duk_small_uint_t) duk_bd_decode_varuint(bd); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__push_double(duk_hthread*, duk_bitdecoder_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64734:47: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 64734 | du.uc[i] = (duk_uint8_t) duk_bd_decode(bd, 8); | ^ | - | static_cast<- | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_hthread_create_builtin_objects(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64750:2: note: in expansion of macro 'duk_memzero' 64750 | duk_memzero(&bd_ctx, sizeof(bd_ctx)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64751:35: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 64751 | bd->data = (const duk_uint8_t *) duk_builtins_data; | ^~~~~~~~~~~~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2342:71: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2342 | #define DUK_BUILTINS_DATA_LENGTH 4281 | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64752:28: note: in expansion of macro 'DUK_BUILTINS_DATA_LENGTH' 64752 | bd->length = (duk_size_t) DUK_BUILTINS_DATA_LENGTH; | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64777:58: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 64777 | class_num = (duk_small_uint_t) duk_bd_decode_varuint(bd); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64778:98: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 64778 | len = (duk_small_int_t) duk_bd_decode_flagged_signed(bd, DUK__LENGTH_PROP_BITS, (duk_int32_t) -1 /*def_value*/); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64778:113: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 64778 | len = (duk_small_int_t) duk_bd_decode_flagged_signed(bd, DUK__LENGTH_PROP_BITS, (duk_int32_t) -1 /*def_value*/); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64789:56: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 64789 | natidx = (duk_small_uint_t) duk_bd_decode_varuint(bd); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64794:99: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 64794 | c_nargs = (duk_small_int_t) duk_bd_decode_flagged_signed(bd, DUK__NARGS_BITS, len /*def_value*/); | ^ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:315:59: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 315 | #define DUK_VARARGS ((duk_int_t) (-1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64796:15: note: in expansion of macro 'DUK_VARARGS' 64796 | c_nargs = DUK_VARARGS; | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64813:4: note: in expansion of macro 'duk_xdef_prop_stridx_short' 64813 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64813:4: note: in expansion of macro 'duk_xdef_prop_stridx_short' 64813 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64813:4: note: in expansion of macro 'duk_xdef_prop_stridx_short' 64813 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64829:50: warning: use of old-style cast to 'duk_int16_t' {aka 'short int'} [-Wold-style-cast] 64829 | magic = (duk_int16_t) duk_bd_decode_varuint(bd); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64830:22: warning: use of old-style cast to 'duk_hnatfunc*' {aka 'struct duk_hnatfunc*'} [-Wold-style-cast] 64830 | ((duk_hnatfunc *) h)->magic = magic; | ^ | ------------------ | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64841:58: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 64841 | DUK_HOBJECT_FLAG_EXTENSIBLE | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_OBJENV)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64843:42: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 64843 | duk_push_hobject(thr, (duk_hobject *) env); | ^~~ | ------------------- | reinterpret_cast ( env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64848:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 64848 | DUK_HOBJECT_INCREF(thr, global); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64848:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 64848 | DUK_HOBJECT_INCREF(thr, global); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64865:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 64865 | DUK_HOBJECT_INCREF(thr, &h->hdr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64865:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 64865 | DUK_HOBJECT_INCREF(thr, &h->hdr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64881:4: note: in expansion of macro 'duk_xdef_prop_stridx_short' 64881 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64881:4: note: in expansion of macro 'duk_xdef_prop_stridx_short' 64881 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64881:4: note: in expansion of macro 'duk_xdef_prop_stridx_short' 64881 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64927:42: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 64927 | h = duk_known_hobject(thr, (duk_idx_t) i); | ^ | ------------- | static_cast ( i) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64929:50: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 64929 | t = (duk_small_uint_t) duk_bd_decode_varuint(bd); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64933:80: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 64933 | DUK_HOBJECT_SET_PROTOTYPE_UPDREF(thr, h, duk_known_hobject(thr, (duk_idx_t) t)); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7196:99: note: in definition of macro 'DUK_HOBJECT_SET_PROTOTYPE_UPDREF' 7196 | #define DUK_HOBJECT_SET_PROTOTYPE_UPDREF(thr, h, p) duk_hobject_set_prototype_updref((thr), (h), (p)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64943:50: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 64943 | t = (duk_small_uint_t) duk_bd_decode_varuint(bd); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64952:29: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 64952 | duk_dup(thr, (duk_idx_t) t); | ^ | ------------- | static_cast ( t) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64953:42: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 64953 | duk_xdef_prop_stridx(thr, (duk_idx_t) i, DUK_STRIDX_PROTOTYPE, DUK_PROPDESC_FLAGS_NONE); | ^ | ------------- | static_cast ( i) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64956:50: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 64956 | t = (duk_small_uint_t) duk_bd_decode_varuint(bd); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64965:29: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 64965 | duk_dup(thr, (duk_idx_t) t); | ^ | ------------- | static_cast ( t) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64966:42: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 64966 | duk_xdef_prop_stridx(thr, (duk_idx_t) i, DUK_STRIDX_CONSTRUCTOR, DUK_PROPDESC_FLAGS_WC); | ^ | ------------- | static_cast ( i) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64970:52: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 64970 | num = (duk_small_uint_t) duk_bd_decode_varuint(bd); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6856:93: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 6856 | #define DUK_PROPDESC_FLAGS_WC (DUK_PROPDESC_FLAG_WRITABLE | DUK_PROPDESC_FLAG_CONFIGURABLE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64986:76: note: in expansion of macro 'DUK_PROPDESC_FLAGS_WC' 64986 | (duk_uint32_t) DUK_PROPDESC_FLAGS_WC); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64986:97: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 64984 | defprop_flags = (duk_small_uint_t) duk_bd_decode_flagged(bd, | - | static_cast< - | > ( 64985 | DUK__PROP_FLAGS_BITS, 64986 | (duk_uint32_t) DUK_PROPDESC_FLAGS_WC); | ^ | ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64998:64: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 64998 | t = (duk_small_uint_t) duk_bd_decode(bd, DUK__PROP_TYPE_BITS); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65023:55: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 65023 | bidx = (duk_small_uint_t) duk_bd_decode_varuint(bd); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65024:30: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 65024 | duk_dup(thr, (duk_idx_t) bidx); | ^~~~ | ---------------- | static_cast ( bidx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65040:81: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 65040 | duk_small_uint_t natidx_getter = (duk_small_uint_t) duk_bd_decode_varuint(bd); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65041:81: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 65041 | duk_small_uint_t natidx_setter = (duk_small_uint_t) duk_bd_decode_varuint(bd); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65042:82: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 65042 | duk_small_uint_t accessor_magic = (duk_small_uint_t) duk_bd_decode_varuint(bd); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65057:41: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 65057 | duk_set_magic(thr, -1, (duk_int_t) accessor_magic); | ^~~~~~~~~~~~~~ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65063:41: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 65063 | duk_set_magic(thr, -1, (duk_int_t) accessor_magic); | ^~~~~~~~~~~~~~ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65080:34: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 65080 | duk_def_prop(thr, (duk_idx_t) i, defprop_flags); | ^ | ------------- | static_cast ( i) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65085:52: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 65085 | num = (duk_small_uint_t) duk_bd_decode_varuint(bd); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65103:56: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 65103 | natidx = (duk_small_uint_t) duk_bd_decode_varuint(bd); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65105:73: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 65105 | c_length = (duk_small_uint_t) duk_bd_decode(bd, DUK__LENGTH_PROP_BITS); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65106:84: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 65106 | c_nargs = (duk_int_t) duk_bd_decode_flagged(bd, DUK__NARGS_BITS, (duk_uint32_t) c_length /*def_value*/); | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65106:106: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 65106 | c_nargs = (duk_int_t) duk_bd_decode_flagged(bd, DUK__NARGS_BITS, (duk_uint32_t) c_length /*def_value*/); | ^ | ----------- | static_cast ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:315:59: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 315 | #define DUK_VARARGS ((duk_int_t) (-1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65108:15: note: in expansion of macro 'DUK_VARARGS' 65108 | c_nargs = DUK_VARARGS; | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65123:50: warning: use of old-style cast to 'duk_int16_t' {aka 'short int'} [-Wold-style-cast] 65123 | magic = (duk_int16_t) duk_bd_decode_varuint(bd); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65186:50: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 65186 | DUK_HOBJECT_SET_SPECIAL_CALL((duk_hobject *) h_func); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4769:4: note: in definition of macro 'DUK_HEAPHDR_SET_FLAG_BITS' 4769 | (h)->h_flags |= (bits); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65186:5: note: in expansion of macro 'DUK_HOBJECT_SET_SPECIAL_CALL' 65186 | DUK_HOBJECT_SET_SPECIAL_CALL((duk_hobject *) h_func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65195:43: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 65195 | DUK_HOBJECT_SET_STRICT((duk_hobject *) h_func); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4769:4: note: in definition of macro 'DUK_HEAPHDR_SET_FLAG_BITS' 4769 | (h)->h_flags |= (bits); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65195:4: note: in expansion of macro 'DUK_HOBJECT_SET_STRICT' 65195 | DUK_HOBJECT_SET_STRICT((duk_hobject *) h_func); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65210:4: note: in expansion of macro 'duk_xdef_prop_stridx_short' 65210 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65210:4: note: in expansion of macro 'duk_xdef_prop_stridx_short' 65210 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65210:4: note: in expansion of macro 'duk_xdef_prop_stridx_short' 65210 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65213:4: note: in expansion of macro 'duk_xdef_prop_stridx_short' 65213 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65213:4: note: in expansion of macro 'duk_xdef_prop_stridx_short' 65213 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65213:4: note: in expansion of macro 'duk_xdef_prop_stridx_short' 65213 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6856:93: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 6856 | #define DUK_PROPDESC_FLAGS_WC (DUK_PROPDESC_FLAG_WRITABLE | DUK_PROPDESC_FLAG_CONFIGURABLE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65235:76: note: in expansion of macro 'DUK_PROPDESC_FLAGS_WC' 65235 | (duk_uint32_t) DUK_PROPDESC_FLAGS_WC); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65235:97: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 65233 | defprop_flags = (duk_small_uint_t) duk_bd_decode_flagged(bd, | - | static_cast< - | > ( 65234 | DUK__PROP_FLAGS_BITS, 65235 | (duk_uint32_t) DUK_PROPDESC_FLAGS_WC); | ^ | ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65242:34: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 65242 | duk_def_prop(thr, (duk_idx_t) i, defprop_flags); | ^ | ------------- | static_cast ( i) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65266:2: note: in expansion of macro 'duk_get_prop_stridx_short' 65266 | duk_get_prop_stridx_short(thr, DUK_BIDX_DATE_PROTOTYPE, DUK_STRIDX_TO_UTC_STRING); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65266:2: note: in expansion of macro 'duk_get_prop_stridx_short' 65266 | duk_get_prop_stridx_short(thr, DUK_BIDX_DATE_PROTOTYPE, DUK_STRIDX_TO_UTC_STRING); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65267:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 65267 | duk_xdef_prop_stridx_short(thr, DUK_BIDX_DATE_PROTOTYPE, DUK_STRIDX_TO_GMT_STRING, DUK_PROPDESC_FLAGS_WC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65267:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 65267 | duk_xdef_prop_stridx_short(thr, DUK_BIDX_DATE_PROTOTYPE, DUK_STRIDX_TO_GMT_STRING, DUK_PROPDESC_FLAGS_WC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65267:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 65267 | duk_xdef_prop_stridx_short(thr, DUK_BIDX_DATE_PROTOTYPE, DUK_STRIDX_TO_GMT_STRING, DUK_PROPDESC_FLAGS_WC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65390:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 65390 | duk_xdef_prop_stridx_short(thr, DUK_BIDX_DUKTAPE, DUK_STRIDX_ENV, DUK_PROPDESC_FLAGS_WC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65390:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 65390 | duk_xdef_prop_stridx_short(thr, DUK_BIDX_DUKTAPE, DUK_STRIDX_ENV, DUK_PROPDESC_FLAGS_WC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65390:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 65390 | duk_xdef_prop_stridx_short(thr, DUK_BIDX_DUKTAPE, DUK_STRIDX_ENV, DUK_PROPDESC_FLAGS_WC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65398:69: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 65398 | duk_hobject_compact_props(thr, duk_known_hobject(thr, (duk_idx_t) i)); | ^ | ------------- | static_cast ( i) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_hthread_copy_builtin_objects(duk_hthread*, duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65427:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 65427 | DUK_HOBJECT_INCREF_ALLOWNULL(thr_to, thr_to->builtins[i]); /* side effect free */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65427:3: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 65427 | DUK_HOBJECT_INCREF_ALLOWNULL(thr_to, thr_to->builtins[i]); /* side effect free */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint_fast32_t duk_hthread_get_act_prev_pc(duk_hthread*, duk_activation*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65501:78: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 65501 | bcode = DUK_HCOMPFUNC_GET_CODE_BASE(thr->heap, (duk_hcompfunc *) (act->func)); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7591:47: note: in definition of macro 'DUK_HCOMPFUNC_GET_BYTECODE' 7591 | #define DUK_HCOMPFUNC_GET_BYTECODE(heap, h) ((h)->bytecode) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65501:11: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_BASE' 65501 | bcode = DUK_HCOMPFUNC_GET_CODE_BASE(thr->heap, (duk_hcompfunc *) (act->func)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65502:50: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 65502 | ret = (duk_uint_fast32_t) (act->curr_pc - bcode); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_hthread_catcher_unwind_norz(duk_hthread*, duk_activation*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65571:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 65571 | DUK_HOBJECT_INCREF(thr, act->lex_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65571:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 65571 | DUK_HOBJECT_INCREF(thr, act->lex_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65572:3: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 65572 | DUK_HOBJECT_DECREF_NORZ(thr, env); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65572:3: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 65572 | DUK_HOBJECT_DECREF_NORZ(thr, env); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_catcher* duk__hthread_catcher_alloc_slow(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9181:85: warning: use of old-style cast to 'duk_catcher*' {aka 'struct duk_catcher*'} [-Wold-style-cast] 9181 | #define DUK_ALLOC_CHECKED(thr, size) duk_heap_mem_alloc_checked((thr), (size)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65608:24: note: in expansion of macro 'DUK_ALLOC_CHECKED' 65608 | cat = (duk_catcher *) DUK_ALLOC_CHECKED(thr, sizeof(duk_catcher)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_activation* duk__hthread_activation_alloc_slow(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9181:85: warning: use of old-style cast to 'duk_activation*' {aka 'struct duk_activation*'} [-Wold-style-cast] 9181 | #define DUK_ALLOC_CHECKED(thr, size) duk_heap_mem_alloc_checked((thr), (size)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65653:27: note: in expansion of macro 'DUK_ALLOC_CHECKED' 65653 | act = (duk_activation *) DUK_ALLOC_CHECKED(thr, sizeof(duk_activation)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__activation_unwind_nofree_norz(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65842:2: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 65842 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, act->var_env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65842:2: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 65842 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, act->var_env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65843:2: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 65843 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, act->lex_env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65843:2: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 65843 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, act->lex_env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65845:2: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 65845 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5134:4: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 5134 | DUK_HOBJECT_DECREF_NORZ((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:65845:2: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ_ALLOWNULL' 65845 | DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'double duk_js_arith_mod(double, double)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66006:42: warning: use of old-style cast to 'double' [-Wold-style-cast] 66006 | return (duk_double_t) DUK_FMOD((double) d1, (double) d2); | ^~ | ----------- | static_cast ( d1) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66006:55: warning: use of old-style cast to 'double' [-Wold-style-cast] 66006 | return (duk_double_t) DUK_FMOD((double) d1, (double) d2); | ^~ | ----------- | static_cast ( d2) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66006:57: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 66006 | return (duk_double_t) DUK_FMOD((double) d1, (double) d2); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__call_c_recursion_limit_check_slowpath(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66160:2: note: in expansion of macro 'DUK_ERROR_RANGE' 66160 | DUK_ERROR_RANGE(thr, DUK_STR_NATIVE_STACK_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__call_callstack_limit_check_slowpath(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66198:2: note: in expansion of macro 'DUK_ERROR_RANGE' 66198 | DUK_ERROR_RANGE(thr, DUK_STR_CALLSTACK_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__create_arguments_object(duk_hthread*, duk_hobject*, duk_hobject*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66287:73: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 66287 | formals = (duk_hobject *) duk_hobject_get_formals(thr, (duk_hobject *) func); | ^~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66287:77: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 66287 | formals = (duk_hobject *) duk_hobject_get_formals(thr, (duk_hobject *) func); | ^ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66289:43: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 66289 | n_formals = (duk_idx_t) ((duk_harray *) formals)->length; | ^~~~~~~ | ---------------------- | reinterpret_cast ( formals) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66289:53: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 66289 | n_formals = (duk_idx_t) ((duk_harray *) formals)->length; | ^~~~~~ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66320:35: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 66320 | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_ARGUMENTS), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66325:36: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 66325 | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_OBJECT), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66329:36: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 66329 | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_OBJECT), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66370:55: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 66370 | duk_xdef_prop_index_wec(thr, i_arg, (duk_uarridx_t) idx); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6205:95: note: in definition of macro 'duk_xdef_prop_index_wec' 6205 | #define duk_xdef_prop_index_wec(thr, obj_idx, arr_idx) duk_xdef_prop_index((thr), (obj_idx), (arr_idx), DUK_PROPDESC_FLAGS_WEC) | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66379:55: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 66379 | duk_get_prop_index(thr, i_formals, (duk_uarridx_t) idx); | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66396:55: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 66396 | (void) duk_push_uint_to_hstring(thr, (duk_uint_t) idx); /* index */ | ^~~ | ---------------- | static_cast ( idx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66401:57: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 66401 | duk_xdef_prop_index_wec(thr, i_map, (duk_uarridx_t) idx); /* out of spec, must be configurable */ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6205:95: note: in definition of macro 'duk_xdef_prop_index_wec' 6205 | #define duk_xdef_prop_index_wec(thr, obj_idx, arr_idx) duk_xdef_prop_index((thr), (obj_idx), (arr_idx), DUK_PROPDESC_FLAGS_WEC) | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__handle_createargs_for_call(duk_hthread*, duk_hobject*, duk_hobject*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66520:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 66520 | duk_xdef_prop_stridx_short(thr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66520:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 66520 | duk_xdef_prop_stridx_short(thr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66520:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 66520 | duk_xdef_prop_stridx_short(thr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__update_default_instance_proto(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66567:2: note: in expansion of macro 'duk_get_prop_stridx_short' 66567 | duk_get_prop_stridx_short(thr, idx_func, DUK_STRIDX_PROTOTYPE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66567:2: note: in expansion of macro 'duk_get_prop_stridx_short' 66567 | duk_get_prop_stridx_short(thr, idx_func, DUK_STRIDX_PROTOTYPE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_call_construct_postprocess(duk_hthread*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10380:71: note: in expansion of macro 'DUK_LINE_MACRO' 10380 | duk_err_type_invalid_trap_result((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66602:4: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_TRAP_RESULT' 66602 | DUK_ERROR_TYPE_INVALID_TRAP_RESULT(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__handle_bound_chain_for_call(duk_hthread*, duk_idx_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66652:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 66652 | if (DUK_TVAL_IS_OBJECT(tv_func)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66653:10: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 66653 | func = DUK_TVAL_GET_OBJECT(tv_func); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66661:42: warning: use of old-style cast to 'void*' [-Wold-style-cast] 66661 | h_bound = (duk_hboundfunc *) (void *) func; | ^~~~ | ------------- | static_cast ( func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66661:42: warning: use of old-style cast to 'duk_hboundfunc*' {aka 'struct duk_hboundfunc*'} [-Wold-style-cast] 66661 | h_bound = (duk_hboundfunc *) (void *) func; | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66686:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 66686 | duk_copy_tvals_incref(thr, tv_gap, tv_args, (duk_size_t) len); | ^~~ | ---------------- | static_cast ( len) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1180:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1180 | #define DUK_TVAL_IS_LIGHTFUNC(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_LIGHTFUNC) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66697:13: note: in expansion of macro 'DUK_TVAL_IS_LIGHTFUNC' 66697 | } else if (DUK_TVAL_IS_LIGHTFUNC(tv_func)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10285:61: note: in expansion of macro 'DUK_LINE_MACRO' 10285 | duk_err_error_internal((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66702:3: note: in expansion of macro 'DUK_ERROR_INTERNAL' 66702 | DUK_ERROR_INTERNAL(thr); | ^~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__handle_specialfuncs_for_call(duk_hthread*, duk_idx_t, duk_hobject*, duk_small_uint_t*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66756:37: warning: use of old-style cast to 'duk_hnatfunc*' {aka 'struct duk_hnatfunc*'} [-Wold-style-cast] 66756 | if (DUK_UNLIKELY(((duk_hnatfunc *) func)->magic == 15)) { | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66774:28: warning: use of old-style cast to 'duk_hnatfunc*' {aka 'struct duk_hnatfunc*'} [-Wold-style-cast] 66774 | switch (((duk_hnatfunc *) func)->magic) { | ^~~~ | --------------------- | reinterpret_cast ( func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10362:64: note: in expansion of macro 'DUK_LINE_MACRO' 10362 | duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66881:4: note: in expansion of macro 'DUK_ERROR_TYPE_INVALID_ARGS' 66881 | DUK_ERROR_TYPE_INVALID_ARGS(thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10298:3: note: in expansion of macro 'DUK_ERROR' 10298 | DUK_ERROR((thr), DUK_ERR_ERROR, DUK_STR_UNSUPPORTED); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66887:5: note: in expansion of macro 'DUK_ERROR_UNSUPPORTED' 66887 | DUK_ERROR_UNSUPPORTED(thr); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10298:3: note: in expansion of macro 'DUK_ERROR' 10298 | DUK_ERROR((thr), DUK_ERR_ERROR, DUK_STR_UNSUPPORTED); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66887:5: note: in expansion of macro 'DUK_ERROR_UNSUPPORTED' 66887 | DUK_ERROR_UNSUPPORTED(thr); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10298:3: note: in expansion of macro 'DUK_ERROR' 10298 | DUK_ERROR((thr), DUK_ERR_ERROR, DUK_STR_UNSUPPORTED); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66887:5: note: in expansion of macro 'DUK_ERROR_UNSUPPORTED' 66887 | DUK_ERROR_UNSUPPORTED(thr); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__handle_proxy_for_call(duk_hthread*, duk_idx_t, duk_hproxy*, duk_small_uint_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66978:7: note: in expansion of macro 'duk_get_prop_stridx_short' 66978 | rc = duk_get_prop_stridx_short(thr, -1, (*call_flags & DUK_CALL_FLAG_CONSTRUCT) ? DUK_STRIDX_CONSTRUCT : DUK_STRIDX_APPLY); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66978:7: note: in expansion of macro 'duk_get_prop_stridx_short' 66978 | rc = duk_get_prop_stridx_short(thr, -1, (*call_flags & DUK_CALL_FLAG_CONSTRUCT) ? DUK_STRIDX_CONSTRUCT : DUK_STRIDX_APPLY); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67037:41: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 67037 | duk_push_hobject(thr, (duk_hobject *) h_proxy); | ^~~~~~~ | ----------------------- | reinterpret_cast ( h_proxy) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__handle_oldenv_for_call(duk_hthread*, duk_hobject*, duk_activation*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67065:24: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 67065 | f = (duk_hcompfunc *) func; | ^~~~ | ---------------------- | reinterpret_cast ( func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67072:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 67072 | DUK_HOBJECT_INCREF(thr, h_lex); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67072:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 67072 | DUK_HOBJECT_INCREF(thr, h_lex); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67073:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 67073 | DUK_HOBJECT_INCREF(thr, h_var); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67073:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 67073 | DUK_HOBJECT_INCREF(thr, h_var); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__coerce_nonstrict_this_binding(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67197:10: note: in expansion of macro 'DUK_TVAL_GET_TAG' 67197 | switch (DUK_TVAL_GET_TAG(tv_this)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67208:4: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 67208 | DUK_TVAL_SET_OBJECT(tv_this, obj_global); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67208:4: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 67208 | DUK_TVAL_SET_OBJECT(tv_this, obj_global); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67208:4: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 67208 | DUK_TVAL_SET_OBJECT(tv_this, obj_global); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67209:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 67209 | DUK_HOBJECT_INCREF(thr, obj_global); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67209:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 67209 | DUK_HOBJECT_INCREF(thr, obj_global); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67216:4: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 67216 | DUK_TVAL_SET_UNDEFINED(tv_this); /* nothing to incref */ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__resolve_target_fastpath_check(duk_hthread*, duk_idx_t, duk_hobject**, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67249:12: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 67249 | tv_func = DUK_GET_TVAL_POSIDX(thr, idx_func); | ^~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67252:17: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 67252 | if (DUK_LIKELY(DUK_TVAL_IS_OBJECT(tv_func))) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67253:10: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 67253 | func = DUK_TVAL_GET_OBJECT(tv_func); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1180:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1180 | #define DUK_TVAL_IS_LIGHTFUNC(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_LIGHTFUNC) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67265:13: note: in expansion of macro 'DUK_TVAL_IS_LIGHTFUNC' 67265 | } else if (DUK_TVAL_IS_LIGHTFUNC(tv_func)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hobject* duk__resolve_target_func_and_this_binding(duk_hthread*, duk_idx_t, duk_small_uint_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67290:13: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 67290 | tv_func = DUK_GET_TVAL_POSIDX(thr, idx_func); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67295:7: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 67295 | if (DUK_TVAL_IS_OBJECT(tv_func)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67296:11: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 67296 | func = DUK_TVAL_GET_OBJECT(tv_func); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67343:63: warning: use of old-style cast to 'duk_hproxy*' {aka 'struct duk_hproxy*'} [-Wold-style-cast] 67343 | duk__handle_proxy_for_call(thr, idx_func, (duk_hproxy *) func, call_flags); | ^~~~ | ------------------- | reinterpret_cast ( func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1180:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1180 | #define DUK_TVAL_IS_LIGHTFUNC(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_LIGHTFUNC) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67361:14: note: in expansion of macro 'DUK_TVAL_IS_LIGHTFUNC' 67361 | } else if (DUK_TVAL_IS_LIGHTFUNC(tv_func)) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67420:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 67420 | if (DUK_TVAL_IS_OBJECT(tv_func)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67422:57: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 67422 | duk_hobject_find_entry_tval_ptr_stridx(thr->heap, DUK_TVAL_GET_OBJECT(tv_func), DUK_STRIDX_INT_TARGET); | ^~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:541:37: warning: use of old-style cast to 'duk_ret_t' {aka 'int'} [-Wold-style-cast] 541 | (duk_throw_raw((ctx)), (duk_ret_t) 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67426:11: note: in expansion of macro 'duk_throw' 67426 | (void) duk_throw(thr); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10113:37: note: in expansion of macro 'DUK_LINE_MACRO' 10113 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67436:2: note: in expansion of macro 'DUK_ERROR_FMT1' 67436 | DUK_ERROR_FMT1(thr, DUK_ERR_TYPE_ERROR, "%s not callable", duk_push_string_tval_readable(thr, tv_func)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10118:43: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10118 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67436:2: note: in expansion of macro 'DUK_ERROR_FMT1' 67436 | DUK_ERROR_FMT1(thr, DUK_ERR_TYPE_ERROR, "%s not callable", duk_push_string_tval_readable(thr, tv_func)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10118:76: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10118 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67436:2: note: in expansion of macro 'DUK_ERROR_FMT1' 67436 | DUK_ERROR_FMT1(thr, DUK_ERR_TYPE_ERROR, "%s not callable", duk_push_string_tval_readable(thr, tv_func)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10113:37: note: in expansion of macro 'DUK_LINE_MACRO' 10113 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67449:2: note: in expansion of macro 'DUK_ERROR_FMT1' 67449 | DUK_ERROR_FMT1(thr, DUK_ERR_TYPE_ERROR, "%s not constructable", duk_push_string_tval_readable(thr, tv_func)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10118:43: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10118 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67449:2: note: in expansion of macro 'DUK_ERROR_FMT1' 67449 | DUK_ERROR_FMT1(thr, DUK_ERR_TYPE_ERROR, "%s not constructable", duk_push_string_tval_readable(thr, tv_func)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10118:76: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10118 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67449:2: note: in expansion of macro 'DUK_ERROR_FMT1' 67449 | DUK_ERROR_FMT1(thr, DUK_ERR_TYPE_ERROR, "%s not constructable", duk_push_string_tval_readable(thr, tv_func)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__safe_call_adjust_valstack(duk_hthread*, duk_idx_t, duk_idx_t, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67480:3: note: in expansion of macro 'DUK_ERROR_TYPE' 67480 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_CFUNC_RC); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67480:3: note: in expansion of macro 'DUK_ERROR_TYPE' 67480 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_CFUNC_RC); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67480:3: note: in expansion of macro 'DUK_ERROR_TYPE' 67480 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_CFUNC_RC); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_uint_t duk__call_setup_act_attempt_tailcall(duk_hthread*, duk_small_uint_t, duk_idx_t, duk_hobject*, duk_size_t, duk_size_t, duk_idx_t*, duk_idx_t*, duk_size_t*, duk_activation**)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67585:76: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 67585 | flags1 = (duk_small_uint_t) ((act->flags & DUK_ACT_FLAG_CONSTRUCT) ? 1 : 0) | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67587:84: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 67587 | | (duk_small_uint_t) ((act->flags & DUK_ACT_FLAG_CONSTRUCT_PROXY) ? 2 : 0) | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67590:77: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 67590 | flags2 = (duk_small_uint_t) ((call_flags & DUK_CALL_FLAG_CONSTRUCT) ? 1 : 0) | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67592:85: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 67592 | | (duk_small_uint_t) ((call_flags & DUK_CALL_FLAG_CONSTRUCT_PROXY) ? 2 : 0); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67681:74: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 67681 | act->curr_pc = DUK_HCOMPFUNC_GET_CODE_BASE(thr->heap, (duk_hcompfunc *) func); | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7591:47: note: in definition of macro 'DUK_HCOMPFUNC_GET_BYTECODE' 7591 | #define DUK_HCOMPFUNC_GET_BYTECODE(heap, h) ((h)->bytecode) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67681:17: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_BASE' 67681 | act->curr_pc = DUK_HCOMPFUNC_GET_CODE_BASE(thr->heap, (duk_hcompfunc *) func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67685:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 67685 | DUK_TVAL_SET_OBJECT(&act->tv_func, func); /* borrowed, no refcount */ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67685:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 67685 | DUK_TVAL_SET_OBJECT(&act->tv_func, func); /* borrowed, no refcount */ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67685:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 67685 | DUK_TVAL_SET_OBJECT(&act->tv_func, func); /* borrowed, no refcount */ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67686:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 67686 | DUK_HOBJECT_INCREF(thr, func); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67686:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 67686 | DUK_HOBJECT_INCREF(thr, func); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67731:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 67731 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67731:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 67731 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67731:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 67731 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67731:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 67731 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67731:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 67731 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67731:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 67731 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67740:34: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 67740 | *out_nargs = ((duk_hcompfunc *) func)->nargs; | ^~~~ | ---------------------- | reinterpret_cast ( func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67741:34: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 67741 | *out_nregs = ((duk_hcompfunc *) func)->nregs; | ^~~~ | ---------------------- | reinterpret_cast ( func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67745:72: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 67745 | entry_valstack_bottom_byteoff + sizeof(duk_tval) * ((duk_size_t) *out_nregs + DUK_VALSTACK_INTERNAL_EXTRA); | ^~~~~~~~~ | ----------------------- | static_cast ( *out_nregs) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__call_setup_act_not_tailcall(duk_hthread*, duk_small_uint_t, duk_idx_t, duk_hobject*, duk_size_t, duk_size_t, duk_idx_t*, duk_idx_t*, duk_size_t*, duk_activation**)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67797:70: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 67797 | act->retval_byteoff = entry_valstack_bottom_byteoff + (duk_size_t) idx_func * sizeof(duk_tval); | ^~~~~~~~ | --------------------- | static_cast ( idx_func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67827:3: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 67827 | DUK_TVAL_SET_OBJECT(&act->tv_func, func); /* borrowed, no refcount */ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67827:3: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 67827 | DUK_TVAL_SET_OBJECT(&act->tv_func, func); /* borrowed, no refcount */ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67827:3: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 67827 | DUK_TVAL_SET_OBJECT(&act->tv_func, func); /* borrowed, no refcount */ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67832:36: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 67832 | *out_nargs = ((duk_hcompfunc *) func)->nargs; | ^~~~ | ---------------------- | reinterpret_cast ( func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67833:36: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 67833 | *out_nregs = ((duk_hcompfunc *) func)->nregs; | ^~~~ | ---------------------- | reinterpret_cast ( func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67838:41: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 67838 | sizeof(duk_tval) * ((duk_size_t) idx_func + 2U + (duk_size_t) *out_nregs + DUK_VALSTACK_INTERNAL_EXTRA); | ^~~~~~~~ | --------------------- | static_cast ( idx_func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67838:71: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 67838 | sizeof(duk_tval) * ((duk_size_t) idx_func + 2U + (duk_size_t) *out_nregs + DUK_VALSTACK_INTERNAL_EXTRA); | ^~~~~~~~~ | ----------------------- | static_cast ( *out_nregs) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67843:35: warning: use of old-style cast to 'duk_hnatfunc*' {aka 'struct duk_hnatfunc*'} [-Wold-style-cast] 67843 | *out_nargs = ((duk_hnatfunc *) func)->nargs; | ^~~~ | --------------------- | reinterpret_cast ( func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67848:42: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 67848 | sizeof(duk_tval) * ((duk_size_t) idx_func + 2U + (duk_size_t) *out_nregs + | ^~~~~~~~ | --------------------- | static_cast ( idx_func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67848:72: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 67848 | sizeof(duk_tval) * ((duk_size_t) idx_func + 2U + (duk_size_t) *out_nregs + | ^~~~~~~~~ | ----------------------- | static_cast ( *out_nregs) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67853:44: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 67853 | (duk_size_t) ((duk_uint8_t *) thr->valstack_top - ((duk_uint8_t *) thr->valstack)); | ^~~~~~~~~~~~ | --------------- | reinterpret_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67853:81: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 67853 | (duk_size_t) ((duk_uint8_t *) thr->valstack_top - ((duk_uint8_t *) thr->valstack)); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67853:90: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 67853 | (duk_size_t) ((duk_uint8_t *) thr->valstack_top - ((duk_uint8_t *) thr->valstack)); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67864:13: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 67864 | tv_func = DUK_GET_TVAL_POSIDX(thr, idx_func); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1164:89: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1164 | #define DUK_TVAL_GET_LIGHTFUNC_FLAGS(tv) (((duk_small_uint_t) (tv)->ui[DUK_DBL_IDX_UI0]) & 0xffffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67868:14: note: in expansion of macro 'DUK_TVAL_GET_LIGHTFUNC_FLAGS' 67868 | lf_flags = DUK_TVAL_GET_LIGHTFUNC_FLAGS(tv_func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67872:57: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 67872 | sizeof(duk_tval) * ((duk_size_t) idx_func + 2U + (duk_size_t) *out_nargs + | ^~~~~~~~ | --------------------- | static_cast ( idx_func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67872:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 67872 | sizeof(duk_tval) * ((duk_size_t) idx_func + 2U + (duk_size_t) *out_nargs + | ^~~~~~~~~ | ----------------------- | static_cast ( *out_nargs) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67876:43: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 67876 | (duk_size_t) ((duk_uint8_t *) thr->valstack_top - ((duk_uint8_t *) thr->valstack)); | ^~~~~~~~~~~~ | --------------- | reinterpret_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67876:80: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 67876 | (duk_size_t) ((duk_uint8_t *) thr->valstack_top - ((duk_uint8_t *) thr->valstack)); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67876:89: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 67876 | (duk_size_t) ((duk_uint8_t *) thr->valstack_top - ((duk_uint8_t *) thr->valstack)); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67893:89: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 67893 | act->bottom_byteoff = entry_valstack_bottom_byteoff + sizeof(duk_tval) * ((duk_size_t) idx_func + 2U); | ^~~~~~~~ | --------------------- | static_cast ( idx_func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67907:2: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 67907 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, func); /* act->func */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67907:2: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 67907 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, func); /* act->func */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__call_env_setup(duk_hthread*, duk_hobject*, duk_activation*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67953:5: note: in expansion of macro 'DUK_HOBJECT_INCREF' 67953 | DUK_HOBJECT_INCREF(thr, env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67953:5: note: in expansion of macro 'DUK_HOBJECT_INCREF' 67953 | DUK_HOBJECT_INCREF(thr, env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67954:5: note: in expansion of macro 'DUK_HOBJECT_INCREF' 67954 | DUK_HOBJECT_INCREF(thr, env); /* XXX: incref by count (2) directly */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:67954:5: note: in expansion of macro 'DUK_HOBJECT_INCREF' 67954 | DUK_HOBJECT_INCREF(thr, env); /* XXX: incref by count (2) directly */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__call_thread_state_update(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10113:37: note: in expansion of macro 'DUK_LINE_MACRO' 10113 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68008:2: note: in expansion of macro 'DUK_ERROR_FMT1' 68008 | DUK_ERROR_FMT1(thr, DUK_ERR_TYPE_ERROR, "invalid thread state (%ld)", (long) thr->state); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10118:43: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10118 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68008:2: note: in expansion of macro 'DUK_ERROR_FMT1' 68008 | DUK_ERROR_FMT1(thr, DUK_ERR_TYPE_ERROR, "invalid thread state (%ld)", (long) thr->state); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10118:76: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10118 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68008:2: note: in expansion of macro 'DUK_ERROR_FMT1' 68008 | DUK_ERROR_FMT1(thr, DUK_ERR_TYPE_ERROR, "invalid thread state (%ld)", (long) thr->state); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68008:84: warning: use of old-style cast to 'long int' [-Wold-style-cast] 68008 | DUK_ERROR_FMT1(thr, DUK_ERR_TYPE_ERROR, "invalid thread state (%ld)", (long) thr->state); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10120:29: note: in definition of macro 'DUK_ERROR_FMT1' 10120 | (arg1)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk__handle_call_raw(duk_hthread*, duk_idx_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68099:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 68099 | entry_valstack_bottom_byteoff = (duk_size_t) ((duk_uint8_t *) thr->valstack_bottom - (duk_uint8_t *) thr->valstack); | ^~~~~~~~~~~~~~~ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68099:108: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 68099 | entry_valstack_bottom_byteoff = (duk_size_t) ((duk_uint8_t *) thr->valstack_bottom - (duk_uint8_t *) thr->valstack); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68099:116: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 68099 | entry_valstack_bottom_byteoff = (duk_size_t) ((duk_uint8_t *) thr->valstack_bottom - (duk_uint8_t *) thr->valstack); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68100:66: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 68100 | entry_valstack_end_byteoff = (duk_size_t) ((duk_uint8_t *) thr->valstack_end - (duk_uint8_t *) thr->valstack); | ^~~~~~~~~~~~ | --------------- | reinterpret_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68100:102: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 68100 | entry_valstack_end_byteoff = (duk_size_t) ((duk_uint8_t *) thr->valstack_end - (duk_uint8_t *) thr->valstack); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68100:110: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 68100 | entry_valstack_end_byteoff = (duk_size_t) ((duk_uint8_t *) thr->valstack_end - (duk_uint8_t *) thr->valstack); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68243:60: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 68243 | act->reserve_byteoff = (duk_size_t) ((duk_uint8_t *) thr->valstack_end - (duk_uint8_t *) thr->valstack); | ^~~~~~~~~~~~ | --------------- | reinterpret_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68243:96: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 68243 | act->reserve_byteoff = (duk_size_t) ((duk_uint8_t *) thr->valstack_end - (duk_uint8_t *) thr->valstack); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68243:104: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 68243 | act->reserve_byteoff = (duk_size_t) ((duk_uint8_t *) thr->valstack_end - (duk_uint8_t *) thr->valstack); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68298:75: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 68298 | act->curr_pc = DUK_HCOMPFUNC_GET_CODE_BASE(thr->heap, (duk_hcompfunc *) func); | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7591:47: note: in definition of macro 'DUK_HCOMPFUNC_GET_BYTECODE' 7591 | #define DUK_HCOMPFUNC_GET_BYTECODE(heap, h) ((h)->bytecode) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68298:18: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CODE_BASE' 68298 | act->curr_pc = DUK_HCOMPFUNC_GET_CODE_BASE(thr->heap, (duk_hcompfunc *) func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68355:27: warning: use of old-style cast to 'duk_hnatfunc*' {aka 'struct duk_hnatfunc*'} [-Wold-style-cast] 68355 | rc = ((duk_hnatfunc *) func)->func(thr); | ^~~~ | --------------------- | reinterpret_cast ( func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1163:88: warning: use of old-style cast to 'duk_c_function' {aka 'int (*)(struct duk_hthread*)'} [-Wold-style-cast] 1163 | #define DUK_TVAL_GET_LIGHTFUNC_FUNCPTR(tv) ((duk_c_function) ((tv)->ui[DUK_DBL_IDX_UI1])) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68362:14: note: in expansion of macro 'DUK_TVAL_GET_LIGHTFUNC_FUNCPTR' 68362 | funcptr = DUK_TVAL_GET_LIGHTFUNC_FUNCPTR(tv_func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68378:4: note: in expansion of macro 'DUK_ERROR_TYPE' 68378 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_CFUNC_RC); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68378:4: note: in expansion of macro 'DUK_ERROR_TYPE' 68378 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_CFUNC_RC); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68378:4: note: in expansion of macro 'DUK_ERROR_TYPE' 68378 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_CFUNC_RC); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68410:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 68410 | thr->valstack_bottom = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + entry_valstack_bottom_byteoff); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68410:109: warning: use of old-style cast to 'void*' [-Wold-style-cast] 68410 | thr->valstack_bottom = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + entry_valstack_bottom_byteoff); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68410:109: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 68410 | thr->valstack_bottom = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + entry_valstack_bottom_byteoff); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68431:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 68431 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv_ret, tv_funret); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68431:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 68431 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv_ret, tv_funret); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68431:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 68431 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv_ret, tv_funret); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68431:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 68431 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv_ret, tv_funret); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68431:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 68431 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv_ret, tv_funret); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68431:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 68431 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv_ret, tv_funret); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68441:66: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 68441 | thr->valstack_end = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + entry_valstack_end_byteoff); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68441:103: warning: use of old-style cast to 'void*' [-Wold-style-cast] 68441 | thr->valstack_end = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + entry_valstack_end_byteoff); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68441:103: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 68441 | thr->valstack_end = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + entry_valstack_end_byteoff); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68451:29: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 68451 | thr->state = (duk_uint8_t) entry_thread_state; | ^~~~~~~~~~~~~~~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__handle_safe_call_inner(duk_hthread*, duk_safe_call_function, void*, duk_hthread*, duk_uint_fast8_t, duk_idx_t, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68583:29: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 68583 | thr->state = (duk_uint8_t) entry_thread_state; | ^~~~~~~~~~~~~~~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__handle_safe_call_error(duk_hthread*, duk_activation*, duk_hthread*, duk_uint_fast8_t, duk_idx_t, duk_idx_t, duk_size_t, duk_jmpbuf*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68636:29: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 68636 | thr->state = (duk_uint8_t) entry_thread_state; | ^~~~~~~~~~~~~~~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68642:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 68642 | thr->valstack_bottom = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + entry_valstack_bottom_byteoff); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68642:109: warning: use of old-style cast to 'void*' [-Wold-style-cast] 68642 | thr->valstack_bottom = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + entry_valstack_bottom_byteoff); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68642:109: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 68642 | thr->valstack_bottom = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + entry_valstack_bottom_byteoff); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5219:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 5219 | DUK_TVAL_SET_UNDEFINED(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68660:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 68660 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, &thr->heap->lj.value1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4932:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4932 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5220:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 5220 | DUK_TVAL_DECREF_NORZ((thr), &tv__tmp); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68660:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 68660 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, &thr->heap->lj.value1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4933:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4933 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5220:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 5220 | DUK_TVAL_DECREF_NORZ((thr), &tv__tmp); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68660:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 68660 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, &thr->heap->lj.value1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5219:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 5219 | DUK_TVAL_SET_UNDEFINED(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68661:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 68661 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, &thr->heap->lj.value2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4932:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4932 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5220:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 5220 | DUK_TVAL_DECREF_NORZ((thr), &tv__tmp); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68661:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 68661 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, &thr->heap->lj.value2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4933:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4933 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5220:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 5220 | DUK_TVAL_DECREF_NORZ((thr), &tv__tmp); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5417:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0' 5417 | #define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68661:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ' 68661 | DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ(thr, &thr->heap->lj.value2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk_handle_safe_call(duk_hthread*, duk_safe_call_function, void*, duk_idx_t, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68751:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 68751 | entry_valstack_bottom_byteoff = (duk_size_t) ((duk_uint8_t *) thr->valstack_bottom - (duk_uint8_t *) thr->valstack); | ^~~~~~~~~~~~~~~ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68751:108: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 68751 | entry_valstack_bottom_byteoff = (duk_size_t) ((duk_uint8_t *) thr->valstack_bottom - (duk_uint8_t *) thr->valstack); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68751:116: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 68751 | entry_valstack_bottom_byteoff = (duk_size_t) ((duk_uint8_t *) thr->valstack_bottom - (duk_uint8_t *) thr->valstack); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10113:37: note: in expansion of macro 'DUK_LINE_MACRO' 10113 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68870:4: note: in expansion of macro 'DUK_ERROR_FMT1' 68870 | DUK_ERROR_FMT1(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10118:43: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10118 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68870:4: note: in expansion of macro 'DUK_ERROR_FMT1' 68870 | DUK_ERROR_FMT1(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10118:76: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10118 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68870:4: note: in expansion of macro 'DUK_ERROR_FMT1' 68870 | DUK_ERROR_FMT1(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68875:35: warning: declaration of 'exc' shadows a previous local [-Wshadow] 68875 | } catch (duk_internal_exception exc) { | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68860:27: note: shadowed declaration is here 68860 | } catch (std::exception &exc) { | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68897:4: note: in expansion of macro 'DUK_ERROR_TYPE' 68897 | DUK_ERROR_TYPE(thr, "caught invalid c++ exception (perhaps thrown by user code)"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68897:4: note: in expansion of macro 'DUK_ERROR_TYPE' 68897 | DUK_ERROR_TYPE(thr, "caught invalid c++ exception (perhaps thrown by user code)"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:68897:4: note: in expansion of macro 'DUK_ERROR_TYPE' 68897 | DUK_ERROR_TYPE(thr, "caught invalid c++ exception (perhaps thrown by user code)"); | ^~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_call_setup_propcall_error(duk_hthread*, duk_tval*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:752:77: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 752 | duk_push_error_object_raw((ctx), (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69012:2: note: in expansion of macro 'duk_push_error_object' 69012 | duk_push_error_object(thr, | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:752:107: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 752 | duk_push_error_object_raw((ctx), (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69012:2: note: in expansion of macro 'duk_push_error_object' 69012 | duk_push_error_object(thr, | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__comp_recursion_increase(duk_compiler_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69484:3: note: in expansion of macro 'DUK_ERROR_RANGE' 69484 | DUK_ERROR_RANGE(comp_ctx->thr, DUK_STR_COMPILER_RECURSION_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__advance_helper(duk_compiler_ctx*, duk_small_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69544:66: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 69544 | if (expect >= 0 && comp_ctx->curr_token.t != (duk_small_uint_t) expect) { | ^~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69546:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 69546 | DUK_ERROR_SYNTAX(thr, DUK_STR_PARSE_ERROR); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69546:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 69546 | DUK_ERROR_SYNTAX(thr, DUK_STR_PARSE_ERROR); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69546:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 69546 | DUK_ERROR_SYNTAX(thr, DUK_STR_PARSE_ERROR); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69551:2: note: in expansion of macro 'duk_memcpy' 69551 | duk_memcpy(&comp_ctx->prev_token, &comp_ctx->curr_token, sizeof(duk_token)); | ^~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__init_func_valstack_slots(duk_compiler_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69596:2: note: in expansion of macro 'duk_memzero' 69596 | duk_memzero(func, sizeof(*func)); /* intentional overlap with earlier memzero */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6272:83: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6272 | (DUK_ASSERT_VALID_POSIDX((thr), (idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (thr))->valstack_bottom + (idx))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:62: note: in definition of macro 'DUK_TVAL_GET_OBJECT' 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69615:19: note: in expansion of macro 'DUK_GET_HOBJECT_POSIDX' 69615 | func->h_consts = DUK_GET_HOBJECT_POSIDX(thr, entry_top + 1); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6272:42: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 6272 | (DUK_ASSERT_VALID_POSIDX((thr), (idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (thr))->valstack_bottom + (idx))) | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69615:19: note: in expansion of macro 'DUK_GET_HOBJECT_POSIDX' 69615 | func->h_consts = DUK_GET_HOBJECT_POSIDX(thr, entry_top + 1); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6272:83: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6272 | (DUK_ASSERT_VALID_POSIDX((thr), (idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (thr))->valstack_bottom + (idx))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:62: note: in definition of macro 'DUK_TVAL_GET_OBJECT' 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69620:18: note: in expansion of macro 'DUK_GET_HOBJECT_POSIDX' 69620 | func->h_funcs = DUK_GET_HOBJECT_POSIDX(thr, entry_top + 2); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6272:42: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 6272 | (DUK_ASSERT_VALID_POSIDX((thr), (idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (thr))->valstack_bottom + (idx))) | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69620:18: note: in expansion of macro 'DUK_GET_HOBJECT_POSIDX' 69620 | func->h_funcs = DUK_GET_HOBJECT_POSIDX(thr, entry_top + 2); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6272:83: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6272 | (DUK_ASSERT_VALID_POSIDX((thr), (idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (thr))->valstack_bottom + (idx))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:62: note: in definition of macro 'DUK_TVAL_GET_OBJECT' 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69626:18: note: in expansion of macro 'DUK_GET_HOBJECT_POSIDX' 69626 | func->h_decls = DUK_GET_HOBJECT_POSIDX(thr, entry_top + 3); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6272:42: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 6272 | (DUK_ASSERT_VALID_POSIDX((thr), (idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (thr))->valstack_bottom + (idx))) | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69626:18: note: in expansion of macro 'DUK_GET_HOBJECT_POSIDX' 69626 | func->h_decls = DUK_GET_HOBJECT_POSIDX(thr, entry_top + 3); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6272:83: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6272 | (DUK_ASSERT_VALID_POSIDX((thr), (idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (thr))->valstack_bottom + (idx))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:62: note: in definition of macro 'DUK_TVAL_GET_OBJECT' 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69631:23: note: in expansion of macro 'DUK_GET_HOBJECT_POSIDX' 69631 | func->h_labelnames = DUK_GET_HOBJECT_POSIDX(thr, entry_top + 4); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6272:42: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 6272 | (DUK_ASSERT_VALID_POSIDX((thr), (idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (thr))->valstack_bottom + (idx))) | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69631:23: note: in expansion of macro 'DUK_GET_HOBJECT_POSIDX' 69631 | func->h_labelnames = DUK_GET_HOBJECT_POSIDX(thr, entry_top + 4); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69636:83: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 69636 | func->h_labelinfos = (duk_hbuffer_dynamic *) duk_known_hbuffer(thr, entry_top + 5); | ^ | - | reinterpret_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6272:83: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6272 | (DUK_ASSERT_VALID_POSIDX((thr), (idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (thr))->valstack_bottom + (idx))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:62: note: in definition of macro 'DUK_TVAL_GET_OBJECT' 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69642:21: note: in expansion of macro 'DUK_GET_HOBJECT_POSIDX' 69642 | func->h_argnames = DUK_GET_HOBJECT_POSIDX(thr, entry_top + 6); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6272:42: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 6272 | (DUK_ASSERT_VALID_POSIDX((thr), (idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (thr))->valstack_bottom + (idx))) | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69642:21: note: in expansion of macro 'DUK_GET_HOBJECT_POSIDX' 69642 | func->h_argnames = DUK_GET_HOBJECT_POSIDX(thr, entry_top + 6); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6272:83: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6272 | (DUK_ASSERT_VALID_POSIDX((thr), (idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (thr))->valstack_bottom + (idx))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:62: note: in definition of macro 'DUK_TVAL_GET_OBJECT' 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69647:19: note: in expansion of macro 'DUK_GET_HOBJECT_POSIDX' 69647 | func->h_varmap = DUK_GET_HOBJECT_POSIDX(thr, entry_top + 7); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6272:42: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 6272 | (DUK_ASSERT_VALID_POSIDX((thr), (idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (thr))->valstack_bottom + (idx))) | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69647:19: note: in expansion of macro 'DUK_GET_HOBJECT_POSIDX' 69647 | func->h_varmap = DUK_GET_HOBJECT_POSIDX(thr, entry_top + 7); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__reset_func_for_pass2(duk_compiler_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6272:83: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6272 | (DUK_ASSERT_VALID_POSIDX((thr), (idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (thr))->valstack_bottom + (idx))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:62: note: in definition of macro 'DUK_TVAL_GET_OBJECT' 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69672:19: note: in expansion of macro 'DUK_GET_HOBJECT_POSIDX' 69672 | func->h_varmap = DUK_GET_HOBJECT_POSIDX(thr, func->varmap_idx); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6272:42: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 6272 | (DUK_ASSERT_VALID_POSIDX((thr), (idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (thr))->valstack_bottom + (idx))) | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69672:19: note: in expansion of macro 'DUK_GET_HOBJECT_POSIDX' 69672 | func->h_varmap = DUK_GET_HOBJECT_POSIDX(thr, func->varmap_idx); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk__cleanup_varmap(duk_compiler_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6270:83: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6270 | (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (thr))->valstack_top + (idx))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:62: note: in definition of macro 'DUK_TVAL_GET_OBJECT' 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69689:13: note: in expansion of macro 'DUK_GET_HOBJECT_NEGIDX' 69689 | h_varmap = DUK_GET_HOBJECT_NEGIDX(thr, -1); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6270:42: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 6270 | (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (thr))->valstack_top + (idx))) | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69689:13: note: in expansion of macro 'DUK_GET_HOBJECT_NEGIDX' 69689 | h_varmap = DUK_GET_HOBJECT_NEGIDX(thr, -1); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69695:11: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 69695 | h_key = DUK_HOBJECT_E_GET_KEY(thr->heap, h_varmap, i); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69695:11: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 69695 | h_key = DUK_HOBJECT_E_GET_KEY(thr->heap, h_varmap, i); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69709:8: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 69709 | tv = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, h_varmap, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69709:8: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 69709 | tv = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, h_varmap, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69710:8: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 69710 | if (!DUK_TVAL_IS_NUMBER(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7022:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 7022 | DUK_HOBJECT_E_GET_KEY((heap), (h), (i)) = (k); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69712:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_KEY' 69712 | DUK_HOBJECT_E_SET_KEY(thr->heap, h_varmap, i, NULL); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7022:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 7022 | DUK_HOBJECT_E_GET_KEY((heap), (h), (i)) = (k); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69712:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_KEY' 69712 | DUK_HOBJECT_E_SET_KEY(thr->heap, h_varmap, i, NULL); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5046:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5046 | #define DUK_HSTRING_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hstring_refzero, duk_hstring *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69713:4: note: in expansion of macro 'DUK_HSTRING_DECREF' 69713 | DUK_HSTRING_DECREF(thr, h_key); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5046:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5046 | #define DUK_HSTRING_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hstring_refzero, duk_hstring *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69713:4: note: in expansion of macro 'DUK_HSTRING_DECREF' 69713 | DUK_HSTRING_DECREF(thr, h_key); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__convert_to_func_template(duk_compiler_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69762:56: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 69762 | DUK_HOBJECT_SET_PROTOTYPE_UPDREF(thr, (duk_hobject *) h_res, NULL); /* Function templates are "bare objects". */ | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7196:94: note: in definition of macro 'DUK_HOBJECT_SET_PROTOTYPE_UPDREF' 7196 | #define DUK_HOBJECT_SET_PROTOTYPE_UPDREF(thr, h, p) duk_hobject_set_prototype_updref((thr), (h), (p)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69766:42: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 69766 | DUK_HOBJECT_SET_NEWENV((duk_hobject *) h_res); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4769:4: note: in definition of macro 'DUK_HEAPHDR_SET_FLAG_BITS' 4769 | (h)->h_flags |= (bits); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69766:3: note: in expansion of macro 'DUK_HOBJECT_SET_NEWENV' 69766 | DUK_HOBJECT_SET_NEWENV((duk_hobject *) h_res); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69777:48: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 69777 | DUK_HOBJECT_SET_CREATEARGS((duk_hobject *) h_res); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4769:4: note: in definition of macro 'DUK_HEAPHDR_SET_FLAG_BITS' 4769 | (h)->h_flags |= (bits); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69777:5: note: in expansion of macro 'DUK_HOBJECT_SET_CREATEARGS' 69777 | DUK_HOBJECT_SET_CREATEARGS((duk_hobject *) h_res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69782:42: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 69782 | DUK_HOBJECT_SET_NEWENV((duk_hobject *) h_res); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4769:4: note: in definition of macro 'DUK_HEAPHDR_SET_FLAG_BITS' 4769 | (h)->h_flags |= (bits); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69782:3: note: in expansion of macro 'DUK_HOBJECT_SET_NEWENV' 69782 | DUK_HOBJECT_SET_NEWENV((duk_hobject *) h_res); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69798:47: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 69798 | DUK_HOBJECT_SET_NAMEBINDING((duk_hobject *) h_res); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4769:4: note: in definition of macro 'DUK_HEAPHDR_SET_FLAG_BITS' 4769 | (h)->h_flags |= (bits); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69798:3: note: in expansion of macro 'DUK_HOBJECT_SET_NAMEBINDING' 69798 | DUK_HOBJECT_SET_NAMEBINDING((duk_hobject *) h_res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69804:42: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 69804 | DUK_HOBJECT_SET_STRICT((duk_hobject *) h_res); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4769:4: note: in definition of macro 'DUK_HEAPHDR_SET_FLAG_BITS' 4769 | (h)->h_flags |= (bits); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69804:3: note: in expansion of macro 'DUK_HOBJECT_SET_STRICT' 69804 | DUK_HOBJECT_SET_STRICT((duk_hobject *) h_res); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69809:42: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 69809 | DUK_HOBJECT_SET_NOTAIL((duk_hobject *) h_res); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4769:4: note: in definition of macro 'DUK_HEAPHDR_SET_FLAG_BITS' 4769 | (h)->h_flags |= (bits); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69809:3: note: in expansion of macro 'DUK_HOBJECT_SET_NOTAIL' 69809 | DUK_HOBJECT_SET_NOTAIL((duk_hobject *) h_res); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69814:49: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 69814 | DUK_HOBJECT_SET_CONSTRUCTABLE((duk_hobject *) h_res); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4769:4: note: in definition of macro 'DUK_HEAPHDR_SET_FLAG_BITS' 4769 | (h)->h_flags |= (bits); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69814:3: note: in expansion of macro 'DUK_HOBJECT_SET_CONSTRUCTABLE' 69814 | DUK_HOBJECT_SET_CONSTRUCTABLE((duk_hobject *) h_res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69828:15: note: in expansion of macro 'DUK_BW_GET_SIZE' 69828 | code_count = DUK_BW_GET_SIZE(thr, &func->bw_code) / sizeof(duk_compiler_instr); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69846:67: warning: use of old-style cast to 'void*' [-Wold-style-cast] 69846 | h_data = (duk_hbuffer_fixed *) (void *) duk_known_hbuffer(thr, -1); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69846:67: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 69846 | h_data = (duk_hbuffer_fixed *) (void *) duk_known_hbuffer(thr, -1); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69848:59: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 69848 | DUK_HCOMPFUNC_SET_DATA(thr->heap, h_res, (duk_hbuffer *) h_data); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7584:32: note: in definition of macro 'DUK_HCOMPFUNC_SET_DATA' 7584 | (h)->data = (duk_hbuffer *) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7584:33: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 7584 | (h)->data = (duk_hbuffer *) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69848:2: note: in expansion of macro 'DUK_HCOMPFUNC_SET_DATA' 69848 | DUK_HCOMPFUNC_SET_DATA(thr->heap, h_res, (duk_hbuffer *) h_data); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69849:2: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 69849 | DUK_HEAPHDR_INCREF(thr, h_data); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69851:34: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 69851 | p_const = (duk_tval *) (void *) DUK_HBUFFER_FIXED_GET_DATA_PTR(thr->heap, h_data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69851:34: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 69851 | p_const = (duk_tval *) (void *) DUK_HBUFFER_FIXED_GET_DATA_PTR(thr->heap, h_data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69851:34: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 69851 | p_const = (duk_tval *) (void *) DUK_HBUFFER_FIXED_GET_DATA_PTR(thr->heap, h_data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:108: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69851:34: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 69851 | p_const = (duk_tval *) (void *) DUK_HBUFFER_FIXED_GET_DATA_PTR(thr->heap, h_data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:108: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69851:34: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 69851 | p_const = (duk_tval *) (void *) DUK_HBUFFER_FIXED_GET_DATA_PTR(thr->heap, h_data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69854:89: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 69854 | tv = duk_hobject_find_array_entry_tval_ptr(thr->heap, func->h_consts, (duk_uarridx_t) i); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69858:3: note: in expansion of macro 'DUK_TVAL_INCREF' 69858 | DUK_TVAL_INCREF(thr, tv); /* may be a string constant */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69858:3: note: in expansion of macro 'DUK_TVAL_INCREF' 69858 | DUK_TVAL_INCREF(thr, tv); /* may be a string constant */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69863:28: warning: use of old-style cast to 'duk_hobject**' {aka 'struct duk_hobject**'} [-Wold-style-cast] 69863 | p_func = (duk_hobject **) p_const; | ^~~~~~~ | ------------------------ | reinterpret_cast ( p_const) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69868:94: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 69868 | tv = duk_hobject_find_array_entry_tval_ptr(thr->heap, func->h_funcs, (duk_uarridx_t) (i * 3)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69871:7: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 69871 | h = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69875:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 69875 | DUK_HOBJECT_INCREF(thr, h); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69875:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 69875 | DUK_HOBJECT_INCREF(thr, h); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69880:28: warning: use of old-style cast to 'duk_instr_t*' {aka 'unsigned int*'} [-Wold-style-cast] 69880 | p_instr = (duk_instr_t *) p_func; | ^~~~~~ | ---------------------- | reinterpret_cast ( p_func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2559:59: warning: use of old-style cast to 'void*' [-Wold-style-cast] 2559 | #define DUK_BW_GET_BASEPTR(thr, bw_ctx) ((bw_ctx)->p_base) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69884:44: note: in expansion of macro 'DUK_BW_GET_BASEPTR' 69884 | q_instr = (duk_compiler_instr *) (void *) DUK_BW_GET_BASEPTR(thr, &func->bw_code); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2559:59: warning: use of old-style cast to 'duk_compiler_instr*' {aka 'struct duk_compiler_instr*'} [-Wold-style-cast] 2559 | #define DUK_BW_GET_BASEPTR(thr, bw_ctx) ((bw_ctx)->p_base) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69884:44: note: in expansion of macro 'DUK_BW_GET_BASEPTR' 69884 | q_instr = (duk_compiler_instr *) (void *) DUK_BW_GET_BASEPTR(thr, &func->bw_code); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69905:38: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 69905 | h_res->nregs = (duk_uint16_t) func->temp_max; | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69906:76: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 69906 | h_res->nargs = (duk_uint16_t) duk_hobject_get_length(thr, func->h_argnames); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69956:4: note: in expansion of macro 'duk_xdef_prop_stridx_short' 69956 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VARMAP, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69956:4: note: in expansion of macro 'duk_xdef_prop_stridx_short' 69956 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VARMAP, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69956:4: note: in expansion of macro 'duk_xdef_prop_stridx_short' 69956 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_VARMAP, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69976:44: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 69976 | if (formals_length != (duk_size_t) h_res->nargs) { | ^~~~~ | ------------ | static_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69997:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 69997 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_FORMALS, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69997:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 69997 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_FORMALS, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69997:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 69997 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_FORMALS, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70005:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 70005 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70005:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 70005 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70005:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 70005 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70065:62: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 70065 | duk_hobject_pc2line_pack(thr, q_instr, (duk_uint_fast32_t) code_count); /* -> pushes fixed buffer */ | ^~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70066:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 70066 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_PC2LINE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70066:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 70066 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_PC2LINE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70066:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 70066 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_PC2LINE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70082:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 70082 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_FILE_NAME, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70082:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 70082 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_FILE_NAME, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70082:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 70082 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_FILE_NAME, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk__get_current_pc(duk_compiler_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70171:22: note: in expansion of macro 'DUK_BW_GET_SIZE' 70171 | return (duk_int_t) (DUK_BW_GET_SIZE(comp_ctx->thr, &func->bw_code) / sizeof(duk_compiler_instr)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70171:97: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 70171 | return (duk_int_t) (DUK_BW_GET_SIZE(comp_ctx->thr, &func->bw_code) / sizeof(duk_compiler_instr)); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_compiler_instr* duk__get_instr_ptr(duk_compiler_ctx*, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2559:59: warning: use of old-style cast to 'void*' [-Wold-style-cast] 2559 | #define DUK_BW_GET_BASEPTR(thr, bw_ctx) ((bw_ctx)->p_base) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70178:42: note: in expansion of macro 'DUK_BW_GET_BASEPTR' 70178 | return ((duk_compiler_instr *) (void *) DUK_BW_GET_BASEPTR(comp_ctx->thr, &comp_ctx->curr_func.bw_code)) + pc; | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2559:59: warning: use of old-style cast to 'duk_compiler_instr*' {aka 'struct duk_compiler_instr*'} [-Wold-style-cast] 2559 | #define DUK_BW_GET_BASEPTR(thr, bw_ctx) ((bw_ctx)->p_base) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70178:42: note: in expansion of macro 'DUK_BW_GET_BASEPTR' 70178 | return ((duk_compiler_instr *) (void *) DUK_BW_GET_BASEPTR(comp_ctx->thr, &comp_ctx->curr_func.bw_code)) + pc; | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__emit(duk_compiler_ctx*, duk_instr_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:43: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2590:47: note: in expansion of macro 'DUK_BW_ENSURE_RAW' 2590 | #define DUK_BW_ENSURE_GETPTR(thr, bw_ctx, sz) DUK_BW_ENSURE_RAW((thr), (bw_ctx), (sz), (bw_ctx)->p) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70197:42: note: in expansion of macro 'DUK_BW_ENSURE_GETPTR' 70197 | instr = (duk_compiler_instr *) (void *) DUK_BW_ENSURE_GETPTR(comp_ctx->thr, | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:123: warning: use of old-style cast to 'void*' [-Wold-style-cast] 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2590:47: note: in expansion of macro 'DUK_BW_ENSURE_RAW' 2590 | #define DUK_BW_ENSURE_GETPTR(thr, bw_ctx, sz) DUK_BW_ENSURE_RAW((thr), (bw_ctx), (sz), (bw_ctx)->p) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70197:42: note: in expansion of macro 'DUK_BW_ENSURE_GETPTR' 70197 | instr = (duk_compiler_instr *) (void *) DUK_BW_ENSURE_GETPTR(comp_ctx->thr, | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:123: warning: use of old-style cast to 'duk_compiler_instr*' {aka 'struct duk_compiler_instr*'} [-Wold-style-cast] 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2590:47: note: in expansion of macro 'DUK_BW_ENSURE_RAW' 2590 | #define DUK_BW_ENSURE_GETPTR(thr, bw_ctx, sz) DUK_BW_ENSURE_RAW((thr), (bw_ctx), (sz), (bw_ctx)->p) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70197:42: note: in expansion of macro 'DUK_BW_ENSURE_GETPTR' 70197 | instr = (duk_compiler_instr *) (void *) DUK_BW_ENSURE_GETPTR(comp_ctx->thr, | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70220:31: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 70220 | instr->line = (duk_uint32_t) line; | ^~~~ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70232:19: note: in expansion of macro 'DUK_BW_GET_SIZE' 70232 | if (DUK_UNLIKELY(DUK_BW_GET_SIZE(comp_ctx->thr, &comp_ctx->curr_func.bw_code) > DUK_USE_ESBC_MAX_BYTES)) { | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70251:2: note: in expansion of macro 'DUK_ERROR_RANGE' 70251 | DUK_ERROR_RANGE(comp_ctx->thr, DUK_STR_BYTECODE_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__emit_op_only(duk_compiler_ctx*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3440:69: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3440 | #define DUK_ENC_OP_ABC(op, abc) ((duk_instr_t) ((((duk_instr_t) (abc)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70280:22: note: in expansion of macro 'DUK_ENC_OP_ABC' 70280 | duk__emit(comp_ctx, DUK_ENC_OP_ABC(op, 0)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3440:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3440 | #define DUK_ENC_OP_ABC(op, abc) ((duk_instr_t) ((((duk_instr_t) (abc)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70280:22: note: in expansion of macro 'DUK_ENC_OP_ABC' 70280 | duk__emit(comp_ctx, DUK_ENC_OP_ABC(op, 0)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3440:100: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3440 | #define DUK_ENC_OP_ABC(op, abc) ((duk_instr_t) ((((duk_instr_t) (abc)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70280:22: note: in expansion of macro 'DUK_ENC_OP_ABC' 70280 | duk__emit(comp_ctx, DUK_ENC_OP_ABC(op, 0)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__emit_a_b_c(duk_compiler_ctx*, duk_small_uint_t, duk_regconst_t, duk_regconst_t, duk_regconst_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:37: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70332:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70332 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDREG, tmp, a)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:67: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70332:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70332 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDREG, tmp, a)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70332:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70332 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDREG, tmp, a)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70332:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70332 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDREG, tmp, a)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3444:36: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3444 | ((duk_instr_t) ((((duk_instr_t) (c)) << 24) | (((duk_instr_t) (b)) << 16) | (((duk_instr_t) (a)) << 8) | \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70371:12: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 70371 | ins |= DUK_ENC_OP_A_B_C(0x01, 0, 0, 0); /* const flag for B */ | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3444:66: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3444 | ((duk_instr_t) ((((duk_instr_t) (c)) << 24) | (((duk_instr_t) (b)) << 16) | (((duk_instr_t) (a)) << 8) | \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70371:12: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 70371 | ins |= DUK_ENC_OP_A_B_C(0x01, 0, 0, 0); /* const flag for B */ | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3444:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3444 | ((duk_instr_t) ((((duk_instr_t) (c)) << 24) | (((duk_instr_t) (b)) << 16) | (((duk_instr_t) (a)) << 8) | \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70371:12: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 70371 | ins |= DUK_ENC_OP_A_B_C(0x01, 0, 0, 0); /* const flag for B */ | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3445:36: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3445 | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70371:12: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 70371 | ins |= DUK_ENC_OP_A_B_C(0x01, 0, 0, 0); /* const flag for B */ | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3445:38: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3445 | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70371:12: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 70371 | ins |= DUK_ENC_OP_A_B_C(0x01, 0, 0, 0); /* const flag for B */ | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:37: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70378:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70378 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDCONST, tmp, b)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:67: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70378:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70378 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDCONST, tmp, b)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70378:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70378 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDCONST, tmp, b)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70378:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70378 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDCONST, tmp, b)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:37: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70418:26: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70418 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDREG, tmp, b)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:67: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70418:26: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70418 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDREG, tmp, b)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70418:26: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70418 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDREG, tmp, b)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70418:26: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70418 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDREG, tmp, b)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3444:36: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3444 | ((duk_instr_t) ((((duk_instr_t) (c)) << 24) | (((duk_instr_t) (b)) << 16) | (((duk_instr_t) (a)) << 8) | \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70442:12: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 70442 | ins |= DUK_ENC_OP_A_B_C(0x02, 0, 0, 0); /* const flag for C */ | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3444:66: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3444 | ((duk_instr_t) ((((duk_instr_t) (c)) << 24) | (((duk_instr_t) (b)) << 16) | (((duk_instr_t) (a)) << 8) | \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70442:12: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 70442 | ins |= DUK_ENC_OP_A_B_C(0x02, 0, 0, 0); /* const flag for C */ | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3444:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3444 | ((duk_instr_t) ((((duk_instr_t) (c)) << 24) | (((duk_instr_t) (b)) << 16) | (((duk_instr_t) (a)) << 8) | \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70442:12: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 70442 | ins |= DUK_ENC_OP_A_B_C(0x02, 0, 0, 0); /* const flag for C */ | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3445:36: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3445 | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70442:12: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 70442 | ins |= DUK_ENC_OP_A_B_C(0x02, 0, 0, 0); /* const flag for C */ | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3445:38: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3445 | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70442:12: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 70442 | ins |= DUK_ENC_OP_A_B_C(0x02, 0, 0, 0); /* const flag for C */ | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:37: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70449:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70449 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDCONST, tmp, c)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:67: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70449:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70449 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDCONST, tmp, c)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70449:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70449 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDCONST, tmp, c)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70449:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70449 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDCONST, tmp, c)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:37: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70476:25: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70476 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDREG, tmp, c)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:67: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70476:25: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70476 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDREG, tmp, c)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70476:25: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70476 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDREG, tmp, c)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70476:25: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70476 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDREG, tmp, c)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3444:36: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3444 | ((duk_instr_t) ((((duk_instr_t) (c)) << 24) | (((duk_instr_t) (b)) << 16) | (((duk_instr_t) (a)) << 8) | \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70494:9: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 70494 | ins |= DUK_ENC_OP_A_B_C(op_flags & 0xff, a, b, c); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3444:66: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3444 | ((duk_instr_t) ((((duk_instr_t) (c)) << 24) | (((duk_instr_t) (b)) << 16) | (((duk_instr_t) (a)) << 8) | \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70494:9: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 70494 | ins |= DUK_ENC_OP_A_B_C(op_flags & 0xff, a, b, c); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3444:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3444 | ((duk_instr_t) ((((duk_instr_t) (c)) << 24) | (((duk_instr_t) (b)) << 16) | (((duk_instr_t) (a)) << 8) | \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70494:9: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 70494 | ins |= DUK_ENC_OP_A_B_C(op_flags & 0xff, a, b, c); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3445:36: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3445 | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70494:9: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 70494 | ins |= DUK_ENC_OP_A_B_C(op_flags & 0xff, a, b, c); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3445:38: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3445 | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70494:9: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 70494 | ins |= DUK_ENC_OP_A_B_C(op_flags & 0xff, a, b, c); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:37: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70517:23: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70517 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_STREG, a, a_out)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:67: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70517:23: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70517 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_STREG, a, a_out)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70517:23: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70517 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_STREG, a, a_out)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70517:23: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70517 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_STREG, a, a_out)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:37: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70526:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70526 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_STREG, a + 1, a_out + 1)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:67: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70526:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70526 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_STREG, a + 1, a_out + 1)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70526:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70526 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_STREG, a + 1, a_out + 1)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70526:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70526 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_STREG, a + 1, a_out + 1)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:37: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70531:23: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70531 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_STREG, b, b_out)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:67: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70531:23: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70531 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_STREG, b, b_out)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70531:23: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70531 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_STREG, b, b_out)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70531:23: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70531 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_STREG, b, b_out)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:37: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70535:23: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70535 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_STREG, c, c_out)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:67: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70535:23: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70535 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_STREG, c, c_out)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70535:23: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70535 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_STREG, c, c_out)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70535:23: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70535 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_STREG, c, c_out)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70541:2: note: in expansion of macro 'DUK_ERROR_RANGE' 70541 | DUK_ERROR_RANGE(comp_ctx->thr, DUK_STR_REG_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__emit_a_bc(duk_compiler_ctx*, duk_small_uint_t, duk_regconst_t, duk_regconst_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:37: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70612:9: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70612 | ins = DUK_ENC_OP_A_BC(op_flags & 0xff, a, bc); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:67: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70612:9: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70612 | ins = DUK_ENC_OP_A_BC(op_flags & 0xff, a, bc); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70612:9: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70612 | ins = DUK_ENC_OP_A_BC(op_flags & 0xff, a, bc); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70612:9: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70612 | ins = DUK_ENC_OP_A_BC(op_flags & 0xff, a, bc); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:37: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70621:9: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70621 | ins = DUK_ENC_OP_A_BC(op_flags & 0xff, tmp, bc); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:67: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70621:9: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70621 | ins = DUK_ENC_OP_A_BC(op_flags & 0xff, tmp, bc); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70621:9: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70621 | ins = DUK_ENC_OP_A_BC(op_flags & 0xff, tmp, bc); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70621:9: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70621 | ins = DUK_ENC_OP_A_BC(op_flags & 0xff, tmp, bc); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:37: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70626:9: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70626 | ins = DUK_ENC_OP_A_BC(op_flags & 0xff, tmp, bc); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:67: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70626:9: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70626 | ins = DUK_ENC_OP_A_BC(op_flags & 0xff, tmp, bc); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70626:9: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70626 | ins = DUK_ENC_OP_A_BC(op_flags & 0xff, tmp, bc); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70626:9: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70626 | ins = DUK_ENC_OP_A_BC(op_flags & 0xff, tmp, bc); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:37: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70628:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70628 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDREG, tmp, a)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:67: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70628:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70628 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDREG, tmp, a)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70628:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70628 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDREG, tmp, a)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70628:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70628 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_LDREG, tmp, a)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:37: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70632:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70632 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_STREG, tmp, a)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:67: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70632:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70632 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_STREG, tmp, a)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70632:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70632 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_STREG, tmp, a)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70632:24: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70632 | duk__emit(comp_ctx, DUK_ENC_OP_A_BC(DUK_OP_STREG, tmp, a)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70640:2: note: in expansion of macro 'DUK_ERROR_RANGE' 70640 | DUK_ERROR_RANGE(comp_ctx->thr, DUK_STR_REG_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__emit_abc(duk_compiler_ctx*, duk_small_uint_t, duk_regconst_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3440:69: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3440 | #define DUK_ENC_OP_ABC(op, abc) ((duk_instr_t) ((((duk_instr_t) (abc)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70666:8: note: in expansion of macro 'DUK_ENC_OP_ABC' 70666 | ins = DUK_ENC_OP_ABC(op, abc); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3440:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3440 | #define DUK_ENC_OP_ABC(op, abc) ((duk_instr_t) ((((duk_instr_t) (abc)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70666:8: note: in expansion of macro 'DUK_ENC_OP_ABC' 70666 | ins = DUK_ENC_OP_ABC(op, abc); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3440:100: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3440 | #define DUK_ENC_OP_ABC(op, abc) ((duk_instr_t) ((((duk_instr_t) (abc)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70666:8: note: in expansion of macro 'DUK_ENC_OP_ABC' 70666 | ins = DUK_ENC_OP_ABC(op, abc); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70679:2: note: in expansion of macro 'DUK_ERROR_RANGE' 70679 | DUK_ERROR_RANGE(comp_ctx->thr, DUK_STR_REG_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__emit_load_int32_raw(duk_compiler_ctx*, duk_regconst_t, duk_int32_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3464:24: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 3464 | #define DUK_BC_BC_MIN 0 | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70692:28: note: in expansion of macro 'DUK_BC_BC_MIN' 70692 | if ((val >= (duk_int32_t) DUK_BC_BC_MIN - (duk_int32_t) DUK_BC_LDINT_BIAS) && | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3794:38: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 3794 | #define DUK_BC_LDINT_BIAS (1L << 15) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70692:58: note: in expansion of macro 'DUK_BC_LDINT_BIAS' 70692 | if ((val >= (duk_int32_t) DUK_BC_BC_MIN - (duk_int32_t) DUK_BC_LDINT_BIAS) && | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3465:24: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 3465 | #define DUK_BC_BC_MAX 0xffffL | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70693:28: note: in expansion of macro 'DUK_BC_BC_MAX' 70693 | (val <= (duk_int32_t) DUK_BC_BC_MAX - (duk_int32_t) DUK_BC_LDINT_BIAS)) { | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3794:38: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 3794 | #define DUK_BC_LDINT_BIAS (1L << 15) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70693:58: note: in expansion of macro 'DUK_BC_LDINT_BIAS' 70693 | (val <= (duk_int32_t) DUK_BC_BC_MAX - (duk_int32_t) DUK_BC_LDINT_BIAS)) { | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3794:38: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 3794 | #define DUK_BC_LDINT_BIAS (1L << 15) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70695:96: note: in expansion of macro 'DUK_BC_LDINT_BIAS' 70695 | duk__emit_a_bc(comp_ctx, DUK_OP_LDINT | op_flags, reg, (duk_regconst_t) (val + (duk_int32_t) DUK_BC_LDINT_BIAS)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70695:113: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 70695 | duk__emit_a_bc(comp_ctx, DUK_OP_LDINT | op_flags, reg, (duk_regconst_t) (val + (duk_int32_t) DUK_BC_LDINT_BIAS)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70698:43: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 70698 | duk_int32_t lo = val & ((((duk_int32_t) 1) << DUK_BC_LDINTX_SHIFT) - 1); | ^ | - | static_cast<- | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3794:38: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 3794 | #define DUK_BC_LDINT_BIAS (1L << 15) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70705:95: note: in expansion of macro 'DUK_BC_LDINT_BIAS' 70705 | duk__emit_a_bc(comp_ctx, DUK_OP_LDINT | op_flags, reg, (duk_regconst_t) (hi + (duk_int32_t) DUK_BC_LDINT_BIAS)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70705:112: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 70705 | duk__emit_a_bc(comp_ctx, DUK_OP_LDINT | op_flags, reg, (duk_regconst_t) (hi + (duk_int32_t) DUK_BC_LDINT_BIAS)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70706:76: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 70706 | duk__emit_a_bc(comp_ctx, DUK_OP_LDINTX | op_flags, reg, (duk_regconst_t) lo); | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__emit_jump(duk_compiler_ctx*, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70735:25: note: in expansion of macro 'DUK_BW_GET_SIZE' 70735 | curr_pc = (duk_int_t) (DUK_BW_GET_SIZE(comp_ctx->thr, &comp_ctx->curr_func.bw_code) / sizeof(duk_compiler_instr)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70735:114: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 70735 | curr_pc = (duk_int_t) (DUK_BW_GET_SIZE(comp_ctx->thr, &comp_ctx->curr_func.bw_code) / sizeof(duk_compiler_instr)); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70736:23: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 70736 | offset = (duk_int_t) target_pc - (duk_int_t) curr_pc - 1; | ^~~~~~~~~ | --------------------- | static_cast ( target_pc) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70736:47: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 70736 | offset = (duk_int_t) target_pc - (duk_int_t) curr_pc - 1; | ^~~~~~~ | ------------------- | static_cast ( curr_pc) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70739:82: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 70739 | duk__emit_abc(comp_ctx, DUK_OP_JUMP, (duk_regconst_t) (offset + DUK_BC_JUMP_BIAS)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__insert_jump_entry(duk_compiler_ctx*, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70761:24: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 70761 | offset = (duk_size_t) jump_pc * sizeof(duk_compiler_instr); | ^~~~~~~ | -------------------- | static_cast ( jump_pc) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2875:53: warning: use of old-style cast to 'void*' [-Wold-style-cast] 2875 | duk_bw_insert_ensure_area((thr), (bw), (off), (len)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70763:6: note: in expansion of macro 'DUK_BW_INSERT_ENSURE_AREA' 70763 | DUK_BW_INSERT_ENSURE_AREA(comp_ctx->thr, &comp_ctx->curr_func.bw_code, offset, sizeof(duk_compiler_instr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2875:53: warning: use of old-style cast to 'duk_compiler_instr*' {aka 'struct duk_compiler_instr*'} [-Wold-style-cast] 2875 | duk_bw_insert_ensure_area((thr), (bw), (off), (len)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70763:6: note: in expansion of macro 'DUK_BW_INSERT_ENSURE_AREA' 70763 | DUK_BW_INSERT_ENSURE_AREA(comp_ctx->thr, &comp_ctx->curr_func.bw_code, offset, sizeof(duk_compiler_instr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3440:69: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3440 | #define DUK_ENC_OP_ABC(op, abc) ((duk_instr_t) ((((duk_instr_t) (abc)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70768:15: note: in expansion of macro 'DUK_ENC_OP_ABC' 70768 | instr->ins = DUK_ENC_OP_ABC(DUK_OP_JUMP, 0); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3440:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3440 | #define DUK_ENC_OP_ABC(op, abc) ((duk_instr_t) ((((duk_instr_t) (abc)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70768:15: note: in expansion of macro 'DUK_ENC_OP_ABC' 70768 | instr->ins = DUK_ENC_OP_ABC(DUK_OP_JUMP, 0); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3440:100: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3440 | #define DUK_ENC_OP_ABC(op, abc) ((duk_instr_t) ((((duk_instr_t) (abc)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70768:15: note: in expansion of macro 'DUK_ENC_OP_ABC' 70768 | instr->ins = DUK_ENC_OP_ABC(DUK_OP_JUMP, 0); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70770:31: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 70770 | instr->line = (duk_uint32_t) line; | ^~~~ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70774:19: note: in expansion of macro 'DUK_BW_GET_SIZE' 70774 | if (DUK_UNLIKELY(DUK_BW_GET_SIZE(comp_ctx->thr, &comp_ctx->curr_func.bw_code) > DUK_USE_ESBC_MAX_BYTES)) { | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70780:2: note: in expansion of macro 'DUK_ERROR_RANGE' 70780 | DUK_ERROR_RANGE(comp_ctx->thr, DUK_STR_BYTECODE_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__patch_jump(duk_compiler_ctx*, duk_int_t, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3440:69: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3440 | #define DUK_ENC_OP_ABC(op, abc) ((duk_instr_t) ((((duk_instr_t) (abc)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70806:15: note: in expansion of macro 'DUK_ENC_OP_ABC' 70806 | instr->ins = DUK_ENC_OP_ABC(DUK_OP_JUMP, offset + DUK_BC_JUMP_BIAS); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3440:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3440 | #define DUK_ENC_OP_ABC(op, abc) ((duk_instr_t) ((((duk_instr_t) (abc)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70806:15: note: in expansion of macro 'DUK_ENC_OP_ABC' 70806 | instr->ins = DUK_ENC_OP_ABC(DUK_OP_JUMP, offset + DUK_BC_JUMP_BIAS); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3440:100: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3440 | #define DUK_ENC_OP_ABC(op, abc) ((duk_instr_t) ((((duk_instr_t) (abc)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70806:15: note: in expansion of macro 'DUK_ENC_OP_ABC' 70806 | instr->ins = DUK_ENC_OP_ABC(DUK_OP_JUMP, offset + DUK_BC_JUMP_BIAS); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__patch_trycatch(duk_compiler_ctx*, duk_int_t, duk_int_t, duk_regconst_t, duk_regconst_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70846:4: note: in expansion of macro 'DUK_ERROR_RANGE' 70846 | DUK_ERROR_RANGE(comp_ctx->thr, DUK_STR_REG_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:37: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70849:17: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70849 | instr->ins |= DUK_ENC_OP_A_BC(0, 0, const_varname); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:67: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70849:17: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70849 | instr->ins |= DUK_ENC_OP_A_BC(0, 0, const_varname); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70849:17: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70849 | instr->ins |= DUK_ENC_OP_A_BC(0, 0, const_varname); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70849:17: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70849 | instr->ins |= DUK_ENC_OP_A_BC(0, 0, const_varname); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3439:51: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3439 | #define DUK_ENC_OP(op) ((duk_instr_t) (op)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70854:16: note: in expansion of macro 'DUK_ENC_OP' 70854 | instr->ins = DUK_ENC_OP(DUK_OP_NOP); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:37: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70861:15: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70861 | instr->ins = DUK_ENC_OP_A_BC(DUK_OP_TRYCATCH, flags, reg_catch); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:67: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70861:15: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70861 | instr->ins = DUK_ENC_OP_A_BC(DUK_OP_TRYCATCH, flags, reg_catch); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70861:15: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70861 | instr->ins = DUK_ENC_OP_A_BC(DUK_OP_TRYCATCH, flags, reg_catch); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3442:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3442 | ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70861:15: note: in expansion of macro 'DUK_ENC_OP_A_BC' 70861 | instr->ins = DUK_ENC_OP_A_BC(DUK_OP_TRYCATCH, flags, reg_catch); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__peephole_optimize_bytecode(duk_compiler_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2559:59: warning: use of old-style cast to 'void*' [-Wold-style-cast] 2559 | #define DUK_BW_GET_BASEPTR(thr, bw_ctx) ((bw_ctx)->p_base) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70895:39: note: in expansion of macro 'DUK_BW_GET_BASEPTR' 70895 | bc = (duk_compiler_instr *) (void *) DUK_BW_GET_BASEPTR(comp_ctx->thr, &comp_ctx->curr_func.bw_code); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2559:59: warning: use of old-style cast to 'duk_compiler_instr*' {aka 'struct duk_compiler_instr*'} [-Wold-style-cast] 2559 | #define DUK_BW_GET_BASEPTR(thr, bw_ctx) ((bw_ctx)->p_base) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70895:39: note: in expansion of macro 'DUK_BW_GET_BASEPTR' 70895 | bc = (duk_compiler_instr *) (void *) DUK_BW_GET_BASEPTR(comp_ctx->thr, &comp_ctx->curr_func.bw_code); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70902:19: note: in expansion of macro 'DUK_BW_GET_SIZE' 70902 | n = (duk_int_t) (DUK_BW_GET_SIZE(comp_ctx->thr, &comp_ctx->curr_func.bw_code) / sizeof(duk_compiler_instr)); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70902:108: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 70902 | n = (duk_int_t) (DUK_BW_GET_SIZE(comp_ctx->thr, &comp_ctx->curr_func.bw_code) / sizeof(duk_compiler_instr)); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3437:48: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 3437 | #define DUK_DEC_ABC(x) (((x) >> 8) & 0xffffffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70917:37: note: in expansion of macro 'DUK_DEC_ABC' 70917 | target_pc1 = i + 1 + (duk_int_t) DUK_DEC_ABC(ins) - (duk_int_t) DUK_BC_JUMP_BIAS; | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3796:38: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 3796 | #define DUK_BC_JUMP_BIAS (1L << 23) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70917:68: note: in expansion of macro 'DUK_BC_JUMP_BIAS' 70917 | target_pc1 = i + 1 + (duk_int_t) DUK_DEC_ABC(ins) - (duk_int_t) DUK_BC_JUMP_BIAS; | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3437:48: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 3437 | #define DUK_DEC_ABC(x) (((x) >> 8) & 0xffffffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70932:46: note: in expansion of macro 'DUK_DEC_ABC' 70932 | target_pc2 = target_pc1 + 1 + (duk_int_t) DUK_DEC_ABC(ins) - (duk_int_t) DUK_BC_JUMP_BIAS; | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3796:38: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 3796 | #define DUK_BC_JUMP_BIAS (1L << 23) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70932:77: note: in expansion of macro 'DUK_BC_JUMP_BIAS' 70932 | target_pc2 = target_pc1 + 1 + (duk_int_t) DUK_DEC_ABC(ins) - (duk_int_t) DUK_BC_JUMP_BIAS; | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3440:69: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3440 | #define DUK_ENC_OP_ABC(op, abc) ((duk_instr_t) ((((duk_instr_t) (abc)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70939:16: note: in expansion of macro 'DUK_ENC_OP_ABC' 70939 | bc[i].ins = DUK_ENC_OP_ABC(DUK_OP_JUMP, target_pc2 - (i + 1) + DUK_BC_JUMP_BIAS); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3440:98: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3440 | #define DUK_ENC_OP_ABC(op, abc) ((duk_instr_t) ((((duk_instr_t) (abc)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70939:16: note: in expansion of macro 'DUK_ENC_OP_ABC' 70939 | bc[i].ins = DUK_ENC_OP_ABC(DUK_OP_JUMP, target_pc2 - (i + 1) + DUK_BC_JUMP_BIAS); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3440:100: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3440 | #define DUK_ENC_OP_ABC(op, abc) ((duk_instr_t) ((((duk_instr_t) (abc)) << 8) | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:70939:16: note: in expansion of macro 'DUK_ENC_OP_ABC' 70939 | bc[i].ins = DUK_ENC_OP_ABC(DUK_OP_JUMP, target_pc2 - (i + 1) + DUK_BC_JUMP_BIAS); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_regconst_t duk__alloctemps(duk_compiler_ctx*, duk_small_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71051:3: note: in expansion of macro 'DUK_ERROR_RANGE' 71051 | DUK_ERROR_RANGE(comp_ctx->thr, DUK_STR_TEMP_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_regconst_t duk__getconst(duk_compiler_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71081:51: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 71081 | n = (duk_int_t) duk_get_length(thr, f->consts_idx); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71083:8: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 71083 | tv1 = DUK_GET_TVAL_NEGIDX(thr, -1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71097:19: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 71097 | duk_tval *tv2 = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, f->h_consts, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6949:80: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 6949 | DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7016:58: note: in expansion of macro 'DUK_HOBJECT_A_GET_BASE' 7016 | #define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i) (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71097:19: note: in expansion of macro 'DUK_HOBJECT_A_GET_VALUE_PTR' 71097 | duk_tval *tv2 = DUK_HOBJECT_A_GET_VALUE_PTR(thr->heap, f->h_consts, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71105:28: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 71105 | return (duk_regconst_t) i | (duk_regconst_t) DUK__CONST_MARKER; | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71110:3: note: in expansion of macro 'DUK_ERROR_RANGE' 71110 | DUK_ERROR_RANGE(comp_ctx->thr, DUK_STR_CONST_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71115:64: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 71115 | (void) duk_put_prop_index(thr, f->consts_idx, (duk_uarridx_t) n); /* invalidates tv1, tv2 */ | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71116:26: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 71116 | return (duk_regconst_t) n | (duk_regconst_t) DUK__CONST_MARKER; | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__const_needs_refcount(duk_compiler_ctx*, duk_regconst_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71125:74: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 71125 | (void) duk_get_prop_index(comp_ctx->thr, f->consts_idx, (duk_uarridx_t) rc); | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_regconst_t duk__ispec_toregconst_raw(duk_compiler_ctx*, duk_ispec*, duk_regconst_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71175:8: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 71175 | tv = DUK_GET_TVAL_POSIDX(thr, x->valstack_idx); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71178:11: note: in expansion of macro 'DUK_TVAL_GET_TAG' 71178 | switch (DUK_TVAL_GET_TAG(tv)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1147:78: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1147 | #define DUK_TVAL_GET_BOOLEAN(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71195:28: note: in expansion of macro 'DUK_TVAL_GET_BOOLEAN' 71195 | duk__emit_bc(comp_ctx, (DUK_TVAL_GET_BOOLEAN(tv) ? DUK_OP_LDTRUE : DUK_OP_LDFALSE), dest); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71207:8: note: in expansion of macro 'DUK_TVAL_GET_STRING' 71207 | h = DUK_TVAL_GET_STRING(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69077:19: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 69077 | ((duk_int32_t) (x) >= \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71307:49: note: in expansion of macro 'DUK__ISREG_TEMP' 71307 | if ((flags & DUK__IVAL_FLAG_REQUIRE_TEMP) && !DUK__ISREG_TEMP(comp_ctx, x->regconst)) { | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69078:50: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 69078 | (duk_int32_t) ((comp_ctx)->curr_func.temp_first)) /* Check for x >= temp_first && x >= 0 by comparing as signed. */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71307:49: note: in expansion of macro 'DUK__ISREG_TEMP' 71307 | if ((flags & DUK__IVAL_FLAG_REQUIRE_TEMP) && !DUK__ISREG_TEMP(comp_ctx, x->regconst)) { | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10285:61: note: in expansion of macro 'DUK_LINE_MACRO' 10285 | duk_err_error_internal((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71320:2: note: in expansion of macro 'DUK_ERROR_INTERNAL' 71320 | DUK_ERROR_INTERNAL(thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__ivalue_toplain_raw(duk_compiler_ctx*, duk_ivalue*, duk_regconst_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71366:10: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 71366 | tv1 = DUK_GET_TVAL_POSIDX(thr, x->x1.valstack_idx); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71367:10: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 71367 | tv2 = DUK_GET_TVAL_POSIDX(thr, x->x2.valstack_idx); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71373:8: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 71373 | if (DUK_TVAL_IS_NUMBER(tv1) && DUK_TVAL_IS_NUMBER(tv2)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71373:35: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 71373 | if (DUK_TVAL_IS_NUMBER(tv1) && DUK_TVAL_IS_NUMBER(tv2)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71404:52: warning: use of old-style cast to 'double' [-Wold-style-cast] 71404 | d3 = (duk_double_t) duk_js_arith_pow((double) d1, (double) d2); | ^~ | ----------- | static_cast ( d1) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71404:65: warning: use of old-style cast to 'double' [-Wold-style-cast] 71404 | d3 = (duk_double_t) duk_js_arith_pow((double) d1, (double) d2); | ^~ | ----------- | static_cast ( d2) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71404:67: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 71404 | d3 = (duk_double_t) duk_js_arith_pow((double) d1, (double) d2); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1181:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1181 | #define DUK_TVAL_IS_STRING(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71425:38: note: in expansion of macro 'DUK_TVAL_IS_STRING' 71425 | } else if (x->op == DUK_OP_ADD && DUK_TVAL_IS_STRING(tv1) && DUK_TVAL_IS_STRING(tv2)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1181:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1181 | #define DUK_TVAL_IS_STRING(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71425:65: note: in expansion of macro 'DUK_TVAL_IS_STRING' 71425 | } else if (x->op == DUK_OP_ADD && DUK_TVAL_IS_STRING(tv1) && DUK_TVAL_IS_STRING(tv2)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69077:19: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 69077 | ((duk_int32_t) (x) >= \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71453:14: note: in expansion of macro 'DUK__ISREG_TEMP' 71453 | } else if (DUK__ISREG_TEMP(comp_ctx, arg1)) { | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69078:50: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 69078 | (duk_int32_t) ((comp_ctx)->curr_func.temp_first)) /* Check for x >= temp_first && x >= 0 by comparing as signed. */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71453:14: note: in expansion of macro 'DUK__ISREG_TEMP' 71453 | } else if (DUK__ISREG_TEMP(comp_ctx, arg1)) { | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69077:19: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 69077 | ((duk_int32_t) (x) >= \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71455:14: note: in expansion of macro 'DUK__ISREG_TEMP' 71455 | } else if (DUK__ISREG_TEMP(comp_ctx, arg2)) { | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69078:50: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 69078 | (duk_int32_t) ((comp_ctx)->curr_func.temp_first)) /* Check for x >= temp_first && x >= 0 by comparing as signed. */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71455:14: note: in expansion of macro 'DUK__ISREG_TEMP' 71455 | } else if (DUK__ISREG_TEMP(comp_ctx, arg2)) { | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69077:19: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 69077 | ((duk_int32_t) (x) >= \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71494:14: note: in expansion of macro 'DUK__ISREG_TEMP' 71494 | } else if (DUK__ISREG_TEMP(comp_ctx, arg1)) { | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69078:50: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 69078 | (duk_int32_t) ((comp_ctx)->curr_func.temp_first)) /* Check for x >= temp_first && x >= 0 by comparing as signed. */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71494:14: note: in expansion of macro 'DUK__ISREG_TEMP' 71494 | } else if (DUK__ISREG_TEMP(comp_ctx, arg1)) { | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69077:19: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 69077 | ((duk_int32_t) (x) >= \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71496:14: note: in expansion of macro 'DUK__ISREG_TEMP' 71496 | } else if (DUK__ISREG_TEMP(comp_ctx, arg2)) { | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69078:50: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 69078 | (duk_int32_t) ((comp_ctx)->curr_func.temp_first)) /* Check for x >= temp_first && x >= 0 by comparing as signed. */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71496:14: note: in expansion of macro 'DUK__ISREG_TEMP' 71496 | } else if (DUK__ISREG_TEMP(comp_ctx, arg2)) { | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10285:61: note: in expansion of macro 'DUK_LINE_MACRO' 10285 | duk_err_error_internal((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71532:2: note: in expansion of macro 'DUK_ERROR_INTERNAL' 71532 | DUK_ERROR_INTERNAL(thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_regconst_t duk__lookup_active_register_binding(duk_compiler_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71692:27: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 71692 | return (duk_regconst_t) -1; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71699:27: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 71699 | return (duk_regconst_t) -1; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__add_label(duk_compiler_ctx*, duk_hstring*, duk_int_t, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:67: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71757:22: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 71757 | p = (duk_uint8_t *) DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(thr->heap, comp_ctx->curr_func.h_labelinfos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71758:40: warning: use of old-style cast to 'void*' [-Wold-style-cast] 71758 | li_start = (duk_labelinfo *) (void *) p; | ^ | ---------- | static_cast ( p) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71758:40: warning: use of old-style cast to 'struct duk_labelinfo*' [-Wold-style-cast] 71758 | li_start = (duk_labelinfo *) (void *) p; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71759:39: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 71759 | li = (duk_labelinfo *) (void *) (p + DUK_HBUFFER_GET_SIZE(comp_ctx->curr_func.h_labelinfos)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71759:93: warning: use of old-style cast to 'void*' [-Wold-style-cast] 71759 | li = (duk_labelinfo *) (void *) (p + DUK_HBUFFER_GET_SIZE(comp_ctx->curr_func.h_labelinfos)); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71759:93: warning: use of old-style cast to 'struct duk_labelinfo*' [-Wold-style-cast] 71759 | li = (duk_labelinfo *) (void *) (p + DUK_HBUFFER_GET_SIZE(comp_ctx->curr_func.h_labelinfos)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71760:33: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 71760 | n = (duk_size_t) (li - li_start); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71766:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 71766 | DUK_ERROR_SYNTAX(thr, DUK_STR_DUPLICATE_LABEL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71766:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 71766 | DUK_ERROR_SYNTAX(thr, DUK_STR_DUPLICATE_LABEL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71766:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 71766 | DUK_ERROR_SYNTAX(thr, DUK_STR_DUPLICATE_LABEL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71773:85: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 71773 | (void) duk_put_prop_index(thr, comp_ctx->curr_func.labelnames_idx, (duk_uarridx_t) n); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:67: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71780:22: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 71780 | p = (duk_uint8_t *) DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(thr->heap, comp_ctx->curr_func.h_labelinfos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71781:40: warning: use of old-style cast to 'void*' [-Wold-style-cast] 71781 | li_start = (duk_labelinfo *) (void *) p; | ^ | ---------- | static_cast ( p) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71781:40: warning: use of old-style cast to 'struct duk_labelinfo*' [-Wold-style-cast] 71781 | li_start = (duk_labelinfo *) (void *) p; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71783:39: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 71783 | li = (duk_labelinfo *) (void *) (p + DUK_HBUFFER_GET_SIZE(comp_ctx->curr_func.h_labelinfos)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71783:93: warning: use of old-style cast to 'void*' [-Wold-style-cast] 71783 | li = (duk_labelinfo *) (void *) (p + DUK_HBUFFER_GET_SIZE(comp_ctx->curr_func.h_labelinfos)); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71783:93: warning: use of old-style cast to 'struct duk_labelinfo*' [-Wold-style-cast] 71783 | li = (duk_labelinfo *) (void *) (p + DUK_HBUFFER_GET_SIZE(comp_ctx->curr_func.h_labelinfos)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__update_label_flags(duk_compiler_ctx*, duk_int_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:67: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71812:22: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 71812 | p = (duk_uint8_t *) DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(comp_ctx->thr->heap, comp_ctx->curr_func.h_labelinfos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71813:40: warning: use of old-style cast to 'void*' [-Wold-style-cast] 71813 | li_start = (duk_labelinfo *) (void *) p; | ^ | ---------- | static_cast ( p) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71813:40: warning: use of old-style cast to 'struct duk_labelinfo*' [-Wold-style-cast] 71813 | li_start = (duk_labelinfo *) (void *) p; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71814:39: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 71814 | li = (duk_labelinfo *) (void *) (p + DUK_HBUFFER_GET_SIZE(comp_ctx->curr_func.h_labelinfos)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71814:93: warning: use of old-style cast to 'void*' [-Wold-style-cast] 71814 | li = (duk_labelinfo *) (void *) (p + DUK_HBUFFER_GET_SIZE(comp_ctx->curr_func.h_labelinfos)); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71814:93: warning: use of old-style cast to 'struct duk_labelinfo*' [-Wold-style-cast] 71814 | li = (duk_labelinfo *) (void *) (p + DUK_HBUFFER_GET_SIZE(comp_ctx->curr_func.h_labelinfos)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__lookup_active_label(duk_compiler_ctx*, duk_hstring*, duk_bool_t, duk_int_t*, duk_int_t*, duk_int_t*, duk_bool_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:67: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71867:22: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 71867 | p = (duk_uint8_t *) DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(thr->heap, comp_ctx->curr_func.h_labelinfos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71868:40: warning: use of old-style cast to 'void*' [-Wold-style-cast] 71868 | li_start = (duk_labelinfo *) (void *) p; | ^ | ---------- | static_cast ( p) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71868:40: warning: use of old-style cast to 'struct duk_labelinfo*' [-Wold-style-cast] 71868 | li_start = (duk_labelinfo *) (void *) p; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71869:43: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 71869 | li_end = (duk_labelinfo *) (void *) (p + DUK_HBUFFER_GET_SIZE(comp_ctx->curr_func.h_labelinfos)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71869:97: warning: use of old-style cast to 'void*' [-Wold-style-cast] 71869 | li_end = (duk_labelinfo *) (void *) (p + DUK_HBUFFER_GET_SIZE(comp_ctx->curr_func.h_labelinfos)); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71869:97: warning: use of old-style cast to 'struct duk_labelinfo*' [-Wold-style-cast] 71869 | li_end = (duk_labelinfo *) (void *) (p + DUK_HBUFFER_GET_SIZE(comp_ctx->curr_func.h_labelinfos)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71907:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 71907 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_LABEL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71907:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 71907 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_LABEL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71907:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 71907 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_LABEL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71917:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 71917 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_LABEL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71917:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 71917 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_LABEL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:71917:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 71917 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_LABEL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__nud_array_literal(duk_compiler_ctx*, duk_ivalue*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72037:60: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 72037 | duk__emit_load_int32(comp_ctx, reg_temp, (duk_int32_t) start_idx); | ^~~~~~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72068:52: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 72068 | (duk_regconst_t) (num_values + 1)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3444:36: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3444 | ((duk_instr_t) ((((duk_instr_t) (c)) << 24) | (((duk_instr_t) (b)) << 16) | (((duk_instr_t) (a)) << 8) | \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3447:34: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 3447 | #define DUK_ENC_OP_A(op, a) DUK_ENC_OP_A_B_C((op), (a), 0, 0) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72080:16: note: in expansion of macro 'DUK_ENC_OP_A' 72080 | instr->ins |= DUK_ENC_OP_A(0, curr_idx > DUK_BC_A_MAX ? DUK_BC_A_MAX : curr_idx); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3444:66: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3444 | ((duk_instr_t) ((((duk_instr_t) (c)) << 24) | (((duk_instr_t) (b)) << 16) | (((duk_instr_t) (a)) << 8) | \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3447:34: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 3447 | #define DUK_ENC_OP_A(op, a) DUK_ENC_OP_A_B_C((op), (a), 0, 0) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72080:16: note: in expansion of macro 'DUK_ENC_OP_A' 72080 | instr->ins |= DUK_ENC_OP_A(0, curr_idx > DUK_BC_A_MAX ? DUK_BC_A_MAX : curr_idx); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3444:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3444 | ((duk_instr_t) ((((duk_instr_t) (c)) << 24) | (((duk_instr_t) (b)) << 16) | (((duk_instr_t) (a)) << 8) | \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3447:34: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 3447 | #define DUK_ENC_OP_A(op, a) DUK_ENC_OP_A_B_C((op), (a), 0, 0) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72080:16: note: in expansion of macro 'DUK_ENC_OP_A' 72080 | instr->ins |= DUK_ENC_OP_A(0, curr_idx > DUK_BC_A_MAX ? DUK_BC_A_MAX : curr_idx); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3445:36: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3445 | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3447:34: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 3447 | #define DUK_ENC_OP_A(op, a) DUK_ENC_OP_A_B_C((op), (a), 0, 0) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72080:16: note: in expansion of macro 'DUK_ENC_OP_A' 72080 | instr->ins |= DUK_ENC_OP_A(0, curr_idx > DUK_BC_A_MAX ? DUK_BC_A_MAX : curr_idx); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3445:38: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3445 | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3447:34: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 3447 | #define DUK_ENC_OP_A(op, a) DUK_ENC_OP_A_B_C((op), (a), 0, 0) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72080:16: note: in expansion of macro 'DUK_ENC_OP_A' 72080 | instr->ins |= DUK_ENC_OP_A(0, curr_idx > DUK_BC_A_MAX ? DUK_BC_A_MAX : curr_idx); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72093:56: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 72093 | duk__emit_load_int32(comp_ctx, reg_temp, (duk_int_t) curr_idx); | ^~~~~~~~ | -------------------- | static_cast ( curr_idx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72103:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72103 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_ARRAY_LITERAL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72103:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72103 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_ARRAY_LITERAL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72103:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72103 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_ARRAY_LITERAL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__objlit_flush_keys(duk_compiler_ctx*, duk__objlit_state*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72129:54: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 72129 | (duk_regconst_t) (st->num_pairs * 2)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__nud_object_literal(duk_compiler_ctx*, duk_ivalue*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72244:66: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 72244 | DUK__SETTEMP(comp_ctx, st.temp_start + 2 * (duk_regconst_t) st.num_pairs); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69083:80: note: in definition of macro 'DUK__SETTEMP' 69083 | #define DUK__SETTEMP(comp_ctx, x) ((comp_ctx)->curr_func.temp_next = (x)) /* dangerous: must only lower (temp_max not updated) */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72271:81: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 72271 | duk__emit_a_bc(comp_ctx, DUK_OP_CLOSURE, st.temp_start + 1, (duk_regconst_t) fnum); | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72315:76: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 72315 | duk__emit_a_bc(comp_ctx, DUK_OP_CLOSURE, reg_temp + 1, (duk_regconst_t) fnum); | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3444:36: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3444 | ((duk_instr_t) ((((duk_instr_t) (c)) << 24) | (((duk_instr_t) (b)) << 16) | (((duk_instr_t) (a)) << 8) | \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3447:34: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 3447 | #define DUK_ENC_OP_A(op, a) DUK_ENC_OP_A_B_C((op), (a), 0, 0) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72365:16: note: in expansion of macro 'DUK_ENC_OP_A' 72365 | instr->ins |= DUK_ENC_OP_A(0, st.num_total_pairs > DUK_BC_A_MAX ? DUK_BC_A_MAX : st.num_total_pairs); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3444:66: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3444 | ((duk_instr_t) ((((duk_instr_t) (c)) << 24) | (((duk_instr_t) (b)) << 16) | (((duk_instr_t) (a)) << 8) | \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3447:34: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 3447 | #define DUK_ENC_OP_A(op, a) DUK_ENC_OP_A_B_C((op), (a), 0, 0) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72365:16: note: in expansion of macro 'DUK_ENC_OP_A' 72365 | instr->ins |= DUK_ENC_OP_A(0, st.num_total_pairs > DUK_BC_A_MAX ? DUK_BC_A_MAX : st.num_total_pairs); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3444:96: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3444 | ((duk_instr_t) ((((duk_instr_t) (c)) << 24) | (((duk_instr_t) (b)) << 16) | (((duk_instr_t) (a)) << 8) | \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3447:34: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 3447 | #define DUK_ENC_OP_A(op, a) DUK_ENC_OP_A_B_C((op), (a), 0, 0) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72365:16: note: in expansion of macro 'DUK_ENC_OP_A' 72365 | instr->ins |= DUK_ENC_OP_A(0, st.num_total_pairs > DUK_BC_A_MAX ? DUK_BC_A_MAX : st.num_total_pairs); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3445:36: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3445 | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3447:34: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 3447 | #define DUK_ENC_OP_A(op, a) DUK_ENC_OP_A_B_C((op), (a), 0, 0) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72365:16: note: in expansion of macro 'DUK_ENC_OP_A' 72365 | instr->ins |= DUK_ENC_OP_A(0, st.num_total_pairs > DUK_BC_A_MAX ? DUK_BC_A_MAX : st.num_total_pairs); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3445:38: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3445 | ((duk_instr_t) (op)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3447:34: note: in expansion of macro 'DUK_ENC_OP_A_B_C' 3447 | #define DUK_ENC_OP_A(op, a) DUK_ENC_OP_A_B_C((op), (a), 0, 0) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72365:16: note: in expansion of macro 'DUK_ENC_OP_A' 72365 | instr->ins |= DUK_ENC_OP_A(0, st.num_total_pairs > DUK_BC_A_MAX ? DUK_BC_A_MAX : st.num_total_pairs); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72375:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72375 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_OBJECT_LITERAL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72375:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72375 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_OBJECT_LITERAL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72375:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72375 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_OBJECT_LITERAL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__expr_nud(duk_compiler_ctx*, duk_ivalue*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72653:77: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 72653 | duk__emit_a_bc(comp_ctx, DUK_OP_CLOSURE, reg_temp /*a*/, (duk_regconst_t) fnum /*bc*/); | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72679:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72679 | DUK_ERROR_SYNTAX(thr, DUK_STR_CANNOT_DELETE_IDENTIFIER); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72679:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72679 | DUK_ERROR_SYNTAX(thr, DUK_STR_CANNOT_DELETE_IDENTIFIER); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72679:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72679 | DUK_ERROR_SYNTAX(thr, DUK_STR_CANNOT_DELETE_IDENTIFIER); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72777:13: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 72777 | tv_num = DUK_GET_TVAL_POSIDX(thr, res->x1.valstack_idx); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72802:13: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 72802 | tv_val = DUK_GET_TVAL_POSIDX(thr, res->x1.valstack_idx); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72804:8: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 72804 | if (DUK_TVAL_IS_NUMBER(tv_val)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1521:40: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 1521 | #define DUK_TVAL_SET_BOOLEAN_TRUE(tv) DUK_TVAL_SET_BOOLEAN((tv), 1) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72810:6: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_TRUE' 72810 | DUK_TVAL_SET_BOOLEAN_TRUE(tv_val); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1521:40: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 1521 | #define DUK_TVAL_SET_BOOLEAN_TRUE(tv) DUK_TVAL_SET_BOOLEAN((tv), 1) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72810:6: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_TRUE' 72810 | DUK_TVAL_SET_BOOLEAN_TRUE(tv_val); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1521:40: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 1521 | #define DUK_TVAL_SET_BOOLEAN_TRUE(tv) DUK_TVAL_SET_BOOLEAN((tv), 1) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72810:6: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_TRUE' 72810 | DUK_TVAL_SET_BOOLEAN_TRUE(tv_val); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1522:40: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 1522 | #define DUK_TVAL_SET_BOOLEAN_FALSE(tv) DUK_TVAL_SET_BOOLEAN((tv), 0) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72814:6: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_FALSE' 72814 | DUK_TVAL_SET_BOOLEAN_FALSE(tv_val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1522:40: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 1522 | #define DUK_TVAL_SET_BOOLEAN_FALSE(tv) DUK_TVAL_SET_BOOLEAN((tv), 0) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72814:6: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_FALSE' 72814 | DUK_TVAL_SET_BOOLEAN_FALSE(tv_val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1522:40: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 1522 | #define DUK_TVAL_SET_BOOLEAN_FALSE(tv) DUK_TVAL_SET_BOOLEAN((tv), 0) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72814:6: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_FALSE' 72814 | DUK_TVAL_SET_BOOLEAN_FALSE(tv_val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1177:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1177 | #define DUK_TVAL_IS_BOOLEAN(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_BOOLEAN) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72817:15: note: in expansion of macro 'DUK_TVAL_IS_BOOLEAN' 72817 | } else if (DUK_TVAL_IS_BOOLEAN(tv_val)) { | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1147:78: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1147 | #define DUK_TVAL_GET_BOOLEAN(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72819:9: note: in expansion of macro 'DUK_TVAL_GET_BOOLEAN' 72819 | v = DUK_TVAL_GET_BOOLEAN(tv_val); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72822:5: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 72822 | DUK_TVAL_SET_BOOLEAN(tv_val, v ^ 0x01); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72822:5: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 72822 | DUK_TVAL_SET_BOOLEAN(tv_val, v ^ 0x01); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72822:5: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 72822 | DUK_TVAL_SET_BOOLEAN(tv_val, v ^ 0x01); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72832:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72832 | DUK_ERROR_SYNTAX(thr, DUK_STR_PARSE_ERROR); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72832:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72832 | DUK_ERROR_SYNTAX(thr, DUK_STR_PARSE_ERROR); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72832:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72832 | DUK_ERROR_SYNTAX(thr, DUK_STR_PARSE_ERROR); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69077:19: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 69077 | ((duk_int32_t) (x) >= \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72844:6: note: in expansion of macro 'DUK__ISREG_TEMP' 72844 | if (DUK__ISREG_TEMP(comp_ctx, reg_src)) { | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69078:50: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 69078 | (duk_int32_t) ((comp_ctx)->curr_func.temp_first)) /* Check for x >= temp_first && x >= 0 by comparing as signed. */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72844:6: note: in expansion of macro 'DUK__ISREG_TEMP' 72844 | if (DUK__ISREG_TEMP(comp_ctx, reg_src)) { | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72929:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72929 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_NEWTARGET); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72929:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72929 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_NEWTARGET); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72929:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72929 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_NEWTARGET); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72934:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72934 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_EXPRESSION); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72934:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72934 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_EXPRESSION); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72934:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72934 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_EXPRESSION); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__expr_led(duk_compiler_ctx*, duk_ivalue*, duk_ivalue*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72990:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72990 | DUK_ERROR_SYNTAX(thr, DUK_STR_EXPECTED_IDENTIFIER); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72990:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72990 | DUK_ERROR_SYNTAX(thr, DUK_STR_EXPECTED_IDENTIFIER); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:72990:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 72990 | DUK_ERROR_SYNTAX(thr, DUK_STR_EXPECTED_IDENTIFIER); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73137:54: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 73137 | duk__emit_a_bc(comp_ctx, call_op, (duk_regconst_t) nargs /*numargs*/, reg_cs /*basereg*/); | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73413:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 73413 | DUK_ERROR_SYNTAX(thr, DUK_STR_PARSE_ERROR); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73413:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 73413 | DUK_ERROR_SYNTAX(thr, DUK_STR_PARSE_ERROR); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73413:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 73413 | DUK_ERROR_SYNTAX(thr, DUK_STR_PARSE_ERROR); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69080:20: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 69080 | ((duk_uint32_t) (x) < \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73584:46: note: in expansion of macro 'DUK__ISREG_NOTTEMP' 73584 | (res->x1.t == DUK_ISPEC_REGCONST && DUK__ISREG_NOTTEMP(comp_ctx, res->x1.regconst))) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69081:51: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 69081 | (duk_uint32_t) ((comp_ctx)->curr_func.temp_first)) /* Check for x >= 0 && x < temp_first by interpreting as unsigned. */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73584:46: note: in expansion of macro 'DUK__ISREG_NOTTEMP' 73584 | (res->x1.t == DUK_ISPEC_REGCONST && DUK__ISREG_NOTTEMP(comp_ctx, res->x1.regconst))) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73651:63: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 73651 | (duk_int_t) sizeof(duk_compiler_instr)); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2557:19: note: in definition of macro 'DUK_BW_ADD_PTR' 2557 | (bw_ctx)->p += (delta); \ | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69077:19: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 69077 | ((duk_int32_t) (x) >= \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73668:10: note: in expansion of macro 'DUK__ISREG_TEMP' 73668 | if (DUK__ISREG_TEMP(comp_ctx, reg_res)) { | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69078:50: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 69078 | (duk_int32_t) ((comp_ctx)->curr_func.temp_first)) /* Check for x >= temp_first && x >= 0 by comparing as signed. */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73668:10: note: in expansion of macro 'DUK__ISREG_TEMP' 73668 | if (DUK__ISREG_TEMP(comp_ctx, reg_res)) { | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73706:58: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 73706 | duk__ivalue_toforcedreg(comp_ctx, res, (duk_int_t) reg_varbind); | ^~~~~~~~~~~ | ----------------------- | static_cast ( reg_varbind) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73710:59: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 73710 | duk__ivalue_toforcedreg(comp_ctx, left, (duk_int_t) reg_varbind); | ^~~~~~~~~~~ | ----------------------- | static_cast ( reg_varbind) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73718:58: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 73718 | duk__ivalue_toforcedreg(comp_ctx, left, (duk_int_t) reg_varbind); | ^~~~~~~~~~~ | ----------------------- | static_cast ( reg_varbind) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73899:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 73899 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_EXPRESSION); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73899:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 73899 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_EXPRESSION); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73899:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 73899 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_EXPRESSION); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73903:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 73903 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_LVALUE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73903:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 73903 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_LVALUE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73903:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 73903 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_LVALUE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_uint_t duk__expr_lbp(duk_compiler_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69366:88: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 69366 | #define DUK__TOKEN_LBP_GET_BP(x) ((duk_small_uint_t) (((x) &DUK__TOKEN_LBP_BP_MASK) * 2)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73933:9: note: in expansion of macro 'DUK__TOKEN_LBP_GET_BP' 73933 | return DUK__TOKEN_LBP_GET_BP(duk__token_lbp[tok]); /* format is bit packed */ | ^~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__expr(duk_compiler_ctx*, duk_ivalue*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73970:2: note: in expansion of macro 'duk_memzero' 73970 | duk_memzero(&tmp_alloc, sizeof(tmp_alloc)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73989:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 73989 | DUK_ERROR_SYNTAX(thr, DUK_STR_EMPTY_EXPR_NOT_ALLOWED); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73989:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 73989 | DUK_ERROR_SYNTAX(thr, DUK_STR_EMPTY_EXPR_NOT_ALLOWED); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:73989:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 73989 | DUK_ERROR_SYNTAX(thr, DUK_STR_EMPTY_EXPR_NOT_ALLOWED); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__exprtop(duk_compiler_ctx*, duk_ivalue*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:74028:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 74028 | DUK_ERROR_SYNTAX(thr, DUK_STR_EMPTY_EXPR_NOT_ALLOWED); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:74028:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 74028 | DUK_ERROR_SYNTAX(thr, DUK_STR_EMPTY_EXPR_NOT_ALLOWED); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:74028:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 74028 | DUK_ERROR_SYNTAX(thr, DUK_STR_EMPTY_EXPR_NOT_ALLOWED); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__parse_var_decl(duk_compiler_ctx*, duk_ivalue*, duk_small_uint_t, duk_regconst_t*, duk_regconst_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:74182:72: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 74182 | n = (duk_uarridx_t) duk_get_length(thr, comp_ctx->curr_func.decls_idx); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:74229:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 74229 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_VAR_DECLARATION); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:74229:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 74229 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_VAR_DECLARATION); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:74229:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 74229 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_VAR_DECLARATION); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__parse_for_stmt(duk_compiler_ctx*, duk_ivalue*, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:74612:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 74612 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_FOR); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:74612:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 74612 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_FOR); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:74612:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 74612 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_FOR); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__parse_switch_stmt(duk_compiler_ctx*, duk_ivalue*, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:74808:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 74808 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_SWITCH); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:74808:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 74808 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_SWITCH); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:74808:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 74808 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_SWITCH); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__parse_break_or_continue_stmt(duk_compiler_ctx*, duk_ivalue*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:74958:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 74958 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_BREAK_CONT_LABEL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:74958:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 74958 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_BREAK_CONT_LABEL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:74958:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 74958 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_BREAK_CONT_LABEL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:74989:86: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 74989 | duk__emit_bc(comp_ctx, is_break ? DUK_OP_BREAK : DUK_OP_CONTINUE, (duk_regconst_t) label_id); | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__parse_return_stmt(duk_compiler_ctx*, duk_ivalue*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75003:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 75003 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_RETURN); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75003:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 75003 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_RETURN); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75003:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 75003 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_RETURN); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3432:36: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 3432 | #define DUK_DEC_OP(x) ((x) &0xffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75071:28: note: in expansion of macro 'DUK_DEC_OP' 75071 | op = (duk_small_uint_t) DUK_DEC_OP(ins); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69077:19: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 69077 | ((duk_int32_t) (x) >= \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75072:41: note: in expansion of macro 'DUK__ISREG_TEMP' 75072 | if ((op & ~0x0fU) == DUK_OP_CALL0 && DUK__ISREG_TEMP(comp_ctx, rc_val) /* see above */) { | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69078:50: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 69078 | (duk_int32_t) ((comp_ctx)->curr_func.temp_first)) /* Check for x >= temp_first && x >= 0 by comparing as signed. */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75072:41: note: in expansion of macro 'DUK__ISREG_TEMP' 75072 | if ((op & ~0x0fU) == DUK_OP_CALL0 && DUK__ISREG_TEMP(comp_ctx, rc_val) /* see above */) { | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3439:51: warning: use of old-style cast to 'duk_instr_t' {aka 'unsigned int'} [-Wold-style-cast] 3439 | #define DUK_ENC_OP(op) ((duk_instr_t) (op)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75077:12: note: in expansion of macro 'DUK_ENC_OP' 75077 | ins |= DUK_ENC_OP(DUK_BC_CALL_FLAG_TAILCALL); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__parse_throw_stmt(duk_compiler_ctx*, duk_ivalue*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75104:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 75104 | DUK_ERROR_SYNTAX(comp_ctx->thr, DUK_STR_INVALID_THROW); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75104:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 75104 | DUK_ERROR_SYNTAX(comp_ctx->thr, DUK_STR_INVALID_THROW); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75104:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 75104 | DUK_ERROR_SYNTAX(comp_ctx->thr, DUK_STR_INVALID_THROW); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__parse_try_stmt(duk_compiler_ctx*, duk_ivalue*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75331:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 75331 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_TRY); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75331:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 75331 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_TRY); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75331:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 75331 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_TRY); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__parse_with_stmt(duk_compiler_ctx*, duk_ivalue*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75342:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 75342 | DUK_ERROR_SYNTAX(comp_ctx->thr, DUK_STR_WITH_IN_STRICT_MODE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75342:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 75342 | DUK_ERROR_SYNTAX(comp_ctx->thr, DUK_STR_WITH_IN_STRICT_MODE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75342:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 75342 | DUK_ERROR_SYNTAX(comp_ctx->thr, DUK_STR_WITH_IN_STRICT_MODE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75361:34: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 75361 | (duk_regconst_t) trycatch_flags /*a*/, | ^~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk__stmt_label_site(duk_compiler_ctx*, duk_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75385:56: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 75385 | duk__emit_bc(comp_ctx, DUK_OP_LABEL, (duk_regconst_t) label_id); | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__parse_stmt(duk_compiler_ctx*, duk_ivalue*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75519:74: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 75519 | n = (duk_uarridx_t) duk_get_length(thr, comp_ctx->curr_func.decls_idx); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75522:68: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 75522 | duk_push_int(thr, (duk_int_t) (DUK_DECL_TYPE_FUNC + (fnum << 8))); | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75534:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 75534 | DUK_ERROR_SYNTAX(thr, DUK_STR_FUNC_STMT_NOT_ALLOWED); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75534:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 75534 | DUK_ERROR_SYNTAX(thr, DUK_STR_FUNC_STMT_NOT_ALLOWED); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75534:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 75534 | DUK_ERROR_SYNTAX(thr, DUK_STR_FUNC_STMT_NOT_ALLOWED); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75782:35: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 75782 | DUK_STRCMP((const char *) DUK_HSTRING_GET_DATA(h_dir), "use strict") == 0) { | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75782:35: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 75782 | DUK_STRCMP((const char *) DUK_HSTRING_GET_DATA(h_dir), "use strict") == 0) { | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75792:42: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 75792 | DUK_STRCMP((const char *) DUK_HSTRING_GET_DATA(h_dir), "use duk notail") == 0) { | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75792:42: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 75792 | DUK_STRCMP((const char *) DUK_HSTRING_GET_DATA(h_dir), "use duk notail") == 0) { | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75861:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 75861 | DUK_ERROR_SYNTAX(thr, DUK_STR_UNTERMINATED_STMT); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75861:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 75861 | DUK_ERROR_SYNTAX(thr, DUK_STR_UNTERMINATED_STMT); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75861:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 75861 | DUK_ERROR_SYNTAX(thr, DUK_STR_UNTERMINATED_STMT); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75886:60: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 75886 | duk__emit_bc(comp_ctx, DUK_OP_ENDLABEL, (duk_regconst_t) label_id); | ^~~~~~~~ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__parse_stmts(duk_compiler_ctx*, duk_bool_t, duk_bool_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:75926:2: note: in expansion of macro 'duk_memzero' 75926 | duk_memzero(&res_alloc, sizeof(res_alloc)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__init_varmap_and_prologue_for_pass2(duk_compiler_ctx*, duk_regconst_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76039:81: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 76039 | num_args = (duk_uarridx_t) duk_get_length(thr, comp_ctx->curr_func.argnames_idx); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5996:74: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5996 | #define duk_push_uarridx(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76078:3: note: in expansion of macro 'duk_push_uarridx' 76078 | duk_push_uarridx(thr, i); /* -> [ ... name index ] */ | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76085:51: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 76085 | DUK__SETTEMP_CHECKMAX(comp_ctx, (duk_regconst_t) num_args); | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69084:79: note: in definition of macro 'DUK__SETTEMP_CHECKMAX' 69084 | #define DUK__SETTEMP_CHECKMAX(comp_ctx, x) duk__settemp_checkmax((comp_ctx), (x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76113:79: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 76113 | num_decls = (duk_uarridx_t) duk_get_length(thr, comp_ctx->curr_func.decls_idx); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76141:73: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 76141 | duk__emit_a_bc(comp_ctx, DUK_OP_CLOSURE, reg_bind, (duk_regconst_t) fnum); | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76145:73: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 76145 | duk__emit_a_bc(comp_ctx, DUK_OP_CLOSURE, reg_bind, (duk_regconst_t) fnum); | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76146:35: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 76146 | duk_push_int(thr, (duk_int_t) reg_bind); | ^~~~~~~~ | -------------------- | static_cast ( reg_bind) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76162:72: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 76162 | duk__emit_a_bc(comp_ctx, DUK_OP_CLOSURE, reg_temp, (duk_regconst_t) fnum); | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76172:37: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 76172 | (duk_regconst_t) declvar_flags /*flags*/, | ^~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76243:35: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 76243 | duk_push_int(thr, (duk_int_t) reg_bind); | ^~~~~~~~ | -------------------- | static_cast ( reg_bind) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76256:38: warning: use of old-style cast to 'duk_regconst_t' {aka 'int'} [-Wold-style-cast] 76256 | (duk_regconst_t) declvar_flags /*flags*/, | ^~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76277:2: note: in expansion of macro 'DUK_ERROR_RANGE' 76277 | DUK_ERROR_RANGE(thr, DUK_STR_REG_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76281:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 76281 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_ARG_NAME); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76281:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 76281 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_ARG_NAME); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76281:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 76281 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_ARG_NAME); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__parse_func_body(duk_compiler_ctx*, duk_bool_t, duk_bool_t, duk_bool_t, duk_small_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10285:61: note: in expansion of macro 'DUK_LINE_MACRO' 10285 | duk_err_error_internal((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76534:4: note: in expansion of macro 'DUK_ERROR_INTERNAL' 76534 | DUK_ERROR_INTERNAL(thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76578:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 76578 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_FUNC_NAME); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76578:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 76578 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_FUNC_NAME); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76578:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 76578 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_FUNC_NAME); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__parse_func_formals(duk_compiler_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76627:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 76627 | DUK_ERROR_SYNTAX(thr, DUK_STR_EXPECTED_IDENTIFIER); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76627:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 76627 | DUK_ERROR_SYNTAX(thr, DUK_STR_EXPECTED_IDENTIFIER); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76627:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 76627 | DUK_ERROR_SYNTAX(thr, DUK_STR_EXPECTED_IDENTIFIER); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76636:75: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 76636 | n = (duk_uarridx_t) duk_get_length(thr, comp_ctx->curr_func.argnames_idx); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__parse_func_like_raw(duk_compiler_ctx*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76692:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 76692 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_GETSET_NAME); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76692:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 76692 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_GETSET_NAME); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76692:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 76692 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_GETSET_NAME); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76710:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 76710 | DUK_ERROR_SYNTAX(thr, DUK_STR_FUNC_NAME_REQUIRED); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76710:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 76710 | DUK_ERROR_SYNTAX(thr, DUK_STR_FUNC_NAME_REQUIRED); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76710:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 76710 | DUK_ERROR_SYNTAX(thr, DUK_STR_FUNC_NAME_REQUIRED); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk__parse_func_like_fnum(duk_compiler_ctx*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76783:87: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 76783 | duk_get_prop_index(thr, comp_ctx->curr_func.funcs_idx, (duk_uarridx_t) (fnum * 3 + 1)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76784:51: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 76784 | lex_pt.offset = (duk_size_t) duk_to_uint(thr, -1); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76786:87: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 76786 | duk_get_prop_index(thr, comp_ctx->curr_func.funcs_idx, (duk_uarridx_t) (fnum * 3 + 2)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76822:2: note: in expansion of macro 'duk_memcpy' 76822 | duk_memcpy(&old_func, &comp_ctx->curr_func, sizeof(duk_compiler_func)); | ^~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76824:2: note: in expansion of macro 'duk_memzero' 76824 | duk_memzero(&comp_ctx->curr_func, sizeof(duk_compiler_func)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76866:3: note: in expansion of macro 'DUK_ERROR_RANGE' 76866 | DUK_ERROR_RANGE(comp_ctx->thr, DUK_STR_FUNC_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76871:78: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 76871 | (void) duk_put_prop_index(thr, old_func.funcs_idx, (duk_uarridx_t) (fnum * 3)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5997:74: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5997 | #define duk_push_size_t(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) /* XXX: assumed to fit for now */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76872:2: note: in expansion of macro 'duk_push_size_t' 76872 | duk_push_size_t(thr, comp_ctx->prev_token.start_offset); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76873:82: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 76873 | (void) duk_put_prop_index(thr, old_func.funcs_idx, (duk_uarridx_t) (fnum * 3 + 1)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76875:82: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 76875 | (void) duk_put_prop_index(thr, old_func.funcs_idx, (duk_uarridx_t) (fnum * 3 + 2)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76892:33: warning: use of old-style cast to 'void*' [-Wold-style-cast] 76892 | duk_memcpy((void *) &comp_ctx->curr_func, (void *) &old_func, sizeof(duk_compiler_func)); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76892:54: warning: use of old-style cast to 'void*' [-Wold-style-cast] 76892 | duk_memcpy((void *) &comp_ctx->curr_func, (void *) &old_func, sizeof(duk_compiler_func)); | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76892:2: note: in expansion of macro 'duk_memcpy' 76892 | duk_memcpy((void *) &comp_ctx->curr_func, (void *) &old_func, sizeof(duk_compiler_func)); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk__js_compile_raw(duk_hthread*, void*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76933:40: warning: use of old-style cast to 'struct duk__compiler_stkstate*' [-Wold-style-cast] 76933 | comp_stk = (duk__compiler_stkstate *) udata; | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:76984:82: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 76984 | comp_ctx->lex.buf = (duk_hbuffer_dynamic *) duk_known_hbuffer(thr, entry_top + 0); | ^ | - | reinterpret_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77017:34: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 77017 | func->is_strict = (duk_uint8_t) is_strict; | ^~~~~~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77033:33: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 77033 | func->is_eval = (duk_uint8_t) is_eval; | ^~~~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77034:36: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 77034 | func->is_global = (duk_uint8_t) !is_eval; | ^~~~~~~ | - | static_cast<- | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_js_compile(duk_hthread*, const duk_uint8_t*, duk_size_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77069:2: note: in expansion of macro 'duk_memzero' 77069 | duk_memzero(&comp_stk, sizeof(comp_stk)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77080:62: warning: use of old-style cast to 'void*' [-Wold-style-cast] 77080 | safe_rc = duk_safe_call(thr, duk__js_compile_raw, (void *) &comp_stk /*udata*/, 1 /*nargs*/, 1 /*nrets*/); | ^~~~~~~~ | ------------------ | static_cast ( &comp_stk) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:541:37: warning: use of old-style cast to 'duk_ret_t' {aka 'int'} [-Wold-style-cast] 541 | (duk_throw_raw((ctx)), (duk_ret_t) 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77085:10: note: in expansion of macro 'duk_throw' 77085 | (void) duk_throw(thr); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk__compute_mod(duk_double_t, duk_double_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77245:50: warning: use of old-style cast to 'double' [-Wold-style-cast] 77245 | return (duk_double_t) duk_js_arith_mod((double) d1, (double) d2); | ^~ | ----------- | static_cast ( d1) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77245:63: warning: use of old-style cast to 'double' [-Wold-style-cast] 77245 | return (duk_double_t) duk_js_arith_mod((double) d1, (double) d2); | ^~ | ----------- | static_cast ( d2) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77245:65: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 77245 | return (duk_double_t) duk_js_arith_mod((double) d1, (double) d2); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk__compute_exp(duk_double_t, duk_double_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77250:50: warning: use of old-style cast to 'double' [-Wold-style-cast] 77250 | return (duk_double_t) duk_js_arith_pow((double) d1, (double) d2); | ^~ | ----------- | static_cast ( d1) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77250:63: warning: use of old-style cast to 'double' [-Wold-style-cast] 77250 | return (duk_double_t) duk_js_arith_pow((double) d1, (double) d2); | ^~ | ----------- | static_cast ( d2) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77250:65: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 77250 | return (duk_double_t) duk_js_arith_pow((double) d1, (double) d2); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__vm_arith_add(duk_hthread*, duk_tval*, duk_tval*, duk_small_uint_fast_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77311:6: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 77311 | if (DUK_TVAL_IS_NUMBER(tv_x) && DUK_TVAL_IS_NUMBER(tv_y)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77311:34: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 77311 | if (DUK_TVAL_IS_NUMBER(tv_x) && DUK_TVAL_IS_NUMBER(tv_y)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5260:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5260 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5421:44: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF_ALT0' 5421 | #define DUK_TVAL_SET_NUMBER_UPDREF DUK_TVAL_SET_NUMBER_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77324:3: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF' 77324 | DUK_TVAL_SET_NUMBER_UPDREF(thr, tv_z, du.d); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5260:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5260 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5421:44: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF_ALT0' 5421 | #define DUK_TVAL_SET_NUMBER_UPDREF DUK_TVAL_SET_NUMBER_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77324:3: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF' 77324 | DUK_TVAL_SET_NUMBER_UPDREF(thr, tv_z, du.d); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77361:31: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 77361 | duk_replace(thr, (duk_idx_t) idx_z); /* side effects */ | ^~~~~ | ----------------- | static_cast ( idx_z) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__vm_arith_binary_op(duk_hthread*, duk_tval*, duk_tval*, duk_uint_fast_t, duk_small_uint_fast_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77465:6: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 77465 | if (DUK_TVAL_IS_NUMBER(tv_x) && DUK_TVAL_IS_NUMBER(tv_y)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77465:34: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 77465 | if (DUK_TVAL_IS_NUMBER(tv_x) && DUK_TVAL_IS_NUMBER(tv_y)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5260:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5260 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5421:44: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF_ALT0' 5421 | #define DUK_TVAL_SET_NUMBER_UPDREF DUK_TVAL_SET_NUMBER_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77522:2: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF' 77522 | DUK_TVAL_SET_NUMBER_UPDREF(thr, tv_z, du.d); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5260:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5260 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5421:44: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF_ALT0' 5421 | #define DUK_TVAL_SET_NUMBER_UPDREF DUK_TVAL_SET_NUMBER_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77522:2: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF' 77522 | DUK_TVAL_SET_NUMBER_UPDREF(thr, tv_z, du.d); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__vm_bitwise_binary_op(duk_hthread*, duk_tval*, duk_tval*, duk_small_uint_fast_t, duk_small_uint_fast_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77594:24: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 77594 | u2 = ((duk_uint32_t) i2) & 0xffffffffUL; | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77595:39: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 77595 | i3 = (duk_int32_t) (((duk_uint32_t) i1) << (u2 & 0x1fUL)); /* E5 Section 11.7.1, steps 7 and 8 */ | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77595:59: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 77595 | i3 = (duk_int32_t) (((duk_uint32_t) i1) << (u2 & 0x1fUL)); /* E5 Section 11.7.1, steps 7 and 8 */ | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77596:28: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 77596 | i3 = i3 & ((duk_int32_t) 0xffffffffUL); /* Note: left shift, should mask */ | ^~~~~~~~~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77602:24: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 77602 | u2 = ((duk_uint32_t) i2) & 0xffffffffUL; | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77609:24: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 77609 | u1 = ((duk_uint32_t) i1) & 0xffffffffUL; | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77610:24: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 77610 | u2 = ((duk_uint32_t) i2) & 0xffffffffUL; | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77618:23: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 77618 | d3 = (duk_double_t) u3; | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77640:22: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 77640 | d3 = (duk_double_t) i3; | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5260:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5260 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5421:44: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF_ALT0' 5421 | #define DUK_TVAL_SET_NUMBER_UPDREF DUK_TVAL_SET_NUMBER_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77651:2: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF' 77651 | DUK_TVAL_SET_NUMBER_UPDREF(thr, tv_z, d3); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5260:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5260 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5421:44: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF_ALT0' 5421 | #define DUK_TVAL_SET_NUMBER_UPDREF DUK_TVAL_SET_NUMBER_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77651:2: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF' 77651 | DUK_TVAL_SET_NUMBER_UPDREF(thr, tv_z, d3); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__vm_arith_unary_op(duk_hthread*, duk_uint_fast_t, duk_uint_fast_t, duk_small_uint_fast_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77678:7: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 77678 | tv = DUK_GET_TVAL_POSIDX(thr, (duk_idx_t) idx_src); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77678:44: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 77678 | tv = DUK_GET_TVAL_POSIDX(thr, (duk_idx_t) idx_src); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:123: note: in definition of macro 'DUK_GET_TVAL_POSIDX' 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77708:6: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 77708 | if (DUK_TVAL_IS_NUMBER(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77733:7: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 77733 | tv = DUK_GET_TVAL_POSIDX(thr, (duk_idx_t) idx_dst); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77733:44: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 77733 | tv = DUK_GET_TVAL_POSIDX(thr, (duk_idx_t) idx_dst); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:123: note: in definition of macro 'DUK_GET_TVAL_POSIDX' 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5260:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5260 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5421:44: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF_ALT0' 5421 | #define DUK_TVAL_SET_NUMBER_UPDREF DUK_TVAL_SET_NUMBER_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77734:2: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF' 77734 | DUK_TVAL_SET_NUMBER_UPDREF(thr, tv, du.d); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5260:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5260 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5421:44: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF_ALT0' 5421 | #define DUK_TVAL_SET_NUMBER_UPDREF DUK_TVAL_SET_NUMBER_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77734:2: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF' 77734 | DUK_TVAL_SET_NUMBER_UPDREF(thr, tv, du.d); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__vm_bitwise_not(duk_hthread*, duk_uint_fast_t, duk_uint_fast_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77751:7: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 77751 | tv = DUK_GET_TVAL_POSIDX(thr, (duk_idx_t) idx_src); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77751:44: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 77751 | tv = DUK_GET_TVAL_POSIDX(thr, (duk_idx_t) idx_src); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:123: note: in definition of macro 'DUK_GET_TVAL_POSIDX' 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77766:7: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 77766 | tv = DUK_GET_TVAL_POSIDX(thr, (duk_idx_t) idx_dst); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77766:44: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 77766 | tv = DUK_GET_TVAL_POSIDX(thr, (duk_idx_t) idx_dst); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:123: note: in definition of macro 'DUK_GET_TVAL_POSIDX' 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:71: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1115:18: note: in definition of macro 'DUK_TVAL_SET_DOUBLE' 1115 | duk__dblval = (d); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5431:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5431 | #define DUK_TVAL_SET_I32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77767:2: note: in expansion of macro 'DUK_TVAL_SET_I32_UPDREF' 77767 | DUK_TVAL_SET_I32_UPDREF(thr, tv, i2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5278:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5278 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:2: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF' 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5431:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5431 | #define DUK_TVAL_SET_I32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77767:2: note: in expansion of macro 'DUK_TVAL_SET_I32_UPDREF' 77767 | DUK_TVAL_SET_I32_UPDREF(thr, tv, i2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5278:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5278 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:2: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF' 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5431:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5431 | #define DUK_TVAL_SET_I32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77767:2: note: in expansion of macro 'DUK_TVAL_SET_I32_UPDREF' 77767 | DUK_TVAL_SET_I32_UPDREF(thr, tv, i2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__vm_logical_not(duk_hthread*, duk_uint_fast_t, duk_uint_fast_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77788:7: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 77788 | tv = DUK_GET_TVAL_POSIDX(thr, (duk_idx_t) idx_src); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77788:44: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 77788 | tv = DUK_GET_TVAL_POSIDX(thr, (duk_idx_t) idx_src); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:123: note: in definition of macro 'DUK_GET_TVAL_POSIDX' 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77792:7: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 77792 | tv = DUK_GET_TVAL_POSIDX(thr, (duk_idx_t) idx_dst); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77792:44: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 77792 | tv = DUK_GET_TVAL_POSIDX(thr, (duk_idx_t) idx_dst); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:123: note: in definition of macro 'DUK_GET_TVAL_POSIDX' 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77794:2: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 77794 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, tv, res); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77794:2: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 77794 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, tv, res); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77794:2: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 77794 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, tv, res); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77794:2: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 77794 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, tv, res); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77794:2: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 77794 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, tv, res); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__prepost_incdec_reg_helper(duk_hthread*, duk_tval*, duk_tval*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77836:6: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 77836 | if (DUK_TVAL_IS_NUMBER(tv_src)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77856:43: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 77856 | off_dst = (duk_size_t) ((duk_uint8_t *) tv_dst - (duk_uint8_t *) thr->valstack_bottom); | ^~~~~~ | ---------------------- | reinterpret_cast ( tv_dst) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77856:73: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 77856 | off_dst = (duk_size_t) ((duk_uint8_t *) tv_dst - (duk_uint8_t *) thr->valstack_bottom); | ^~~~~~~~~~~~~~~ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77856:88: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 77856 | off_dst = (duk_size_t) ((duk_uint8_t *) tv_dst - (duk_uint8_t *) thr->valstack_bottom); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77857:50: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 77857 | bc = (duk_idx_t) (tv_src - thr->valstack_bottom); /* XXX: pass index explicitly? */ | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77870:57: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 77870 | tv_dst = (duk_tval *) (void *) (((duk_uint8_t *) thr->valstack_bottom) + off_dst); | ^~~~~~~~~~~~~~~ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77870:83: warning: use of old-style cast to 'void*' [-Wold-style-cast] 77870 | tv_dst = (duk_tval *) (void *) (((duk_uint8_t *) thr->valstack_bottom) + off_dst); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77870:83: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 77870 | tv_dst = (duk_tval *) (void *) (((duk_uint8_t *) thr->valstack_bottom) + off_dst); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5260:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5260 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5421:44: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF_ALT0' 5421 | #define DUK_TVAL_SET_NUMBER_UPDREF DUK_TVAL_SET_NUMBER_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77874:2: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF' 77874 | DUK_TVAL_SET_NUMBER_UPDREF(thr, tv_dst, z); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5260:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5260 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5421:44: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF_ALT0' 5421 | #define DUK_TVAL_SET_NUMBER_UPDREF DUK_TVAL_SET_NUMBER_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77874:2: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF' 77874 | DUK_TVAL_SET_NUMBER_UPDREF(thr, tv_dst, z); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__prepost_incdec_var_helper(duk_hthread*, duk_small_uint_t, duk_tval*, duk_small_uint_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77904:9: note: in expansion of macro 'DUK_TVAL_GET_STRING' 77904 | name = DUK_TVAL_GET_STRING(tv_id); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77926:44: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 77926 | duk_js_putvar_activation(thr, act, name, DUK_GET_TVAL_NEGIDX(thr, -1), is_strict); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77932:44: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 77932 | duk_js_putvar_activation(thr, act, name, DUK_GET_TVAL_NEGIDX(thr, -1), is_strict); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77202:16: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 77202 | duk__tvsrc = DUK_GET_TVAL_NEGIDX(duk__thr, -1); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77938:2: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 77938 | DUK__REPLACE_TO_TVPTR(thr, DUK_GET_TVAL_POSIDX(thr, (duk_idx_t) idx_dst)); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6268:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6268 | #define DUK_GET_TVAL_POSIDX(thr, idx) (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77938:29: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 77938 | DUK__REPLACE_TO_TVPTR(thr, DUK_GET_TVAL_POSIDX(thr, (duk_idx_t) idx_dst)); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77938:66: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 77938 | DUK__REPLACE_TO_TVPTR(thr, DUK_GET_TVAL_POSIDX(thr, (duk_idx_t) idx_dst)); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77938:29: note: in expansion of macro 'DUK_GET_TVAL_POSIDX' 77938 | DUK__REPLACE_TO_TVPTR(thr, DUK_GET_TVAL_POSIDX(thr, (duk_idx_t) idx_dst)); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77206:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 77206 | DUK_TVAL_SET_UNDEFINED(duk__tvsrc); /* value stack init policy */ \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77938:2: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 77938 | DUK__REPLACE_TO_TVPTR(thr, DUK_GET_TVAL_POSIDX(thr, (duk_idx_t) idx_dst)); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77938:2: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 77938 | DUK__REPLACE_TO_TVPTR(thr, DUK_GET_TVAL_POSIDX(thr, (duk_idx_t) idx_dst)); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77938:2: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 77938 | DUK__REPLACE_TO_TVPTR(thr, DUK_GET_TVAL_POSIDX(thr, (duk_idx_t) idx_dst)); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__reconfig_valstack_ecma_return(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77982:29: note: in expansion of macro 'DUK_ACT_GET_FUNC' 77982 | h_func = (duk_hcompfunc *) DUK_ACT_GET_FUNC(act); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77984:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 77984 | thr->valstack_bottom = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + act->bottom_byteoff); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77984:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 77984 | thr->valstack_bottom = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + act->bottom_byteoff); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77984:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 77984 | thr->valstack_bottom = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + act->bottom_byteoff); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77987:100: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 77987 | (duk_idx_t) ((act->retval_byteoff - act->bottom_byteoff + sizeof(duk_tval)) / sizeof(duk_tval)); /* +1 = one retval */ | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77991:66: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 77991 | thr->valstack_end = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + act->reserve_byteoff); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77991:97: warning: use of old-style cast to 'void*' [-Wold-style-cast] 77991 | thr->valstack_end = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + act->reserve_byteoff); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77991:97: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 77991 | thr->valstack_end = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + act->reserve_byteoff); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__reconfig_valstack_ecma_catcher(duk_hthread*, duk_activation*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78012:29: note: in expansion of macro 'DUK_ACT_GET_FUNC' 78012 | h_func = (duk_hcompfunc *) DUK_ACT_GET_FUNC(act); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78014:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 78014 | thr->valstack_bottom = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + act->bottom_byteoff); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78014:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 78014 | thr->valstack_bottom = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + act->bottom_byteoff); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78014:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 78014 | thr->valstack_bottom = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + act->bottom_byteoff); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78015:65: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 78015 | idx_bottom = (duk_size_t) (thr->valstack_bottom - thr->valstack); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78017:57: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 78017 | clamp_top = (duk_idx_t) (cat->idx_base - idx_bottom + 2); /* +2 = catcher value, catcher lj_type */ | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78021:66: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 78021 | thr->valstack_end = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + act->reserve_byteoff); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78021:97: warning: use of old-style cast to 'void*' [-Wold-style-cast] 78021 | thr->valstack_end = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + act->reserve_byteoff); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78021:97: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 78021 | thr->valstack_end = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + act->reserve_byteoff); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__set_catcher_regs_norz(duk_hthread*, duk_catcher*, duk_tval*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4932:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4932 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5833:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 5833 | DUK_TVAL_DECREF_NORZ(thr, duk__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78037:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_NORZ' 78037 | DUK_TVAL_SET_TVAL_UPDREF_NORZ(thr, tv1, tv_val_unstable); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4933:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4933 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5833:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 5833 | DUK_TVAL_DECREF_NORZ(thr, duk__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78037:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_NORZ' 78037 | DUK_TVAL_SET_TVAL_UPDREF_NORZ(thr, tv1, tv_val_unstable); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5835:3: note: in expansion of macro 'DUK_TVAL_INCREF' 5835 | DUK_TVAL_INCREF(thr, duk__dst); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78037:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_NORZ' 78037 | DUK_TVAL_SET_TVAL_UPDREF_NORZ(thr, tv1, tv_val_unstable); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5835:3: note: in expansion of macro 'DUK_TVAL_INCREF' 5835 | DUK_TVAL_INCREF(thr, duk__dst); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78037:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_NORZ' 78037 | DUK_TVAL_SET_TVAL_UPDREF_NORZ(thr, tv1, tv_val_unstable); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78042:56: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 78042 | DUK_TVAL_SET_U32_UPDREF_NORZ(thr, tv1, (duk_uint32_t) lj_type); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5842:43: note: in definition of macro 'DUK_TVAL_SET_U32_UPDREF_NORZ' 5842 | duk_uint32_t duk__val = (duk_uint32_t) (val); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5842:46: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 5842 | duk_uint32_t duk__val = (duk_uint32_t) (val); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78042:2: note: in expansion of macro 'DUK_TVAL_SET_U32_UPDREF_NORZ' 78042 | DUK_TVAL_SET_U32_UPDREF_NORZ(thr, tv1, (duk_uint32_t) lj_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4932:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4932 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5844:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 5844 | DUK_TVAL_DECREF_NORZ(thr, duk__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78042:2: note: in expansion of macro 'DUK_TVAL_SET_U32_UPDREF_NORZ' 78042 | DUK_TVAL_SET_U32_UPDREF_NORZ(thr, tv1, (duk_uint32_t) lj_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4933:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4933 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5041:41: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ_FAST' 5041 | #define DUK_TVAL_DECREF_NORZ(thr, tv) DUK_TVAL_DECREF_NORZ_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5844:3: note: in expansion of macro 'DUK_TVAL_DECREF_NORZ' 5844 | DUK_TVAL_DECREF_NORZ(thr, duk__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78042:2: note: in expansion of macro 'DUK_TVAL_SET_U32_UPDREF_NORZ' 78042 | DUK_TVAL_SET_U32_UPDREF_NORZ(thr, tv1, (duk_uint32_t) lj_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1121:92: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 1121 | #define DUK_TVAL_SET_U32(tv, i) DUK_TVAL_SET_DOUBLE((tv), (duk_double_t) (i)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1115:18: note: in definition of macro 'DUK_TVAL_SET_DOUBLE' 1115 | duk__dblval = (d); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5845:3: note: in expansion of macro 'DUK_TVAL_SET_U32' 5845 | DUK_TVAL_SET_U32(duk__dst, duk__val); \ | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78042:2: note: in expansion of macro 'DUK_TVAL_SET_U32_UPDREF_NORZ' 78042 | DUK_TVAL_SET_U32_UPDREF_NORZ(thr, tv1, (duk_uint32_t) lj_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__handle_catch_part2(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78146:65: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 78146 | new_env = duk_hdecenv_alloc(thr, DUK_HOBJECT_FLAG_EXTENSIBLE | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_DECENV)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78148:40: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 78148 | duk_push_hobject(thr, (duk_hobject *) new_env); | ^~~~~~~ | ----------------------- | reinterpret_cast ( new_env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78170:55: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 78170 | DUK_HOBJECT_SET_PROTOTYPE(thr->heap, (duk_hobject *) new_env, act->lex_env); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7191:4: note: in definition of macro 'DUK_HOBJECT_SET_PROTOTYPE' 7191 | (h)->prototype = (x); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78171:33: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 78171 | act->lex_env = (duk_hobject *) new_env; | ^~~~~~~ | ----------------------- | reinterpret_cast ( new_env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78172:42: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 78172 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) new_env); /* reachable through activation */ | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78172:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 78172 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) new_env); /* reachable through activation */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78172:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 78172 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) new_env); /* reachable through activation */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78172:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 78172 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) new_env); /* reachable through activation */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__handle_yield(duk_hthread*, duk_hthread*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78265:56: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 78265 | tv1 = (duk_tval *) (void *) ((duk_uint8_t *) resumer->valstack + | ^~~~~~~~ | --------------- | reinterpret_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78266:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 78265 | tv1 = (duk_tval *) (void *) ((duk_uint8_t *) resumer->valstack + | -------- | static_cast ( 78266 | act_resumer->retval_byteoff); /* return value from Duktape.Thread.resume() */ | ^ | ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78266:58: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 78265 | tv1 = (duk_tval *) (void *) ((duk_uint8_t *) resumer->valstack + | ------------ | static_cast ( 78266 | act_resumer->retval_byteoff); /* return value from Duktape.Thread.resume() */ | ^ | ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78267:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 78267 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv_val_unstable); /* side effects */ /* XXX: avoid side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78267:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 78267 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv_val_unstable); /* side effects */ /* XXX: avoid side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78267:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 78267 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv_val_unstable); /* side effects */ /* XXX: avoid side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78267:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 78267 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv_val_unstable); /* side effects */ /* XXX: avoid side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78267:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 78267 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv_val_unstable); /* side effects */ /* XXX: avoid side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78267:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 78267 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv_val_unstable); /* side effects */ /* XXX: avoid side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_uint_t duk__handle_longjmp(duk_hthread*, duk_activation*, volatile duk_bool_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78333:29: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 78333 | resumee = (duk_hthread *) DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:86: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78333:29: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 78333 | resumee = (duk_hthread *) DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5065:91: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5065 | #define DUK_HTHREAD_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5065:43: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5065 | #define DUK_HTHREAD_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78361:4: note: in expansion of macro 'DUK_HTHREAD_INCREF' 78361 | DUK_HTHREAD_INCREF(thr, thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5065:43: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5065 | #define DUK_HTHREAD_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78361:4: note: in expansion of macro 'DUK_HTHREAD_INCREF' 78361 | DUK_HTHREAD_INCREF(thr, thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78390:57: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 78390 | tv = (duk_tval *) (void *) ((duk_uint8_t *) resumee->valstack + | ^~~~~~~~ | --------------- | reinterpret_cast () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78391:59: warning: use of old-style cast to 'void*' [-Wold-style-cast] 78390 | tv = (duk_tval *) (void *) ((duk_uint8_t *) resumee->valstack + | -------- | static_cast ( 78391 | act_resumee->retval_byteoff); /* return value from Duktape.Thread.yield() */ | ^ | ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78391:59: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 78390 | tv = (duk_tval *) (void *) ((duk_uint8_t *) resumee->valstack + | ------------ | static_cast ( 78391 | act_resumee->retval_byteoff); /* return value from Duktape.Thread.yield() */ | ^ | ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78394:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 78394 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv2); /* side effects */ /* XXX: avoid side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78394:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 78394 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv2); /* side effects */ /* XXX: avoid side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78394:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 78394 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv2); /* side effects */ /* XXX: avoid side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78394:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 78394 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv2); /* side effects */ /* XXX: avoid side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78394:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 78394 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv2); /* side effects */ /* XXX: avoid side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78394:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 78394 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv, tv2); /* side effects */ /* XXX: avoid side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5065:91: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5065 | #define DUK_HTHREAD_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5065:43: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5065 | #define DUK_HTHREAD_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78403:4: note: in expansion of macro 'DUK_HTHREAD_INCREF' 78403 | DUK_HTHREAD_INCREF(thr, thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5065:43: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5065 | #define DUK_HTHREAD_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78403:4: note: in expansion of macro 'DUK_HTHREAD_INCREF' 78403 | DUK_HTHREAD_INCREF(thr, thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10285:61: note: in expansion of macro 'DUK_LINE_MACRO' 10285 | duk_err_error_internal((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78435:5: note: in expansion of macro 'DUK_ERROR_INTERNAL' 78435 | DUK_ERROR_INTERNAL(thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5065:91: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5065 | #define DUK_HTHREAD_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5065:43: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5065 | #define DUK_HTHREAD_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78441:4: note: in expansion of macro 'DUK_HTHREAD_INCREF' 78441 | DUK_HTHREAD_INCREF(thr, thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5065:43: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5065 | #define DUK_HTHREAD_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78441:4: note: in expansion of macro 'DUK_HTHREAD_INCREF' 78441 | DUK_HTHREAD_INCREF(thr, thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5067:43: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5067 | #define DUK_HTHREAD_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78500:4: note: in expansion of macro 'DUK_HTHREAD_DECREF_NORZ' 78500 | DUK_HTHREAD_DECREF_NORZ(thr, resumer); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5067:43: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5067 | #define DUK_HTHREAD_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78500:4: note: in expansion of macro 'DUK_HTHREAD_DECREF_NORZ' 78500 | DUK_HTHREAD_DECREF_NORZ(thr, resumer); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5067:43: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5067 | #define DUK_HTHREAD_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78521:4: note: in expansion of macro 'DUK_HTHREAD_DECREF_NORZ' 78521 | DUK_HTHREAD_DECREF_NORZ(thr, resumer); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5067:43: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5067 | #define DUK_HTHREAD_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78521:4: note: in expansion of macro 'DUK_HTHREAD_DECREF_NORZ' 78521 | DUK_HTHREAD_DECREF_NORZ(thr, resumer); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5067:43: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5067 | #define DUK_HTHREAD_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78641:3: note: in expansion of macro 'DUK_HTHREAD_DECREF_NORZ' 78641 | DUK_HTHREAD_DECREF_NORZ(thr, resumer); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5067:43: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5067 | #define DUK_HTHREAD_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78641:3: note: in expansion of macro 'DUK_HTHREAD_DECREF_NORZ' 78641 | DUK_HTHREAD_DECREF_NORZ(thr, resumer); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5209:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 5209 | DUK_TVAL_SET_UNDEFINED(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78667:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 78667 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, &thr->heap->lj.value1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5210:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5210 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78667:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 78667 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, &thr->heap->lj.value1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5210:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5210 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78667:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 78667 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, &thr->heap->lj.value1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5209:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 5209 | DUK_TVAL_SET_UNDEFINED(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78668:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 78668 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, &thr->heap->lj.value2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5210:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5210 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78668:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 78668 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, &thr->heap->lj.value2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5210:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5210 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78668:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 78668 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, &thr->heap->lj.value2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10285:61: note: in expansion of macro 'DUK_LINE_MACRO' 10285 | duk_err_error_internal((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78680:2: note: in expansion of macro 'DUK_ERROR_INTERNAL' 78680 | DUK_ERROR_INTERNAL(thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__handle_break_or_continue(duk_hthread*, duk_uint_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78724:45: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 78724 | DUK_TVAL_SET_U32(&tv_tmp, (duk_uint32_t) label_id); | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1115:18: note: in definition of macro 'DUK_TVAL_SET_DOUBLE' 1115 | duk__dblval = (d); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78724:4: note: in expansion of macro 'DUK_TVAL_SET_U32' 78724 | DUK_TVAL_SET_U32(&tv_tmp, (duk_uint32_t) label_id); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1121:92: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 1121 | #define DUK_TVAL_SET_U32(tv, i) DUK_TVAL_SET_DOUBLE((tv), (duk_double_t) (i)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1115:18: note: in definition of macro 'DUK_TVAL_SET_DOUBLE' 1115 | duk__dblval = (d); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78724:4: note: in expansion of macro 'DUK_TVAL_SET_U32' 78724 | DUK_TVAL_SET_U32(&tv_tmp, (duk_uint32_t) label_id); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8096:87: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 8096 | #define DUK_CAT_GET_LABEL(c) (((c)->flags & DUK_CAT_LABEL_MASK) >> DUK_CAT_LABEL_SHIFT) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78730:67: note: in expansion of macro 'DUK_CAT_GET_LABEL' 78730 | if (DUK_CAT_GET_TYPE(cat) == DUK_CAT_TYPE_LABEL && (duk_uint_t) DUK_CAT_GET_LABEL(cat) == label_id) { | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10285:61: note: in expansion of macro 'DUK_LINE_MACRO' 10285 | duk_err_error_internal((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78744:2: note: in expansion of macro 'DUK_ERROR_INTERNAL' 78744 | DUK_ERROR_INTERNAL(thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_uint_t duk__handle_return(duk_hthread*, duk_activation*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78847:53: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 78847 | tv1 = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + thr->callstack_curr->parent->retval_byteoff); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78847:107: warning: use of old-style cast to 'void*' [-Wold-style-cast] 78847 | tv1 = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + thr->callstack_curr->parent->retval_byteoff); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78847:107: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 78847 | tv1 = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + thr->callstack_curr->parent->retval_byteoff); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78850:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 78850 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78850:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 78850 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78850:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 78850 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78850:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 78850 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78850:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 78850 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78850:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 78850 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6087:77: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 6087 | #define duk_push_hthread(thr, h) duk_push_hobject((thr), (duk_hobject *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78897:2: note: in expansion of macro 'duk_push_hthread' 78897 | duk_push_hthread(resumer, thr); /* Make 'thr' reachable again, before side effects. */ | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5066:43: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5066 | #define DUK_HTHREAD_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78901:2: note: in expansion of macro 'DUK_HTHREAD_DECREF' 78901 | DUK_HTHREAD_DECREF(thr, resumer); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5066:43: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5066 | #define DUK_HTHREAD_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:78901:2: note: in expansion of macro 'DUK_HTHREAD_DECREF' 78901 | DUK_HTHREAD_DECREF(thr, resumer); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_uint_t duk__executor_interrupt(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79194:26: note: in expansion of macro 'DUK_ACT_GET_FUNC' 79194 | fun = (duk_hcompfunc *) DUK_ACT_GET_FUNC(act); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79217:3: note: in expansion of macro 'DUK_ERROR_RANGE' 79217 | DUK_ERROR_RANGE(thr, "execution timeout"); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__handle_op_initset_initget(duk_hthread*, duk_uint_fast32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3436:47: warning: use of old-style cast to 'duk_uint_fast_t' {aka 'unsigned int'} [-Wold-style-cast] 3436 | #define DUK_DEC_BC(x) (((x) >> 16) & 0xffffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79406:26: note: in expansion of macro 'DUK_DEC_BC' 79406 | idx = (duk_uint_fast_t) DUK_DEC_BC(ins); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79407:35: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 79407 | duk_dup(thr, (duk_idx_t) (idx + 0)); /* key */ | ^ | --------------------- | static_cast ( (idx + 0)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79408:35: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 79408 | duk_dup(thr, (duk_idx_t) (idx + 1)); /* getter/setter */ | ^ | --------------------- | static_cast ( (idx + 1)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3433:44: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 3433 | #define DUK_DEC_A(x) (((x) >> 8) & 0xffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79416:32: note: in expansion of macro 'DUK_DEC_A' 79416 | duk_def_prop(thr, (duk_idx_t) DUK_DEC_A(ins), defprop_flags); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__handle_op_trycatch(duk_hthread*, duk_uint_fast32_t, duk_instr_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79479:27: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 79479 | duk_dup(thr, (duk_idx_t) bc); /* Stabilize value. */ | ^~ | -------------- | static_cast ( bc) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79480:36: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 79480 | duk_to_undefined(thr, (duk_idx_t) bc); | ^~ | -------------- | static_cast ( bc) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79481:43: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 79481 | duk_to_undefined(thr, (duk_idx_t) (bc + 1)); | ^ | -------------------- | static_cast ( (bc + 1)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79494:33: warning: use of old-style cast to 'duk_instr_t*' {aka 'unsigned int*'} [-Wold-style-cast] 79494 | cat->pc_base = (duk_instr_t *) curr_pc; /* pre-incremented, points to first jump slot */ | ^~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79495:68: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 79495 | cat->idx_base = (duk_size_t) (thr->valstack_bottom - thr->valstack) + bc; | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79511:9: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 79511 | tv1 = DUK_GET_TVAL_NEGIDX(thr, -1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79518:20: note: in expansion of macro 'DUK_TVAL_GET_STRING' 79518 | cat->h_varname = DUK_TVAL_GET_STRING(tv1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79546:62: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 79546 | env = duk_hobjenv_alloc(thr, DUK_HOBJECT_FLAG_EXTENSIBLE | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_OBJENV)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79550:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 79550 | DUK_HOBJECT_INCREF(thr, target); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79550:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 79550 | DUK_HOBJECT_INCREF(thr, target); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79558:56: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 79558 | DUK_HOBJECT_SET_PROTOTYPE(thr->heap, (duk_hobject *) env, act->lex_env); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7191:4: note: in definition of macro 'DUK_HOBJECT_SET_PROTOTYPE' 7191 | (h)->prototype = (x); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79559:34: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 79559 | act->lex_env = (duk_hobject *) env; /* Now reachable. */ | ^~~ | ------------------- | reinterpret_cast ( env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79560:43: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 79560 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) env); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79560:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 79560 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79560:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 79560 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79560:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 79560 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_instr_t* duk__handle_op_endtry(duk_hthread*, duk_uint_fast32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5209:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 5209 | DUK_TVAL_SET_UNDEFINED(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79609:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 79609 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5210:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5210 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79609:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 79609 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5210:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5210 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79609:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 79609 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9001:30: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 9001 | #define DUK_LJ_TYPE_NORMAL 7 /* no value, pseudo-type to indicate a normal continuation (for ENDFIN) */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1115:18: note: in definition of macro 'DUK_TVAL_SET_DOUBLE' 1115 | duk__dblval = (d); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5432:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5432 | #define DUK_TVAL_SET_U32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79614:52: note: in expansion of macro 'DUK_LJ_TYPE_NORMAL' 79614 | DUK_TVAL_SET_U32_UPDREF(thr, tv1, (duk_uint32_t) DUK_LJ_TYPE_NORMAL); /* side effects */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:71: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1115:18: note: in definition of macro 'DUK_TVAL_SET_DOUBLE' 1115 | duk__dblval = (d); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5432:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5432 | #define DUK_TVAL_SET_U32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79614:3: note: in expansion of macro 'DUK_TVAL_SET_U32_UPDREF' 79614 | DUK_TVAL_SET_U32_UPDREF(thr, tv1, (duk_uint32_t) DUK_LJ_TYPE_NORMAL); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5278:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5278 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:2: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF' 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5432:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5432 | #define DUK_TVAL_SET_U32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79614:3: note: in expansion of macro 'DUK_TVAL_SET_U32_UPDREF' 79614 | DUK_TVAL_SET_U32_UPDREF(thr, tv1, (duk_uint32_t) DUK_LJ_TYPE_NORMAL); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5278:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5278 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:2: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF' 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5432:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5432 | #define DUK_TVAL_SET_U32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79614:3: note: in expansion of macro 'DUK_TVAL_SET_U32_UPDREF' 79614 | DUK_TVAL_SET_U32_UPDREF(thr, tv1, (duk_uint32_t) DUK_LJ_TYPE_NORMAL); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_instr_t* duk__handle_op_endcatch(duk_hthread*, duk_uint_fast32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79657:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 79657 | DUK_HOBJECT_INCREF(thr, act->lex_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79657:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 79657 | DUK_HOBJECT_INCREF(thr, act->lex_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5050:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5050 | #define DUK_HOBJECT_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79658:3: note: in expansion of macro 'DUK_HOBJECT_DECREF' 79658 | DUK_HOBJECT_DECREF(thr, prev_env); /* side effects */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5050:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5050 | #define DUK_HOBJECT_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79658:3: note: in expansion of macro 'DUK_HOBJECT_DECREF' 79658 | DUK_HOBJECT_DECREF(thr, prev_env); /* side effects */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5209:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 5209 | DUK_TVAL_SET_UNDEFINED(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79671:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 79671 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5210:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5210 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79671:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 79671 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5210:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5210 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79671:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 79671 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:9001:30: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 9001 | #define DUK_LJ_TYPE_NORMAL 7 /* no value, pseudo-type to indicate a normal continuation (for ENDFIN) */ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1115:18: note: in definition of macro 'DUK_TVAL_SET_DOUBLE' 1115 | duk__dblval = (d); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5432:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5432 | #define DUK_TVAL_SET_U32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79676:52: note: in expansion of macro 'DUK_LJ_TYPE_NORMAL' 79676 | DUK_TVAL_SET_U32_UPDREF(thr, tv1, (duk_uint32_t) DUK_LJ_TYPE_NORMAL); /* side effects */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:71: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1115:18: note: in definition of macro 'DUK_TVAL_SET_DOUBLE' 1115 | duk__dblval = (d); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5432:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5432 | #define DUK_TVAL_SET_U32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79676:3: note: in expansion of macro 'DUK_TVAL_SET_U32_UPDREF' 79676 | DUK_TVAL_SET_U32_UPDREF(thr, tv1, (duk_uint32_t) DUK_LJ_TYPE_NORMAL); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5278:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5278 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:2: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF' 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5432:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5432 | #define DUK_TVAL_SET_U32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79676:3: note: in expansion of macro 'DUK_TVAL_SET_U32_UPDREF' 79676 | DUK_TVAL_SET_U32_UPDREF(thr, tv1, (duk_uint32_t) DUK_LJ_TYPE_NORMAL); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5278:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5278 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:2: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF' 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5432:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5432 | #define DUK_TVAL_SET_U32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79676:3: note: in expansion of macro 'DUK_TVAL_SET_U32_UPDREF' 79676 | DUK_TVAL_SET_U32_UPDREF(thr, tv1, (duk_uint32_t) DUK_LJ_TYPE_NORMAL); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_uint_t duk__handle_op_endfin(duk_hthread*, duk_uint_fast32_t, duk_activation*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1155:41: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1155 | #define DUK_TVAL_GET_NUMBER(tv) ((tv)->d) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79721:33: note: in expansion of macro 'DUK_TVAL_GET_NUMBER' 79721 | cont_type = (duk_small_uint_t) DUK_TVAL_GET_NUMBER(tv1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1155:41: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1155 | #define DUK_TVAL_GET_NUMBER(tv) ((tv)->d) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79771:33: note: in expansion of macro 'DUK_TVAL_GET_NUMBER' 79771 | label_id = (duk_small_uint_t) DUK_TVAL_GET_NUMBER(tv1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79782:50: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 79782 | duk_err_setup_ljstate1(thr, (duk_small_uint_t) cont_type, tv1); | ^~~~~~~~~ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__handle_op_initenum(duk_hthread*, duk_uint_fast32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79812:48: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 79812 | if (duk_is_null_or_undefined(thr, (duk_idx_t) c)) { | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:822:30: note: in definition of macro 'duk_is_null_or_undefined' 822 | ((duk_get_type_mask((ctx), (idx)) & (DUK_TYPE_MASK_NULL | DUK_TYPE_MASK_UNDEFINED)) ? 1 : 0) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79814:32: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 79814 | duk_replace(thr, (duk_idx_t) b); | ^ | ------------- | static_cast ( b) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79816:28: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 79816 | duk_dup(thr, (duk_idx_t) c); | ^ | ------------- | static_cast ( c) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79819:32: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 79819 | duk_replace(thr, (duk_idx_t) b); | ^ | ------------- | static_cast ( b) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_uint_t duk__handle_op_nextenum(duk_hthread*, duk_uint_fast32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79845:37: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 79845 | if (duk_is_object(thr, (duk_idx_t) c)) { | ^ | ------------- | static_cast ( c) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79847:28: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 79847 | duk_dup(thr, (duk_idx_t) c); | ^ | ------------- | static_cast ( c) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79858:32: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 79858 | duk_replace(thr, (duk_idx_t) b); | ^ | ------------- | static_cast ( b) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__executor_handle_call(duk_hthread*, duk_idx_t, duk_idx_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79875:54: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 79875 | duk_set_top_unsafe(thr, (duk_idx_t) (idx + nargs + 2)); /* [ ... func this arg1 ... argN ] */ | ^ | ----------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79881:68: warning: use of old-style cast to 'duk_bool_t' {aka 'unsigned int'} [-Wold-style-cast] 79881 | rc = (duk_bool_t) duk_handle_call_unprotected(thr, idx, call_flags); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__handle_executor_error(duk_heap*, duk_activation*, duk_int_t, duk_jmpbuf*, volatile duk_bool_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80073:39: warning: use of old-style cast to 'struct duk_jmpbuf*' [-Wold-style-cast] 80073 | heap->lj.jmpbuf_ptr = (duk_jmpbuf *) entry_jmpbuf_ptr; | ^~~~~~~~~~~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_js_execute_bytecode(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10113:37: note: in expansion of macro 'DUK_LINE_MACRO' 10113 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80202:5: note: in expansion of macro 'DUK_ERROR_FMT1' 80202 | DUK_ERROR_FMT1(heap->curr_thread, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10118:43: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10118 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80202:5: note: in expansion of macro 'DUK_ERROR_FMT1' 80202 | DUK_ERROR_FMT1(heap->curr_thread, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10118:76: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10118 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80202:5: note: in expansion of macro 'DUK_ERROR_FMT1' 80202 | DUK_ERROR_FMT1(heap->curr_thread, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80207:36: warning: declaration of 'exc' shadows a previous local [-Wshadow] 80207 | } catch (duk_internal_exception exc) { | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80193:28: note: shadowed declaration is here 80193 | } catch (std::exception &exc) { | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80221:5: note: in expansion of macro 'DUK_ERROR_TYPE' 80221 | DUK_ERROR_TYPE(heap->curr_thread, "caught invalid c++ exception (perhaps thrown by user code)"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80221:5: note: in expansion of macro 'DUK_ERROR_TYPE' 80221 | DUK_ERROR_TYPE(heap->curr_thread, "caught invalid c++ exception (perhaps thrown by user code)"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80221:5: note: in expansion of macro 'DUK_ERROR_TYPE' 80221 | DUK_ERROR_TYPE(heap->curr_thread, "caught invalid c++ exception (perhaps thrown by user code)"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__js_execute_bytecode_inner(duk_hthread*, duk_activation*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80351:27: note: in expansion of macro 'DUK_ACT_GET_FUNC' 80351 | fun = (duk_hcompfunc *) DUK_ACT_GET_FUNC(act); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:87: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80354:12: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 80354 | consts = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, fun); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:87: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80354:12: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 80354 | consts = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, fun); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80354:12: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 80354 | consts = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, fun); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80354:12: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 80354 | consts = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, fun); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80354:12: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 80354 | consts = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, fun); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:108: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80354:12: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 80354 | consts = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, fun); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:108: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80354:12: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 80354 | consts = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, fun); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80417:36: warning: use of old-style cast to 'duk_instr_t*' {aka 'unsigned int*'} [-Wold-style-cast] 80417 | act->curr_pc = (duk_instr_t *) curr_pc; | ^~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3432:36: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 3432 | #define DUK_DEC_OP(x) ((x) &0xffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80498:22: note: in expansion of macro 'DUK_DEC_OP' 80498 | op = (duk_uint8_t) DUK_DEC_OP(ins); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80550:10: note: in expansion of macro 'DUK__REGP_A' 80550 | tv1 = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80550:10: note: in expansion of macro 'DUK__REGP_A' 80550 | tv1 = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80550:10: note: in expansion of macro 'DUK__REGP_A' 80550 | tv1 = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80551:10: note: in expansion of macro 'DUK__REGP_BC' 80551 | tv2 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80551:10: note: in expansion of macro 'DUK__REGP_BC' 80551 | tv2 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80551:10: note: in expansion of macro 'DUK__REGP_BC' 80551 | tv2 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80552:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80552 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80552:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80552 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80552:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80552 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80552:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80552 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80552:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80552 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80552:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80552 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80559:10: note: in expansion of macro 'DUK__REGP_A' 80559 | tv1 = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80559:10: note: in expansion of macro 'DUK__REGP_A' 80559 | tv1 = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80559:10: note: in expansion of macro 'DUK__REGP_A' 80559 | tv1 = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80560:10: note: in expansion of macro 'DUK__REGP_BC' 80560 | tv2 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80560:10: note: in expansion of macro 'DUK__REGP_BC' 80560 | tv2 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80560:10: note: in expansion of macro 'DUK__REGP_BC' 80560 | tv2 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80561:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80561 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv2, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80561:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80561 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv2, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80561:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80561 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv2, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80561:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80561 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv2, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80561:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80561 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv2, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80561:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80561 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv2, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80568:10: note: in expansion of macro 'DUK__REGP_A' 80568 | tv1 = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80568:10: note: in expansion of macro 'DUK__REGP_A' 80568 | tv1 = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80568:10: note: in expansion of macro 'DUK__REGP_A' 80568 | tv1 = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80569:10: note: in expansion of macro 'DUK__CONSTP_BC' 80569 | tv2 = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80569:10: note: in expansion of macro 'DUK__CONSTP_BC' 80569 | tv2 = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80569:10: note: in expansion of macro 'DUK__CONSTP_BC' 80569 | tv2 = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80570:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80570 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80570:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80570 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80570:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80570 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80570:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80570 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80570:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80570 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80570:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80570 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3436:47: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 3436 | #define DUK_DEC_BC(x) (((x) >> 16) & 0xffffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80599:24: note: in expansion of macro 'DUK_DEC_BC' 80599 | val = (duk_int32_t) DUK_DEC_BC(ins) - (duk_int32_t) DUK_BC_LDINT_BIAS; | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3794:38: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 3794 | #define DUK_BC_LDINT_BIAS (1L << 15) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80599:56: note: in expansion of macro 'DUK_BC_LDINT_BIAS' 80599 | val = (duk_int32_t) DUK_DEC_BC(ins) - (duk_int32_t) DUK_BC_LDINT_BIAS; | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80600:10: note: in expansion of macro 'DUK__REGP_A' 80600 | tv1 = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80600:10: note: in expansion of macro 'DUK__REGP_A' 80600 | tv1 = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80600:10: note: in expansion of macro 'DUK__REGP_A' 80600 | tv1 = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:71: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1115:18: note: in definition of macro 'DUK_TVAL_SET_DOUBLE' 1115 | duk__dblval = (d); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5431:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5431 | #define DUK_TVAL_SET_I32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80601:4: note: in expansion of macro 'DUK_TVAL_SET_I32_UPDREF' 80601 | DUK_TVAL_SET_I32_UPDREF(thr, tv1, val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5278:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5278 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:2: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF' 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5431:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5431 | #define DUK_TVAL_SET_I32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80601:4: note: in expansion of macro 'DUK_TVAL_SET_I32_UPDREF' 80601 | DUK_TVAL_SET_I32_UPDREF(thr, tv1, val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5278:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5278 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:2: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF' 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5431:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5431 | #define DUK_TVAL_SET_I32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80601:4: note: in expansion of macro 'DUK_TVAL_SET_I32_UPDREF' 80601 | DUK_TVAL_SET_I32_UPDREF(thr, tv1, val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80608:10: note: in expansion of macro 'DUK__REGP_A' 80608 | tv1 = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80608:10: note: in expansion of macro 'DUK__REGP_A' 80608 | tv1 = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80608:10: note: in expansion of macro 'DUK__REGP_A' 80608 | tv1 = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1155:41: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 1155 | #define DUK_TVAL_GET_NUMBER(tv) ((tv)->d) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80615:24: note: in expansion of macro 'DUK_TVAL_GET_NUMBER' 80615 | val = (duk_int32_t) DUK_TVAL_GET_NUMBER(tv1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80618:38: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 80618 | (duk_int32_t) ((duk_uint32_t) val << DUK_BC_LDINTX_SHIFT) + (duk_int32_t) DUK_DEC_BC(ins); /* no bias */ | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80618:64: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 80618 | (duk_int32_t) ((duk_uint32_t) val << DUK_BC_LDINTX_SHIFT) + (duk_int32_t) DUK_DEC_BC(ins); /* no bias */ | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3436:47: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 3436 | #define DUK_DEC_BC(x) (((x) >> 16) & 0xffffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80618:82: note: in expansion of macro 'DUK_DEC_BC' 80618 | (duk_int32_t) ((duk_uint32_t) val << DUK_BC_LDINTX_SHIFT) + (duk_int32_t) DUK_DEC_BC(ins); /* no bias */ | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:71: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1115:18: note: in definition of macro 'DUK_TVAL_SET_DOUBLE' 1115 | duk__dblval = (d); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5431:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5431 | #define DUK_TVAL_SET_I32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80619:4: note: in expansion of macro 'DUK_TVAL_SET_I32_UPDREF' 80619 | DUK_TVAL_SET_I32_UPDREF(thr, tv1, val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5278:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5278 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:2: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF' 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5431:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5431 | #define DUK_TVAL_SET_I32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80619:4: note: in expansion of macro 'DUK_TVAL_SET_I32_UPDREF' 80619 | DUK_TVAL_SET_I32_UPDREF(thr, tv1, val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5278:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5278 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:2: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF' 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5431:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5431 | #define DUK_TVAL_SET_I32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80619:4: note: in expansion of macro 'DUK_TVAL_SET_I32_UPDREF' 80619 | DUK_TVAL_SET_I32_UPDREF(thr, tv1, val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80650:10: note: in expansion of macro 'DUK__REGP_BC' 80650 | tv1 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80650:10: note: in expansion of macro 'DUK__REGP_BC' 80650 | tv1 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80650:10: note: in expansion of macro 'DUK__REGP_BC' 80650 | tv1 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80653:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80653 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80653:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80653 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80653:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80653 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80653:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80653 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80653:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80653 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5444:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5444 | #define DUK_TVAL_SET_TVAL_UPDREF_FAST DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80653:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_FAST' 80653 | DUK_TVAL_SET_TVAL_UPDREF_FAST(thr, tv1, tv2); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80659:10: note: in expansion of macro 'DUK__REGP_BC' 80659 | tv1 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80659:10: note: in expansion of macro 'DUK__REGP_BC' 80659 | tv1 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80659:10: note: in expansion of macro 'DUK__REGP_BC' 80659 | tv1 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5209:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 5209 | DUK_TVAL_SET_UNDEFINED(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80660:4: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 80660 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5210:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5210 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80660:4: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 80660 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5210:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5210 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80660:4: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 80660 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80666:10: note: in expansion of macro 'DUK__REGP_BC' 80666 | tv1 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80666:10: note: in expansion of macro 'DUK__REGP_BC' 80666 | tv1 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80666:10: note: in expansion of macro 'DUK__REGP_BC' 80666 | tv1 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:940:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 940 | #define DUK_TAG_NULL 0xfff4UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1068:46: note: in expansion of macro 'DUK_TAG_NULL' 1068 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_NULL; \ | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5239:3: note: in expansion of macro 'DUK_TVAL_SET_NULL' 5239 | DUK_TVAL_SET_NULL(tv__dst); \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5419:44: note: in expansion of macro 'DUK_TVAL_SET_NULL_UPDREF_ALT0' 5419 | #define DUK_TVAL_SET_NULL_UPDREF DUK_TVAL_SET_NULL_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80667:4: note: in expansion of macro 'DUK_TVAL_SET_NULL_UPDREF' 80667 | DUK_TVAL_SET_NULL_UPDREF(thr, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5240:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5240 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5419:44: note: in expansion of macro 'DUK_TVAL_SET_NULL_UPDREF_ALT0' 5419 | #define DUK_TVAL_SET_NULL_UPDREF DUK_TVAL_SET_NULL_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80667:4: note: in expansion of macro 'DUK_TVAL_SET_NULL_UPDREF' 80667 | DUK_TVAL_SET_NULL_UPDREF(thr, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5240:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5240 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5419:44: note: in expansion of macro 'DUK_TVAL_SET_NULL_UPDREF_ALT0' 5419 | #define DUK_TVAL_SET_NULL_UPDREF DUK_TVAL_SET_NULL_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80667:4: note: in expansion of macro 'DUK_TVAL_SET_NULL_UPDREF' 80667 | DUK_TVAL_SET_NULL_UPDREF(thr, tv1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80673:10: note: in expansion of macro 'DUK__REGP_BC' 80673 | tv1 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80673:10: note: in expansion of macro 'DUK__REGP_BC' 80673 | tv1 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80673:10: note: in expansion of macro 'DUK__REGP_BC' 80673 | tv1 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80674:4: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80674 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, tv1, 1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80674:4: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80674 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, tv1, 1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80674:4: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80674 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, tv1, 1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80674:4: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80674 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, tv1, 1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80674:4: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80674 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, tv1, 1); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80680:10: note: in expansion of macro 'DUK__REGP_BC' 80680 | tv1 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80680:10: note: in expansion of macro 'DUK__REGP_BC' 80680 | tv1 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80680:10: note: in expansion of macro 'DUK__REGP_BC' 80680 | tv1 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80681:4: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80681 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, tv1, 0); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80681:4: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80681 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, tv1, 0); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80681:4: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80681 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, tv1, 0); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80681:4: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80681 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, tv1, 0); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80681:4: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80681 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, tv1, 0); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80728:9: note: in expansion of macro 'DUK__REGP_BC' 80728 | tv = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80728:9: note: in expansion of macro 'DUK__REGP_BC' 80728 | tv = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80728:9: note: in expansion of macro 'DUK__REGP_BC' 80728 | tv = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80732:9: note: in expansion of macro 'DUK__REGP_A' 80732 | tv = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80732:9: note: in expansion of macro 'DUK__REGP_A' 80732 | tv = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80732:9: note: in expansion of macro 'DUK__REGP_A' 80732 | tv = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5338:3: note: in expansion of macro 'DUK_TVAL_SET_STRING' 5338 | DUK_TVAL_SET_STRING(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5436:39: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF_ALT0' 5436 | #define DUK_TVAL_SET_STRING_UPDREF DUK_TVAL_SET_STRING_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80733:4: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF' 80733 | DUK_TVAL_SET_STRING_UPDREF(thr, tv, h_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5338:3: note: in expansion of macro 'DUK_TVAL_SET_STRING' 5338 | DUK_TVAL_SET_STRING(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5436:39: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF_ALT0' 5436 | #define DUK_TVAL_SET_STRING_UPDREF DUK_TVAL_SET_STRING_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80733:4: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF' 80733 | DUK_TVAL_SET_STRING_UPDREF(thr, tv, h_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5338:3: note: in expansion of macro 'DUK_TVAL_SET_STRING' 5338 | DUK_TVAL_SET_STRING(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5436:39: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF_ALT0' 5436 | #define DUK_TVAL_SET_STRING_UPDREF DUK_TVAL_SET_STRING_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80733:4: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF' 80733 | DUK_TVAL_SET_STRING_UPDREF(thr, tv, h_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5339:3: note: in expansion of macro 'DUK_HSTRING_INCREF' 5339 | DUK_HSTRING_INCREF((thr), (newval)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5436:39: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF_ALT0' 5436 | #define DUK_TVAL_SET_STRING_UPDREF DUK_TVAL_SET_STRING_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80733:4: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF' 80733 | DUK_TVAL_SET_STRING_UPDREF(thr, tv, h_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5339:3: note: in expansion of macro 'DUK_HSTRING_INCREF' 5339 | DUK_HSTRING_INCREF((thr), (newval)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5436:39: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF_ALT0' 5436 | #define DUK_TVAL_SET_STRING_UPDREF DUK_TVAL_SET_STRING_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80733:4: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF' 80733 | DUK_TVAL_SET_STRING_UPDREF(thr, tv, h_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5340:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5340 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5436:39: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF_ALT0' 5436 | #define DUK_TVAL_SET_STRING_UPDREF DUK_TVAL_SET_STRING_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80733:4: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF' 80733 | DUK_TVAL_SET_STRING_UPDREF(thr, tv, h_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5340:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5340 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5436:39: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF_ALT0' 5436 | #define DUK_TVAL_SET_STRING_UPDREF DUK_TVAL_SET_STRING_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80733:4: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF' 80733 | DUK_TVAL_SET_STRING_UPDREF(thr, tv, h_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80751:9: note: in expansion of macro 'DUK__CONSTP_BC' 80751 | tv = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80751:9: note: in expansion of macro 'DUK__CONSTP_BC' 80751 | tv = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80751:9: note: in expansion of macro 'DUK__CONSTP_BC' 80751 | tv = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80753:11: note: in expansion of macro 'DUK_TVAL_GET_STRING' 80753 | name = DUK_TVAL_GET_STRING(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80758:10: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 80758 | tv = DUK_GET_TVAL_NEGIDX(thr, -2); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80772:9: note: in expansion of macro 'DUK__REGP_A' 80772 | tv = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80772:9: note: in expansion of macro 'DUK__REGP_A' 80772 | tv = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80772:9: note: in expansion of macro 'DUK__REGP_A' 80772 | tv = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5338:3: note: in expansion of macro 'DUK_TVAL_SET_STRING' 5338 | DUK_TVAL_SET_STRING(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5436:39: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF_ALT0' 5436 | #define DUK_TVAL_SET_STRING_UPDREF DUK_TVAL_SET_STRING_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80773:4: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF' 80773 | DUK_TVAL_SET_STRING_UPDREF(thr, tv, h_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5338:3: note: in expansion of macro 'DUK_TVAL_SET_STRING' 5338 | DUK_TVAL_SET_STRING(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5436:39: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF_ALT0' 5436 | #define DUK_TVAL_SET_STRING_UPDREF DUK_TVAL_SET_STRING_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80773:4: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF' 80773 | DUK_TVAL_SET_STRING_UPDREF(thr, tv, h_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5338:3: note: in expansion of macro 'DUK_TVAL_SET_STRING' 5338 | DUK_TVAL_SET_STRING(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5436:39: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF_ALT0' 5436 | #define DUK_TVAL_SET_STRING_UPDREF DUK_TVAL_SET_STRING_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80773:4: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF' 80773 | DUK_TVAL_SET_STRING_UPDREF(thr, tv, h_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5339:3: note: in expansion of macro 'DUK_HSTRING_INCREF' 5339 | DUK_HSTRING_INCREF((thr), (newval)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5436:39: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF_ALT0' 5436 | #define DUK_TVAL_SET_STRING_UPDREF DUK_TVAL_SET_STRING_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80773:4: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF' 80773 | DUK_TVAL_SET_STRING_UPDREF(thr, tv, h_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5045:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5045 | #define DUK_HSTRING_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5339:3: note: in expansion of macro 'DUK_HSTRING_INCREF' 5339 | DUK_HSTRING_INCREF((thr), (newval)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5436:39: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF_ALT0' 5436 | #define DUK_TVAL_SET_STRING_UPDREF DUK_TVAL_SET_STRING_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80773:4: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF' 80773 | DUK_TVAL_SET_STRING_UPDREF(thr, tv, h_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5340:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5340 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5436:39: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF_ALT0' 5436 | #define DUK_TVAL_SET_STRING_UPDREF DUK_TVAL_SET_STRING_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80773:4: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF' 80773 | DUK_TVAL_SET_STRING_UPDREF(thr, tv, h_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5340:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5340 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5436:39: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF_ALT0' 5436 | #define DUK_TVAL_SET_STRING_UPDREF DUK_TVAL_SET_STRING_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80773:4: note: in expansion of macro 'DUK_TVAL_SET_STRING_UPDREF' 80773 | DUK_TVAL_SET_STRING_UPDREF(thr, tv, h_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80833:4: note: in expansion of macro 'DUK__EQ_BODY' 80833 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80833:17: note: in expansion of macro 'DUK__REGP_B' 80833 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80833:4: note: in expansion of macro 'DUK__EQ_BODY' 80833 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80833:17: note: in expansion of macro 'DUK__REGP_B' 80833 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80833:4: note: in expansion of macro 'DUK__EQ_BODY' 80833 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80833:17: note: in expansion of macro 'DUK__REGP_B' 80833 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80833:4: note: in expansion of macro 'DUK__EQ_BODY' 80833 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80833:35: note: in expansion of macro 'DUK__REGP_C' 80833 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80833:4: note: in expansion of macro 'DUK__EQ_BODY' 80833 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80833:35: note: in expansion of macro 'DUK__REGP_C' 80833 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80833:4: note: in expansion of macro 'DUK__EQ_BODY' 80833 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80833:35: note: in expansion of macro 'DUK__REGP_C' 80833 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80833:4: note: in expansion of macro 'DUK__EQ_BODY' 80833 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80833:4: note: in expansion of macro 'DUK__EQ_BODY' 80833 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80833:4: note: in expansion of macro 'DUK__EQ_BODY' 80833 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80833:4: note: in expansion of macro 'DUK__EQ_BODY' 80833 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80833:4: note: in expansion of macro 'DUK__EQ_BODY' 80833 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80833:4: note: in expansion of macro 'DUK__EQ_BODY' 80833 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80833:4: note: in expansion of macro 'DUK__EQ_BODY' 80833 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80833:4: note: in expansion of macro 'DUK__EQ_BODY' 80833 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80835:4: note: in expansion of macro 'DUK__EQ_BODY' 80835 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80835:17: note: in expansion of macro 'DUK__CONSTP_B' 80835 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80835:4: note: in expansion of macro 'DUK__EQ_BODY' 80835 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80835:17: note: in expansion of macro 'DUK__CONSTP_B' 80835 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80835:4: note: in expansion of macro 'DUK__EQ_BODY' 80835 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80835:17: note: in expansion of macro 'DUK__CONSTP_B' 80835 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80835:4: note: in expansion of macro 'DUK__EQ_BODY' 80835 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80835:37: note: in expansion of macro 'DUK__REGP_C' 80835 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80835:4: note: in expansion of macro 'DUK__EQ_BODY' 80835 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80835:37: note: in expansion of macro 'DUK__REGP_C' 80835 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80835:4: note: in expansion of macro 'DUK__EQ_BODY' 80835 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80835:37: note: in expansion of macro 'DUK__REGP_C' 80835 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80835:4: note: in expansion of macro 'DUK__EQ_BODY' 80835 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80835:4: note: in expansion of macro 'DUK__EQ_BODY' 80835 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80835:4: note: in expansion of macro 'DUK__EQ_BODY' 80835 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80835:4: note: in expansion of macro 'DUK__EQ_BODY' 80835 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80835:4: note: in expansion of macro 'DUK__EQ_BODY' 80835 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80835:4: note: in expansion of macro 'DUK__EQ_BODY' 80835 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80835:4: note: in expansion of macro 'DUK__EQ_BODY' 80835 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80835:4: note: in expansion of macro 'DUK__EQ_BODY' 80835 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80837:4: note: in expansion of macro 'DUK__EQ_BODY' 80837 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80837:17: note: in expansion of macro 'DUK__REGP_B' 80837 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80837:4: note: in expansion of macro 'DUK__EQ_BODY' 80837 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80837:17: note: in expansion of macro 'DUK__REGP_B' 80837 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80837:4: note: in expansion of macro 'DUK__EQ_BODY' 80837 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80837:17: note: in expansion of macro 'DUK__REGP_B' 80837 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80837:4: note: in expansion of macro 'DUK__EQ_BODY' 80837 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80837:35: note: in expansion of macro 'DUK__CONSTP_C' 80837 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80837:4: note: in expansion of macro 'DUK__EQ_BODY' 80837 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80837:35: note: in expansion of macro 'DUK__CONSTP_C' 80837 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80837:4: note: in expansion of macro 'DUK__EQ_BODY' 80837 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80837:35: note: in expansion of macro 'DUK__CONSTP_C' 80837 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80837:4: note: in expansion of macro 'DUK__EQ_BODY' 80837 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80837:4: note: in expansion of macro 'DUK__EQ_BODY' 80837 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80837:4: note: in expansion of macro 'DUK__EQ_BODY' 80837 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80837:4: note: in expansion of macro 'DUK__EQ_BODY' 80837 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80837:4: note: in expansion of macro 'DUK__EQ_BODY' 80837 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80837:4: note: in expansion of macro 'DUK__EQ_BODY' 80837 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80837:4: note: in expansion of macro 'DUK__EQ_BODY' 80837 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80837:4: note: in expansion of macro 'DUK__EQ_BODY' 80837 | DUK__EQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80839:4: note: in expansion of macro 'DUK__EQ_BODY' 80839 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80839:17: note: in expansion of macro 'DUK__CONSTP_B' 80839 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80839:4: note: in expansion of macro 'DUK__EQ_BODY' 80839 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80839:17: note: in expansion of macro 'DUK__CONSTP_B' 80839 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80839:4: note: in expansion of macro 'DUK__EQ_BODY' 80839 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80839:17: note: in expansion of macro 'DUK__CONSTP_B' 80839 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80839:4: note: in expansion of macro 'DUK__EQ_BODY' 80839 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80839:37: note: in expansion of macro 'DUK__CONSTP_C' 80839 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80839:4: note: in expansion of macro 'DUK__EQ_BODY' 80839 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80839:37: note: in expansion of macro 'DUK__CONSTP_C' 80839 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80839:4: note: in expansion of macro 'DUK__EQ_BODY' 80839 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80839:37: note: in expansion of macro 'DUK__CONSTP_C' 80839 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80839:4: note: in expansion of macro 'DUK__EQ_BODY' 80839 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80839:4: note: in expansion of macro 'DUK__EQ_BODY' 80839 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80839:4: note: in expansion of macro 'DUK__EQ_BODY' 80839 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80839:4: note: in expansion of macro 'DUK__EQ_BODY' 80839 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80839:4: note: in expansion of macro 'DUK__EQ_BODY' 80839 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80839:4: note: in expansion of macro 'DUK__EQ_BODY' 80839 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80839:4: note: in expansion of macro 'DUK__EQ_BODY' 80839 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80785:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80785 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80839:4: note: in expansion of macro 'DUK__EQ_BODY' 80839 | DUK__EQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80841:4: note: in expansion of macro 'DUK__NEQ_BODY' 80841 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80841:18: note: in expansion of macro 'DUK__REGP_B' 80841 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80841:4: note: in expansion of macro 'DUK__NEQ_BODY' 80841 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80841:18: note: in expansion of macro 'DUK__REGP_B' 80841 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80841:4: note: in expansion of macro 'DUK__NEQ_BODY' 80841 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80841:18: note: in expansion of macro 'DUK__REGP_B' 80841 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80841:4: note: in expansion of macro 'DUK__NEQ_BODY' 80841 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80841:36: note: in expansion of macro 'DUK__REGP_C' 80841 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80841:4: note: in expansion of macro 'DUK__NEQ_BODY' 80841 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80841:36: note: in expansion of macro 'DUK__REGP_C' 80841 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80841:4: note: in expansion of macro 'DUK__NEQ_BODY' 80841 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80841:36: note: in expansion of macro 'DUK__REGP_C' 80841 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80841:4: note: in expansion of macro 'DUK__NEQ_BODY' 80841 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80841:4: note: in expansion of macro 'DUK__NEQ_BODY' 80841 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80841:4: note: in expansion of macro 'DUK__NEQ_BODY' 80841 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80841:4: note: in expansion of macro 'DUK__NEQ_BODY' 80841 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80841:4: note: in expansion of macro 'DUK__NEQ_BODY' 80841 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80841:4: note: in expansion of macro 'DUK__NEQ_BODY' 80841 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80841:4: note: in expansion of macro 'DUK__NEQ_BODY' 80841 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80841:4: note: in expansion of macro 'DUK__NEQ_BODY' 80841 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80843:4: note: in expansion of macro 'DUK__NEQ_BODY' 80843 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80843:18: note: in expansion of macro 'DUK__CONSTP_B' 80843 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80843:4: note: in expansion of macro 'DUK__NEQ_BODY' 80843 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80843:18: note: in expansion of macro 'DUK__CONSTP_B' 80843 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80843:4: note: in expansion of macro 'DUK__NEQ_BODY' 80843 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80843:18: note: in expansion of macro 'DUK__CONSTP_B' 80843 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80843:4: note: in expansion of macro 'DUK__NEQ_BODY' 80843 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80843:38: note: in expansion of macro 'DUK__REGP_C' 80843 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80843:4: note: in expansion of macro 'DUK__NEQ_BODY' 80843 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80843:38: note: in expansion of macro 'DUK__REGP_C' 80843 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80843:4: note: in expansion of macro 'DUK__NEQ_BODY' 80843 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80843:38: note: in expansion of macro 'DUK__REGP_C' 80843 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80843:4: note: in expansion of macro 'DUK__NEQ_BODY' 80843 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80843:4: note: in expansion of macro 'DUK__NEQ_BODY' 80843 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80843:4: note: in expansion of macro 'DUK__NEQ_BODY' 80843 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80843:4: note: in expansion of macro 'DUK__NEQ_BODY' 80843 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80843:4: note: in expansion of macro 'DUK__NEQ_BODY' 80843 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80843:4: note: in expansion of macro 'DUK__NEQ_BODY' 80843 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80843:4: note: in expansion of macro 'DUK__NEQ_BODY' 80843 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80843:4: note: in expansion of macro 'DUK__NEQ_BODY' 80843 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80845:4: note: in expansion of macro 'DUK__NEQ_BODY' 80845 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80845:18: note: in expansion of macro 'DUK__REGP_B' 80845 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80845:4: note: in expansion of macro 'DUK__NEQ_BODY' 80845 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80845:18: note: in expansion of macro 'DUK__REGP_B' 80845 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80845:4: note: in expansion of macro 'DUK__NEQ_BODY' 80845 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80845:18: note: in expansion of macro 'DUK__REGP_B' 80845 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80845:4: note: in expansion of macro 'DUK__NEQ_BODY' 80845 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80845:36: note: in expansion of macro 'DUK__CONSTP_C' 80845 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80845:4: note: in expansion of macro 'DUK__NEQ_BODY' 80845 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80845:36: note: in expansion of macro 'DUK__CONSTP_C' 80845 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80845:4: note: in expansion of macro 'DUK__NEQ_BODY' 80845 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80845:36: note: in expansion of macro 'DUK__CONSTP_C' 80845 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80845:4: note: in expansion of macro 'DUK__NEQ_BODY' 80845 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80845:4: note: in expansion of macro 'DUK__NEQ_BODY' 80845 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80845:4: note: in expansion of macro 'DUK__NEQ_BODY' 80845 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80845:4: note: in expansion of macro 'DUK__NEQ_BODY' 80845 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80845:4: note: in expansion of macro 'DUK__NEQ_BODY' 80845 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80845:4: note: in expansion of macro 'DUK__NEQ_BODY' 80845 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80845:4: note: in expansion of macro 'DUK__NEQ_BODY' 80845 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80845:4: note: in expansion of macro 'DUK__NEQ_BODY' 80845 | DUK__NEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80847:4: note: in expansion of macro 'DUK__NEQ_BODY' 80847 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80847:18: note: in expansion of macro 'DUK__CONSTP_B' 80847 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80847:4: note: in expansion of macro 'DUK__NEQ_BODY' 80847 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80847:18: note: in expansion of macro 'DUK__CONSTP_B' 80847 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:71: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80847:4: note: in expansion of macro 'DUK__NEQ_BODY' 80847 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80847:18: note: in expansion of macro 'DUK__CONSTP_B' 80847 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80847:4: note: in expansion of macro 'DUK__NEQ_BODY' 80847 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80847:38: note: in expansion of macro 'DUK__CONSTP_C' 80847 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80847:4: note: in expansion of macro 'DUK__NEQ_BODY' 80847 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80847:38: note: in expansion of macro 'DUK__CONSTP_C' 80847 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11158:79: note: in definition of macro 'duk_js_equals' 11158 | #define duk_js_equals(thr, tv_x, tv_y) duk_js_equals_helper((thr), (tv_x), (tv_y), 0) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80847:4: note: in expansion of macro 'DUK__NEQ_BODY' 80847 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80847:38: note: in expansion of macro 'DUK__CONSTP_C' 80847 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80847:4: note: in expansion of macro 'DUK__NEQ_BODY' 80847 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80847:4: note: in expansion of macro 'DUK__NEQ_BODY' 80847 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80847:4: note: in expansion of macro 'DUK__NEQ_BODY' 80847 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80847:4: note: in expansion of macro 'DUK__NEQ_BODY' 80847 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80847:4: note: in expansion of macro 'DUK__NEQ_BODY' 80847 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80847:4: note: in expansion of macro 'DUK__NEQ_BODY' 80847 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80847:4: note: in expansion of macro 'DUK__NEQ_BODY' 80847 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80793:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80793 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80847:4: note: in expansion of macro 'DUK__NEQ_BODY' 80847 | DUK__NEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80849:4: note: in expansion of macro 'DUK__SEQ_BODY' 80849 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80849:18: note: in expansion of macro 'DUK__REGP_B' 80849 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80849:4: note: in expansion of macro 'DUK__SEQ_BODY' 80849 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80849:18: note: in expansion of macro 'DUK__REGP_B' 80849 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80849:4: note: in expansion of macro 'DUK__SEQ_BODY' 80849 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80849:18: note: in expansion of macro 'DUK__REGP_B' 80849 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80849:4: note: in expansion of macro 'DUK__SEQ_BODY' 80849 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80849:36: note: in expansion of macro 'DUK__REGP_C' 80849 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80849:4: note: in expansion of macro 'DUK__SEQ_BODY' 80849 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80849:36: note: in expansion of macro 'DUK__REGP_C' 80849 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80849:4: note: in expansion of macro 'DUK__SEQ_BODY' 80849 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80849:36: note: in expansion of macro 'DUK__REGP_C' 80849 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80849:4: note: in expansion of macro 'DUK__SEQ_BODY' 80849 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80849:4: note: in expansion of macro 'DUK__SEQ_BODY' 80849 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80849:4: note: in expansion of macro 'DUK__SEQ_BODY' 80849 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80849:4: note: in expansion of macro 'DUK__SEQ_BODY' 80849 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80849:4: note: in expansion of macro 'DUK__SEQ_BODY' 80849 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80849:4: note: in expansion of macro 'DUK__SEQ_BODY' 80849 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80849:4: note: in expansion of macro 'DUK__SEQ_BODY' 80849 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80849:4: note: in expansion of macro 'DUK__SEQ_BODY' 80849 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80851:4: note: in expansion of macro 'DUK__SEQ_BODY' 80851 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80851:18: note: in expansion of macro 'DUK__CONSTP_B' 80851 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80851:4: note: in expansion of macro 'DUK__SEQ_BODY' 80851 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80851:18: note: in expansion of macro 'DUK__CONSTP_B' 80851 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80851:4: note: in expansion of macro 'DUK__SEQ_BODY' 80851 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80851:18: note: in expansion of macro 'DUK__CONSTP_B' 80851 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80851:4: note: in expansion of macro 'DUK__SEQ_BODY' 80851 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80851:38: note: in expansion of macro 'DUK__REGP_C' 80851 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80851:4: note: in expansion of macro 'DUK__SEQ_BODY' 80851 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80851:38: note: in expansion of macro 'DUK__REGP_C' 80851 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80851:4: note: in expansion of macro 'DUK__SEQ_BODY' 80851 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80851:38: note: in expansion of macro 'DUK__REGP_C' 80851 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80851:4: note: in expansion of macro 'DUK__SEQ_BODY' 80851 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80851:4: note: in expansion of macro 'DUK__SEQ_BODY' 80851 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80851:4: note: in expansion of macro 'DUK__SEQ_BODY' 80851 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80851:4: note: in expansion of macro 'DUK__SEQ_BODY' 80851 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80851:4: note: in expansion of macro 'DUK__SEQ_BODY' 80851 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80851:4: note: in expansion of macro 'DUK__SEQ_BODY' 80851 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80851:4: note: in expansion of macro 'DUK__SEQ_BODY' 80851 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80851:4: note: in expansion of macro 'DUK__SEQ_BODY' 80851 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80853:4: note: in expansion of macro 'DUK__SEQ_BODY' 80853 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80853:18: note: in expansion of macro 'DUK__REGP_B' 80853 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80853:4: note: in expansion of macro 'DUK__SEQ_BODY' 80853 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80853:18: note: in expansion of macro 'DUK__REGP_B' 80853 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80853:4: note: in expansion of macro 'DUK__SEQ_BODY' 80853 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80853:18: note: in expansion of macro 'DUK__REGP_B' 80853 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80853:4: note: in expansion of macro 'DUK__SEQ_BODY' 80853 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80853:36: note: in expansion of macro 'DUK__CONSTP_C' 80853 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80853:4: note: in expansion of macro 'DUK__SEQ_BODY' 80853 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80853:36: note: in expansion of macro 'DUK__CONSTP_C' 80853 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80853:4: note: in expansion of macro 'DUK__SEQ_BODY' 80853 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80853:36: note: in expansion of macro 'DUK__CONSTP_C' 80853 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80853:4: note: in expansion of macro 'DUK__SEQ_BODY' 80853 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80853:4: note: in expansion of macro 'DUK__SEQ_BODY' 80853 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80853:4: note: in expansion of macro 'DUK__SEQ_BODY' 80853 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80853:4: note: in expansion of macro 'DUK__SEQ_BODY' 80853 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80853:4: note: in expansion of macro 'DUK__SEQ_BODY' 80853 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80853:4: note: in expansion of macro 'DUK__SEQ_BODY' 80853 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80853:4: note: in expansion of macro 'DUK__SEQ_BODY' 80853 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80853:4: note: in expansion of macro 'DUK__SEQ_BODY' 80853 | DUK__SEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80855:4: note: in expansion of macro 'DUK__SEQ_BODY' 80855 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80855:18: note: in expansion of macro 'DUK__CONSTP_B' 80855 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80855:4: note: in expansion of macro 'DUK__SEQ_BODY' 80855 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80855:18: note: in expansion of macro 'DUK__CONSTP_B' 80855 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80855:4: note: in expansion of macro 'DUK__SEQ_BODY' 80855 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80855:18: note: in expansion of macro 'DUK__CONSTP_B' 80855 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80855:4: note: in expansion of macro 'DUK__SEQ_BODY' 80855 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80855:38: note: in expansion of macro 'DUK__CONSTP_C' 80855 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80855:4: note: in expansion of macro 'DUK__SEQ_BODY' 80855 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80855:38: note: in expansion of macro 'DUK__CONSTP_C' 80855 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80855:4: note: in expansion of macro 'DUK__SEQ_BODY' 80855 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80855:38: note: in expansion of macro 'DUK__CONSTP_C' 80855 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80855:4: note: in expansion of macro 'DUK__SEQ_BODY' 80855 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80855:4: note: in expansion of macro 'DUK__SEQ_BODY' 80855 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80855:4: note: in expansion of macro 'DUK__SEQ_BODY' 80855 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80855:4: note: in expansion of macro 'DUK__SEQ_BODY' 80855 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80855:4: note: in expansion of macro 'DUK__SEQ_BODY' 80855 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80855:4: note: in expansion of macro 'DUK__SEQ_BODY' 80855 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80855:4: note: in expansion of macro 'DUK__SEQ_BODY' 80855 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80800:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80800 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80855:4: note: in expansion of macro 'DUK__SEQ_BODY' 80855 | DUK__SEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80857:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80857 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80857:19: note: in expansion of macro 'DUK__REGP_B' 80857 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80857:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80857 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80857:19: note: in expansion of macro 'DUK__REGP_B' 80857 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80857:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80857 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80857:19: note: in expansion of macro 'DUK__REGP_B' 80857 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80857:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80857 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80857:37: note: in expansion of macro 'DUK__REGP_C' 80857 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80857:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80857 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80857:37: note: in expansion of macro 'DUK__REGP_C' 80857 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80857:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80857 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80857:37: note: in expansion of macro 'DUK__REGP_C' 80857 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80857:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80857 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80857:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80857 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80857:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80857 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80857:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80857 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80857:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80857 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80857:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80857 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80857:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80857 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80857:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80857 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80859:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80859 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80859:19: note: in expansion of macro 'DUK__CONSTP_B' 80859 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80859:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80859 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80859:19: note: in expansion of macro 'DUK__CONSTP_B' 80859 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80859:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80859 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80859:19: note: in expansion of macro 'DUK__CONSTP_B' 80859 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80859:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80859 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80859:39: note: in expansion of macro 'DUK__REGP_C' 80859 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80859:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80859 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80859:39: note: in expansion of macro 'DUK__REGP_C' 80859 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80859:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80859 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80859:39: note: in expansion of macro 'DUK__REGP_C' 80859 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80859:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80859 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80859:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80859 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80859:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80859 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80859:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80859 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80859:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80859 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80859:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80859 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80859:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80859 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80859:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80859 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80861:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80861 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80861:19: note: in expansion of macro 'DUK__REGP_B' 80861 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80861:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80861 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80861:19: note: in expansion of macro 'DUK__REGP_B' 80861 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80861:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80861 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80861:19: note: in expansion of macro 'DUK__REGP_B' 80861 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80861:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80861 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80861:37: note: in expansion of macro 'DUK__CONSTP_C' 80861 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80861:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80861 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80861:37: note: in expansion of macro 'DUK__CONSTP_C' 80861 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80861:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80861 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80861:37: note: in expansion of macro 'DUK__CONSTP_C' 80861 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80861:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80861 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80861:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80861 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80861:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80861 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80861:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80861 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80861:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80861 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80861:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80861 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80861:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80861 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80861:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80861 | DUK__SNEQ_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80863:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80863 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80863:19: note: in expansion of macro 'DUK__CONSTP_B' 80863 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80863:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80863 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80863:19: note: in expansion of macro 'DUK__CONSTP_B' 80863 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:70: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80863:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80863 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80863:19: note: in expansion of macro 'DUK__CONSTP_B' 80863 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80863:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80863 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80863:39: note: in expansion of macro 'DUK__CONSTP_C' 80863 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80863:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80863 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80863:39: note: in expansion of macro 'DUK__CONSTP_C' 80863 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:11159:78: note: in definition of macro 'duk_js_strict_equals' 11159 | #define duk_js_strict_equals(tv_x, tv_y) duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80863:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80863 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80863:39: note: in expansion of macro 'DUK__CONSTP_C' 80863 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80863:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80863 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80863:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80863 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80863:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80863 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80863:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80863 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80863:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80863 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80863:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80863 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80863:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80863 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80808:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80808 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80863:4: note: in expansion of macro 'DUK__SNEQ_BODY' 80863 | DUK__SNEQ_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80900:4: note: in expansion of macro 'DUK__GT_BODY' 80900 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80900:35: note: in expansion of macro 'DUK__REGP_C' 80900 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80900:4: note: in expansion of macro 'DUK__GT_BODY' 80900 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80900:35: note: in expansion of macro 'DUK__REGP_C' 80900 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80900:4: note: in expansion of macro 'DUK__GT_BODY' 80900 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80900:35: note: in expansion of macro 'DUK__REGP_C' 80900 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80900:4: note: in expansion of macro 'DUK__GT_BODY' 80900 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80900:17: note: in expansion of macro 'DUK__REGP_B' 80900 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80900:4: note: in expansion of macro 'DUK__GT_BODY' 80900 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80900:17: note: in expansion of macro 'DUK__REGP_B' 80900 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80900:4: note: in expansion of macro 'DUK__GT_BODY' 80900 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80900:17: note: in expansion of macro 'DUK__REGP_B' 80900 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80900:4: note: in expansion of macro 'DUK__GT_BODY' 80900 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80900:4: note: in expansion of macro 'DUK__GT_BODY' 80900 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80900:4: note: in expansion of macro 'DUK__GT_BODY' 80900 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80900:4: note: in expansion of macro 'DUK__GT_BODY' 80900 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80900:4: note: in expansion of macro 'DUK__GT_BODY' 80900 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80900:4: note: in expansion of macro 'DUK__GT_BODY' 80900 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80900:4: note: in expansion of macro 'DUK__GT_BODY' 80900 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80900:4: note: in expansion of macro 'DUK__GT_BODY' 80900 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80902:4: note: in expansion of macro 'DUK__GT_BODY' 80902 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80902:37: note: in expansion of macro 'DUK__REGP_C' 80902 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80902:4: note: in expansion of macro 'DUK__GT_BODY' 80902 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80902:37: note: in expansion of macro 'DUK__REGP_C' 80902 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80902:4: note: in expansion of macro 'DUK__GT_BODY' 80902 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80902:37: note: in expansion of macro 'DUK__REGP_C' 80902 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80902:4: note: in expansion of macro 'DUK__GT_BODY' 80902 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80902:17: note: in expansion of macro 'DUK__CONSTP_B' 80902 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80902:4: note: in expansion of macro 'DUK__GT_BODY' 80902 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80902:17: note: in expansion of macro 'DUK__CONSTP_B' 80902 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80902:4: note: in expansion of macro 'DUK__GT_BODY' 80902 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80902:17: note: in expansion of macro 'DUK__CONSTP_B' 80902 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80902:4: note: in expansion of macro 'DUK__GT_BODY' 80902 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80902:4: note: in expansion of macro 'DUK__GT_BODY' 80902 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80902:4: note: in expansion of macro 'DUK__GT_BODY' 80902 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80902:4: note: in expansion of macro 'DUK__GT_BODY' 80902 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80902:4: note: in expansion of macro 'DUK__GT_BODY' 80902 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80902:4: note: in expansion of macro 'DUK__GT_BODY' 80902 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80902:4: note: in expansion of macro 'DUK__GT_BODY' 80902 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80902:4: note: in expansion of macro 'DUK__GT_BODY' 80902 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80904:4: note: in expansion of macro 'DUK__GT_BODY' 80904 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80904:35: note: in expansion of macro 'DUK__CONSTP_C' 80904 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80904:4: note: in expansion of macro 'DUK__GT_BODY' 80904 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80904:35: note: in expansion of macro 'DUK__CONSTP_C' 80904 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80904:4: note: in expansion of macro 'DUK__GT_BODY' 80904 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80904:35: note: in expansion of macro 'DUK__CONSTP_C' 80904 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80904:4: note: in expansion of macro 'DUK__GT_BODY' 80904 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80904:17: note: in expansion of macro 'DUK__REGP_B' 80904 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80904:4: note: in expansion of macro 'DUK__GT_BODY' 80904 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80904:17: note: in expansion of macro 'DUK__REGP_B' 80904 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80904:4: note: in expansion of macro 'DUK__GT_BODY' 80904 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80904:17: note: in expansion of macro 'DUK__REGP_B' 80904 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80904:4: note: in expansion of macro 'DUK__GT_BODY' 80904 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80904:4: note: in expansion of macro 'DUK__GT_BODY' 80904 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80904:4: note: in expansion of macro 'DUK__GT_BODY' 80904 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80904:4: note: in expansion of macro 'DUK__GT_BODY' 80904 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80904:4: note: in expansion of macro 'DUK__GT_BODY' 80904 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80904:4: note: in expansion of macro 'DUK__GT_BODY' 80904 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80904:4: note: in expansion of macro 'DUK__GT_BODY' 80904 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80904:4: note: in expansion of macro 'DUK__GT_BODY' 80904 | DUK__GT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80906:4: note: in expansion of macro 'DUK__GT_BODY' 80906 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80906:37: note: in expansion of macro 'DUK__CONSTP_C' 80906 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80906:4: note: in expansion of macro 'DUK__GT_BODY' 80906 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80906:37: note: in expansion of macro 'DUK__CONSTP_C' 80906 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80906:4: note: in expansion of macro 'DUK__GT_BODY' 80906 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80906:37: note: in expansion of macro 'DUK__CONSTP_C' 80906 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80906:4: note: in expansion of macro 'DUK__GT_BODY' 80906 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80906:17: note: in expansion of macro 'DUK__CONSTP_B' 80906 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80906:4: note: in expansion of macro 'DUK__GT_BODY' 80906 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80906:17: note: in expansion of macro 'DUK__CONSTP_B' 80906 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80906:4: note: in expansion of macro 'DUK__GT_BODY' 80906 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80906:17: note: in expansion of macro 'DUK__CONSTP_B' 80906 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80906:4: note: in expansion of macro 'DUK__GT_BODY' 80906 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80906:4: note: in expansion of macro 'DUK__GT_BODY' 80906 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80906:4: note: in expansion of macro 'DUK__GT_BODY' 80906 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80906:4: note: in expansion of macro 'DUK__GT_BODY' 80906 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80906:4: note: in expansion of macro 'DUK__GT_BODY' 80906 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80906:4: note: in expansion of macro 'DUK__GT_BODY' 80906 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80906:4: note: in expansion of macro 'DUK__GT_BODY' 80906 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80873:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80873 | #define DUK__GT_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), 0) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80906:4: note: in expansion of macro 'DUK__GT_BODY' 80906 | DUK__GT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80908:4: note: in expansion of macro 'DUK__GE_BODY' 80908 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80908:17: note: in expansion of macro 'DUK__REGP_B' 80908 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80908:4: note: in expansion of macro 'DUK__GE_BODY' 80908 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80908:17: note: in expansion of macro 'DUK__REGP_B' 80908 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80908:4: note: in expansion of macro 'DUK__GE_BODY' 80908 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80908:17: note: in expansion of macro 'DUK__REGP_B' 80908 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80908:4: note: in expansion of macro 'DUK__GE_BODY' 80908 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80908:35: note: in expansion of macro 'DUK__REGP_C' 80908 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80908:4: note: in expansion of macro 'DUK__GE_BODY' 80908 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80908:35: note: in expansion of macro 'DUK__REGP_C' 80908 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80908:4: note: in expansion of macro 'DUK__GE_BODY' 80908 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80908:35: note: in expansion of macro 'DUK__REGP_C' 80908 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80908:4: note: in expansion of macro 'DUK__GE_BODY' 80908 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80908:4: note: in expansion of macro 'DUK__GE_BODY' 80908 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80908:4: note: in expansion of macro 'DUK__GE_BODY' 80908 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80908:4: note: in expansion of macro 'DUK__GE_BODY' 80908 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80908:4: note: in expansion of macro 'DUK__GE_BODY' 80908 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80908:4: note: in expansion of macro 'DUK__GE_BODY' 80908 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80908:4: note: in expansion of macro 'DUK__GE_BODY' 80908 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80908:4: note: in expansion of macro 'DUK__GE_BODY' 80908 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80910:4: note: in expansion of macro 'DUK__GE_BODY' 80910 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80910:17: note: in expansion of macro 'DUK__CONSTP_B' 80910 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80910:4: note: in expansion of macro 'DUK__GE_BODY' 80910 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80910:17: note: in expansion of macro 'DUK__CONSTP_B' 80910 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80910:4: note: in expansion of macro 'DUK__GE_BODY' 80910 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80910:17: note: in expansion of macro 'DUK__CONSTP_B' 80910 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80910:4: note: in expansion of macro 'DUK__GE_BODY' 80910 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80910:37: note: in expansion of macro 'DUK__REGP_C' 80910 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80910:4: note: in expansion of macro 'DUK__GE_BODY' 80910 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80910:37: note: in expansion of macro 'DUK__REGP_C' 80910 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80910:4: note: in expansion of macro 'DUK__GE_BODY' 80910 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80910:37: note: in expansion of macro 'DUK__REGP_C' 80910 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80910:4: note: in expansion of macro 'DUK__GE_BODY' 80910 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80910:4: note: in expansion of macro 'DUK__GE_BODY' 80910 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80910:4: note: in expansion of macro 'DUK__GE_BODY' 80910 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80910:4: note: in expansion of macro 'DUK__GE_BODY' 80910 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80910:4: note: in expansion of macro 'DUK__GE_BODY' 80910 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80910:4: note: in expansion of macro 'DUK__GE_BODY' 80910 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80910:4: note: in expansion of macro 'DUK__GE_BODY' 80910 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80910:4: note: in expansion of macro 'DUK__GE_BODY' 80910 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80912:4: note: in expansion of macro 'DUK__GE_BODY' 80912 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80912:17: note: in expansion of macro 'DUK__REGP_B' 80912 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80912:4: note: in expansion of macro 'DUK__GE_BODY' 80912 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80912:17: note: in expansion of macro 'DUK__REGP_B' 80912 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80912:4: note: in expansion of macro 'DUK__GE_BODY' 80912 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80912:17: note: in expansion of macro 'DUK__REGP_B' 80912 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80912:4: note: in expansion of macro 'DUK__GE_BODY' 80912 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80912:35: note: in expansion of macro 'DUK__CONSTP_C' 80912 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80912:4: note: in expansion of macro 'DUK__GE_BODY' 80912 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80912:35: note: in expansion of macro 'DUK__CONSTP_C' 80912 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80912:4: note: in expansion of macro 'DUK__GE_BODY' 80912 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80912:35: note: in expansion of macro 'DUK__CONSTP_C' 80912 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80912:4: note: in expansion of macro 'DUK__GE_BODY' 80912 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80912:4: note: in expansion of macro 'DUK__GE_BODY' 80912 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80912:4: note: in expansion of macro 'DUK__GE_BODY' 80912 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80912:4: note: in expansion of macro 'DUK__GE_BODY' 80912 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80912:4: note: in expansion of macro 'DUK__GE_BODY' 80912 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80912:4: note: in expansion of macro 'DUK__GE_BODY' 80912 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80912:4: note: in expansion of macro 'DUK__GE_BODY' 80912 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80912:4: note: in expansion of macro 'DUK__GE_BODY' 80912 | DUK__GE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80914:4: note: in expansion of macro 'DUK__GE_BODY' 80914 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80914:17: note: in expansion of macro 'DUK__CONSTP_B' 80914 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80914:4: note: in expansion of macro 'DUK__GE_BODY' 80914 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80914:17: note: in expansion of macro 'DUK__CONSTP_B' 80914 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80914:4: note: in expansion of macro 'DUK__GE_BODY' 80914 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80914:17: note: in expansion of macro 'DUK__CONSTP_B' 80914 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80914:4: note: in expansion of macro 'DUK__GE_BODY' 80914 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80914:37: note: in expansion of macro 'DUK__CONSTP_C' 80914 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80914:4: note: in expansion of macro 'DUK__GE_BODY' 80914 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80914:37: note: in expansion of macro 'DUK__CONSTP_C' 80914 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80914:4: note: in expansion of macro 'DUK__GE_BODY' 80914 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80914:37: note: in expansion of macro 'DUK__CONSTP_C' 80914 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80914:4: note: in expansion of macro 'DUK__GE_BODY' 80914 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80914:4: note: in expansion of macro 'DUK__GE_BODY' 80914 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80914:4: note: in expansion of macro 'DUK__GE_BODY' 80914 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80914:4: note: in expansion of macro 'DUK__GE_BODY' 80914 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80914:4: note: in expansion of macro 'DUK__GE_BODY' 80914 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80914:4: note: in expansion of macro 'DUK__GE_BODY' 80914 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80914:4: note: in expansion of macro 'DUK__GE_BODY' 80914 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80874:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80874 | #define DUK__GE_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80914:4: note: in expansion of macro 'DUK__GE_BODY' 80914 | DUK__GE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80916:4: note: in expansion of macro 'DUK__LT_BODY' 80916 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80916:17: note: in expansion of macro 'DUK__REGP_B' 80916 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80916:4: note: in expansion of macro 'DUK__LT_BODY' 80916 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80916:17: note: in expansion of macro 'DUK__REGP_B' 80916 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80916:4: note: in expansion of macro 'DUK__LT_BODY' 80916 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80916:17: note: in expansion of macro 'DUK__REGP_B' 80916 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80916:4: note: in expansion of macro 'DUK__LT_BODY' 80916 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80916:35: note: in expansion of macro 'DUK__REGP_C' 80916 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80916:4: note: in expansion of macro 'DUK__LT_BODY' 80916 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80916:35: note: in expansion of macro 'DUK__REGP_C' 80916 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80916:4: note: in expansion of macro 'DUK__LT_BODY' 80916 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80916:35: note: in expansion of macro 'DUK__REGP_C' 80916 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80916:4: note: in expansion of macro 'DUK__LT_BODY' 80916 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80916:4: note: in expansion of macro 'DUK__LT_BODY' 80916 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80916:4: note: in expansion of macro 'DUK__LT_BODY' 80916 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80916:4: note: in expansion of macro 'DUK__LT_BODY' 80916 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80916:4: note: in expansion of macro 'DUK__LT_BODY' 80916 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80916:4: note: in expansion of macro 'DUK__LT_BODY' 80916 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80916:4: note: in expansion of macro 'DUK__LT_BODY' 80916 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80916:4: note: in expansion of macro 'DUK__LT_BODY' 80916 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80918:4: note: in expansion of macro 'DUK__LT_BODY' 80918 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80918:17: note: in expansion of macro 'DUK__CONSTP_B' 80918 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80918:4: note: in expansion of macro 'DUK__LT_BODY' 80918 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80918:17: note: in expansion of macro 'DUK__CONSTP_B' 80918 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80918:4: note: in expansion of macro 'DUK__LT_BODY' 80918 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80918:17: note: in expansion of macro 'DUK__CONSTP_B' 80918 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80918:4: note: in expansion of macro 'DUK__LT_BODY' 80918 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80918:37: note: in expansion of macro 'DUK__REGP_C' 80918 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80918:4: note: in expansion of macro 'DUK__LT_BODY' 80918 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80918:37: note: in expansion of macro 'DUK__REGP_C' 80918 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80918:4: note: in expansion of macro 'DUK__LT_BODY' 80918 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80918:37: note: in expansion of macro 'DUK__REGP_C' 80918 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80918:4: note: in expansion of macro 'DUK__LT_BODY' 80918 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80918:4: note: in expansion of macro 'DUK__LT_BODY' 80918 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80918:4: note: in expansion of macro 'DUK__LT_BODY' 80918 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80918:4: note: in expansion of macro 'DUK__LT_BODY' 80918 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80918:4: note: in expansion of macro 'DUK__LT_BODY' 80918 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80918:4: note: in expansion of macro 'DUK__LT_BODY' 80918 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80918:4: note: in expansion of macro 'DUK__LT_BODY' 80918 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80918:4: note: in expansion of macro 'DUK__LT_BODY' 80918 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80920:4: note: in expansion of macro 'DUK__LT_BODY' 80920 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80920:17: note: in expansion of macro 'DUK__REGP_B' 80920 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80920:4: note: in expansion of macro 'DUK__LT_BODY' 80920 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80920:17: note: in expansion of macro 'DUK__REGP_B' 80920 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80920:4: note: in expansion of macro 'DUK__LT_BODY' 80920 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80920:17: note: in expansion of macro 'DUK__REGP_B' 80920 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80920:4: note: in expansion of macro 'DUK__LT_BODY' 80920 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80920:35: note: in expansion of macro 'DUK__CONSTP_C' 80920 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80920:4: note: in expansion of macro 'DUK__LT_BODY' 80920 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80920:35: note: in expansion of macro 'DUK__CONSTP_C' 80920 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80920:4: note: in expansion of macro 'DUK__LT_BODY' 80920 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80920:35: note: in expansion of macro 'DUK__CONSTP_C' 80920 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80920:4: note: in expansion of macro 'DUK__LT_BODY' 80920 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80920:4: note: in expansion of macro 'DUK__LT_BODY' 80920 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80920:4: note: in expansion of macro 'DUK__LT_BODY' 80920 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80920:4: note: in expansion of macro 'DUK__LT_BODY' 80920 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80920:4: note: in expansion of macro 'DUK__LT_BODY' 80920 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80920:4: note: in expansion of macro 'DUK__LT_BODY' 80920 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80920:4: note: in expansion of macro 'DUK__LT_BODY' 80920 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80920:4: note: in expansion of macro 'DUK__LT_BODY' 80920 | DUK__LT_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80922:4: note: in expansion of macro 'DUK__LT_BODY' 80922 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80922:17: note: in expansion of macro 'DUK__CONSTP_B' 80922 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80922:4: note: in expansion of macro 'DUK__LT_BODY' 80922 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80922:17: note: in expansion of macro 'DUK__CONSTP_B' 80922 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80922:4: note: in expansion of macro 'DUK__LT_BODY' 80922 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80922:17: note: in expansion of macro 'DUK__CONSTP_B' 80922 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80922:4: note: in expansion of macro 'DUK__LT_BODY' 80922 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80922:37: note: in expansion of macro 'DUK__CONSTP_C' 80922 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80922:4: note: in expansion of macro 'DUK__LT_BODY' 80922 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80922:37: note: in expansion of macro 'DUK__CONSTP_C' 80922 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80922:4: note: in expansion of macro 'DUK__LT_BODY' 80922 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80922:37: note: in expansion of macro 'DUK__CONSTP_C' 80922 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80922:4: note: in expansion of macro 'DUK__LT_BODY' 80922 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80922:4: note: in expansion of macro 'DUK__LT_BODY' 80922 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80922:4: note: in expansion of macro 'DUK__LT_BODY' 80922 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80922:4: note: in expansion of macro 'DUK__LT_BODY' 80922 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80922:4: note: in expansion of macro 'DUK__LT_BODY' 80922 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80922:4: note: in expansion of macro 'DUK__LT_BODY' 80922 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80922:4: note: in expansion of macro 'DUK__LT_BODY' 80922 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80875:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80875 | #define DUK__LT_BODY(barg, carg) DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80922:4: note: in expansion of macro 'DUK__LT_BODY' 80922 | DUK__LT_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80924:4: note: in expansion of macro 'DUK__LE_BODY' 80924 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80924:35: note: in expansion of macro 'DUK__REGP_C' 80924 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80924:4: note: in expansion of macro 'DUK__LE_BODY' 80924 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80924:35: note: in expansion of macro 'DUK__REGP_C' 80924 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80924:4: note: in expansion of macro 'DUK__LE_BODY' 80924 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80924:35: note: in expansion of macro 'DUK__REGP_C' 80924 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80924:4: note: in expansion of macro 'DUK__LE_BODY' 80924 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80924:17: note: in expansion of macro 'DUK__REGP_B' 80924 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80924:4: note: in expansion of macro 'DUK__LE_BODY' 80924 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80924:17: note: in expansion of macro 'DUK__REGP_B' 80924 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80924:4: note: in expansion of macro 'DUK__LE_BODY' 80924 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80924:17: note: in expansion of macro 'DUK__REGP_B' 80924 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80924:4: note: in expansion of macro 'DUK__LE_BODY' 80924 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80924:4: note: in expansion of macro 'DUK__LE_BODY' 80924 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80924:4: note: in expansion of macro 'DUK__LE_BODY' 80924 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80924:4: note: in expansion of macro 'DUK__LE_BODY' 80924 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80924:4: note: in expansion of macro 'DUK__LE_BODY' 80924 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80924:4: note: in expansion of macro 'DUK__LE_BODY' 80924 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80924:4: note: in expansion of macro 'DUK__LE_BODY' 80924 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80924:4: note: in expansion of macro 'DUK__LE_BODY' 80924 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80926:4: note: in expansion of macro 'DUK__LE_BODY' 80926 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80926:37: note: in expansion of macro 'DUK__REGP_C' 80926 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80926:4: note: in expansion of macro 'DUK__LE_BODY' 80926 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80926:37: note: in expansion of macro 'DUK__REGP_C' 80926 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80926:4: note: in expansion of macro 'DUK__LE_BODY' 80926 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80926:37: note: in expansion of macro 'DUK__REGP_C' 80926 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80926:4: note: in expansion of macro 'DUK__LE_BODY' 80926 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80926:17: note: in expansion of macro 'DUK__CONSTP_B' 80926 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80926:4: note: in expansion of macro 'DUK__LE_BODY' 80926 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80926:17: note: in expansion of macro 'DUK__CONSTP_B' 80926 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80926:4: note: in expansion of macro 'DUK__LE_BODY' 80926 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80926:17: note: in expansion of macro 'DUK__CONSTP_B' 80926 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80926:4: note: in expansion of macro 'DUK__LE_BODY' 80926 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80926:4: note: in expansion of macro 'DUK__LE_BODY' 80926 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80926:4: note: in expansion of macro 'DUK__LE_BODY' 80926 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80926:4: note: in expansion of macro 'DUK__LE_BODY' 80926 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80926:4: note: in expansion of macro 'DUK__LE_BODY' 80926 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80926:4: note: in expansion of macro 'DUK__LE_BODY' 80926 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80926:4: note: in expansion of macro 'DUK__LE_BODY' 80926 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80926:4: note: in expansion of macro 'DUK__LE_BODY' 80926 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80928:4: note: in expansion of macro 'DUK__LE_BODY' 80928 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80928:35: note: in expansion of macro 'DUK__CONSTP_C' 80928 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80928:4: note: in expansion of macro 'DUK__LE_BODY' 80928 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80928:35: note: in expansion of macro 'DUK__CONSTP_C' 80928 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80928:4: note: in expansion of macro 'DUK__LE_BODY' 80928 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80928:35: note: in expansion of macro 'DUK__CONSTP_C' 80928 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80928:4: note: in expansion of macro 'DUK__LE_BODY' 80928 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80928:17: note: in expansion of macro 'DUK__REGP_B' 80928 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80928:4: note: in expansion of macro 'DUK__LE_BODY' 80928 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80928:17: note: in expansion of macro 'DUK__REGP_B' 80928 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80928:4: note: in expansion of macro 'DUK__LE_BODY' 80928 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80928:17: note: in expansion of macro 'DUK__REGP_B' 80928 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80928:4: note: in expansion of macro 'DUK__LE_BODY' 80928 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80928:4: note: in expansion of macro 'DUK__LE_BODY' 80928 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80928:4: note: in expansion of macro 'DUK__LE_BODY' 80928 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80928:4: note: in expansion of macro 'DUK__LE_BODY' 80928 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80928:4: note: in expansion of macro 'DUK__LE_BODY' 80928 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80928:4: note: in expansion of macro 'DUK__LE_BODY' 80928 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80928:4: note: in expansion of macro 'DUK__LE_BODY' 80928 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80928:4: note: in expansion of macro 'DUK__LE_BODY' 80928 | DUK__LE_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80930:4: note: in expansion of macro 'DUK__LE_BODY' 80930 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80930:37: note: in expansion of macro 'DUK__CONSTP_C' 80930 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80930:4: note: in expansion of macro 'DUK__LE_BODY' 80930 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80930:37: note: in expansion of macro 'DUK__CONSTP_C' 80930 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:37: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80930:4: note: in expansion of macro 'DUK__LE_BODY' 80930 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80930:37: note: in expansion of macro 'DUK__CONSTP_C' 80930 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80930:4: note: in expansion of macro 'DUK__LE_BODY' 80930 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80930:17: note: in expansion of macro 'DUK__CONSTP_B' 80930 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80930:4: note: in expansion of macro 'DUK__LE_BODY' 80930 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80930:17: note: in expansion of macro 'DUK__CONSTP_B' 80930 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80869:45: note: in definition of macro 'DUK__COMPARE_BODY' 80869 | tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80930:4: note: in expansion of macro 'DUK__LE_BODY' 80930 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80930:17: note: in expansion of macro 'DUK__CONSTP_B' 80930 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80930:4: note: in expansion of macro 'DUK__LE_BODY' 80930 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80930:4: note: in expansion of macro 'DUK__LE_BODY' 80930 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80930:4: note: in expansion of macro 'DUK__LE_BODY' 80930 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80930:4: note: in expansion of macro 'DUK__LE_BODY' 80930 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80930:4: note: in expansion of macro 'DUK__LE_BODY' 80930 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80930:4: note: in expansion of macro 'DUK__LE_BODY' 80930 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80930:4: note: in expansion of macro 'DUK__LE_BODY' 80930 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80871:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 80871 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80876:34: note: in expansion of macro 'DUK__COMPARE_BODY' 80876 | #define DUK__LE_BODY(barg, carg) DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE) | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80930:4: note: in expansion of macro 'DUK__LE_BODY' 80930 | DUK__LE_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80935:25: note: in expansion of macro 'DUK__REGP_BC' 80935 | if (duk_js_toboolean(DUK__REGP_BC(ins)) != 0) { | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80935:25: note: in expansion of macro 'DUK__REGP_BC' 80935 | if (duk_js_toboolean(DUK__REGP_BC(ins)) != 0) { | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80935:25: note: in expansion of macro 'DUK__REGP_BC' 80935 | if (duk_js_toboolean(DUK__REGP_BC(ins)) != 0) { | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80941:25: note: in expansion of macro 'DUK__CONSTP_BC' 80941 | if (duk_js_toboolean(DUK__CONSTP_BC(ins)) != 0) { | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80941:25: note: in expansion of macro 'DUK__CONSTP_BC' 80941 | if (duk_js_toboolean(DUK__CONSTP_BC(ins)) != 0) { | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80941:25: note: in expansion of macro 'DUK__CONSTP_BC' 80941 | if (duk_js_toboolean(DUK__CONSTP_BC(ins)) != 0) { | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80947:25: note: in expansion of macro 'DUK__REGP_BC' 80947 | if (duk_js_toboolean(DUK__REGP_BC(ins)) == 0) { | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80947:25: note: in expansion of macro 'DUK__REGP_BC' 80947 | if (duk_js_toboolean(DUK__REGP_BC(ins)) == 0) { | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80947:25: note: in expansion of macro 'DUK__REGP_BC' 80947 | if (duk_js_toboolean(DUK__REGP_BC(ins)) == 0) { | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80953:25: note: in expansion of macro 'DUK__CONSTP_BC' 80953 | if (duk_js_toboolean(DUK__CONSTP_BC(ins)) == 0) { | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80953:25: note: in expansion of macro 'DUK__CONSTP_BC' 80953 | if (duk_js_toboolean(DUK__CONSTP_BC(ins)) == 0) { | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80953:25: note: in expansion of macro 'DUK__CONSTP_BC' 80953 | if (duk_js_toboolean(DUK__CONSTP_BC(ins)) == 0) { | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80970:27: note: in expansion of macro 'DUK__REGP_B' 80970 | duk__vm_arith_add(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80970:27: note: in expansion of macro 'DUK__REGP_B' 80970 | duk__vm_arith_add(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80970:27: note: in expansion of macro 'DUK__REGP_B' 80970 | duk__vm_arith_add(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80970:45: note: in expansion of macro 'DUK__REGP_C' 80970 | duk__vm_arith_add(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80970:45: note: in expansion of macro 'DUK__REGP_C' 80970 | duk__vm_arith_add(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80970:45: note: in expansion of macro 'DUK__REGP_C' 80970 | duk__vm_arith_add(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80974:27: note: in expansion of macro 'DUK__CONSTP_B' 80974 | duk__vm_arith_add(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80974:27: note: in expansion of macro 'DUK__CONSTP_B' 80974 | duk__vm_arith_add(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80974:27: note: in expansion of macro 'DUK__CONSTP_B' 80974 | duk__vm_arith_add(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80974:47: note: in expansion of macro 'DUK__REGP_C' 80974 | duk__vm_arith_add(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80974:47: note: in expansion of macro 'DUK__REGP_C' 80974 | duk__vm_arith_add(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80974:47: note: in expansion of macro 'DUK__REGP_C' 80974 | duk__vm_arith_add(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80978:27: note: in expansion of macro 'DUK__REGP_B' 80978 | duk__vm_arith_add(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80978:27: note: in expansion of macro 'DUK__REGP_B' 80978 | duk__vm_arith_add(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80978:27: note: in expansion of macro 'DUK__REGP_B' 80978 | duk__vm_arith_add(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80978:45: note: in expansion of macro 'DUK__CONSTP_C' 80978 | duk__vm_arith_add(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80978:45: note: in expansion of macro 'DUK__CONSTP_C' 80978 | duk__vm_arith_add(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80978:45: note: in expansion of macro 'DUK__CONSTP_C' 80978 | duk__vm_arith_add(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80982:27: note: in expansion of macro 'DUK__CONSTP_B' 80982 | duk__vm_arith_add(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80982:27: note: in expansion of macro 'DUK__CONSTP_B' 80982 | duk__vm_arith_add(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80982:27: note: in expansion of macro 'DUK__CONSTP_B' 80982 | duk__vm_arith_add(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80982:47: note: in expansion of macro 'DUK__CONSTP_C' 80982 | duk__vm_arith_add(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80982:47: note: in expansion of macro 'DUK__CONSTP_C' 80982 | duk__vm_arith_add(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80982:47: note: in expansion of macro 'DUK__CONSTP_C' 80982 | duk__vm_arith_add(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81017:33: note: in expansion of macro 'DUK__REGP_B' 81017 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81017:33: note: in expansion of macro 'DUK__REGP_B' 81017 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81017:33: note: in expansion of macro 'DUK__REGP_B' 81017 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81017:51: note: in expansion of macro 'DUK__REGP_C' 81017 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81017:51: note: in expansion of macro 'DUK__REGP_C' 81017 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81017:51: note: in expansion of macro 'DUK__REGP_C' 81017 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81021:33: note: in expansion of macro 'DUK__CONSTP_B' 81021 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81021:33: note: in expansion of macro 'DUK__CONSTP_B' 81021 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81021:33: note: in expansion of macro 'DUK__CONSTP_B' 81021 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81021:53: note: in expansion of macro 'DUK__REGP_C' 81021 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81021:53: note: in expansion of macro 'DUK__REGP_C' 81021 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81021:53: note: in expansion of macro 'DUK__REGP_C' 81021 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81025:33: note: in expansion of macro 'DUK__REGP_B' 81025 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81025:33: note: in expansion of macro 'DUK__REGP_B' 81025 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81025:33: note: in expansion of macro 'DUK__REGP_B' 81025 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81025:51: note: in expansion of macro 'DUK__CONSTP_C' 81025 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81025:51: note: in expansion of macro 'DUK__CONSTP_C' 81025 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81025:51: note: in expansion of macro 'DUK__CONSTP_C' 81025 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81029:33: note: in expansion of macro 'DUK__CONSTP_B' 81029 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81029:33: note: in expansion of macro 'DUK__CONSTP_B' 81029 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81029:33: note: in expansion of macro 'DUK__CONSTP_B' 81029 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81029:53: note: in expansion of macro 'DUK__CONSTP_C' 81029 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81029:53: note: in expansion of macro 'DUK__CONSTP_C' 81029 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81029:53: note: in expansion of macro 'DUK__CONSTP_C' 81029 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_SUB); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81033:33: note: in expansion of macro 'DUK__REGP_B' 81033 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81033:33: note: in expansion of macro 'DUK__REGP_B' 81033 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81033:33: note: in expansion of macro 'DUK__REGP_B' 81033 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81033:51: note: in expansion of macro 'DUK__REGP_C' 81033 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81033:51: note: in expansion of macro 'DUK__REGP_C' 81033 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81033:51: note: in expansion of macro 'DUK__REGP_C' 81033 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81037:33: note: in expansion of macro 'DUK__CONSTP_B' 81037 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81037:33: note: in expansion of macro 'DUK__CONSTP_B' 81037 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81037:33: note: in expansion of macro 'DUK__CONSTP_B' 81037 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81037:53: note: in expansion of macro 'DUK__REGP_C' 81037 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81037:53: note: in expansion of macro 'DUK__REGP_C' 81037 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81037:53: note: in expansion of macro 'DUK__REGP_C' 81037 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81041:33: note: in expansion of macro 'DUK__REGP_B' 81041 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81041:33: note: in expansion of macro 'DUK__REGP_B' 81041 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81041:33: note: in expansion of macro 'DUK__REGP_B' 81041 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81041:51: note: in expansion of macro 'DUK__CONSTP_C' 81041 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81041:51: note: in expansion of macro 'DUK__CONSTP_C' 81041 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81041:51: note: in expansion of macro 'DUK__CONSTP_C' 81041 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81045:33: note: in expansion of macro 'DUK__CONSTP_B' 81045 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81045:33: note: in expansion of macro 'DUK__CONSTP_B' 81045 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81045:33: note: in expansion of macro 'DUK__CONSTP_B' 81045 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81045:53: note: in expansion of macro 'DUK__CONSTP_C' 81045 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81045:53: note: in expansion of macro 'DUK__CONSTP_C' 81045 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81045:53: note: in expansion of macro 'DUK__CONSTP_C' 81045 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MUL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81049:33: note: in expansion of macro 'DUK__REGP_B' 81049 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81049:33: note: in expansion of macro 'DUK__REGP_B' 81049 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81049:33: note: in expansion of macro 'DUK__REGP_B' 81049 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81049:51: note: in expansion of macro 'DUK__REGP_C' 81049 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81049:51: note: in expansion of macro 'DUK__REGP_C' 81049 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81049:51: note: in expansion of macro 'DUK__REGP_C' 81049 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81053:33: note: in expansion of macro 'DUK__CONSTP_B' 81053 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81053:33: note: in expansion of macro 'DUK__CONSTP_B' 81053 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81053:33: note: in expansion of macro 'DUK__CONSTP_B' 81053 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81053:53: note: in expansion of macro 'DUK__REGP_C' 81053 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81053:53: note: in expansion of macro 'DUK__REGP_C' 81053 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81053:53: note: in expansion of macro 'DUK__REGP_C' 81053 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81057:33: note: in expansion of macro 'DUK__REGP_B' 81057 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81057:33: note: in expansion of macro 'DUK__REGP_B' 81057 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81057:33: note: in expansion of macro 'DUK__REGP_B' 81057 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81057:51: note: in expansion of macro 'DUK__CONSTP_C' 81057 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81057:51: note: in expansion of macro 'DUK__CONSTP_C' 81057 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81057:51: note: in expansion of macro 'DUK__CONSTP_C' 81057 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81061:33: note: in expansion of macro 'DUK__CONSTP_B' 81061 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81061:33: note: in expansion of macro 'DUK__CONSTP_B' 81061 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81061:33: note: in expansion of macro 'DUK__CONSTP_B' 81061 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81061:53: note: in expansion of macro 'DUK__CONSTP_C' 81061 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81061:53: note: in expansion of macro 'DUK__CONSTP_C' 81061 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81061:53: note: in expansion of macro 'DUK__CONSTP_C' 81061 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_DIV); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81065:33: note: in expansion of macro 'DUK__REGP_B' 81065 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81065:33: note: in expansion of macro 'DUK__REGP_B' 81065 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81065:33: note: in expansion of macro 'DUK__REGP_B' 81065 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81065:51: note: in expansion of macro 'DUK__REGP_C' 81065 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81065:51: note: in expansion of macro 'DUK__REGP_C' 81065 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81065:51: note: in expansion of macro 'DUK__REGP_C' 81065 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81069:33: note: in expansion of macro 'DUK__CONSTP_B' 81069 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81069:33: note: in expansion of macro 'DUK__CONSTP_B' 81069 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81069:33: note: in expansion of macro 'DUK__CONSTP_B' 81069 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81069:53: note: in expansion of macro 'DUK__REGP_C' 81069 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81069:53: note: in expansion of macro 'DUK__REGP_C' 81069 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81069:53: note: in expansion of macro 'DUK__REGP_C' 81069 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81073:33: note: in expansion of macro 'DUK__REGP_B' 81073 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81073:33: note: in expansion of macro 'DUK__REGP_B' 81073 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81073:33: note: in expansion of macro 'DUK__REGP_B' 81073 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81073:51: note: in expansion of macro 'DUK__CONSTP_C' 81073 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81073:51: note: in expansion of macro 'DUK__CONSTP_C' 81073 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81073:51: note: in expansion of macro 'DUK__CONSTP_C' 81073 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81077:33: note: in expansion of macro 'DUK__CONSTP_B' 81077 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81077:33: note: in expansion of macro 'DUK__CONSTP_B' 81077 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81077:33: note: in expansion of macro 'DUK__CONSTP_B' 81077 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81077:53: note: in expansion of macro 'DUK__CONSTP_C' 81077 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81077:53: note: in expansion of macro 'DUK__CONSTP_C' 81077 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81077:53: note: in expansion of macro 'DUK__CONSTP_C' 81077 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_MOD); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81082:33: note: in expansion of macro 'DUK__REGP_B' 81082 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81082:33: note: in expansion of macro 'DUK__REGP_B' 81082 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81082:33: note: in expansion of macro 'DUK__REGP_B' 81082 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81082:51: note: in expansion of macro 'DUK__REGP_C' 81082 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81082:51: note: in expansion of macro 'DUK__REGP_C' 81082 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81082:51: note: in expansion of macro 'DUK__REGP_C' 81082 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81086:33: note: in expansion of macro 'DUK__CONSTP_B' 81086 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81086:33: note: in expansion of macro 'DUK__CONSTP_B' 81086 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81086:33: note: in expansion of macro 'DUK__CONSTP_B' 81086 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81086:53: note: in expansion of macro 'DUK__REGP_C' 81086 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81086:53: note: in expansion of macro 'DUK__REGP_C' 81086 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81086:53: note: in expansion of macro 'DUK__REGP_C' 81086 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81090:33: note: in expansion of macro 'DUK__REGP_B' 81090 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81090:33: note: in expansion of macro 'DUK__REGP_B' 81090 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81090:33: note: in expansion of macro 'DUK__REGP_B' 81090 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81090:51: note: in expansion of macro 'DUK__CONSTP_C' 81090 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81090:51: note: in expansion of macro 'DUK__CONSTP_C' 81090 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81090:51: note: in expansion of macro 'DUK__CONSTP_C' 81090 | duk__vm_arith_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81094:33: note: in expansion of macro 'DUK__CONSTP_B' 81094 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81094:33: note: in expansion of macro 'DUK__CONSTP_B' 81094 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81094:33: note: in expansion of macro 'DUK__CONSTP_B' 81094 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81094:53: note: in expansion of macro 'DUK__CONSTP_C' 81094 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81094:53: note: in expansion of macro 'DUK__CONSTP_C' 81094 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81094:53: note: in expansion of macro 'DUK__CONSTP_C' 81094 | duk__vm_arith_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_EXP); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81131:35: note: in expansion of macro 'DUK__REGP_B' 81131 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81131:35: note: in expansion of macro 'DUK__REGP_B' 81131 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81131:35: note: in expansion of macro 'DUK__REGP_B' 81131 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81131:53: note: in expansion of macro 'DUK__REGP_C' 81131 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81131:53: note: in expansion of macro 'DUK__REGP_C' 81131 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81131:53: note: in expansion of macro 'DUK__REGP_C' 81131 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81135:35: note: in expansion of macro 'DUK__CONSTP_B' 81135 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81135:35: note: in expansion of macro 'DUK__CONSTP_B' 81135 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81135:35: note: in expansion of macro 'DUK__CONSTP_B' 81135 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81135:55: note: in expansion of macro 'DUK__REGP_C' 81135 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81135:55: note: in expansion of macro 'DUK__REGP_C' 81135 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81135:55: note: in expansion of macro 'DUK__REGP_C' 81135 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81139:35: note: in expansion of macro 'DUK__REGP_B' 81139 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81139:35: note: in expansion of macro 'DUK__REGP_B' 81139 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81139:35: note: in expansion of macro 'DUK__REGP_B' 81139 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81139:53: note: in expansion of macro 'DUK__CONSTP_C' 81139 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81139:53: note: in expansion of macro 'DUK__CONSTP_C' 81139 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81139:53: note: in expansion of macro 'DUK__CONSTP_C' 81139 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81143:35: note: in expansion of macro 'DUK__CONSTP_B' 81143 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81143:35: note: in expansion of macro 'DUK__CONSTP_B' 81143 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81143:35: note: in expansion of macro 'DUK__CONSTP_B' 81143 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81143:55: note: in expansion of macro 'DUK__CONSTP_C' 81143 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81143:55: note: in expansion of macro 'DUK__CONSTP_C' 81143 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81143:55: note: in expansion of macro 'DUK__CONSTP_C' 81143 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BAND); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81147:35: note: in expansion of macro 'DUK__REGP_B' 81147 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81147:35: note: in expansion of macro 'DUK__REGP_B' 81147 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81147:35: note: in expansion of macro 'DUK__REGP_B' 81147 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81147:53: note: in expansion of macro 'DUK__REGP_C' 81147 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81147:53: note: in expansion of macro 'DUK__REGP_C' 81147 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81147:53: note: in expansion of macro 'DUK__REGP_C' 81147 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81151:35: note: in expansion of macro 'DUK__CONSTP_B' 81151 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81151:35: note: in expansion of macro 'DUK__CONSTP_B' 81151 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81151:35: note: in expansion of macro 'DUK__CONSTP_B' 81151 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81151:55: note: in expansion of macro 'DUK__REGP_C' 81151 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81151:55: note: in expansion of macro 'DUK__REGP_C' 81151 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81151:55: note: in expansion of macro 'DUK__REGP_C' 81151 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81155:35: note: in expansion of macro 'DUK__REGP_B' 81155 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81155:35: note: in expansion of macro 'DUK__REGP_B' 81155 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81155:35: note: in expansion of macro 'DUK__REGP_B' 81155 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81155:53: note: in expansion of macro 'DUK__CONSTP_C' 81155 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81155:53: note: in expansion of macro 'DUK__CONSTP_C' 81155 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81155:53: note: in expansion of macro 'DUK__CONSTP_C' 81155 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81159:35: note: in expansion of macro 'DUK__CONSTP_B' 81159 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81159:35: note: in expansion of macro 'DUK__CONSTP_B' 81159 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81159:35: note: in expansion of macro 'DUK__CONSTP_B' 81159 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81159:55: note: in expansion of macro 'DUK__CONSTP_C' 81159 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81159:55: note: in expansion of macro 'DUK__CONSTP_C' 81159 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81159:55: note: in expansion of macro 'DUK__CONSTP_C' 81159 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81163:35: note: in expansion of macro 'DUK__REGP_B' 81163 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81163:35: note: in expansion of macro 'DUK__REGP_B' 81163 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81163:35: note: in expansion of macro 'DUK__REGP_B' 81163 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81163:53: note: in expansion of macro 'DUK__REGP_C' 81163 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81163:53: note: in expansion of macro 'DUK__REGP_C' 81163 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81163:53: note: in expansion of macro 'DUK__REGP_C' 81163 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81167:35: note: in expansion of macro 'DUK__CONSTP_B' 81167 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81167:35: note: in expansion of macro 'DUK__CONSTP_B' 81167 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81167:35: note: in expansion of macro 'DUK__CONSTP_B' 81167 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81167:55: note: in expansion of macro 'DUK__REGP_C' 81167 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81167:55: note: in expansion of macro 'DUK__REGP_C' 81167 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81167:55: note: in expansion of macro 'DUK__REGP_C' 81167 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81171:35: note: in expansion of macro 'DUK__REGP_B' 81171 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81171:35: note: in expansion of macro 'DUK__REGP_B' 81171 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81171:35: note: in expansion of macro 'DUK__REGP_B' 81171 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81171:53: note: in expansion of macro 'DUK__CONSTP_C' 81171 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81171:53: note: in expansion of macro 'DUK__CONSTP_C' 81171 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81171:53: note: in expansion of macro 'DUK__CONSTP_C' 81171 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81175:35: note: in expansion of macro 'DUK__CONSTP_B' 81175 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81175:35: note: in expansion of macro 'DUK__CONSTP_B' 81175 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81175:35: note: in expansion of macro 'DUK__CONSTP_B' 81175 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81175:55: note: in expansion of macro 'DUK__CONSTP_C' 81175 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81175:55: note: in expansion of macro 'DUK__CONSTP_C' 81175 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81175:55: note: in expansion of macro 'DUK__CONSTP_C' 81175 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BXOR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81179:35: note: in expansion of macro 'DUK__REGP_B' 81179 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81179:35: note: in expansion of macro 'DUK__REGP_B' 81179 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81179:35: note: in expansion of macro 'DUK__REGP_B' 81179 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81179:53: note: in expansion of macro 'DUK__REGP_C' 81179 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81179:53: note: in expansion of macro 'DUK__REGP_C' 81179 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81179:53: note: in expansion of macro 'DUK__REGP_C' 81179 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81183:35: note: in expansion of macro 'DUK__CONSTP_B' 81183 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81183:35: note: in expansion of macro 'DUK__CONSTP_B' 81183 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81183:35: note: in expansion of macro 'DUK__CONSTP_B' 81183 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81183:55: note: in expansion of macro 'DUK__REGP_C' 81183 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81183:55: note: in expansion of macro 'DUK__REGP_C' 81183 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81183:55: note: in expansion of macro 'DUK__REGP_C' 81183 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81187:35: note: in expansion of macro 'DUK__REGP_B' 81187 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81187:35: note: in expansion of macro 'DUK__REGP_B' 81187 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81187:35: note: in expansion of macro 'DUK__REGP_B' 81187 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81187:53: note: in expansion of macro 'DUK__CONSTP_C' 81187 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81187:53: note: in expansion of macro 'DUK__CONSTP_C' 81187 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81187:53: note: in expansion of macro 'DUK__CONSTP_C' 81187 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81191:35: note: in expansion of macro 'DUK__CONSTP_B' 81191 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81191:35: note: in expansion of macro 'DUK__CONSTP_B' 81191 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81191:35: note: in expansion of macro 'DUK__CONSTP_B' 81191 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81191:55: note: in expansion of macro 'DUK__CONSTP_C' 81191 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81191:55: note: in expansion of macro 'DUK__CONSTP_C' 81191 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81191:55: note: in expansion of macro 'DUK__CONSTP_C' 81191 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASL); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81195:35: note: in expansion of macro 'DUK__REGP_B' 81195 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81195:35: note: in expansion of macro 'DUK__REGP_B' 81195 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81195:35: note: in expansion of macro 'DUK__REGP_B' 81195 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81195:53: note: in expansion of macro 'DUK__REGP_C' 81195 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81195:53: note: in expansion of macro 'DUK__REGP_C' 81195 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81195:53: note: in expansion of macro 'DUK__REGP_C' 81195 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81199:35: note: in expansion of macro 'DUK__CONSTP_B' 81199 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81199:35: note: in expansion of macro 'DUK__CONSTP_B' 81199 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81199:35: note: in expansion of macro 'DUK__CONSTP_B' 81199 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81199:55: note: in expansion of macro 'DUK__REGP_C' 81199 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81199:55: note: in expansion of macro 'DUK__REGP_C' 81199 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81199:55: note: in expansion of macro 'DUK__REGP_C' 81199 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81203:35: note: in expansion of macro 'DUK__REGP_B' 81203 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81203:35: note: in expansion of macro 'DUK__REGP_B' 81203 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81203:35: note: in expansion of macro 'DUK__REGP_B' 81203 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81203:53: note: in expansion of macro 'DUK__CONSTP_C' 81203 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81203:53: note: in expansion of macro 'DUK__CONSTP_C' 81203 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81203:53: note: in expansion of macro 'DUK__CONSTP_C' 81203 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81207:35: note: in expansion of macro 'DUK__CONSTP_B' 81207 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81207:35: note: in expansion of macro 'DUK__CONSTP_B' 81207 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81207:35: note: in expansion of macro 'DUK__CONSTP_B' 81207 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81207:55: note: in expansion of macro 'DUK__CONSTP_C' 81207 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81207:55: note: in expansion of macro 'DUK__CONSTP_C' 81207 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81207:55: note: in expansion of macro 'DUK__CONSTP_C' 81207 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BLSR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81211:35: note: in expansion of macro 'DUK__REGP_B' 81211 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81211:35: note: in expansion of macro 'DUK__REGP_B' 81211 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81211:35: note: in expansion of macro 'DUK__REGP_B' 81211 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81211:53: note: in expansion of macro 'DUK__REGP_C' 81211 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81211:53: note: in expansion of macro 'DUK__REGP_C' 81211 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81211:53: note: in expansion of macro 'DUK__REGP_C' 81211 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81215:35: note: in expansion of macro 'DUK__CONSTP_B' 81215 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81215:35: note: in expansion of macro 'DUK__CONSTP_B' 81215 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81215:35: note: in expansion of macro 'DUK__CONSTP_B' 81215 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81215:55: note: in expansion of macro 'DUK__REGP_C' 81215 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81215:55: note: in expansion of macro 'DUK__REGP_C' 81215 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81215:55: note: in expansion of macro 'DUK__REGP_C' 81215 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__REGP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81219:35: note: in expansion of macro 'DUK__REGP_B' 81219 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81219:35: note: in expansion of macro 'DUK__REGP_B' 81219 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81219:35: note: in expansion of macro 'DUK__REGP_B' 81219 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81219:53: note: in expansion of macro 'DUK__CONSTP_C' 81219 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81219:53: note: in expansion of macro 'DUK__CONSTP_C' 81219 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81219:53: note: in expansion of macro 'DUK__CONSTP_C' 81219 | duk__vm_bitwise_binary_op(thr, DUK__REGP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81223:35: note: in expansion of macro 'DUK__CONSTP_B' 81223 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81223:35: note: in expansion of macro 'DUK__CONSTP_B' 81223 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81223:35: note: in expansion of macro 'DUK__CONSTP_B' 81223 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81223:55: note: in expansion of macro 'DUK__CONSTP_C' 81223 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81223:55: note: in expansion of macro 'DUK__CONSTP_C' 81223 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81223:55: note: in expansion of macro 'DUK__CONSTP_C' 81223 | duk__vm_bitwise_binary_op(thr, DUK__CONSTP_B(ins), DUK__CONSTP_C(ins), DUK_DEC_A(ins), DUK_OP_BASR); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:33: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81256:21: note: in expansion of macro 'DUK__REGP_B' 81256 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:33: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81256:21: note: in expansion of macro 'DUK__REGP_B' 81256 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:33: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81256:21: note: in expansion of macro 'DUK__REGP_B' 81256 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:41: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81256:39: note: in expansion of macro 'DUK__REGP_C' 81256 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:41: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81256:39: note: in expansion of macro 'DUK__REGP_C' 81256 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:41: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81256:39: note: in expansion of macro 'DUK__REGP_C' 81256 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81256:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81256 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81256:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81256 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81256:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81256 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81256:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81256 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81256:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81256 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81256:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81256 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81256:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81256 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81256:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81256 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:33: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81258:21: note: in expansion of macro 'DUK__CONSTP_B' 81258 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:33: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81258:21: note: in expansion of macro 'DUK__CONSTP_B' 81258 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:33: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81258:21: note: in expansion of macro 'DUK__CONSTP_B' 81258 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:41: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81258:41: note: in expansion of macro 'DUK__REGP_C' 81258 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:41: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81258:41: note: in expansion of macro 'DUK__REGP_C' 81258 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:41: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81258:41: note: in expansion of macro 'DUK__REGP_C' 81258 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81258:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81258 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81258:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81258 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81258:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81258 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81258:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81258 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81258:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81258 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81258:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81258 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81258:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81258 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81258:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81258 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:33: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81260:21: note: in expansion of macro 'DUK__REGP_B' 81260 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:33: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81260:21: note: in expansion of macro 'DUK__REGP_B' 81260 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:33: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81260:21: note: in expansion of macro 'DUK__REGP_B' 81260 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:41: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81260:39: note: in expansion of macro 'DUK__CONSTP_C' 81260 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:41: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81260:39: note: in expansion of macro 'DUK__CONSTP_C' 81260 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:41: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81260:39: note: in expansion of macro 'DUK__CONSTP_C' 81260 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81260:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81260 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81260:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81260 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81260:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81260 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81260:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81260 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81260:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81260 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81260:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81260 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81260:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81260 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81260:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81260 | DUK__INSTOF_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:33: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81262:21: note: in expansion of macro 'DUK__CONSTP_B' 81262 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:33: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81262:21: note: in expansion of macro 'DUK__CONSTP_B' 81262 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:33: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81262:21: note: in expansion of macro 'DUK__CONSTP_B' 81262 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:41: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81262:41: note: in expansion of macro 'DUK__CONSTP_C' 81262 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:41: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81262:41: note: in expansion of macro 'DUK__CONSTP_C' 81262 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81232:41: note: in definition of macro 'DUK__INSTOF_BODY' 81232 | tmp = duk_js_instanceof(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81262:41: note: in expansion of macro 'DUK__CONSTP_C' 81262 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81262:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81262 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81262:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81262 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81262:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81262 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81262:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81262 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81262:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81262 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81262:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81262 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81262:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81262 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81234:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81234 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81262:4: note: in expansion of macro 'DUK__INSTOF_BODY' 81262 | DUK__INSTOF_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:25: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81264:17: note: in expansion of macro 'DUK__REGP_B' 81264 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:25: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81264:17: note: in expansion of macro 'DUK__REGP_B' 81264 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:25: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81264:17: note: in expansion of macro 'DUK__REGP_B' 81264 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:33: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81264:35: note: in expansion of macro 'DUK__REGP_C' 81264 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:33: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81264:35: note: in expansion of macro 'DUK__REGP_C' 81264 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:33: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81264:35: note: in expansion of macro 'DUK__REGP_C' 81264 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81264:4: note: in expansion of macro 'DUK__IN_BODY' 81264 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81264:4: note: in expansion of macro 'DUK__IN_BODY' 81264 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81264:4: note: in expansion of macro 'DUK__IN_BODY' 81264 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81264:4: note: in expansion of macro 'DUK__IN_BODY' 81264 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81264:4: note: in expansion of macro 'DUK__IN_BODY' 81264 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81264:4: note: in expansion of macro 'DUK__IN_BODY' 81264 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81264:4: note: in expansion of macro 'DUK__IN_BODY' 81264 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81264:4: note: in expansion of macro 'DUK__IN_BODY' 81264 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:25: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81266:17: note: in expansion of macro 'DUK__CONSTP_B' 81266 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:25: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81266:17: note: in expansion of macro 'DUK__CONSTP_B' 81266 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:25: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81266:17: note: in expansion of macro 'DUK__CONSTP_B' 81266 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:33: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81266:37: note: in expansion of macro 'DUK__REGP_C' 81266 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:33: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81266:37: note: in expansion of macro 'DUK__REGP_C' 81266 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:33: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81266:37: note: in expansion of macro 'DUK__REGP_C' 81266 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81266:4: note: in expansion of macro 'DUK__IN_BODY' 81266 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81266:4: note: in expansion of macro 'DUK__IN_BODY' 81266 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81266:4: note: in expansion of macro 'DUK__IN_BODY' 81266 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81266:4: note: in expansion of macro 'DUK__IN_BODY' 81266 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81266:4: note: in expansion of macro 'DUK__IN_BODY' 81266 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81266:4: note: in expansion of macro 'DUK__IN_BODY' 81266 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81266:4: note: in expansion of macro 'DUK__IN_BODY' 81266 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81266:4: note: in expansion of macro 'DUK__IN_BODY' 81266 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:25: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81268:17: note: in expansion of macro 'DUK__REGP_B' 81268 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:25: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81268:17: note: in expansion of macro 'DUK__REGP_B' 81268 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:25: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81268:17: note: in expansion of macro 'DUK__REGP_B' 81268 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:33: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81268:35: note: in expansion of macro 'DUK__CONSTP_C' 81268 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:33: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81268:35: note: in expansion of macro 'DUK__CONSTP_C' 81268 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:33: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81268:35: note: in expansion of macro 'DUK__CONSTP_C' 81268 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81268:4: note: in expansion of macro 'DUK__IN_BODY' 81268 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81268:4: note: in expansion of macro 'DUK__IN_BODY' 81268 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81268:4: note: in expansion of macro 'DUK__IN_BODY' 81268 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81268:4: note: in expansion of macro 'DUK__IN_BODY' 81268 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81268:4: note: in expansion of macro 'DUK__IN_BODY' 81268 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81268:4: note: in expansion of macro 'DUK__IN_BODY' 81268 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81268:4: note: in expansion of macro 'DUK__IN_BODY' 81268 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81268:4: note: in expansion of macro 'DUK__IN_BODY' 81268 | DUK__IN_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:25: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81270:17: note: in expansion of macro 'DUK__CONSTP_B' 81270 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:25: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81270:17: note: in expansion of macro 'DUK__CONSTP_B' 81270 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:25: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81270:17: note: in expansion of macro 'DUK__CONSTP_B' 81270 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:33: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81270:37: note: in expansion of macro 'DUK__CONSTP_C' 81270 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:33: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81270:37: note: in expansion of macro 'DUK__CONSTP_C' 81270 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81239:33: note: in definition of macro 'DUK__IN_BODY' 81239 | tmp = duk_js_in(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81270:37: note: in expansion of macro 'DUK__CONSTP_C' 81270 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81270:4: note: in expansion of macro 'DUK__IN_BODY' 81270 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81270:4: note: in expansion of macro 'DUK__IN_BODY' 81270 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81270:4: note: in expansion of macro 'DUK__IN_BODY' 81270 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81270:4: note: in expansion of macro 'DUK__IN_BODY' 81270 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81270:4: note: in expansion of macro 'DUK__IN_BODY' 81270 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81270:4: note: in expansion of macro 'DUK__IN_BODY' 81270 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81270:4: note: in expansion of macro 'DUK__IN_BODY' 81270 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81241:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81241 | DUK__REPLACE_BOOL_A_BREAK(tmp); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81270:4: note: in expansion of macro 'DUK__IN_BODY' 81270 | DUK__IN_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81291:40: note: in expansion of macro 'DUK__REGP_A' 81291 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_PREINCR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81291:40: note: in expansion of macro 'DUK__REGP_A' 81291 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_PREINCR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81291:40: note: in expansion of macro 'DUK__REGP_A' 81291 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_PREINCR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81291:58: note: in expansion of macro 'DUK__REGP_BC' 81291 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_PREINCR); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81291:58: note: in expansion of macro 'DUK__REGP_BC' 81291 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_PREINCR); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81291:58: note: in expansion of macro 'DUK__REGP_BC' 81291 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_PREINCR); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81295:40: note: in expansion of macro 'DUK__REGP_A' 81295 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_PREDECR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81295:40: note: in expansion of macro 'DUK__REGP_A' 81295 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_PREDECR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81295:40: note: in expansion of macro 'DUK__REGP_A' 81295 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_PREDECR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81295:58: note: in expansion of macro 'DUK__REGP_BC' 81295 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_PREDECR); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81295:58: note: in expansion of macro 'DUK__REGP_BC' 81295 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_PREDECR); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81295:58: note: in expansion of macro 'DUK__REGP_BC' 81295 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_PREDECR); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81299:40: note: in expansion of macro 'DUK__REGP_A' 81299 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_POSTINCR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81299:40: note: in expansion of macro 'DUK__REGP_A' 81299 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_POSTINCR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81299:40: note: in expansion of macro 'DUK__REGP_A' 81299 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_POSTINCR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81299:58: note: in expansion of macro 'DUK__REGP_BC' 81299 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_POSTINCR); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81299:58: note: in expansion of macro 'DUK__REGP_BC' 81299 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_POSTINCR); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81299:58: note: in expansion of macro 'DUK__REGP_BC' 81299 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_POSTINCR); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81303:40: note: in expansion of macro 'DUK__REGP_A' 81303 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_POSTDECR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81303:40: note: in expansion of macro 'DUK__REGP_A' 81303 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_POSTDECR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81303:40: note: in expansion of macro 'DUK__REGP_A' 81303 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_POSTDECR); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81303:58: note: in expansion of macro 'DUK__REGP_BC' 81303 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_POSTDECR); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81303:58: note: in expansion of macro 'DUK__REGP_BC' 81303 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_POSTDECR); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81303:58: note: in expansion of macro 'DUK__REGP_BC' 81303 | duk__prepost_incdec_reg_helper(thr, DUK__REGP_A(ins), DUK__REGP_BC(ins), DUK_OP_POSTDECR); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81307:56: note: in expansion of macro 'DUK__CONSTP_BC' 81307 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_PREINCV, DUK__STRICT()); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81307:56: note: in expansion of macro 'DUK__CONSTP_BC' 81307 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_PREINCV, DUK__STRICT()); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81307:56: note: in expansion of macro 'DUK__CONSTP_BC' 81307 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_PREINCV, DUK__STRICT()); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:39: note: in expansion of macro 'DUK_ACT_GET_FUNC' 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81307:93: note: in expansion of macro 'DUK__STRICT' 81307 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_PREINCV, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:78: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81307:93: note: in expansion of macro 'DUK__STRICT' 81307 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_PREINCV, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:75: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6756:45: note: in expansion of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 6756 | #define DUK_HOBJECT_HAS_STRICT(h) DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_STRICT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81307:93: note: in expansion of macro 'DUK__STRICT' 81307 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_PREINCV, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81311:56: note: in expansion of macro 'DUK__CONSTP_BC' 81311 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_PREDECV, DUK__STRICT()); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81311:56: note: in expansion of macro 'DUK__CONSTP_BC' 81311 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_PREDECV, DUK__STRICT()); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81311:56: note: in expansion of macro 'DUK__CONSTP_BC' 81311 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_PREDECV, DUK__STRICT()); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:39: note: in expansion of macro 'DUK_ACT_GET_FUNC' 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81311:93: note: in expansion of macro 'DUK__STRICT' 81311 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_PREDECV, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:78: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81311:93: note: in expansion of macro 'DUK__STRICT' 81311 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_PREDECV, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:75: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6756:45: note: in expansion of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 6756 | #define DUK_HOBJECT_HAS_STRICT(h) DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_STRICT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81311:93: note: in expansion of macro 'DUK__STRICT' 81311 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_PREDECV, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81315:56: note: in expansion of macro 'DUK__CONSTP_BC' 81315 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_POSTINCV, DUK__STRICT()); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81315:56: note: in expansion of macro 'DUK__CONSTP_BC' 81315 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_POSTINCV, DUK__STRICT()); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81315:56: note: in expansion of macro 'DUK__CONSTP_BC' 81315 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_POSTINCV, DUK__STRICT()); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:39: note: in expansion of macro 'DUK_ACT_GET_FUNC' 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81315:94: note: in expansion of macro 'DUK__STRICT' 81315 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_POSTINCV, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:78: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81315:94: note: in expansion of macro 'DUK__STRICT' 81315 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_POSTINCV, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:75: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6756:45: note: in expansion of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 6756 | #define DUK_HOBJECT_HAS_STRICT(h) DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_STRICT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81315:94: note: in expansion of macro 'DUK__STRICT' 81315 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_POSTINCV, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81319:56: note: in expansion of macro 'DUK__CONSTP_BC' 81319 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_POSTDECV, DUK__STRICT()); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81319:56: note: in expansion of macro 'DUK__CONSTP_BC' 81319 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_POSTDECV, DUK__STRICT()); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81319:56: note: in expansion of macro 'DUK__CONSTP_BC' 81319 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_POSTDECV, DUK__STRICT()); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:39: note: in expansion of macro 'DUK_ACT_GET_FUNC' 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81319:94: note: in expansion of macro 'DUK__STRICT' 81319 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_POSTDECV, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:78: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81319:94: note: in expansion of macro 'DUK__STRICT' 81319 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_POSTDECV, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:75: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6756:45: note: in expansion of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 6756 | #define DUK_HOBJECT_HAS_STRICT(h) DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_STRICT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81319:94: note: in expansion of macro 'DUK__STRICT' 81319 | duk__prepost_incdec_var_helper(thr, DUK_DEC_A(ins), DUK__CONSTP_BC(ins), DUK_OP_POSTDECV, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79983:96: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79983 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_B) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81365:13: note: in expansion of macro 'DUK__REGCONSTP_B' 81365 | tv_obj = DUK__REGCONSTP_B(ins); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79983:121: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79983 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_B) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81365:13: note: in expansion of macro 'DUK__REGCONSTP_B' 81365 | tv_obj = DUK__REGCONSTP_B(ins); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79983:121: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79983 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_B) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81365:13: note: in expansion of macro 'DUK__REGCONSTP_B' 81365 | tv_obj = DUK__REGCONSTP_B(ins); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79985:96: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79985 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_C) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81366:13: note: in expansion of macro 'DUK__REGCONSTP_C' 81366 | tv_key = DUK__REGCONSTP_C(ins); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79985:121: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79985 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_C) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81366:13: note: in expansion of macro 'DUK__REGCONSTP_C' 81366 | tv_key = DUK__REGCONSTP_C(ins); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79985:121: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79985 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_C) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81366:13: note: in expansion of macro 'DUK__REGCONSTP_C' 81366 | tv_key = DUK__REGCONSTP_C(ins); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81386:13: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 81386 | tv_val = DUK_GET_TVAL_NEGIDX(thr, -1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79983:96: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79983 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_B) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81388:13: note: in expansion of macro 'DUK__REGCONSTP_B' 81388 | tv_obj = DUK__REGCONSTP_B(ins); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79983:121: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79983 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_B) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81388:13: note: in expansion of macro 'DUK__REGCONSTP_B' 81388 | tv_obj = DUK__REGCONSTP_B(ins); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79983:121: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79983 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_B) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81388:13: note: in expansion of macro 'DUK__REGCONSTP_B' 81388 | tv_obj = DUK__REGCONSTP_B(ins); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79985:96: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79985 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_C) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81389:13: note: in expansion of macro 'DUK__REGCONSTP_C' 81389 | tv_key = DUK__REGCONSTP_C(ins); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79985:121: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79985 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_C) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81389:13: note: in expansion of macro 'DUK__REGCONSTP_C' 81389 | tv_key = DUK__REGCONSTP_C(ins); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79985:121: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79985 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_C) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81389:13: note: in expansion of macro 'DUK__REGCONSTP_C' 81389 | tv_key = DUK__REGCONSTP_C(ins); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:39: note: in expansion of macro 'DUK_ACT_GET_FUNC' 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81390:58: note: in expansion of macro 'DUK__STRICT' 81390 | rc = duk_hobject_putprop(thr, tv_obj, tv_key, tv_val, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:78: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81390:58: note: in expansion of macro 'DUK__STRICT' 81390 | rc = duk_hobject_putprop(thr, tv_obj, tv_key, tv_val, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:75: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6756:45: note: in expansion of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 6756 | #define DUK_HOBJECT_HAS_STRICT(h) DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_STRICT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81390:58: note: in expansion of macro 'DUK__STRICT' 81390 | rc = duk_hobject_putprop(thr, tv_obj, tv_key, tv_val, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81401:13: note: in expansion of macro 'DUK__REGP_A' 81401 | tv_dst = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81401:13: note: in expansion of macro 'DUK__REGP_A' 81401 | tv_dst = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81401:13: note: in expansion of macro 'DUK__REGP_A' 81401 | tv_dst = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5260:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5260 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5421:44: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF_ALT0' 5421 | #define DUK_TVAL_SET_NUMBER_UPDREF DUK_TVAL_SET_NUMBER_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81402:4: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF' 81402 | DUK_TVAL_SET_NUMBER_UPDREF(thr, tv_dst, z); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5260:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5260 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5421:44: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF_ALT0' 5421 | #define DUK_TVAL_SET_NUMBER_UPDREF DUK_TVAL_SET_NUMBER_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81402:4: note: in expansion of macro 'DUK_TVAL_SET_NUMBER_UPDREF' 81402 | DUK_TVAL_SET_NUMBER_UPDREF(thr, tv_dst, z); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:36: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81482:22: note: in expansion of macro 'DUK__REGP_B' 81482 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:36: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81482:22: note: in expansion of macro 'DUK__REGP_B' 81482 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:36: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81482:22: note: in expansion of macro 'DUK__REGP_B' 81482 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:44: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81482:40: note: in expansion of macro 'DUK__REGP_C' 81482 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:44: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81482:40: note: in expansion of macro 'DUK__REGP_C' 81482 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:44: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81482:40: note: in expansion of macro 'DUK__REGP_C' 81482 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77202:16: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 77202 | duk__tvsrc = DUK_GET_TVAL_NEGIDX(duk__thr, -1); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81482:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81482 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81482:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81482 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81482:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81482 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81482:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81482 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77206:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 77206 | DUK_TVAL_SET_UNDEFINED(duk__tvsrc); /* value stack init policy */ \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81482:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81482 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81482:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81482 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81482:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81482 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:36: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81484:22: note: in expansion of macro 'DUK__CONSTP_B' 81484 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:36: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81484:22: note: in expansion of macro 'DUK__CONSTP_B' 81484 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:36: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81484:22: note: in expansion of macro 'DUK__CONSTP_B' 81484 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:44: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81484:42: note: in expansion of macro 'DUK__REGP_C' 81484 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:44: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81484:42: note: in expansion of macro 'DUK__REGP_C' 81484 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:44: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81484:42: note: in expansion of macro 'DUK__REGP_C' 81484 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77202:16: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 77202 | duk__tvsrc = DUK_GET_TVAL_NEGIDX(duk__thr, -1); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81484:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81484 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81484:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81484 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81484:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81484 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81484:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81484 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77206:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 77206 | DUK_TVAL_SET_UNDEFINED(duk__tvsrc); /* value stack init policy */ \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81484:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81484 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81484:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81484 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81484:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81484 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:36: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81486:22: note: in expansion of macro 'DUK__REGP_B' 81486 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:36: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81486:22: note: in expansion of macro 'DUK__REGP_B' 81486 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:36: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81486:22: note: in expansion of macro 'DUK__REGP_B' 81486 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:44: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81486:40: note: in expansion of macro 'DUK__CONSTP_C' 81486 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:44: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81486:40: note: in expansion of macro 'DUK__CONSTP_C' 81486 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:44: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81486:40: note: in expansion of macro 'DUK__CONSTP_C' 81486 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77202:16: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 77202 | duk__tvsrc = DUK_GET_TVAL_NEGIDX(duk__thr, -1); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81486:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81486 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81486:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81486 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81486:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81486 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81486:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81486 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77206:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 77206 | DUK_TVAL_SET_UNDEFINED(duk__tvsrc); /* value stack init policy */ \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81486:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81486 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81486:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81486 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81486:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81486 | DUK__GETPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:36: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81488:22: note: in expansion of macro 'DUK__CONSTP_B' 81488 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:36: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81488:22: note: in expansion of macro 'DUK__CONSTP_B' 81488 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:36: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81488:22: note: in expansion of macro 'DUK__CONSTP_B' 81488 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:44: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81488:42: note: in expansion of macro 'DUK__CONSTP_C' 81488 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:44: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81488:42: note: in expansion of macro 'DUK__CONSTP_C' 81488 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81417:44: note: in definition of macro 'DUK__GETPROP_BODY' 81417 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81488:42: note: in expansion of macro 'DUK__CONSTP_C' 81488 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77202:16: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 77202 | duk__tvsrc = DUK_GET_TVAL_NEGIDX(duk__thr, -1); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81488:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81488 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81488:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81488 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81488:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81488 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81488:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81488 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77206:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 77206 | DUK_TVAL_SET_UNDEFINED(duk__tvsrc); /* value stack init policy */ \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81488:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81488 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81488:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81488 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81418:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81418 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81488:4: note: in expansion of macro 'DUK__GETPROP_BODY' 81488 | DUK__GETPROP_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:36: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81491:23: note: in expansion of macro 'DUK__REGP_B' 81491 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:36: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81491:23: note: in expansion of macro 'DUK__REGP_B' 81491 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:36: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81491:23: note: in expansion of macro 'DUK__REGP_B' 81491 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:44: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81491:41: note: in expansion of macro 'DUK__REGP_C' 81491 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:44: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81491:41: note: in expansion of macro 'DUK__REGP_C' 81491 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:44: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81491:41: note: in expansion of macro 'DUK__REGP_C' 81491 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81426:14: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 81426 | tv__targ = DUK_GET_TVAL_NEGIDX(thr, -1); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81491:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81491 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:40: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81491:23: note: in expansion of macro 'DUK__REGP_B' 81491 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:40: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81491:23: note: in expansion of macro 'DUK__REGP_B' 81491 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:40: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81491:23: note: in expansion of macro 'DUK__REGP_B' 81491 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:48: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81491:41: note: in expansion of macro 'DUK__REGP_C' 81491 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:48: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81491:41: note: in expansion of macro 'DUK__REGP_C' 81491 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:48: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81491:41: note: in expansion of macro 'DUK__REGP_C' 81491 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77202:16: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 77202 | duk__tvsrc = DUK_GET_TVAL_NEGIDX(duk__thr, -1); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81491:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81491 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81491:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81491 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81491:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81491 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81491:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81491 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77206:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 77206 | DUK_TVAL_SET_UNDEFINED(duk__tvsrc); /* value stack init policy */ \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81491:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81491 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81491:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81491 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81491:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81491 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:36: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81493:23: note: in expansion of macro 'DUK__CONSTP_B' 81493 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:36: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81493:23: note: in expansion of macro 'DUK__CONSTP_B' 81493 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:36: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81493:23: note: in expansion of macro 'DUK__CONSTP_B' 81493 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:44: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81493:43: note: in expansion of macro 'DUK__REGP_C' 81493 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:44: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81493:43: note: in expansion of macro 'DUK__REGP_C' 81493 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:44: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81493:43: note: in expansion of macro 'DUK__REGP_C' 81493 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81426:14: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 81426 | tv__targ = DUK_GET_TVAL_NEGIDX(thr, -1); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81493:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81493 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:40: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81493:23: note: in expansion of macro 'DUK__CONSTP_B' 81493 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:40: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81493:23: note: in expansion of macro 'DUK__CONSTP_B' 81493 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:40: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81493:23: note: in expansion of macro 'DUK__CONSTP_B' 81493 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:48: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81493:43: note: in expansion of macro 'DUK__REGP_C' 81493 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:48: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81493:43: note: in expansion of macro 'DUK__REGP_C' 81493 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:48: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81493:43: note: in expansion of macro 'DUK__REGP_C' 81493 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77202:16: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 77202 | duk__tvsrc = DUK_GET_TVAL_NEGIDX(duk__thr, -1); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81493:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81493 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81493:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81493 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81493:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81493 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81493:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81493 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77206:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 77206 | DUK_TVAL_SET_UNDEFINED(duk__tvsrc); /* value stack init policy */ \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81493:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81493 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81493:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81493 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81493:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81493 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:36: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81495:23: note: in expansion of macro 'DUK__REGP_B' 81495 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:36: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81495:23: note: in expansion of macro 'DUK__REGP_B' 81495 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:36: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81495:23: note: in expansion of macro 'DUK__REGP_B' 81495 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:44: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81495:41: note: in expansion of macro 'DUK__CONSTP_C' 81495 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:44: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81495:41: note: in expansion of macro 'DUK__CONSTP_C' 81495 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:44: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81495:41: note: in expansion of macro 'DUK__CONSTP_C' 81495 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81426:14: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 81426 | tv__targ = DUK_GET_TVAL_NEGIDX(thr, -1); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81495:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81495 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:40: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81495:23: note: in expansion of macro 'DUK__REGP_B' 81495 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:40: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81495:23: note: in expansion of macro 'DUK__REGP_B' 81495 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:40: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81495:23: note: in expansion of macro 'DUK__REGP_B' 81495 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:48: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81495:41: note: in expansion of macro 'DUK__CONSTP_C' 81495 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:48: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81495:41: note: in expansion of macro 'DUK__CONSTP_C' 81495 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:48: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81495:41: note: in expansion of macro 'DUK__CONSTP_C' 81495 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77202:16: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 77202 | duk__tvsrc = DUK_GET_TVAL_NEGIDX(duk__thr, -1); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81495:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81495 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81495:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81495 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81495:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81495 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81495:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81495 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77206:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 77206 | DUK_TVAL_SET_UNDEFINED(duk__tvsrc); /* value stack init policy */ \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81495:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81495 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81495:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81495 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81495:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81495 | DUK__GETPROPC_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:36: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81497:23: note: in expansion of macro 'DUK__CONSTP_B' 81497 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:36: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81497:23: note: in expansion of macro 'DUK__CONSTP_B' 81497 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:36: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81497:23: note: in expansion of macro 'DUK__CONSTP_B' 81497 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:44: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81497:43: note: in expansion of macro 'DUK__CONSTP_C' 81497 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:44: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81497:43: note: in expansion of macro 'DUK__CONSTP_C' 81497 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81424:44: note: in definition of macro 'DUK__GETPROPC_BODY' 81424 | (void) duk_hobject_getprop(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81497:43: note: in expansion of macro 'DUK__CONSTP_C' 81497 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81426:14: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 81426 | tv__targ = DUK_GET_TVAL_NEGIDX(thr, -1); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81497:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81497 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:40: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81497:23: note: in expansion of macro 'DUK__CONSTP_B' 81497 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:40: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81497:23: note: in expansion of macro 'DUK__CONSTP_B' 81497 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:40: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81497:23: note: in expansion of macro 'DUK__CONSTP_B' 81497 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:48: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81497:43: note: in expansion of macro 'DUK__CONSTP_C' 81497 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:48: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81497:43: note: in expansion of macro 'DUK__CONSTP_C' 81497 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81432:48: note: in definition of macro 'DUK__GETPROPC_BODY' 81432 | duk_call_setup_propcall_error(thr, (barg), (carg)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81497:43: note: in expansion of macro 'DUK__CONSTP_C' 81497 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77202:16: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 77202 | duk__tvsrc = DUK_GET_TVAL_NEGIDX(duk__thr, -1); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81497:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81497 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81497:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81497 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81497:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81497 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81497:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81497 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77206:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 77206 | DUK_TVAL_SET_UNDEFINED(duk__tvsrc); /* value stack init policy */ \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81497:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81497 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81497:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81497 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81434:3: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81434 | DUK__REPLACE_TOP_A_BREAK(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81497:4: note: in expansion of macro 'DUK__GETPROPC_BODY' 81497 | DUK__GETPROPC_BODY(DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:36: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81500:22: note: in expansion of macro 'DUK__REGP_A' 81500 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:36: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81500:22: note: in expansion of macro 'DUK__REGP_A' 81500 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:36: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81500:22: note: in expansion of macro 'DUK__REGP_A' 81500 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:44: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81500:40: note: in expansion of macro 'DUK__REGP_B' 81500 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:44: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81500:40: note: in expansion of macro 'DUK__REGP_B' 81500 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:44: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81500:40: note: in expansion of macro 'DUK__REGP_B' 81500 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:52: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81500:58: note: in expansion of macro 'DUK__REGP_C' 81500 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:52: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81500:58: note: in expansion of macro 'DUK__REGP_C' 81500 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:52: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81500:58: note: in expansion of macro 'DUK__REGP_C' 81500 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:39: note: in expansion of macro 'DUK_ACT_GET_FUNC' 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:59: note: in expansion of macro 'DUK__STRICT' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81500:4: note: in expansion of macro 'DUK__PUTPROP_BODY' 81500 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:78: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:59: note: in expansion of macro 'DUK__STRICT' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81500:4: note: in expansion of macro 'DUK__PUTPROP_BODY' 81500 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:75: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6756:45: note: in expansion of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 6756 | #define DUK_HOBJECT_HAS_STRICT(h) DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_STRICT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:59: note: in expansion of macro 'DUK__STRICT' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81500:4: note: in expansion of macro 'DUK__PUTPROP_BODY' 81500 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:36: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81502:22: note: in expansion of macro 'DUK__REGP_A' 81502 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:36: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81502:22: note: in expansion of macro 'DUK__REGP_A' 81502 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:36: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81502:22: note: in expansion of macro 'DUK__REGP_A' 81502 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:44: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81502:40: note: in expansion of macro 'DUK__CONSTP_B' 81502 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:44: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81502:40: note: in expansion of macro 'DUK__CONSTP_B' 81502 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:44: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81502:40: note: in expansion of macro 'DUK__CONSTP_B' 81502 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:52: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81502:60: note: in expansion of macro 'DUK__REGP_C' 81502 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:52: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81502:60: note: in expansion of macro 'DUK__REGP_C' 81502 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:52: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81502:60: note: in expansion of macro 'DUK__REGP_C' 81502 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:39: note: in expansion of macro 'DUK_ACT_GET_FUNC' 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:59: note: in expansion of macro 'DUK__STRICT' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81502:4: note: in expansion of macro 'DUK__PUTPROP_BODY' 81502 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:78: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:59: note: in expansion of macro 'DUK__STRICT' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81502:4: note: in expansion of macro 'DUK__PUTPROP_BODY' 81502 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:75: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6756:45: note: in expansion of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 6756 | #define DUK_HOBJECT_HAS_STRICT(h) DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_STRICT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:59: note: in expansion of macro 'DUK__STRICT' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81502:4: note: in expansion of macro 'DUK__PUTPROP_BODY' 81502 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:36: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81504:22: note: in expansion of macro 'DUK__REGP_A' 81504 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:36: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81504:22: note: in expansion of macro 'DUK__REGP_A' 81504 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:36: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81504:22: note: in expansion of macro 'DUK__REGP_A' 81504 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:44: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81504:40: note: in expansion of macro 'DUK__REGP_B' 81504 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:44: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81504:40: note: in expansion of macro 'DUK__REGP_B' 81504 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:44: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81504:40: note: in expansion of macro 'DUK__REGP_B' 81504 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:52: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81504:58: note: in expansion of macro 'DUK__CONSTP_C' 81504 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:52: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81504:58: note: in expansion of macro 'DUK__CONSTP_C' 81504 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:52: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81504:58: note: in expansion of macro 'DUK__CONSTP_C' 81504 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:39: note: in expansion of macro 'DUK_ACT_GET_FUNC' 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:59: note: in expansion of macro 'DUK__STRICT' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81504:4: note: in expansion of macro 'DUK__PUTPROP_BODY' 81504 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:78: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:59: note: in expansion of macro 'DUK__STRICT' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81504:4: note: in expansion of macro 'DUK__PUTPROP_BODY' 81504 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:75: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6756:45: note: in expansion of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 6756 | #define DUK_HOBJECT_HAS_STRICT(h) DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_STRICT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:59: note: in expansion of macro 'DUK__STRICT' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81504:4: note: in expansion of macro 'DUK__PUTPROP_BODY' 81504 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:36: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81506:22: note: in expansion of macro 'DUK__REGP_A' 81506 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:36: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81506:22: note: in expansion of macro 'DUK__REGP_A' 81506 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:36: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81506:22: note: in expansion of macro 'DUK__REGP_A' 81506 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:44: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81506:40: note: in expansion of macro 'DUK__CONSTP_B' 81506 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:44: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81506:40: note: in expansion of macro 'DUK__CONSTP_B' 81506 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79979:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79979 | #define DUK__CONSTP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:44: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81506:40: note: in expansion of macro 'DUK__CONSTP_B' 81506 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:52: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81506:60: note: in expansion of macro 'DUK__CONSTP_C' 81506 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:52: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81506:60: note: in expansion of macro 'DUK__CONSTP_C' 81506 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:52: note: in definition of macro 'DUK__PUTPROP_BODY' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81506:60: note: in expansion of macro 'DUK__CONSTP_C' 81506 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:39: note: in expansion of macro 'DUK_ACT_GET_FUNC' 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:59: note: in expansion of macro 'DUK__STRICT' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81506:4: note: in expansion of macro 'DUK__PUTPROP_BODY' 81506 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:78: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:59: note: in expansion of macro 'DUK__STRICT' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81506:4: note: in expansion of macro 'DUK__PUTPROP_BODY' 81506 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:75: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6756:45: note: in expansion of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 6756 | #define DUK_HOBJECT_HAS_STRICT(h) DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_STRICT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81445:59: note: in expansion of macro 'DUK__STRICT' 81445 | (void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81506:4: note: in expansion of macro 'DUK__PUTPROP_BODY' 81506 | DUK__PUTPROP_BODY(DUK__REGP_A(ins), DUK__CONSTP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81455:34: note: in definition of macro 'DUK__DELPROP_BODY' 81455 | rc = duk_hobject_delprop(thr, (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81508:22: note: in expansion of macro 'DUK__REGP_B' 81508 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81455:34: note: in definition of macro 'DUK__DELPROP_BODY' 81455 | rc = duk_hobject_delprop(thr, (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81508:22: note: in expansion of macro 'DUK__REGP_B' 81508 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81455:34: note: in definition of macro 'DUK__DELPROP_BODY' 81455 | rc = duk_hobject_delprop(thr, (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81508:22: note: in expansion of macro 'DUK__REGP_B' 81508 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81455:42: note: in definition of macro 'DUK__DELPROP_BODY' 81455 | rc = duk_hobject_delprop(thr, (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81508:40: note: in expansion of macro 'DUK__REGP_C' 81508 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81455:42: note: in definition of macro 'DUK__DELPROP_BODY' 81455 | rc = duk_hobject_delprop(thr, (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81508:40: note: in expansion of macro 'DUK__REGP_C' 81508 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79976:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79976 | #define DUK__REGP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81455:42: note: in definition of macro 'DUK__DELPROP_BODY' 81455 | rc = duk_hobject_delprop(thr, (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81508:40: note: in expansion of macro 'DUK__REGP_C' 81508 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:39: note: in expansion of macro 'DUK_ACT_GET_FUNC' 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81455:49: note: in expansion of macro 'DUK__STRICT' 81455 | rc = duk_hobject_delprop(thr, (barg), (carg), DUK__STRICT()); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81508:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81508 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:78: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81455:49: note: in expansion of macro 'DUK__STRICT' 81455 | rc = duk_hobject_delprop(thr, (barg), (carg), DUK__STRICT()); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81508:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81508 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:75: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6756:45: note: in expansion of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 6756 | #define DUK_HOBJECT_HAS_STRICT(h) DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_STRICT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81455:49: note: in expansion of macro 'DUK__STRICT' 81455 | rc = duk_hobject_delprop(thr, (barg), (carg), DUK__STRICT()); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81508:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81508 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81457:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81457 | DUK__REPLACE_BOOL_A_BREAK(rc); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81508:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81508 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81457:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81457 | DUK__REPLACE_BOOL_A_BREAK(rc); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81508:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81508 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81457:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81457 | DUK__REPLACE_BOOL_A_BREAK(rc); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81508:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81508 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81457:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81457 | DUK__REPLACE_BOOL_A_BREAK(rc); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81508:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81508 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81457:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81457 | DUK__REPLACE_BOOL_A_BREAK(rc); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81508:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81508 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81457:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81457 | DUK__REPLACE_BOOL_A_BREAK(rc); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81508:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81508 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81457:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81457 | DUK__REPLACE_BOOL_A_BREAK(rc); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81508:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81508 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81457:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81457 | DUK__REPLACE_BOOL_A_BREAK(rc); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81508:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81508 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__REGP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81455:34: note: in definition of macro 'DUK__DELPROP_BODY' 81455 | rc = duk_hobject_delprop(thr, (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81510:22: note: in expansion of macro 'DUK__REGP_B' 81510 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81455:34: note: in definition of macro 'DUK__DELPROP_BODY' 81455 | rc = duk_hobject_delprop(thr, (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81510:22: note: in expansion of macro 'DUK__REGP_B' 81510 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79975:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79975 | #define DUK__REGP_B(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81455:34: note: in definition of macro 'DUK__DELPROP_BODY' 81455 | rc = duk_hobject_delprop(thr, (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81510:22: note: in expansion of macro 'DUK__REGP_B' 81510 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81455:42: note: in definition of macro 'DUK__DELPROP_BODY' 81455 | rc = duk_hobject_delprop(thr, (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81510:40: note: in expansion of macro 'DUK__CONSTP_C' 81510 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81455:42: note: in definition of macro 'DUK__DELPROP_BODY' 81455 | rc = duk_hobject_delprop(thr, (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81510:40: note: in expansion of macro 'DUK__CONSTP_C' 81510 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79980:99: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79980 | #define DUK__CONSTP_C(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81455:42: note: in definition of macro 'DUK__DELPROP_BODY' 81455 | rc = duk_hobject_delprop(thr, (barg), (carg), DUK__STRICT()); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81510:40: note: in expansion of macro 'DUK__CONSTP_C' 81510 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:39: note: in expansion of macro 'DUK_ACT_GET_FUNC' 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81455:49: note: in expansion of macro 'DUK__STRICT' 81455 | rc = duk_hobject_delprop(thr, (barg), (carg), DUK__STRICT()); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81510:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81510 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:78: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81455:49: note: in expansion of macro 'DUK__STRICT' 81455 | rc = duk_hobject_delprop(thr, (barg), (carg), DUK__STRICT()); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81510:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81510 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:75: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6756:45: note: in expansion of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 6756 | #define DUK_HOBJECT_HAS_STRICT(h) DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_STRICT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81455:49: note: in expansion of macro 'DUK__STRICT' 81455 | rc = duk_hobject_delprop(thr, (barg), (carg), DUK__STRICT()); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81510:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81510 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81457:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81457 | DUK__REPLACE_BOOL_A_BREAK(rc); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81510:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81510 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81457:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81457 | DUK__REPLACE_BOOL_A_BREAK(rc); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81510:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81510 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81457:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81457 | DUK__REPLACE_BOOL_A_BREAK(rc); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81510:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81510 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81457:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81457 | DUK__REPLACE_BOOL_A_BREAK(rc); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81510:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81510 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81457:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81457 | DUK__REPLACE_BOOL_A_BREAK(rc); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81510:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81510 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81457:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81457 | DUK__REPLACE_BOOL_A_BREAK(rc); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81510:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81510 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81457:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81457 | DUK__REPLACE_BOOL_A_BREAK(rc); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81510:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81510 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81457:3: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81457 | DUK__REPLACE_BOOL_A_BREAK(rc); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81510:4: note: in expansion of macro 'DUK__DELPROP_BODY' 81510 | DUK__DELPROP_BODY(DUK__REGP_B(ins), DUK__CONSTP_C(ins)); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79983:96: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79983 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_B) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81525:10: note: in expansion of macro 'DUK__REGCONSTP_B' 81525 | tv1 = DUK__REGCONSTP_B(ins); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79983:121: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79983 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_B) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81525:10: note: in expansion of macro 'DUK__REGCONSTP_B' 81525 | tv1 = DUK__REGCONSTP_B(ins); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79983:121: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79983 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_B) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81525:10: note: in expansion of macro 'DUK__REGCONSTP_B' 81525 | tv1 = DUK__REGCONSTP_B(ins); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81527:11: note: in expansion of macro 'DUK_TVAL_GET_STRING' 81527 | name = DUK_TVAL_GET_STRING(tv1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79985:96: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79985 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_C) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81542:24: note: in expansion of macro 'DUK__REGCONSTP_C' 81542 | duk_push_tval(thr, DUK__REGCONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79985:121: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79985 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_C) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81542:24: note: in expansion of macro 'DUK__REGCONSTP_C' 81542 | duk_push_tval(thr, DUK__REGCONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79985:121: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79985 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_C) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81542:24: note: in expansion of macro 'DUK__REGCONSTP_C' 81542 | duk_push_tval(thr, DUK__REGCONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81547:10: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 81547 | tv1 = DUK_GET_TVAL_NEGIDX(thr, -1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81553:12: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 81553 | tv1 = DUK_GET_TVAL_NEGIDX(thr, -1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:39: note: in expansion of macro 'DUK_ACT_GET_FUNC' 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81554:52: note: in expansion of macro 'DUK__STRICT' 81554 | duk_js_putvar_activation(thr, act, name, tv1, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:78: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81554:52: note: in expansion of macro 'DUK__STRICT' 81554 | duk_js_putvar_activation(thr, act, name, tv1, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:75: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6756:45: note: in expansion of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 6756 | #define DUK_HOBJECT_HAS_STRICT(h) DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_STRICT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81554:52: note: in expansion of macro 'DUK__STRICT' 81554 | duk_js_putvar_activation(thr, act, name, tv1, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79985:96: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79985 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_C) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81579:23: note: in expansion of macro 'DUK__REGCONSTP_C' 81579 | duk_push_tval(thr, DUK__REGCONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79985:121: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79985 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_C) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81579:23: note: in expansion of macro 'DUK__REGCONSTP_C' 81579 | duk_push_tval(thr, DUK__REGCONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79985:121: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79985 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_C) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_C((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81579:23: note: in expansion of macro 'DUK__REGCONSTP_C' 81579 | duk_push_tval(thr, DUK__REGCONSTP_C(ins)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79983:96: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79983 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_B) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81580:23: note: in expansion of macro 'DUK__REGCONSTP_B' 81580 | duk_push_tval(thr, DUK__REGCONSTP_B(ins)); /* -> [ ... escaped_source bytecode ] */ | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79983:121: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79983 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_B) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81580:23: note: in expansion of macro 'DUK__REGCONSTP_B' 81580 | duk_push_tval(thr, DUK__REGCONSTP_B(ins)); /* -> [ ... escaped_source bytecode ] */ | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79983:121: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79983 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_B) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81580:23: note: in expansion of macro 'DUK__REGCONSTP_B' 81580 | duk_push_tval(thr, DUK__REGCONSTP_B(ins)); /* -> [ ... escaped_source bytecode ] */ | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77202:16: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 77202 | duk__tvsrc = DUK_GET_TVAL_NEGIDX(duk__thr, -1); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81582:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81582 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81582:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81582 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81582:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81582 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81582:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81582 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77206:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 77206 | DUK_TVAL_SET_UNDEFINED(duk__tvsrc); /* value stack init policy */ \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81582:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81582 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81582:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81582 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81582:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81582 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79983:96: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79983 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_B) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81608:10: note: in expansion of macro 'DUK__REGCONSTP_B' 81608 | tv1 = DUK__REGCONSTP_B(ins); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79983:121: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79983 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_B) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81608:10: note: in expansion of macro 'DUK__REGCONSTP_B' 81608 | tv1 = DUK__REGCONSTP_B(ins); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79983:121: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79983 | ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_B) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_B((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81608:10: note: in expansion of macro 'DUK__REGCONSTP_B' 81608 | tv1 = DUK__REGCONSTP_B(ins); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81610:11: note: in expansion of macro 'DUK_TVAL_GET_STRING' 81610 | name = DUK_TVAL_GET_STRING(tv1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3433:44: warning: use of old-style cast to 'duk_uint_fast_t' {aka 'unsigned int'} [-Wold-style-cast] 3433 | #define DUK_DEC_A(x) (((x) >> 8) & 0xffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81615:28: note: in expansion of macro 'DUK_DEC_A' 81615 | idx = (duk_uint_fast_t) DUK_DEC_A(ins); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81618:41: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 81618 | duk_replace(thr, (duk_idx_t) (idx + 1)); /* 'this' binding */ | ^ | --------------------- | static_cast ( (idx + 1)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81619:33: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 81619 | duk_replace(thr, (duk_idx_t) idx); /* variable value (function, we hope, not checked here) */ | ^~~ | --------------- | static_cast ( idx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81642:32: note: in expansion of macro 'DUK_ACT_GET_FUNC' 81642 | fun_act = (duk_hcompfunc *) DUK_ACT_GET_FUNC(act); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81662:47: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 81662 | duk_js_push_closure(thr, (duk_hcompfunc *) fun_temp, act->var_env, act->lex_env, 1 /*add_auto_proto*/); | ^~~~~~~~ | -------------------------- | reinterpret_cast ( fun_temp) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77202:16: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 77202 | duk__tvsrc = DUK_GET_TVAL_NEGIDX(duk__thr, -1); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81663:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81663 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81663:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81663 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81663:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81663 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81663:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81663 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77206:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 77206 | DUK_TVAL_SET_UNDEFINED(duk__tvsrc); /* value stack init policy */ \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81663:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81663 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81663:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81663 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81663:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81663 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81671:10: note: in expansion of macro 'DUK__CONSTP_BC' 81671 | tv1 = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81671:10: note: in expansion of macro 'DUK__CONSTP_BC' 81671 | tv1 = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81671:10: note: in expansion of macro 'DUK__CONSTP_BC' 81671 | tv1 = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81673:11: note: in expansion of macro 'DUK_TVAL_GET_STRING' 81673 | name = DUK_TVAL_GET_STRING(tv1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77202:16: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 77202 | duk__tvsrc = DUK_GET_TVAL_NEGIDX(duk__thr, -1); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81679:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81679 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81679:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81679 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81679:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81679 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:30: note: in expansion of macro 'DUK__REGP_A' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81679:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81679 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77206:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 77206 | DUK_TVAL_SET_UNDEFINED(duk__tvsrc); /* value stack init policy */ \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81679:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81679 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81679:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81679 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80519:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80519 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81679:4: note: in expansion of macro 'DUK__REPLACE_TOP_A_BREAK' 81679 | DUK__REPLACE_TOP_A_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81687:10: note: in expansion of macro 'DUK__CONSTP_BC' 81687 | tv1 = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81687:10: note: in expansion of macro 'DUK__CONSTP_BC' 81687 | tv1 = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81687:10: note: in expansion of macro 'DUK__CONSTP_BC' 81687 | tv1 = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81689:11: note: in expansion of macro 'DUK_TVAL_GET_STRING' 81689 | name = DUK_TVAL_GET_STRING(tv1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81696:10: note: in expansion of macro 'DUK__REGP_A' 81696 | tv1 = DUK__REGP_A(ins); /* val */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81696:10: note: in expansion of macro 'DUK__REGP_A' 81696 | tv1 = DUK__REGP_A(ins); /* val */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81696:10: note: in expansion of macro 'DUK__REGP_A' 81696 | tv1 = DUK__REGP_A(ins); /* val */ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:39: note: in expansion of macro 'DUK_ACT_GET_FUNC' 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81698:50: note: in expansion of macro 'DUK__STRICT' 81698 | duk_js_putvar_activation(thr, act, name, tv1, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:78: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:82: note: in expansion of macro 'DUK__FUN' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81698:50: note: in expansion of macro 'DUK__STRICT' 81698 | duk_js_putvar_activation(thr, act, name, tv1, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:75: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6756:45: note: in expansion of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 6756 | #define DUK_HOBJECT_HAS_STRICT(h) DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_STRICT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79935:43: note: in expansion of macro 'DUK_HOBJECT_HAS_STRICT' 79935 | #define DUK__STRICT() ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN())) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81698:50: note: in expansion of macro 'DUK__STRICT' 81698 | duk_js_putvar_activation(thr, act, name, tv1, DUK__STRICT()); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81708:10: note: in expansion of macro 'DUK__CONSTP_BC' 81708 | tv1 = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81708:10: note: in expansion of macro 'DUK__CONSTP_BC' 81708 | tv1 = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81708:10: note: in expansion of macro 'DUK__CONSTP_BC' 81708 | tv1 = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81710:11: note: in expansion of macro 'DUK_TVAL_GET_STRING' 81710 | name = DUK_TVAL_GET_STRING(tv1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81714:4: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81714 | DUK__REPLACE_BOOL_A_BREAK(rc); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81714:4: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81714 | DUK__REPLACE_BOOL_A_BREAK(rc); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80533:16: note: in expansion of macro 'DUK__REGP_A' 80533 | duk__tvdst = DUK__REGP_A(ins); \ | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81714:4: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81714 | DUK__REPLACE_BOOL_A_BREAK(rc); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:941:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 941 | #define DUK_TAG_BOOLEAN 0xfff5UL /* embed: 0 or 1 (false or true) */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:49: note: in expansion of macro 'DUK_TAG_BOOLEAN' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81714:4: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81714 | DUK__REPLACE_BOOL_A_BREAK(rc); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:95: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:46: note: in definition of macro 'DUK_DBLUNION_SET_HIGH32' 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81714:4: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81714 | DUK__REPLACE_BOOL_A_BREAK(rc); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1072:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 1072 | DUK_DBLUNION_SET_HIGH32((tv), (((duk_uint32_t) DUK_TAG_BOOLEAN) << 16) | ((duk_uint32_t) (val))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5249:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN' 5249 | DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81714:4: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81714 | DUK__REPLACE_BOOL_A_BREAK(rc); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81714:4: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81714 | DUK__REPLACE_BOOL_A_BREAK(rc); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5250:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5250 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5420:44: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0' 5420 | #define DUK_TVAL_SET_BOOLEAN_UPDREF DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80534:3: note: in expansion of macro 'DUK_TVAL_SET_BOOLEAN_UPDREF' 80534 | DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81714:4: note: in expansion of macro 'DUK__REPLACE_BOOL_A_BREAK' 81714 | DUK__REPLACE_BOOL_A_BREAK(rc); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3437:48: warning: use of old-style cast to 'duk_int_fast_t' {aka 'int'} [-Wold-style-cast] 3437 | #define DUK_DEC_ABC(x) (((x) >> 8) & 0xffffffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81722:32: note: in expansion of macro 'DUK_DEC_ABC' 81722 | curr_pc += (duk_int_fast_t) DUK_DEC_ABC(ins) - (duk_int_fast_t) DUK_BC_JUMP_BIAS; | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3796:38: warning: use of old-style cast to 'duk_int_fast_t' {aka 'int'} [-Wold-style-cast] 3796 | #define DUK_BC_JUMP_BIAS (1L << 23) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81722:68: note: in expansion of macro 'DUK_BC_JUMP_BIAS' 81722 | curr_pc += (duk_int_fast_t) DUK_DEC_ABC(ins) - (duk_int_fast_t) DUK_BC_JUMP_BIAS; | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81767:9: note: in expansion of macro 'DUK__REGP_BC' 81767 | tv = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81767:9: note: in expansion of macro 'DUK__REGP_BC' 81767 | tv = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81767:9: note: in expansion of macro 'DUK__REGP_BC' 81767 | tv = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81769:4: note: in expansion of macro 'DUK_TVAL_INCREF' 81769 | DUK_TVAL_INCREF(thr, tv); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81769:4: note: in expansion of macro 'DUK_TVAL_INCREF' 81769 | DUK_TVAL_INCREF(thr, tv); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81778:9: note: in expansion of macro 'DUK__CONSTP_BC' 81778 | tv = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81778:9: note: in expansion of macro 'DUK__CONSTP_BC' 81778 | tv = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81778:9: note: in expansion of macro 'DUK__CONSTP_BC' 81778 | tv = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81780:4: note: in expansion of macro 'DUK_TVAL_INCREF' 81780 | DUK_TVAL_INCREF(thr, tv); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81780:4: note: in expansion of macro 'DUK_TVAL_INCREF' 81780 | DUK_TVAL_INCREF(thr, tv); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:69: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81788:9: note: in expansion of macro 'DUK__CONSTP_BC' 81788 | tv = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81788:9: note: in expansion of macro 'DUK__CONSTP_BC' 81788 | tv = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79981:100: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79981 | #define DUK__CONSTP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81788:9: note: in expansion of macro 'DUK__CONSTP_BC' 81788 | tv = DUK__CONSTP_BC(ins); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81815:81: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 81815 | cat->flags = (duk_uint32_t) (DUK_CAT_TYPE_LABEL | (bc << DUK_CAT_LABEL_SHIFT)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81816:35: warning: use of old-style cast to 'duk_instr_t*' {aka 'unsigned int*'} [-Wold-style-cast] 81816 | cat->pc_base = (duk_instr_t *) curr_pc; /* pre-incremented, points to first jump slot */ | ^~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81860:52: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 81860 | duk__handle_break_or_continue(thr, (duk_uint_t) bc, DUK_LJ_TYPE_BREAK); | ^~ | --------------- | static_cast ( bc) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81868:52: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 81868 | duk__handle_break_or_continue(thr, (duk_uint_t) bc, DUK_LJ_TYPE_CONTINUE); | ^~ | --------------- | static_cast ( bc) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81915:29: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 81915 | duk_dup(thr, (duk_idx_t) bc); | ^~ | -------------- | static_cast ( bc) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81924:51: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 81924 | duk_err_setup_ljstate1(thr, DUK_LJ_TYPE_THROW, DUK_GET_TVAL_NEGIDX(thr, -1)); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81966:4: note: in expansion of macro 'DUK_TVAL_INCREF' 81966 | DUK_TVAL_INCREF(thr, tv1); /* no side effects */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81966:4: note: in expansion of macro 'DUK_TVAL_INCREF' 81966 | DUK_TVAL_INCREF(thr, tv1); /* no side effects */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81967:4: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 81967 | DUK_TVAL_SET_UNDEFINED(tv2); /* no need for incref */ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81968:4: note: in expansion of macro 'DUK_TVAL_DECREF' 81968 | DUK_TVAL_DECREF(thr, &tv_tmp1); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81968:4: note: in expansion of macro 'DUK_TVAL_DECREF' 81968 | DUK_TVAL_DECREF(thr, &tv_tmp1); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81969:4: note: in expansion of macro 'DUK_TVAL_DECREF' 81969 | DUK_TVAL_DECREF(thr, &tv_tmp2); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:81969:4: note: in expansion of macro 'DUK_TVAL_DECREF' 81969 | DUK_TVAL_DECREF(thr, &tv_tmp2); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3433:44: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 3433 | #define DUK_DEC_A(x) (((x) >> 8) & 0xffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82005:24: note: in expansion of macro 'DUK_DEC_A' 82005 | nargs = (duk_idx_t) DUK_DEC_A(ins); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3436:47: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 3436 | #define DUK_DEC_BC(x) (((x) >> 16) & 0xffffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82007:22: note: in expansion of macro 'DUK_DEC_BC' 82007 | idx = (duk_idx_t) DUK_DEC_BC(ins); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:39: note: in expansion of macro 'DUK_ACT_GET_FUNC' 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82020:10: note: in expansion of macro 'DUK__FUN' 82020 | fun = DUK__FUN(); | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82022:45: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 82022 | duk_set_top_unsafe(thr, (duk_idx_t) fun->nregs); | ^~~~~ | ---------------------- | static_cast ( fun->nregs) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3433:44: warning: use of old-style cast to 'duk_uint_fast_t' {aka 'unsigned int'} [-Wold-style-cast] 3433 | #define DUK_DEC_A(x) (((x) >> 8) & 0xffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82053:30: note: in expansion of macro 'DUK_DEC_A' 82053 | nargs = (duk_uint_fast_t) DUK_DEC_A(ins); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1155:41: warning: use of old-style cast to 'duk_uint_fast_t' {aka 'unsigned int'} [-Wold-style-cast] 1155 | #define DUK_TVAL_GET_NUMBER(tv) ((tv)->d) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80047:27: note: in expansion of macro 'DUK_TVAL_GET_NUMBER' 80047 | idx = (duk_uint_fast_t) DUK_TVAL_GET_NUMBER(tv_ind); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82054:4: note: in expansion of macro 'DUK__LOOKUP_INDIRECT' 82054 | DUK__LOOKUP_INDIRECT(nargs); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3436:47: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 3436 | #define DUK_DEC_BC(x) (((x) >> 16) & 0xffffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82056:22: note: in expansion of macro 'DUK_DEC_BC' 82056 | idx = (duk_idx_t) DUK_DEC_BC(ins); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82058:56: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 82058 | if (duk__executor_handle_call(thr, idx, (duk_idx_t) nargs, call_flags)) { | ^~~~~ | ----------------- | static_cast ( nargs) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8065:43: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 8065 | #define DUK_ACT_GET_FUNC(act) ((act)->func) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79931:39: note: in expansion of macro 'DUK_ACT_GET_FUNC' 79931 | #define DUK__FUN() ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr)) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82065:10: note: in expansion of macro 'DUK__FUN' 82065 | fun = DUK__FUN(); | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82067:45: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 82067 | duk_set_top_unsafe(thr, (duk_idx_t) fun->nregs); | ^~~~~ | ---------------------- | static_cast ( fun->nregs) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77202:16: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 77202 | duk__tvsrc = DUK_GET_TVAL_NEGIDX(duk__thr, -1); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82087:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82087 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:30: note: in expansion of macro 'DUK__REGP_BC' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82087:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82087 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:30: note: in expansion of macro 'DUK__REGP_BC' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82087:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82087 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:30: note: in expansion of macro 'DUK__REGP_BC' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82087:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82087 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77206:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 77206 | DUK_TVAL_SET_UNDEFINED(duk__tvsrc); /* value stack init policy */ \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82087:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82087 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82087:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82087 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82087:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82087 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77202:16: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 77202 | duk__tvsrc = DUK_GET_TVAL_NEGIDX(duk__thr, -1); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82114:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82114 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:30: note: in expansion of macro 'DUK__REGP_BC' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82114:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82114 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:30: note: in expansion of macro 'DUK__REGP_BC' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82114:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82114 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:30: note: in expansion of macro 'DUK__REGP_BC' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82114:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82114 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77206:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 77206 | DUK_TVAL_SET_UNDEFINED(duk__tvsrc); /* value stack init policy */ \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82114:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82114 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82114:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82114 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82114:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82114 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3434:45: warning: use of old-style cast to 'duk_uint_fast_t' {aka 'unsigned int'} [-Wold-style-cast] 3434 | #define DUK_DEC_B(x) (((x) >> 16) & 0xffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82133:28: note: in expansion of macro 'DUK_DEC_B' 82133 | idx = (duk_uint_fast_t) DUK_DEC_B(ins); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1155:41: warning: use of old-style cast to 'duk_uint_fast_t' {aka 'unsigned int'} [-Wold-style-cast] 1155 | #define DUK_TVAL_GET_NUMBER(tv) ((tv)->d) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80047:27: note: in expansion of macro 'DUK_TVAL_GET_NUMBER' 80047 | idx = (duk_uint_fast_t) DUK_TVAL_GET_NUMBER(tv_ind); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82135:5: note: in expansion of macro 'DUK__LOOKUP_INDIRECT' 82135 | DUK__LOOKUP_INDIRECT(idx); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3435:45: warning: use of old-style cast to 'duk_small_uint_fast_t' {aka 'unsigned int'} [-Wold-style-cast] 3435 | #define DUK_DEC_C(x) (((x) >> 24) & 0xffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82138:36: note: in expansion of macro 'DUK_DEC_C' 82138 | count = (duk_small_uint_fast_t) DUK_DEC_C(ins); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82161:30: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 82161 | duk_dup(thr, (duk_idx_t) idx); | ^~~ | --------------- | static_cast ( idx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82162:38: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 82162 | duk_dup(thr, (duk_idx_t) (idx + 1)); | ^ | --------------------- | static_cast ( (idx + 1)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3434:45: warning: use of old-style cast to 'duk_uint_fast_t' {aka 'unsigned int'} [-Wold-style-cast] 3434 | #define DUK_DEC_B(x) (((x) >> 16) & 0xffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82195:28: note: in expansion of macro 'DUK_DEC_B' 82195 | idx = (duk_uint_fast_t) DUK_DEC_B(ins); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1155:41: warning: use of old-style cast to 'duk_uint_fast_t' {aka 'unsigned int'} [-Wold-style-cast] 1155 | #define DUK_TVAL_GET_NUMBER(tv) ((tv)->d) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80047:27: note: in expansion of macro 'DUK_TVAL_GET_NUMBER' 80047 | idx = (duk_uint_fast_t) DUK_TVAL_GET_NUMBER(tv_ind); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82197:5: note: in expansion of macro 'DUK__LOOKUP_INDIRECT' 82197 | DUK__LOOKUP_INDIRECT(idx); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3435:45: warning: use of old-style cast to 'duk_small_uint_fast_t' {aka 'unsigned int'} [-Wold-style-cast] 3435 | #define DUK_DEC_C(x) (((x) >> 24) & 0xffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82200:36: note: in expansion of macro 'DUK_DEC_C' 82200 | count = (duk_small_uint_fast_t) DUK_DEC_C(ins); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1155:41: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1155 | #define DUK_TVAL_GET_NUMBER(tv) ((tv)->d) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82218:29: note: in expansion of macro 'DUK_TVAL_GET_NUMBER' 82218 | arr_idx = (duk_uint32_t) DUK_TVAL_GET_NUMBER(tv1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82235:30: warning: use of old-style cast to 'duk_idx_t' {aka 'int'} [-Wold-style-cast] 82235 | duk_dup(thr, (duk_idx_t) idx); | ^~~ | --------------- | static_cast ( idx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82246:62: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 82246 | duk_set_length(thr, obj_idx, (duk_size_t) (duk_uarridx_t) arr_idx); | ^~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82246:62: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 82246 | duk_set_length(thr, obj_idx, (duk_size_t) (duk_uarridx_t) arr_idx); | ^~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82255:10: note: in expansion of macro 'DUK__REGP_A' 82255 | tv1 = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82255:10: note: in expansion of macro 'DUK__REGP_A' 82255 | tv1 = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79974:113: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79974 | #define DUK__REGP_A(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82255:10: note: in expansion of macro 'DUK__REGP_A' 82255 | tv1 = DUK__REGP_A(ins); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82257:8: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 82257 | h = DUK_TVAL_GET_OBJECT(tv1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82260:10: note: in expansion of macro 'DUK__REGP_BC' 82260 | tv1 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82260:10: note: in expansion of macro 'DUK__REGP_BC' 82260 | tv1 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82260:10: note: in expansion of macro 'DUK__REGP_BC' 82260 | tv1 = DUK__REGP_BC(ins); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1155:41: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1155 | #define DUK_TVAL_GET_NUMBER(tv) ((tv)->d) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82266:25: note: in expansion of macro 'DUK_TVAL_GET_NUMBER' 82266 | len = (duk_uint32_t) DUK_TVAL_GET_NUMBER(tv1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82268:20: warning: use of old-style cast to 'duk_harray*' {aka 'struct duk_harray*'} [-Wold-style-cast] 82268 | ((duk_harray *) h)->length = len; | ^ | ---------------- | reinterpret_cast ( h) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10354:3: note: in expansion of macro 'DUK_ERROR' 10354 | DUK_ERROR((thr), DUK_ERR_REFERENCE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82283:4: note: in expansion of macro 'DUK_ERROR_REFERENCE' 82283 | DUK_ERROR_REFERENCE(thr, DUK_STR_INVALID_LVALUE); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10354:3: note: in expansion of macro 'DUK_ERROR' 10354 | DUK_ERROR((thr), DUK_ERR_REFERENCE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82283:4: note: in expansion of macro 'DUK_ERROR_REFERENCE' 82283 | DUK_ERROR_REFERENCE(thr, DUK_STR_INVALID_LVALUE); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10354:3: note: in expansion of macro 'DUK_ERROR' 10354 | DUK_ERROR((thr), DUK_ERR_REFERENCE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82283:4: note: in expansion of macro 'DUK_ERROR_REFERENCE' 82283 | DUK_ERROR_REFERENCE(thr, DUK_STR_INVALID_LVALUE); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10113:37: note: in expansion of macro 'DUK_LINE_MACRO' 10113 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82318:4: note: in expansion of macro 'DUK_ERROR_FMT1' 82318 | DUK_ERROR_FMT1(thr, DUK_ERR_ERROR, "INVALID opcode (%ld)", (long) DUK_DEC_ABC(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10118:43: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10118 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82318:4: note: in expansion of macro 'DUK_ERROR_FMT1' 82318 | DUK_ERROR_FMT1(thr, DUK_ERR_ERROR, "INVALID opcode (%ld)", (long) DUK_DEC_ABC(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10118:76: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10118 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82318:4: note: in expansion of macro 'DUK_ERROR_FMT1' 82318 | DUK_ERROR_FMT1(thr, DUK_ERR_ERROR, "INVALID opcode (%ld)", (long) DUK_DEC_ABC(ins)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3437:48: warning: use of old-style cast to 'long int' [-Wold-style-cast] 3437 | #define DUK_DEC_ABC(x) (((x) >> 8) & 0xffffffUL) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10120:29: note: in definition of macro 'DUK_ERROR_FMT1' 10120 | (arg1)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82318:70: note: in expansion of macro 'DUK_DEC_ABC' 82318 | DUK_ERROR_FMT1(thr, DUK_ERR_ERROR, "INVALID opcode (%ld)", (long) DUK_DEC_ABC(ins)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77202:16: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 77202 | duk__tvsrc = DUK_GET_TVAL_NEGIDX(duk__thr, -1); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82326:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82326 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:74: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:30: note: in expansion of macro 'DUK__REGP_BC' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82326:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82326 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'void*' [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:30: note: in expansion of macro 'DUK__REGP_BC' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82326:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82326 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:79977:114: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 79977 | #define DUK__REGP_BC(ins) ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77203:17: note: in definition of macro 'DUK__REPLACE_TO_TVPTR' 77203 | duk__tvdst = (tv_ptr); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:30: note: in expansion of macro 'DUK__REGP_BC' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82326:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82326 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77206:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 77206 | DUK_TVAL_SET_UNDEFINED(duk__tvsrc); /* value stack init policy */ \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82326:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82326 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82326:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82326 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:77208:3: note: in expansion of macro 'DUK_TVAL_DECREF' 77208 | DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80524:3: note: in expansion of macro 'DUK__REPLACE_TO_TVPTR' 80524 | DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82326:4: note: in expansion of macro 'DUK__REPLACE_TOP_BC_BREAK' 82326 | DUK__REPLACE_TOP_BC_BREAK(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10307:52: note: in expansion of macro 'DUK_LINE_MACRO' 10307 | duk_err_error((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:80003:3: note: in expansion of macro 'DUK_ERROR_ERROR' 80003 | DUK_ERROR_ERROR(thr, (msg)); \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82404:4: note: in expansion of macro 'DUK__INTERNAL_ERROR' 82404 | DUK__INTERNAL_ERROR("invalid opcode"); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_js_toboolean(duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82556:10: note: in expansion of macro 'DUK_TVAL_GET_TAG' 82556 | switch (DUK_TVAL_GET_TAG(tv)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1147:78: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1147 | #define DUK_TVAL_GET_BOOLEAN(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82562:10: note: in expansion of macro 'DUK_TVAL_GET_BOOLEAN' 82562 | return DUK_TVAL_GET_BOOLEAN(tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82568:20: note: in expansion of macro 'DUK_TVAL_GET_STRING' 82568 | duk_hstring *h = DUK_TVAL_GET_STRING(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1168:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 1168 | #define DUK_TVAL_GET_POINTER(tv) ((void *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82582:13: note: in expansion of macro 'DUK_TVAL_GET_POINTER' 82582 | void *p = DUK_TVAL_GET_POINTER(tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk__tonumber_string_raw(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82677:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 82677 | DUK_TVAL_SET_UNDEFINED(thr->valstack_top); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk_js_tonumber(duk_hthread*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82687:10: note: in expansion of macro 'DUK_TVAL_GET_TAG' 82687 | switch (DUK_TVAL_GET_TAG(tv)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82707:20: note: in expansion of macro 'DUK_TVAL_GET_STRING' 82707 | duk_hstring *h = DUK_TVAL_GET_STRING(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82709:4: note: in expansion of macro 'DUK_ERROR_TYPE' 82709 | DUK_ERROR_TYPE(thr, DUK_STR_CANNOT_NUMBER_COERCE_SYMBOL); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82709:4: note: in expansion of macro 'DUK_ERROR_TYPE' 82709 | DUK_ERROR_TYPE(thr, DUK_STR_CANNOT_NUMBER_COERCE_SYMBOL); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82709:4: note: in expansion of macro 'DUK_ERROR_TYPE' 82709 | DUK_ERROR_TYPE(thr, DUK_STR_CANNOT_NUMBER_COERCE_SYMBOL); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1168:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 1168 | #define DUK_TVAL_GET_POINTER(tv) ((void *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82732:13: note: in expansion of macro 'DUK_TVAL_GET_POINTER' 82732 | void *p = DUK_TVAL_GET_POINTER(tv); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int32_t duk_js_toint32(duk_hthread*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82856:23: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 82856 | return (duk_int32_t) d; | ^ | - | static_cast<- | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk_js_touint32(duk_hthread*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82873:24: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 82873 | return (duk_uint32_t) d; | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint16_t duk_js_touint16(duk_hthread*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:82878:63: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 82878 | return (duk_uint16_t) (duk_js_touint32(thr, tv) & 0x0000ffffU); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_js_equals_helper(duk_hthread*, duk_tval*, duk_tval*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83036:10: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 83036 | if (DUK_TVAL_IS_NUMBER(tv_x) && DUK_TVAL_IS_NUMBER(tv_y)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83036:38: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 83036 | if (DUK_TVAL_IS_NUMBER(tv_x) && DUK_TVAL_IS_NUMBER(tv_y)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83051:13: note: in expansion of macro 'DUK_TVAL_GET_TAG' 83051 | } else if (DUK_TVAL_GET_TAG(tv_x) == DUK_TVAL_GET_TAG(tv_y)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83051:39: note: in expansion of macro 'DUK_TVAL_GET_TAG' 83051 | } else if (DUK_TVAL_GET_TAG(tv_x) == DUK_TVAL_GET_TAG(tv_y)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83052:11: note: in expansion of macro 'DUK_TVAL_GET_TAG' 83052 | switch (DUK_TVAL_GET_TAG(tv_x)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1147:78: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1147 | #define DUK_TVAL_GET_BOOLEAN(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83058:11: note: in expansion of macro 'DUK_TVAL_GET_BOOLEAN' 83058 | return DUK_TVAL_GET_BOOLEAN(tv_x) == DUK_TVAL_GET_BOOLEAN(tv_y); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1147:78: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1147 | #define DUK_TVAL_GET_BOOLEAN(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83058:41: note: in expansion of macro 'DUK_TVAL_GET_BOOLEAN' 83058 | return DUK_TVAL_GET_BOOLEAN(tv_x) == DUK_TVAL_GET_BOOLEAN(tv_y); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1168:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 1168 | #define DUK_TVAL_GET_POINTER(tv) ((void *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83061:11: note: in expansion of macro 'DUK_TVAL_GET_POINTER' 83061 | return DUK_TVAL_GET_POINTER(tv_x) == DUK_TVAL_GET_POINTER(tv_y); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1168:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 1168 | #define DUK_TVAL_GET_POINTER(tv) ((void *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83061:41: note: in expansion of macro 'DUK_TVAL_GET_POINTER' 83061 | return DUK_TVAL_GET_POINTER(tv_x) == DUK_TVAL_GET_POINTER(tv_y); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83069:11: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 83069 | return DUK_TVAL_GET_HEAPHDR(tv_x) == DUK_TVAL_GET_HEAPHDR(tv_y); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83069:41: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 83069 | return DUK_TVAL_GET_HEAPHDR(tv_x) == DUK_TVAL_GET_HEAPHDR(tv_y); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83077:11: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 83077 | return DUK_TVAL_GET_HEAPHDR(tv_x) == DUK_TVAL_GET_HEAPHDR(tv_y); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83077:41: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 83077 | return DUK_TVAL_GET_HEAPHDR(tv_x) == DUK_TVAL_GET_HEAPHDR(tv_y); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1161:55: warning: use of old-style cast to 'duk_c_function' {aka 'int (*)(struct duk_hthread*)'} [-Wold-style-cast] 1161 | (out_fp) = (duk_c_function) (tv)->ui[DUK_DBL_IDX_UI1]; \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83088:4: note: in expansion of macro 'DUK_TVAL_GET_LIGHTFUNC' 83088 | DUK_TVAL_GET_LIGHTFUNC(tv_x, func_x, lf_flags_x); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1161:55: warning: use of old-style cast to 'duk_c_function' {aka 'int (*)(struct duk_hthread*)'} [-Wold-style-cast] 1161 | (out_fp) = (duk_c_function) (tv)->ui[DUK_DBL_IDX_UI1]; \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83089:4: note: in expansion of macro 'DUK_TVAL_GET_LIGHTFUNC' 83089 | DUK_TVAL_GET_LIGHTFUNC(tv_y, func_y, lf_flags_y); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1524:39: note: in expansion of macro 'DUK_HSTRING_HAS_SYMBOL' 1524 | #define DUK_TVAL_STRING_IS_SYMBOL(tv) DUK_HSTRING_HAS_SYMBOL(DUK_TVAL_GET_STRING((tv))) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1524:62: note: in expansion of macro 'DUK_TVAL_GET_STRING' 1524 | #define DUK_TVAL_STRING_IS_SYMBOL(tv) DUK_HSTRING_HAS_SYMBOL(DUK_TVAL_GET_STRING((tv))) | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83130:8: note: in expansion of macro 'DUK_TVAL_STRING_IS_SYMBOL' 83130 | if (!DUK_TVAL_STRING_IS_SYMBOL(tv_y)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:49: note: in definition of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1524:39: note: in expansion of macro 'DUK_HSTRING_HAS_SYMBOL' 1524 | #define DUK_TVAL_STRING_IS_SYMBOL(tv) DUK_HSTRING_HAS_SYMBOL(DUK_TVAL_GET_STRING((tv))) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1524:62: note: in expansion of macro 'DUK_TVAL_GET_STRING' 1524 | #define DUK_TVAL_STRING_IS_SYMBOL(tv) DUK_HSTRING_HAS_SYMBOL(DUK_TVAL_GET_STRING((tv))) | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83138:8: note: in expansion of macro 'DUK_TVAL_STRING_IS_SYMBOL' 83138 | if (!DUK_TVAL_STRING_IS_SYMBOL(tv_x)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1147:78: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1147 | #define DUK_TVAL_GET_BOOLEAN(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83155:22: note: in expansion of macro 'DUK_TVAL_GET_BOOLEAN' 83155 | duk_push_uint(thr, DUK_TVAL_GET_BOOLEAN(tv_x)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1147:78: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1147 | #define DUK_TVAL_GET_BOOLEAN(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83162:22: note: in expansion of macro 'DUK_TVAL_GET_BOOLEAN' 83162 | duk_push_uint(thr, DUK_TVAL_GET_BOOLEAN(tv_y)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83189:34: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 83189 | rc = duk_js_equals_helper(thr, DUK_GET_TVAL_NEGIDX(thr, -2), DUK_GET_TVAL_NEGIDX(thr, -1), 0 /*flags:nonstrict*/); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83189:64: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 83189 | rc = duk_js_equals_helper(thr, DUK_GET_TVAL_NEGIDX(thr, -2), DUK_GET_TVAL_NEGIDX(thr, -1), 0 /*flags:nonstrict*/); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_int_t duk_js_data_compare(const duk_uint8_t*, const duk_uint8_t*, duk_size_t, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83218:40: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 83218 | rc = duk_memcmp_unsafe((const void *) buf1, (const void *) buf2, (size_t) prefix_len); | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83218:61: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 83218 | rc = duk_memcmp_unsafe((const void *) buf1, (const void *) buf2, (size_t) prefix_len); | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83218:76: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 83218 | rc = duk_memcmp_unsafe((const void *) buf1, (const void *) buf2, (size_t) prefix_len); | ^~~~~~~~~~ | ------------------- | static_cast ( prefix_len) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_int_t duk_js_string_compare(duk_hstring*, duk_hstring*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83254:51: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 83254 | return duk_js_data_compare((const duk_uint8_t *) DUK_HSTRING_GET_DATA(h1), | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83254:51: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 83254 | return duk_js_data_compare((const duk_uint8_t *) DUK_HSTRING_GET_DATA(h1), | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83255:51: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 83255 | (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h2), | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83255:51: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 83255 | (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h2), | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83256:42: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 83256 | (duk_size_t) DUK_HSTRING_GET_BYTELEN(h1), | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83257:42: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 83257 | (duk_size_t) DUK_HSTRING_GET_BYTELEN(h2)); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_js_compare_helper(duk_hthread*, duk_tval*, duk_tval*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83401:17: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 83401 | if (DUK_LIKELY(DUK_TVAL_IS_NUMBER(tv_x) && DUK_TVAL_IS_NUMBER(tv_y))) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1191:33: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1191 | #define DUK_TVAL_IS_NUMBER(tv) (DUK_TVAL_GET_TAG((tv)) <= 0xfff0UL) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83401:45: note: in expansion of macro 'DUK_TVAL_IS_NUMBER' 83401 | if (DUK_LIKELY(DUK_TVAL_IS_NUMBER(tv_x) && DUK_TVAL_IS_NUMBER(tv_y))) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83420:9: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 83420 | tv_x = DUK_GET_TVAL_NEGIDX(thr, -2); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83421:9: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 83421 | tv_y = DUK_GET_TVAL_NEGIDX(thr, -1); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1181:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1181 | #define DUK_TVAL_IS_STRING(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83423:6: note: in expansion of macro 'DUK_TVAL_IS_STRING' 83423 | if (DUK_TVAL_IS_STRING(tv_x) && DUK_TVAL_IS_STRING(tv_y)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1181:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1181 | #define DUK_TVAL_IS_STRING(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83423:34: note: in expansion of macro 'DUK_TVAL_IS_STRING' 83423 | if (DUK_TVAL_IS_STRING(tv_x) && DUK_TVAL_IS_STRING(tv_y)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83424:21: note: in expansion of macro 'DUK_TVAL_GET_STRING' 83424 | duk_hstring *h1 = DUK_TVAL_GET_STRING(tv_x); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83425:21: note: in expansion of macro 'DUK_TVAL_GET_STRING' 83425 | duk_hstring *h2 = DUK_TVAL_GET_STRING(tv_y); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83469:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 83469 | DUK_TVAL_SET_UNDEFINED(tv_x); /* Value stack policy */ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83470:2: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 83470 | DUK_TVAL_SET_UNDEFINED(tv_y); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__js_instanceof_helper(duk_hthread*, duk_tval*, duk_tval*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83554:52: warning: use of old-style cast to 'void*' [-Wold-style-cast] 83554 | duk_push_tval(thr, &((duk_hboundfunc *) (void *) func)->target); | ^~~~ | ------------- | static_cast ( func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83554:52: warning: use of old-style cast to 'duk_hboundfunc*' {aka 'struct duk_hboundfunc*'} [-Wold-style-cast] 83554 | duk_push_tval(thr, &((duk_hboundfunc *) (void *) func)->target); | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83581:7: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 83581 | tv = DUK_GET_TVAL_NEGIDX(thr, -2); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83582:10: note: in expansion of macro 'DUK_TVAL_GET_TAG' 83582 | switch (DUK_TVAL_GET_TAG(tv)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83597:9: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 83597 | val = DUK_TVAL_GET_OBJECT(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83608:2: note: in expansion of macro 'duk_get_prop_stridx_short' 83608 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_PROTOTYPE); /* -> [ ... lval rval rval.prototype ] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83608:2: note: in expansion of macro 'duk_get_prop_stridx_short' 83608 | duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_PROTOTYPE); /* -> [ ... lval rval rval.prototype ] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83658:2: note: in expansion of macro 'DUK_ERROR_RANGE' 83658 | DUK_ERROR_RANGE(thr, DUK_STR_PROTOTYPE_CHAIN_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83674:2: note: in expansion of macro 'DUK_ERROR_TYPE' 83674 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_INSTANCEOF_RVAL); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83674:2: note: in expansion of macro 'DUK_ERROR_TYPE' 83674 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_INSTANCEOF_RVAL); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83674:2: note: in expansion of macro 'DUK_ERROR_TYPE' 83674 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_INSTANCEOF_RVAL); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83679:2: note: in expansion of macro 'DUK_ERROR_TYPE' 83679 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_INSTANCEOF_RVAL_NOPROTO); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83679:2: note: in expansion of macro 'DUK_ERROR_TYPE' 83679 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_INSTANCEOF_RVAL_NOPROTO); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83679:2: note: in expansion of macro 'DUK_ERROR_TYPE' 83679 | DUK_ERROR_TYPE(thr, DUK_STR_INVALID_INSTANCEOF_RVAL_NOPROTO); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_js_in(duk_hthread*, duk_tval*, duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83730:36: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 83730 | retval = duk_hobject_hasprop(thr, DUK_GET_TVAL_NEGIDX(thr, -1), DUK_GET_TVAL_NEGIDX(thr, -2)); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6267:100: warning: use of old-style cast to 'duk_hthread*' {aka 'struct duk_hthread*'} [-Wold-style-cast] 6267 | #define DUK_GET_TVAL_NEGIDX(thr, idx) (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83730:66: note: in expansion of macro 'DUK_GET_TVAL_NEGIDX' 83730 | retval = duk_hobject_hasprop(thr, DUK_GET_TVAL_NEGIDX(thr, -1), DUK_GET_TVAL_NEGIDX(thr, -2)); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_uint_t duk_js_typeof_stridx(duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83753:10: note: in expansion of macro 'DUK_TVAL_GET_TAG' 83753 | switch (DUK_TVAL_GET_TAG(tv_x)) { | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1165:85: warning: use of old-style cast to 'duk_hstring*' {aka 'struct duk_hstring*'} [-Wold-style-cast] 1165 | #define DUK_TVAL_GET_STRING(tv) ((duk_hstring *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83776:9: note: in expansion of macro 'DUK_TVAL_GET_STRING' 83776 | str = DUK_TVAL_GET_STRING(tv_x); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83786:22: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 83786 | duk_hobject *obj = DUK_TVAL_GET_OBJECT(tv_x); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_js_isarray(duk_tval*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83837:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 83837 | if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1166:85: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 1166 | #define DUK_TVAL_GET_OBJECT(tv) ((duk_hobject *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83838:33: note: in expansion of macro 'DUK_TVAL_GET_OBJECT' 83838 | return duk_js_isarray_hobject(DUK_TVAL_GET_OBJECT(tv)); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uarridx_t duk_js_to_arrayindex_string(const duk_uint8_t*, duk_uint32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83869:32: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 83869 | dig = (duk_uarridx_t) (*str++) - DUK_ASC_0; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:83899:33: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 83899 | if (blen == (duk_uint32_t) 1) { | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__inc_data_inner_refcounts(duk_hthread*, duk_hcompfunc*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:87: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84039:7: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 84039 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:100: note: in definition of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:87: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84039:7: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 84039 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84039:7: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 84039 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:101: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84039:7: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 84039 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:107: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84039:7: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 84039 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:108: warning: use of old-style cast to 'void*' [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84039:7: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 84039 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8664:108: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 8664 | #define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x) ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7613:48: note: in expansion of macro 'DUK_HBUFFER_FIXED_GET_DATA_PTR' 7613 | #define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h) DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7615:71: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BUFFER_BASE' 7615 | #define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84039:7: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_BASE' 84039 | tv = DUK_HCOMPFUNC_GET_CONSTS_BASE(thr->heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7586:53: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7586 | #define DUK_HCOMPFUNC_GET_FUNCS(heap, h) ((h)->funcs) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7621:70: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS' 7621 | #define DUK_HCOMPFUNC_GET_CONSTS_END(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_FUNCS((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84040:11: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_END' 84040 | tv_end = DUK_HCOMPFUNC_GET_CONSTS_END(thr->heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7586:53: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 7586 | #define DUK_HCOMPFUNC_GET_FUNCS(heap, h) ((h)->funcs) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7621:70: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS' 7621 | #define DUK_HCOMPFUNC_GET_CONSTS_END(heap, h) ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_FUNCS((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84040:11: note: in expansion of macro 'DUK_HCOMPFUNC_GET_CONSTS_END' 84040 | tv_end = DUK_HCOMPFUNC_GET_CONSTS_END(thr->heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84042:3: note: in expansion of macro 'DUK_TVAL_INCREF' 84042 | DUK_TVAL_INCREF(thr, tv); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84042:3: note: in expansion of macro 'DUK_TVAL_INCREF' 84042 | DUK_TVAL_INCREF(thr, tv); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7591:59: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7591 | #define DUK_HCOMPFUNC_GET_BYTECODE(heap, h) ((h)->bytecode) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7623:73: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BYTECODE' 7623 | #define DUK_HCOMPFUNC_GET_FUNCS_END(heap, h) ((duk_hobject **) (void *) DUK_HCOMPFUNC_GET_BYTECODE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84047:14: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_END' 84047 | funcs_end = DUK_HCOMPFUNC_GET_FUNCS_END(thr->heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7591:59: warning: use of old-style cast to 'duk_hobject**' {aka 'struct duk_hobject**'} [-Wold-style-cast] 7591 | #define DUK_HCOMPFUNC_GET_BYTECODE(heap, h) ((h)->bytecode) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7623:73: note: in expansion of macro 'DUK_HCOMPFUNC_GET_BYTECODE' 7623 | #define DUK_HCOMPFUNC_GET_FUNCS_END(heap, h) ((duk_hobject **) (void *) DUK_HCOMPFUNC_GET_BYTECODE((heap), (h))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84047:14: note: in expansion of macro 'DUK_HCOMPFUNC_GET_FUNCS_END' 84047 | funcs_end = DUK_HCOMPFUNC_GET_FUNCS_END(thr->heap, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84049:44: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 84049 | DUK_HEAPHDR_INCREF(thr, (duk_heaphdr *) *funcs); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84049:3: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 84049 | DUK_HEAPHDR_INCREF(thr, (duk_heaphdr *) *funcs); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84049:3: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 84049 | DUK_HEAPHDR_INCREF(thr, (duk_heaphdr *) *funcs); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_js_push_closure(duk_hthread*, duk_hcompfunc*, duk_hobject*, duk_hobject*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7584:32: note: in definition of macro 'DUK_HCOMPFUNC_SET_DATA' 7584 | (h)->data = (duk_hbuffer *) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84108:46: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 84108 | DUK_HCOMPFUNC_SET_DATA(thr->heap, fun_clos, DUK_HCOMPFUNC_GET_DATA(thr->heap, fun_temp)); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7584:32: note: in definition of macro 'DUK_HCOMPFUNC_SET_DATA' 7584 | (h)->data = (duk_hbuffer *) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84108:46: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 84108 | DUK_HCOMPFUNC_SET_DATA(thr->heap, fun_clos, DUK_HCOMPFUNC_GET_DATA(thr->heap, fun_temp)); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7584:33: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 7584 | (h)->data = (duk_hbuffer *) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84108:2: note: in expansion of macro 'DUK_HCOMPFUNC_SET_DATA' 84108 | DUK_HCOMPFUNC_SET_DATA(thr->heap, fun_clos, DUK_HCOMPFUNC_GET_DATA(thr->heap, fun_temp)); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'void*' [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84117:2: note: in expansion of macro 'DUK_HBUFFER_INCREF' 84117 | DUK_HBUFFER_INCREF(thr, DUK_HCOMPFUNC_GET_DATA(thr->heap, fun_clos)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84117:26: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 84117 | DUK_HBUFFER_INCREF(thr, DUK_HCOMPFUNC_GET_DATA(thr->heap, fun_clos)); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7581:78: warning: use of old-style cast to 'duk_hbuffer_fixed*' {aka 'struct duk_hbuffer_fixed*'} [-Wold-style-cast] 7581 | #define DUK_HCOMPFUNC_GET_DATA(heap, h) ((duk_hbuffer_fixed *) (void *) (h)->data) | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84117:2: note: in expansion of macro 'DUK_HBUFFER_INCREF' 84117 | DUK_HBUFFER_INCREF(thr, DUK_HCOMPFUNC_GET_DATA(thr->heap, fun_clos)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84117:26: note: in expansion of macro 'DUK_HCOMPFUNC_GET_DATA' 84117 | DUK_HBUFFER_INCREF(thr, DUK_HCOMPFUNC_GET_DATA(thr->heap, fun_clos)); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84117:2: note: in expansion of macro 'DUK_HBUFFER_INCREF' 84117 | DUK_HBUFFER_INCREF(thr, DUK_HCOMPFUNC_GET_DATA(thr->heap, fun_clos)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5052:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5052 | #define DUK_HBUFFER_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84117:2: note: in expansion of macro 'DUK_HBUFFER_INCREF' 84117 | DUK_HBUFFER_INCREF(thr, DUK_HCOMPFUNC_GET_DATA(thr->heap, fun_clos)); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84147:40: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 84147 | DUK_HEAPHDR_SET_FLAGS((duk_heaphdr *) fun_clos, DUK_HEAPHDR_GET_FLAGS_RAW((duk_heaphdr *) fun_temp)); | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4748:4: note: in definition of macro 'DUK_HEAPHDR_SET_FLAGS' 4748 | (h)->h_flags = ((h)->h_flags & ~(DUK_HEAPHDR_FLAGS_FLAG_MASK)) | (val); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84147:40: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 84147 | DUK_HEAPHDR_SET_FLAGS((duk_heaphdr *) fun_clos, DUK_HEAPHDR_GET_FLAGS_RAW((duk_heaphdr *) fun_temp)); | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4748:20: note: in definition of macro 'DUK_HEAPHDR_SET_FLAGS' 4748 | (h)->h_flags = ((h)->h_flags & ~(DUK_HEAPHDR_FLAGS_FLAG_MASK)) | (val); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84147:92: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 84147 | DUK_HEAPHDR_SET_FLAGS((duk_heaphdr *) fun_clos, DUK_HEAPHDR_GET_FLAGS_RAW((duk_heaphdr *) fun_temp)); | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4748:69: note: in definition of macro 'DUK_HEAPHDR_SET_FLAGS' 4748 | (h)->h_flags = ((h)->h_flags & ~(DUK_HEAPHDR_FLAGS_FLAG_MASK)) | (val); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84147:50: note: in expansion of macro 'DUK_HEAPHDR_GET_FLAGS_RAW' 84147 | DUK_HEAPHDR_SET_FLAGS((duk_heaphdr *) fun_clos, DUK_HEAPHDR_GET_FLAGS_RAW((duk_heaphdr *) fun_temp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84211:56: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 84211 | DUK_HOBJECT_FLAG_EXTENSIBLE | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_DECENV)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84213:42: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 84213 | duk_push_hobject(thr, (duk_hobject *) new_env); | ^~~~~~~ | ----------------------- | reinterpret_cast ( new_env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84216:57: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 84216 | DUK_HOBJECT_SET_PROTOTYPE(thr->heap, (duk_hobject *) new_env, proto); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7191:4: note: in definition of macro 'DUK_HOBJECT_SET_PROTOTYPE' 7191 | (h)->prototype = (x); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84217:4: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 84217 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, proto); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84217:4: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 84217 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, proto); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84231:11: note: in expansion of macro 'duk_get_prop_stridx_short' 84231 | (void) duk_get_prop_stridx_short(thr, -2, DUK_STRIDX_NAME); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84231:11: note: in expansion of macro 'duk_get_prop_stridx_short' 84231 | (void) duk_get_prop_stridx_short(thr, -2, DUK_STRIDX_NAME); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84239:66: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 84239 | DUK_HCOMPFUNC_SET_LEXENV(thr->heap, fun_clos, (duk_hobject *) new_env); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7599:19: note: in definition of macro 'DUK_HCOMPFUNC_SET_LEXENV' 7599 | (h)->lex_env = (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84240:66: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 84240 | DUK_HCOMPFUNC_SET_VARENV(thr->heap, fun_clos, (duk_hobject *) new_env); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7604:19: note: in definition of macro 'DUK_HCOMPFUNC_SET_VARENV' 7604 | (h)->var_env = (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84241:44: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 84241 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) new_env); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84241:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 84241 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) new_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84241:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 84241 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) new_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84241:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 84241 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) new_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84242:44: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 84242 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) new_env); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84242:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 84242 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) new_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84242:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 84242 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) new_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84242:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 84242 | DUK_HOBJECT_INCREF(thr, (duk_hobject *) new_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84257:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 84257 | DUK_HOBJECT_INCREF(thr, outer_lex_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84257:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 84257 | DUK_HOBJECT_INCREF(thr, outer_lex_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84258:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 84258 | DUK_HOBJECT_INCREF(thr, outer_lex_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84258:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 84258 | DUK_HOBJECT_INCREF(thr, outer_lex_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84275:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 84275 | DUK_HOBJECT_INCREF(thr, outer_lex_env); /* NULLs not allowed; asserted on entry */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84275:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 84275 | DUK_HOBJECT_INCREF(thr, outer_lex_env); /* NULLs not allowed; asserted on entry */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84276:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 84276 | DUK_HOBJECT_INCREF(thr, outer_var_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84276:3: note: in expansion of macro 'DUK_HOBJECT_INCREF' 84276 | DUK_HOBJECT_INCREF(thr, outer_var_env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84304:95: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 84304 | for (i = 0; i < (duk_small_uint_t) (sizeof(duk__closure_copy_proplist) / sizeof(duk_uint16_t)); i++) { | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84305:74: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 84305 | duk_small_int_t stridx = (duk_small_int_t) duk__closure_copy_proplist[i]; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:71: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84306:7: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 84306 | if (duk_xget_owndataprop_stridx_short(thr, -1, stridx)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:104: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84306:7: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 84306 | if (duk_xget_owndataprop_stridx_short(thr, -1, stridx)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84309:4: note: in expansion of macro 'duk_xdef_prop_stridx_short' 84309 | duk_xdef_prop_stridx_short(thr, -3, stridx, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84309:4: note: in expansion of macro 'duk_xdef_prop_stridx_short' 84309 | duk_xdef_prop_stridx_short(thr, -3, stridx, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84309:4: note: in expansion of macro 'duk_xdef_prop_stridx_short' 84309 | duk_xdef_prop_stridx_short(thr, -3, stridx, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84325:57: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 84325 | formals = duk_hobject_get_formals(thr, (duk_hobject *) fun_temp); | ^~~~~~~~ | ------------------------ | reinterpret_cast ( fun_temp) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84327:37: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 84327 | len_value = (duk_uint_t) formals->length; | ^~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84335:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 84335 | duk_xdef_prop_stridx_short(thr, -3, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84335:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 84335 | duk_xdef_prop_stridx_short(thr, -3, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84335:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 84335 | duk_xdef_prop_stridx_short(thr, -3, DUK_STRIDX_LENGTH, DUK_PROPDESC_FLAGS_C); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84356:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 84356 | duk_xdef_prop_stridx_short(thr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84356:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 84356 | duk_xdef_prop_stridx_short(thr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84356:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 84356 | duk_xdef_prop_stridx_short(thr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84361:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 84361 | duk_xdef_prop_stridx_short(thr, -3, DUK_STRIDX_PROTOTYPE, DUK_PROPDESC_FLAGS_W); /* -> [ ... closure template ] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84361:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 84361 | duk_xdef_prop_stridx_short(thr, -3, DUK_STRIDX_PROTOTYPE, DUK_PROPDESC_FLAGS_W); /* -> [ ... closure template ] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84361:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 84361 | duk_xdef_prop_stridx_short(thr, -3, DUK_STRIDX_PROTOTYPE, DUK_PROPDESC_FLAGS_W); /* -> [ ... closure template ] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84398:6: note: in expansion of macro 'duk_get_prop_stridx_short' 84398 | if (duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_NAME)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84398:6: note: in expansion of macro 'duk_get_prop_stridx_short' 84398 | if (duk_get_prop_stridx_short(thr, -1, DUK_STRIDX_NAME)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84402:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 84402 | duk_xdef_prop_stridx_short(thr, -3, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); /* -> [ ... closure template ] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84402:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 84402 | duk_xdef_prop_stridx_short(thr, -3, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); /* -> [ ... closure template ] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84402:3: note: in expansion of macro 'duk_xdef_prop_stridx_short' 84402 | duk_xdef_prop_stridx_short(thr, -3, DUK_STRIDX_NAME, DUK_PROPDESC_FLAGS_C); /* -> [ ... closure template ] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__preallocate_env_entries(duk_hthread*, duk_hobject*, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7132:46: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 7132 | #define DUK_HOBJECT_GET_ENEXT(h) ((h)->e_next) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84462:38: note: in expansion of macro 'DUK_HOBJECT_GET_ENEXT' 84462 | for (i = 0; i < (duk_uint_fast32_t) DUK_HOBJECT_GET_ENEXT(varmap); i++) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84465:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 84465 | key = DUK_HOBJECT_E_GET_KEY(thr->heap, varmap, i); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84465:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 84465 | key = DUK_HOBJECT_E_GET_KEY(thr->heap, varmap, i); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hobject* duk_create_activation_environment_record(duk_hthread*, duk_hobject*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84494:24: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 84494 | f = (duk_hcompfunc *) func; | ^~~~ | ---------------------- | reinterpret_cast ( func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6630:56: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6630 | #define DUK_HOBJECT_CLASS_AS_FLAGS(v) (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84500:61: note: in expansion of macro 'DUK_HOBJECT_CLASS_AS_FLAGS' 84500 | env = duk_hdecenv_alloc(thr, DUK_HOBJECT_FLAG_EXTENSIBLE | DUK_HOBJECT_CLASS_AS_FLAGS(DUK_HOBJECT_CLASS_DECENV)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84502:40: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 84502 | duk_push_hobject(thr, (duk_hobject *) env); | ^~~ | ------------------- | reinterpret_cast ( env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84505:55: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 84505 | DUK_HOBJECT_SET_PROTOTYPE(thr->heap, (duk_hobject *) env, parent); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7191:4: note: in definition of macro 'DUK_HOBJECT_SET_PROTOTYPE' 7191 | (h)->prototype = (x); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84506:2: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 84506 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, parent); /* parent env is the prototype */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5122:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 5122 | DUK_HOBJECT_INCREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84506:2: note: in expansion of macro 'DUK_HOBJECT_INCREF_ALLOWNULL' 84506 | DUK_HOBJECT_INCREF_ALLOWNULL(thr, parent); /* parent env is the prototype */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84519:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 84519 | DUK_HOBJECT_INCREF(thr, varmap); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84519:4: note: in expansion of macro 'DUK_HOBJECT_INCREF' 84519 | DUK_HOBJECT_INCREF(thr, varmap); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5065:91: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5065 | #define DUK_HTHREAD_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5065:43: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5065 | #define DUK_HTHREAD_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84521:4: note: in expansion of macro 'DUK_HTHREAD_INCREF' 84521 | DUK_HTHREAD_INCREF(thr, thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5065:43: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5065 | #define DUK_HTHREAD_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84521:4: note: in expansion of macro 'DUK_HTHREAD_INCREF' 84521 | DUK_HTHREAD_INCREF(thr, thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84527:62: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 84527 | duk__preallocate_env_entries(thr, varmap, (duk_hobject *) env); | ^~~ | ------------------- | reinterpret_cast ( env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84536:25: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 84536 | return (duk_hobject *) env; | ^~~ | ------------------- | reinterpret_cast ( env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_js_init_activation_environment_records_delayed(duk_hthread*, duk_activation*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84576:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 84576 | DUK_HOBJECT_INCREF(thr, env); /* XXX: incref by count (here 2 times) */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84576:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 84576 | DUK_HOBJECT_INCREF(thr, env); /* XXX: incref by count (here 2 times) */ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:42: note: in definition of macro 'DUK_HEAPHDR_INCREF_FAST' 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84577:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 84577 | DUK_HOBJECT_INCREF(thr, env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4944:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4944 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5042:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF_FAST' 5042 | #define DUK_HEAPHDR_INCREF(thr, h) DUK_HEAPHDR_INCREF_FAST((thr), (h)) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5049:41: note: in expansion of macro 'DUK_HEAPHDR_INCREF' 5049 | #define DUK_HOBJECT_INCREF(thr, h) DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)) | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84577:2: note: in expansion of macro 'DUK_HOBJECT_INCREF' 84577 | DUK_HOBJECT_INCREF(thr, env); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_js_close_environment_record(duk_hthread*, duk_hobject*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84605:28: warning: use of old-style cast to 'duk_hdecenv*' {aka 'struct duk_hdecenv*'} [-Wold-style-cast] 84605 | varmap = ((duk_hdecenv *) env)->varmap; | ^~~ | ------------------- | reinterpret_cast ( env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7132:46: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 7132 | #define DUK_HOBJECT_GET_ENEXT(h) ((h)->e_next) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84642:38: note: in expansion of macro 'DUK_HOBJECT_GET_ENEXT' 84642 | for (i = 0; i < (duk_uint_fast32_t) DUK_HOBJECT_GET_ENEXT(varmap); i++) { | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84645:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 84645 | key = DUK_HOBJECT_E_GET_KEY(thr->heap, varmap, i); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6940:117: warning: use of old-style cast to 'duk_hstring**' {aka 'struct duk_hstring**'} [-Wold-style-cast] 6940 | ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7003:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY_BASE' 7003 | #define DUK_HOBJECT_E_GET_KEY(heap, h, i) (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84645:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_KEY' 84645 | key = DUK_HOBJECT_E_GET_KEY(thr->heap, varmap, i); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84649:8: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 84649 | tv = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, varmap, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84649:8: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 84649 | tv = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, varmap, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1155:41: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1155 | #define DUK_TVAL_GET_NUMBER(tv) ((tv)->d) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84656:25: note: in expansion of macro 'DUK_TVAL_GET_NUMBER' 84656 | regnum = (duk_uint_t) DUK_TVAL_GET_NUMBER(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84659:38: warning: use of old-style cast to 'duk_hdecenv*' {aka 'struct duk_hdecenv*'} [-Wold-style-cast] 84659 | regbase_byteoff = ((duk_hdecenv *) env)->regbase_byteoff; | ^~~ | ------------------- | reinterpret_cast ( env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84678:61: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 84678 | (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + regbase_byteoff + sizeof(duk_tval) * regnum)); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84678:115: warning: use of old-style cast to 'void*' [-Wold-style-cast] 84678 | (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + regbase_byteoff + sizeof(duk_tval) * regnum)); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84678:115: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 84678 | (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + regbase_byteoff + sizeof(duk_tval) * regnum)); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84687:48: warning: use of old-style cast to 'duk_hdecenv*' {aka 'struct duk_hdecenv*'} [-Wold-style-cast] 84687 | DUK_HOBJECT_DECREF_NORZ(thr, ((duk_hdecenv *) env)->thread); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:42: note: in definition of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84687:2: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 84687 | DUK_HOBJECT_DECREF_NORZ(thr, ((duk_hdecenv *) env)->thread); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84687:2: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 84687 | DUK_HOBJECT_DECREF_NORZ(thr, ((duk_hdecenv *) env)->thread); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84687:2: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 84687 | DUK_HOBJECT_DECREF_NORZ(thr, ((duk_hdecenv *) env)->thread); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84688:48: warning: use of old-style cast to 'duk_hdecenv*' {aka 'struct duk_hdecenv*'} [-Wold-style-cast] 84688 | DUK_HOBJECT_DECREF_NORZ(thr, ((duk_hdecenv *) env)->varmap); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:42: note: in definition of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84688:2: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 84688 | DUK_HOBJECT_DECREF_NORZ(thr, ((duk_hdecenv *) env)->varmap); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84688:2: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 84688 | DUK_HOBJECT_DECREF_NORZ(thr, ((duk_hdecenv *) env)->varmap); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5051:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5051 | #define DUK_HOBJECT_DECREF_NORZ(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84688:2: note: in expansion of macro 'DUK_HOBJECT_DECREF_NORZ' 84688 | DUK_HOBJECT_DECREF_NORZ(thr, ((duk_hdecenv *) env)->varmap); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84689:19: warning: use of old-style cast to 'duk_hdecenv*' {aka 'struct duk_hdecenv*'} [-Wold-style-cast] 84689 | ((duk_hdecenv *) env)->thread = NULL; | ^~~ | ------------------- | reinterpret_cast ( env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84690:19: warning: use of old-style cast to 'duk_hdecenv*' {aka 'struct duk_hdecenv*'} [-Wold-style-cast] 84690 | ((duk_hdecenv *) env)->varmap = NULL; | ^~~ | ------------------- | reinterpret_cast ( env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__getid_open_decl_env_regs(duk_hthread*, duk_hstring*, duk_hdecenv*, duk__id_lookup_result*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1155:41: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 1155 | #define DUK_TVAL_GET_NUMBER(tv) ((tv)->d) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84749:25: note: in expansion of macro 'DUK_TVAL_GET_NUMBER' 84749 | reg_rel = (duk_size_t) DUK_TVAL_GET_NUMBER(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84753:59: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 84753 | tv = (duk_tval *) (void *) ((duk_uint8_t *) env->thread->valstack + env->regbase_byteoff + sizeof(duk_tval) * reg_rel); | ^~~~~~~~ | --------------- | reinterpret_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84753:119: warning: use of old-style cast to 'void*' [-Wold-style-cast] 84753 | tv = (duk_tval *) (void *) ((duk_uint8_t *) env->thread->valstack + env->regbase_byteoff + sizeof(duk_tval) * reg_rel); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84753:119: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 84753 | tv = (duk_tval *) (void *) ((duk_uint8_t *) env->thread->valstack + env->regbase_byteoff + sizeof(duk_tval) * reg_rel); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84758:29: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 84758 | out->env = (duk_hobject *) env; | ^~~ | ------------------- | reinterpret_cast ( env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__getid_activation_regs(duk_hthread*, duk_hstring*, duk_activation*, duk__id_lookup_result*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1155:41: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 1155 | #define DUK_TVAL_GET_NUMBER(tv) ((tv)->d) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84796:25: note: in expansion of macro 'DUK_TVAL_GET_NUMBER' 84796 | reg_rel = (duk_size_t) DUK_TVAL_GET_NUMBER(tv); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84800:51: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 84800 | tv = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + act->bottom_byteoff); | ^~~~~~~~ | ----------------------------- | reinterpret_cast ( thr->valstack) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84800:81: warning: use of old-style cast to 'void*' [-Wold-style-cast] 84800 | tv = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + act->bottom_byteoff); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84800:81: warning: use of old-style cast to 'duk_tval*' {aka 'union duk_double_union*'} [-Wold-style-cast] 84800 | tv = (duk_tval *) (void *) ((duk_uint8_t *) thr->valstack + act->bottom_byteoff); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__get_identifier_reference(duk_hthread*, duk_hobject*, duk_hstring*, duk_activation*, duk_bool_t, duk__id_lookup_result*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84895:25: warning: use of old-style cast to 'duk_hcompfunc*' {aka 'struct duk_hcompfunc*'} [-Wold-style-cast] 84895 | f = (duk_hcompfunc *) func; | ^~~~ | ---------------------- | reinterpret_cast ( func) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84941:65: warning: use of old-style cast to 'duk_hdecenv*' {aka 'struct duk_hdecenv*'} [-Wold-style-cast] 84941 | if (duk__getid_open_decl_env_regs(thr, name, (duk_hdecenv *) env, out)) { | ^~~ | ------------------- | reinterpret_cast ( env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:84994:30: warning: use of old-style cast to 'duk_hobjenv*' {aka 'struct duk_hobjenv*'} [-Wold-style-cast] 84994 | target = ((duk_hobjenv *) env)->target; | ^~~ | ------------------- | reinterpret_cast ( env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85010:5: note: in expansion of macro 'DUK_TVAL_SET_STRING' 85010 | DUK_TVAL_SET_STRING(&tv_name, name); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85010:5: note: in expansion of macro 'DUK_TVAL_SET_STRING' 85010 | DUK_TVAL_SET_STRING(&tv_name, name); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85010:5: note: in expansion of macro 'DUK_TVAL_SET_STRING' 85010 | DUK_TVAL_SET_STRING(&tv_name, name); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85011:5: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 85011 | DUK_TVAL_SET_OBJECT(&tv_target_tmp, target); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85011:5: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 85011 | DUK_TVAL_SET_OBJECT(&tv_target_tmp, target); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85011:5: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 85011 | DUK_TVAL_SET_OBJECT(&tv_target_tmp, target); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85030:38: warning: use of old-style cast to 'duk_hobjenv*' {aka 'struct duk_hobjenv*'} [-Wold-style-cast] 85030 | out->has_this = ((duk_hobjenv *) env)->has_this; | ^~~ | ------------------- | reinterpret_cast ( env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85052:4: note: in expansion of macro 'DUK_ERROR_RANGE' 85052 | DUK_ERROR_RANGE(thr, DUK_STR_PROTOTYPE_CHAIN_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__getvar_helper(duk_hthread*, duk_hobject*, duk_activation*, duk_hstring*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85173:4: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 85173 | DUK_TVAL_SET_OBJECT(&tv_tmp_obj, ref.holder); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85173:4: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 85173 | DUK_TVAL_SET_OBJECT(&tv_tmp_obj, ref.holder); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85173:4: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 85173 | DUK_TVAL_SET_OBJECT(&tv_tmp_obj, ref.holder); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85174:4: note: in expansion of macro 'DUK_TVAL_SET_STRING' 85174 | DUK_TVAL_SET_STRING(&tv_tmp_key, name); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85174:4: note: in expansion of macro 'DUK_TVAL_SET_STRING' 85174 | DUK_TVAL_SET_STRING(&tv_tmp_key, name); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85174:4: note: in expansion of macro 'DUK_TVAL_SET_STRING' 85174 | DUK_TVAL_SET_STRING(&tv_tmp_key, name); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10113:37: note: in expansion of macro 'DUK_LINE_MACRO' 10113 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85189:4: note: in expansion of macro 'DUK_ERROR_FMT1' 85189 | DUK_ERROR_FMT1(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10118:43: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10118 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85189:4: note: in expansion of macro 'DUK_ERROR_FMT1' 85189 | DUK_ERROR_FMT1(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10118:76: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10118 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85189:4: note: in expansion of macro 'DUK_ERROR_FMT1' 85189 | DUK_ERROR_FMT1(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10120:29: note: in definition of macro 'DUK_ERROR_FMT1' 10120 | (arg1)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85192:34: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 85192 | (const char *) DUK_HSTRING_GET_DATA(name)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10120:29: note: in definition of macro 'DUK_ERROR_FMT1' 10120 | (arg1)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85192:34: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 85192 | (const char *) DUK_HSTRING_GET_DATA(name)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__putvar_helper(duk_hthread*, duk_hobject*, duk_activation*, duk_hstring*, duk_tval*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85293:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 85293 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv_val, &tv_tmp_val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5404:3: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5404 | DUK_TVAL_INCREF_FAST((thr), tv__src); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85293:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 85293 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv_val, &tv_tmp_val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5405:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 5405 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv__dst)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85293:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 85293 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv_val, &tv_tmp_val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5406:13: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 5406 | h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85293:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 85293 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv_val, &tv_tmp_val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85293:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 85293 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv_val, &tv_tmp_val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4964:46: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 4964 | #define DUK_HEAPHDR_DECREF_FAST(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5409:4: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST' 5409 | DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5443:39: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF_ALT1' 5443 | #define DUK_TVAL_SET_TVAL_UPDREF DUK_TVAL_SET_TVAL_UPDREF_ALT1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85293:4: note: in expansion of macro 'DUK_TVAL_SET_TVAL_UPDREF' 85293 | DUK_TVAL_SET_TVAL_UPDREF(thr, tv_val, &tv_tmp_val); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85299:4: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 85299 | DUK_TVAL_SET_OBJECT(&tv_tmp_obj, ref.holder); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85299:4: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 85299 | DUK_TVAL_SET_OBJECT(&tv_tmp_obj, ref.holder); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85299:4: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 85299 | DUK_TVAL_SET_OBJECT(&tv_tmp_obj, ref.holder); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85300:4: note: in expansion of macro 'DUK_TVAL_SET_STRING' 85300 | DUK_TVAL_SET_STRING(&tv_tmp_key, name); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85300:4: note: in expansion of macro 'DUK_TVAL_SET_STRING' 85300 | DUK_TVAL_SET_STRING(&tv_tmp_key, name); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85300:4: note: in expansion of macro 'DUK_TVAL_SET_STRING' 85300 | DUK_TVAL_SET_STRING(&tv_tmp_key, name); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10113:37: note: in expansion of macro 'DUK_LINE_MACRO' 10113 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85316:3: note: in expansion of macro 'DUK_ERROR_FMT1' 85316 | DUK_ERROR_FMT1(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10118:43: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10118 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85316:3: note: in expansion of macro 'DUK_ERROR_FMT1' 85316 | DUK_ERROR_FMT1(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10118:76: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10118 | (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85316:3: note: in expansion of macro 'DUK_ERROR_FMT1' 85316 | DUK_ERROR_FMT1(thr, | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10120:29: note: in definition of macro 'DUK_ERROR_FMT1' 10120 | (arg1)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85319:33: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 85319 | (const char *) DUK_HSTRING_GET_DATA(name)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10120:29: note: in definition of macro 'DUK_ERROR_FMT1' 10120 | (arg1)); \ | ^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85319:33: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 85319 | (const char *) DUK_HSTRING_GET_DATA(name)); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85325:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 85325 | DUK_TVAL_SET_OBJECT(&tv_tmp_obj, thr->builtins[DUK_BIDX_GLOBAL]); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85325:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 85325 | DUK_TVAL_SET_OBJECT(&tv_tmp_obj, thr->builtins[DUK_BIDX_GLOBAL]); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1137:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1137 | #define DUK_TVAL_SET_OBJECT(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85325:2: note: in expansion of macro 'DUK_TVAL_SET_OBJECT' 85325 | DUK_TVAL_SET_OBJECT(&tv_tmp_obj, thr->builtins[DUK_BIDX_GLOBAL]); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:54: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85326:2: note: in expansion of macro 'DUK_TVAL_SET_STRING' 85326 | DUK_TVAL_SET_STRING(&tv_tmp_key, name); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85326:2: note: in expansion of macro 'DUK_TVAL_SET_STRING' 85326 | DUK_TVAL_SET_STRING(&tv_tmp_key, name); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:970:99: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 970 | (tv)->ull[DUK_DBL_IDX_ULL0] = (((duk_uint64_t) (tag)) << 48) | ((duk_uint64_t) (duk_uint32_t) (h)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1136:47: note: in expansion of macro 'DUK__TVAL_SET_TAGGEDPOINTER' 1136 | #define DUK_TVAL_SET_STRING(tv, h) DUK__TVAL_SET_TAGGEDPOINTER((tv), (h), DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85326:2: note: in expansion of macro 'DUK_TVAL_SET_STRING' 85326 | DUK_TVAL_SET_STRING(&tv_tmp_key, name); | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__declvar_helper(duk_hthread*, duk_hobject*, duk_hstring*, duk_tval*, duk_small_uint_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85594:11: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 85594 | flags = DUK_HOBJECT_E_GET_FLAGS(thr->heap, holder, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85594:11: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 85594 | flags = DUK_HOBJECT_E_GET_FLAGS(thr->heap, holder, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7009:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7009 | #define DUK_HOBJECT_E_GET_VALUE_GETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85623:11: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_GETTER' 85623 | tmp = DUK_HOBJECT_E_GET_VALUE_GETTER(thr->heap, holder, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7009:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7009 | #define DUK_HOBJECT_E_GET_VALUE_GETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85623:11: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_GETTER' 85623 | tmp = DUK_HOBJECT_E_GET_VALUE_GETTER(thr->heap, holder, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7034:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7034 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85624:5: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_GETTER' 85624 | DUK_HOBJECT_E_SET_VALUE_GETTER(thr->heap, holder, e_idx, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7034:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7034 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85624:5: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_GETTER' 85624 | DUK_HOBJECT_E_SET_VALUE_GETTER(thr->heap, holder, e_idx, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5050:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5050 | #define DUK_HOBJECT_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5128:4: note: in expansion of macro 'DUK_HOBJECT_DECREF' 5128 | DUK_HOBJECT_DECREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85625:5: note: in expansion of macro 'DUK_HOBJECT_DECREF_ALLOWNULL' 85625 | DUK_HOBJECT_DECREF_ALLOWNULL(thr, tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5050:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5050 | #define DUK_HOBJECT_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5128:4: note: in expansion of macro 'DUK_HOBJECT_DECREF' 5128 | DUK_HOBJECT_DECREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85625:5: note: in expansion of macro 'DUK_HOBJECT_DECREF_ALLOWNULL' 85625 | DUK_HOBJECT_DECREF_ALLOWNULL(thr, tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7011:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7011 | #define DUK_HOBJECT_E_GET_VALUE_SETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85627:11: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_SETTER' 85627 | tmp = DUK_HOBJECT_E_GET_VALUE_SETTER(thr->heap, holder, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7011:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7011 | #define DUK_HOBJECT_E_GET_VALUE_SETTER(heap, h, i) (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85627:11: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_SETTER' 85627 | tmp = DUK_HOBJECT_E_GET_VALUE_SETTER(thr->heap, holder, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7038:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7038 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85628:5: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_SETTER' 85628 | DUK_HOBJECT_E_SET_VALUE_SETTER(thr->heap, holder, e_idx, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7038:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7038 | DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set = (v); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85628:5: note: in expansion of macro 'DUK_HOBJECT_E_SET_VALUE_SETTER' 85628 | DUK_HOBJECT_E_SET_VALUE_SETTER(thr->heap, holder, e_idx, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4954:43: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 4954 | duk_heaphdr *duk__h = (duk_heaphdr *) (h); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5050:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5050 | #define DUK_HOBJECT_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5128:4: note: in expansion of macro 'DUK_HOBJECT_DECREF' 5128 | DUK_HOBJECT_DECREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85629:5: note: in expansion of macro 'DUK_HOBJECT_DECREF_ALLOWNULL' 85629 | DUK_HOBJECT_DECREF_ALLOWNULL(thr, tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4960:30: warning: use of old-style cast to 'duk_hobject*' {aka 'struct duk_hobject*'} [-Wold-style-cast] 4960 | (rzcall)((thr), (rzcast) duk__h); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5050:41: note: in expansion of macro 'DUK_HEAPHDR_DECREF_FAST_RAW' 5050 | #define DUK_HOBJECT_DECREF(thr, h) DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5128:4: note: in expansion of macro 'DUK_HOBJECT_DECREF' 5128 | DUK_HOBJECT_DECREF((thr), (h)); \ | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85629:5: note: in expansion of macro 'DUK_HOBJECT_DECREF_ALLOWNULL' 85629 | DUK_HOBJECT_DECREF_ALLOWNULL(thr, tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85632:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 85632 | tv = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, holder, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85632:10: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 85632 | tv = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, holder, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:939:27: warning: use of old-style cast to 'duk_uint16_t' {aka 'short unsigned int'} [-Wold-style-cast] 939 | #define DUK_TAG_UNDEFINED 0xfff3UL /* embed: nothing */ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1060:46: note: in expansion of macro 'DUK_TAG_UNDEFINED' 1060 | (tv)->us[DUK_DBL_IDX_US0] = (duk_uint16_t) DUK_TAG_UNDEFINED; \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5209:3: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED' 5209 | DUK_TVAL_SET_UNDEFINED(tv__dst); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85633:5: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 85633 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4918:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4918 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5210:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5210 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85633:5: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 85633 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4919:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4919 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5040:41: note: in expansion of macro 'DUK_TVAL_DECREF_FAST' 5040 | #define DUK_TVAL_DECREF(thr, tv) DUK_TVAL_DECREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5210:3: note: in expansion of macro 'DUK_TVAL_DECREF' 5210 | DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5416:44: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0' 5416 | #define DUK_TVAL_SET_UNDEFINED_UPDREF DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85633:5: note: in expansion of macro 'DUK_TVAL_SET_UNDEFINED_UPDREF' 85633 | DUK_TVAL_SET_UNDEFINED_UPDREF(thr, tv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85640:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 85640 | tv = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, holder, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6941:110: warning: use of old-style cast to 'duk_propvalue*' {aka 'union duk_propvalue*'} [-Wold-style-cast] 6941 | #define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h) ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7005:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_BASE' 7005 | #define DUK_HOBJECT_E_GET_VALUE(heap, h, i) (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7008:58: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE' 7008 | #define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i) (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v) | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85640:9: note: in expansion of macro 'DUK_HOBJECT_E_GET_VALUE_TVAL_PTR' 85640 | tv = DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(thr->heap, holder, e_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85642:4: note: in expansion of macro 'DUK_TVAL_INCREF' 85642 | DUK_TVAL_INCREF(thr, tv); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1169:85: warning: use of old-style cast to 'duk_heaphdr*' {aka 'struct duk_heaphdr*'} [-Wold-style-cast] 1169 | #define DUK_TVAL_GET_HEAPHDR(tv) ((duk_heaphdr *) (tv)->vp[DUK_DBL_IDX_VP1]) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4907:26: note: in expansion of macro 'DUK_TVAL_GET_HEAPHDR' 4907 | duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \ | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85642:4: note: in expansion of macro 'DUK_TVAL_INCREF' 85642 | DUK_TVAL_INCREF(thr, tv); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'void*' [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85643:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 85643 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, holder, e_idx, prop_flags); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6944:105: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 6944 | DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7013:57: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS_BASE' 7013 | #define DUK_HOBJECT_E_GET_FLAGS(heap, h, i) (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:3: note: in expansion of macro 'DUK_HOBJECT_E_GET_FLAGS' 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85643:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 85643 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, holder, e_idx, prop_flags); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:7042:63: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 7042 | DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85643:4: note: in expansion of macro 'DUK_HOBJECT_E_SET_FLAGS' 85643 | DUK_HOBJECT_E_SET_FLAGS(thr->heap, holder, e_idx, prop_flags); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85674:29: warning: use of old-style cast to 'duk_hobjenv*' {aka 'struct duk_hobjenv*'} [-Wold-style-cast] 85674 | holder = ((duk_hobjenv *) env)->target; | ^~~ | ------------------- | reinterpret_cast ( env) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85703:2: note: in expansion of macro 'DUK_ERROR_TYPE' 85703 | DUK_ERROR_TYPE(thr, "declaration failed"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85703:2: note: in expansion of macro 'DUK_ERROR_TYPE' 85703 | DUK_ERROR_TYPE(thr, "declaration failed"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10388:3: note: in expansion of macro 'DUK_ERROR' 10388 | DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85703:2: note: in expansion of macro 'DUK_ERROR_TYPE' 85703 | DUK_ERROR_TYPE(thr, "declaration failed"); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__fill_lexer_buffer(duk_lexer_ctx*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85937:66: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 85937 | cp = (duk_lexer_codepoint *) (void *) ((duk_uint8_t *) lex_ctx->buffer + start_offset_bytes); | ^~~~~~ | ------------------------------- | reinterpret_cast ( lex_ctx->buffer) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85937:93: warning: use of old-style cast to 'void*' [-Wold-style-cast] 85937 | cp = (duk_lexer_codepoint *) (void *) ((duk_uint8_t *) lex_ctx->buffer + start_offset_bytes); | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85937:93: warning: use of old-style cast to 'duk_lexer_codepoint*' {aka 'struct duk_lexer_codepoint*'} [-Wold-style-cast] 85937 | cp = (duk_lexer_codepoint *) (void *) ((duk_uint8_t *) lex_ctx->buffer + start_offset_bytes); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85941:48: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 85941 | cp->offset = (duk_size_t) (p - lex_ctx->input); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85955:31: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 85955 | x = (duk_ucodepoint_t) (*p++); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85978:38: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 85978 | cp->codepoint = (duk_codepoint_t) x; | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86014:20: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 86014 | if ((duk_size_t) contlen > (duk_size_t) (p_end - p)) { | ^~~~~~~ | -------------------- | static_cast ( contlen) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86014:53: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 86014 | if ((duk_size_t) contlen > (duk_size_t) (p_end - p)) { | ^ | ------------------------ | static_cast ( (p_end - p)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86046:37: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 86046 | cp->codepoint = (duk_codepoint_t) x; | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86049:58: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 86049 | lex_ctx->input_offset = (duk_size_t) (p - lex_ctx->input); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86055:58: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 86055 | lex_ctx->input_offset = (duk_size_t) (p - lex_ctx->input); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86058:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 86058 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_SOURCE_DECODE_FAILED); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86058:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 86058 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_SOURCE_DECODE_FAILED); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86058:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 86058 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_SOURCE_DECODE_FAILED); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__advance_bytes(duk_lexer_ctx*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86076:79: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 86076 | lex_ctx->window = (duk_lexer_codepoint *) (void *) ((duk_uint8_t *) lex_ctx->window + count_bytes); /* avoid multiply */ | ^~~~~~ | ------------------------------- | reinterpret_cast ( lex_ctx->window) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86076:99: warning: use of old-style cast to 'void*' [-Wold-style-cast] 86076 | lex_ctx->window = (duk_lexer_codepoint *) (void *) ((duk_uint8_t *) lex_ctx->window + count_bytes); /* avoid multiply */ | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86076:99: warning: use of old-style cast to 'duk_lexer_codepoint*' {aka 'struct duk_lexer_codepoint*'} [-Wold-style-cast] 86076 | lex_ctx->window = (duk_lexer_codepoint *) (void *) ((duk_uint8_t *) lex_ctx->window + count_bytes); /* avoid multiply */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86077:60: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 86077 | used_bytes = (duk_small_uint_t) ((duk_uint8_t *) lex_ctx->window - (duk_uint8_t *) lex_ctx->buffer); | ^~~~~~ | ------------------------------- | reinterpret_cast ( lex_ctx->window) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86077:94: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 86077 | used_bytes = (duk_small_uint_t) ((duk_uint8_t *) lex_ctx->window - (duk_uint8_t *) lex_ctx->buffer); | ^~~~~~ | ------------------------------- | reinterpret_cast ( lex_ctx->buffer) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86077:100: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 86077 | used_bytes = (duk_small_uint_t) ((duk_uint8_t *) lex_ctx->window - (duk_uint8_t *) lex_ctx->buffer); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86079:91: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 86079 | if (avail_bytes < (duk_small_uint_t) (DUK_LEXER_WINDOW_SIZE * sizeof(duk_lexer_codepoint))) { | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86083:33: warning: use of old-style cast to 'void*' [-Wold-style-cast] 86083 | duk_memmove((void *) lex_ctx->buffer, (const void *) lex_ctx->window, (size_t) avail_bytes); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3050:21: note: in definition of macro 'duk_memmove' 3050 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86083:65: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 86083 | duk_memmove((void *) lex_ctx->buffer, (const void *) lex_ctx->window, (size_t) avail_bytes); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3051:27: note: in definition of macro 'duk_memmove' 3051 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86083:82: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 86083 | duk_memmove((void *) lex_ctx->buffer, (const void *) lex_ctx->window, (size_t) avail_bytes); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3052:26: note: in definition of macro 'duk_memmove' 3052 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3055:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3055 | (void) DUK_MEMMOVE(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86083:3: note: in expansion of macro 'duk_memmove' 86083 | duk_memmove((void *) lex_ctx->buffer, (const void *) lex_ctx->window, (size_t) avail_bytes); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__initbuffer(duk_lexer_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8656:84: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8656 | #define DUK_HBUFFER_DYNAMIC_GET_SIZE(x) DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:52: note: in definition of macro 'DUK_HBUFFER_GET_SIZE' 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86259:6: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_SIZE' 86259 | if (DUK_HBUFFER_DYNAMIC_GET_SIZE(lex_ctx->buf) < DUK_LEXER_TEMP_BUF_LIMIT) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8656:45: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 8656 | #define DUK_HBUFFER_DYNAMIC_GET_SIZE(x) DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86259:6: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_SIZE' 86259 | if (DUK_HBUFFER_DYNAMIC_GET_SIZE(lex_ctx->buf) < DUK_LEXER_TEMP_BUF_LIMIT) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__appendbuffer(duk_lexer_ctx*, duk_codepoint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2805:3: note: in expansion of macro 'DUK_BW_ENSURE' 2805 | DUK_BW_ENSURE((thr), (bw_ctx), DUK_UNICODE_MAX_CESU8_LENGTH); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86286:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_CESU8' 86286 | DUK_BW_WRITE_ENSURE_CESU8(lex_ctx->thr, &lex_ctx->bw, (duk_ucodepoint_t) x); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86286:75: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 86286 | DUK_BW_WRITE_ENSURE_CESU8(lex_ctx->thr, &lex_ctx->bw, (duk_ucodepoint_t) x); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2686:33: note: in definition of macro 'DUK_BW_WRITE_RAW_CESU8' 2686 | duk__cp = (duk_ucodepoint_t) (cp); \ | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86286:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_CESU8' 86286 | DUK_BW_WRITE_ENSURE_CESU8(lex_ctx->thr, &lex_ctx->bw, (duk_ucodepoint_t) x); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2686:35: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 2686 | duk__cp = (duk_ucodepoint_t) (cp); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2806:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_CESU8' 2806 | DUK_BW_WRITE_RAW_CESU8((thr), (bw_ctx), (cp)); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86286:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_CESU8' 86286 | DUK_BW_WRITE_ENSURE_CESU8(lex_ctx->thr, &lex_ctx->bw, (duk_ucodepoint_t) x); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__appendbuffer_ascii(duk_lexer_ctx*, duk_codepoint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2770:3: note: in expansion of macro 'DUK_BW_ENSURE' 2770 | DUK_BW_ENSURE((thr), (bw_ctx), 1); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86295:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_U8' 86295 | DUK_BW_WRITE_ENSURE_U8(lex_ctx->thr, &lex_ctx->bw, (duk_uint8_t) x); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86295:67: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 86295 | DUK_BW_WRITE_ENSURE_U8(lex_ctx->thr, &lex_ctx->bw, (duk_uint8_t) x); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2616:35: note: in definition of macro 'DUK_BW_WRITE_RAW_U8' 2616 | *(bw_ctx)->p++ = (duk_uint8_t) (val); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86295:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_U8' 86295 | DUK_BW_WRITE_ENSURE_U8(lex_ctx->thr, &lex_ctx->bw, (duk_uint8_t) x); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2616:38: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2616 | *(bw_ctx)->p++ = (duk_uint8_t) (val); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2771:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8' 2771 | DUK_BW_WRITE_RAW_U8((thr), (bw_ctx), (val)); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86295:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_U8' 86295 | DUK_BW_WRITE_ENSURE_U8(lex_ctx->thr, &lex_ctx->bw, (duk_uint8_t) x); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_hstring* duk__internbuffer(duk_lexer_ctx*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2526:52: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 2526 | duk_push_lstring((thr), (const char *) (bw_ctx)->p_base, (duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)); \ | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86306:2: note: in expansion of macro 'DUK_BW_PUSH_AS_STRING' 86306 | DUK_BW_PUSH_AS_STRING(lex_ctx->thr, &lex_ctx->bw); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2526:104: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2526 | duk_push_lstring((thr), (const char *) (bw_ctx)->p_base, (duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86306:2: note: in expansion of macro 'DUK_BW_PUSH_AS_STRING' 86306 | DUK_BW_PUSH_AS_STRING(lex_ctx->thr, &lex_ctx->bw); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_lexer_initctx(duk_lexer_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86318:2: note: in expansion of macro 'duk_memzero' 86318 | duk_memzero(lex_ctx, sizeof(*lex_ctx)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_codepoint_t duk__lexer_parse_escape(duk_lexer_ctx*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86481:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 86481 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_ESCAPE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86481:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 86481 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_ESCAPE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86481:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 86481 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_ESCAPE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__lexer_parse_string_literal(duk_lexer_ctx*, duk_token*, duk_small_int_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85838:94: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 85838 | #define DUK__APPENDBUFFER(lex_ctx, x) duk__appendbuffer((lex_ctx), (duk_codepoint_t) (x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86610:5: note: in expansion of macro 'DUK__APPENDBUFFER' 86610 | DUK__APPENDBUFFER(lex_ctx, esc_cp); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85838:94: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 85838 | #define DUK__APPENDBUFFER(lex_ctx, x) duk__appendbuffer((lex_ctx), (duk_codepoint_t) (x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86646:6: note: in expansion of macro 'DUK__APPENDBUFFER' 86646 | DUK__APPENDBUFFER(lex_ctx, x); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85838:94: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 85838 | #define DUK__APPENDBUFFER(lex_ctx, x) duk__appendbuffer((lex_ctx), (duk_codepoint_t) (x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86653:5: note: in expansion of macro 'DUK__APPENDBUFFER' 86653 | DUK__APPENDBUFFER(lex_ctx, emitcp); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85839:100: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 85839 | #define DUK__APPENDBUFFER_ASCII(lex_ctx, x) duk__appendbuffer_ascii((lex_ctx), (duk_codepoint_t) (x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86669:4: note: in expansion of macro 'DUK__APPENDBUFFER_ASCII' 86669 | DUK__APPENDBUFFER_ASCII(lex_ctx, x); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85838:94: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 85838 | #define DUK__APPENDBUFFER(lex_ctx, x) duk__appendbuffer((lex_ctx), (duk_codepoint_t) (x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86676:4: note: in expansion of macro 'DUK__APPENDBUFFER' 86676 | DUK__APPENDBUFFER(lex_ctx, x); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86683:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 86683 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_ESCAPE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86683:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 86683 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_ESCAPE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86683:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 86683 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_ESCAPE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86687:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 86687 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_UNTERMINATED_STRING); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86687:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 86687 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_UNTERMINATED_STRING); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86687:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 86687 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_UNTERMINATED_STRING); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_lexer_parse_js_input_element(duk_lexer_ctx*, duk_token*, duk_bool_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85838:94: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 85838 | #define DUK__APPENDBUFFER(lex_ctx, x) duk__appendbuffer((lex_ctx), (duk_codepoint_t) (x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86975:5: note: in expansion of macro 'DUK__APPENDBUFFER' 86975 | DUK__APPENDBUFFER(lex_ctx, x); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85838:94: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 85838 | #define DUK__APPENDBUFFER(lex_ctx, x) duk__appendbuffer((lex_ctx), (duk_codepoint_t) (x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:86988:5: note: in expansion of macro 'DUK__APPENDBUFFER' 86988 | DUK__APPENDBUFFER(lex_ctx, x); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85838:94: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 85838 | #define DUK__APPENDBUFFER(lex_ctx, x) duk__appendbuffer((lex_ctx), (duk_codepoint_t) (x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87268:5: note: in expansion of macro 'DUK__APPENDBUFFER' 87268 | DUK__APPENDBUFFER(lex_ctx, esc_cp); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85838:94: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 85838 | #define DUK__APPENDBUFFER(lex_ctx, x) duk__appendbuffer((lex_ctx), (duk_codepoint_t) (x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87290:5: note: in expansion of macro 'DUK__APPENDBUFFER' 87290 | DUK__APPENDBUFFER(lex_ctx, DUK__L0()); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85838:94: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 85838 | #define DUK__APPENDBUFFER(lex_ctx, x) duk__appendbuffer((lex_ctx), (duk_codepoint_t) (x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87398:7: note: in expansion of macro 'DUK__APPENDBUFFER' 87398 | DUK__APPENDBUFFER(lex_ctx, x); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85838:94: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 85838 | #define DUK__APPENDBUFFER(lex_ctx, x) duk__appendbuffer((lex_ctx), (duk_codepoint_t) (x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87457:4: note: in expansion of macro 'DUK__APPENDBUFFER' 87457 | DUK__APPENDBUFFER(lex_ctx, x); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87526:2: note: in expansion of macro 'DUK_ERROR_RANGE' 87526 | DUK_ERROR_RANGE(lex_ctx->thr, DUK_STR_TOKEN_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87530:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87530 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_TOKEN); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87530:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87530 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_TOKEN); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87530:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87530 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_TOKEN); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87534:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87534 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_NUMBER_LITERAL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87534:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87534 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_NUMBER_LITERAL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87534:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87534 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_NUMBER_LITERAL); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87538:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87538 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_ESCAPE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87538:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87538 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_ESCAPE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87538:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87538 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_ESCAPE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87542:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87542 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_UNTERMINATED_REGEXP); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87542:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87542 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_UNTERMINATED_REGEXP); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87542:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87542 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_UNTERMINATED_REGEXP); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87546:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87546 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_UNTERMINATED_COMMENT); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87546:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87546 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_UNTERMINATED_COMMENT); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87546:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87546 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_UNTERMINATED_COMMENT); | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_lexer_parse_re_token(duk_lexer_ctx*, duk_re_token*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87575:2: note: in expansion of macro 'duk_memzero' 87575 | duk_memzero(out_token, sizeof(*out_token)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4166:52: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 4166 | #define DUK_RE_QUANTIFIER_INFINITE ((duk_uint32_t) 0xffffffffUL) | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87609:21: note: in expansion of macro 'DUK_RE_QUANTIFIER_INFINITE' 87609 | out_token->qmax = DUK_RE_QUANTIFIER_INFINITE; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4166:52: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 4166 | #define DUK_RE_QUANTIFIER_INFINITE ((duk_uint32_t) 0xffffffffUL) | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87621:21: note: in expansion of macro 'DUK_RE_QUANTIFIER_INFINITE' 87621 | out_token->qmax = DUK_RE_QUANTIFIER_INFINITE; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4166:52: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 4166 | #define DUK_RE_QUANTIFIER_INFINITE ((duk_uint32_t) 0xffffffffUL) | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87634:23: note: in expansion of macro 'DUK_RE_QUANTIFIER_INFINITE' 87634 | duk_uint32_t val2 = DUK_RE_QUANTIFIER_INFINITE; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87650:52: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 87650 | val1 = val1 * 10 + (duk_uint32_t) duk__hexval(x); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4166:52: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 4166 | #define DUK_RE_QUANTIFIER_INFINITE ((duk_uint32_t) 0xffffffffUL) | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87655:17: note: in expansion of macro 'DUK_RE_QUANTIFIER_INFINITE' 87655 | if (val2 != DUK_RE_QUANTIFIER_INFINITE) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4166:52: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 4166 | #define DUK_RE_QUANTIFIER_INFINITE ((duk_uint32_t) 0xffffffffUL) | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87664:24: note: in expansion of macro 'DUK_RE_QUANTIFIER_INFINITE' 87664 | out_token->qmax = DUK_RE_QUANTIFIER_INFINITE; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4166:52: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 4166 | #define DUK_RE_QUANTIFIER_INFINITE ((duk_uint32_t) 0xffffffffUL) | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87678:17: note: in expansion of macro 'DUK_RE_QUANTIFIER_INFINITE' 87678 | if (val2 != DUK_RE_QUANTIFIER_INFINITE) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87745:44: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 87745 | out_token->num = (duk_uint32_t) (x % 32); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87756:84: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 87756 | out_token->num = (duk_uint32_t) duk__lexer_parse_escape(lex_ctx, 0 /*allow_es6*/); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87791:51: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 87791 | val = val * 10 + (duk_uint32_t) duk__hexval(x); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87815:36: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 87815 | out_token->num = (duk_uint32_t) y; | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87882:35: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 87882 | out_token->num = (duk_uint32_t) x; | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87896:2: note: in expansion of macro 'DUK_ERROR_RANGE' 87896 | DUK_ERROR_RANGE(lex_ctx->thr, DUK_STR_TOKEN_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87900:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87900 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_REGEXP_ESCAPE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87900:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87900 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_REGEXP_ESCAPE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87900:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87900 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_REGEXP_ESCAPE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87904:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87904 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_REGEXP_GROUP); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87904:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87904 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_REGEXP_GROUP); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87904:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 87904 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_REGEXP_GROUP); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__emit_u16_direct_ranges(duk_lexer_ctx*, duk_re_range_callback, void*, const duk_uint16_t*, duk_small_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87951:49: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 87951 | gen_range(userdata, (duk_codepoint_t) ranges[0], (duk_codepoint_t) ranges[1], 1); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:87951:78: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 87951 | gen_range(userdata, (duk_codepoint_t) ranges[0], (duk_codepoint_t) ranges[1], 1); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_lexer_parse_re_ranges(duk_lexer_ctx*, duk_re_range_callback, void*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88161:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 88161 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_REGEXP_ESCAPE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88161:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 88161 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_REGEXP_ESCAPE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88161:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 88161 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_REGEXP_ESCAPE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88165:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 88165 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_RANGE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88165:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 88165 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_RANGE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88165:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 88165 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_INVALID_RANGE); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88169:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 88169 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_UNTERMINATED_CHARCLASS); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88169:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 88169 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_UNTERMINATED_CHARCLASS); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88169:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 88169 | DUK_ERROR_SYNTAX(lex_ctx->thr, DUK_STR_UNTERMINATED_CHARCLASS); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__bi_copy(duk__bigint*, duk__bigint*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88327:25: warning: use of old-style cast to 'void*' [-Wold-style-cast] 88327 | duk_memcpy((void *) x->v, (const void *) y->v, (size_t) (sizeof(duk_uint32_t) * (size_t) n)); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88327:46: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 88327 | duk_memcpy((void *) x->v, (const void *) y->v, (size_t) (sizeof(duk_uint32_t) * (size_t) n)); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88327:91: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 88327 | duk_memcpy((void *) x->v, (const void *) y->v, (size_t) (sizeof(duk_uint32_t) * (size_t) n)); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88327:92: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 88327 | duk_memcpy((void *) x->v, (const void *) y->v, (size_t) (sizeof(duk_uint32_t) * (size_t) n)); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3030:26: note: in definition of macro 'duk_memcpy' 3030 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88327:2: note: in expansion of macro 'duk_memcpy' 88327 | duk_memcpy((void *) x->v, (const void *) y->v, (size_t) (sizeof(duk_uint32_t) * (size_t) n)); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__bi_add(duk__bigint*, duk__bigint*, duk__bigint*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88406:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 88406 | x->v[i] = (duk_uint32_t) (tmp & 0xffffffffUL); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88411:30: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 88411 | x->v[i++] = (duk_uint32_t) tmp; | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__bi_sub(duk__bigint*, duk__bigint*, duk__bigint*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88518:23: warning: use of old-style cast to 'duk_int64_t' {aka 'long long int'} [-Wold-style-cast] 88518 | tmp = (duk_int64_t) ty - (duk_int64_t) tz + tmp; | ^~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88518:42: warning: use of old-style cast to 'duk_int64_t' {aka 'long long int'} [-Wold-style-cast] 88518 | tmp = (duk_int64_t) ty - (duk_int64_t) tz + tmp; | ^~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88519:44: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 88519 | x->v[i] = (duk_uint32_t) ((duk_uint64_t) tmp & 0xffffffffUL); | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88519:62: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 88519 | x->v[i] = (duk_uint32_t) ((duk_uint64_t) tmp & 0xffffffffUL); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__bi_mul(duk__bigint*, duk__bigint*, duk__bigint*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88611:26: warning: use of old-style cast to 'void*' [-Wold-style-cast] 88611 | duk_memzero((void *) x->v, (size_t) (sizeof(duk_uint32_t) * (size_t) nx)); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3091:21: note: in definition of macro 'duk_memzero' 3091 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88611:71: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 88611 | duk_memzero((void *) x->v, (size_t) (sizeof(duk_uint32_t) * (size_t) nx)); | ^~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3092:26: note: in definition of macro 'duk_memzero' 3092 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88611:73: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 88611 | duk_memzero((void *) x->v, (size_t) (sizeof(duk_uint32_t) * (size_t) nx)); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3092:26: note: in definition of macro 'duk_memzero' 3092 | duk_size_t duk__len = (len); \ | ^~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88611:2: note: in expansion of macro 'duk_memzero' 88611 | duk_memzero((void *) x->v, (size_t) (sizeof(duk_uint32_t) * (size_t) nx)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88619:32: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 88619 | tmp += (duk_uint64_t) y->v[i] * (duk_uint64_t) z->v[j] + x->v[i + j]; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88619:57: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 88619 | tmp += (duk_uint64_t) y->v[i] * (duk_uint64_t) z->v[j] + x->v[i + j]; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88620:52: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 88620 | x->v[i + j] = (duk_uint32_t) (tmp & 0xffffffffUL); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88627:33: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 88627 | x->v[i + j] = (duk_uint32_t) tmp; | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_int_t duk__bi_is_2to52(duk__bigint*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88764:37: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 88764 | return (duk_small_int_t) (x->n == 2) && (x->v[0] == 0U) && (x->v[1] == (1U << (52 - 32))); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__bi_twoexp(duk__bigint*, duk_small_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88774:26: warning: use of old-style cast to 'void*' [-Wold-style-cast] 88774 | duk_memzero((void *) x->v, sizeof(duk_uint32_t) * (size_t) n); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3091:21: note: in definition of macro 'duk_memzero' 3091 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88774:61: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 88774 | duk_memzero((void *) x->v, sizeof(duk_uint32_t) * (size_t) n); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3092:26: note: in definition of macro 'duk_memzero' 3092 | duk_size_t duk__len = (len); \ | ^~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88774:2: note: in expansion of macro 'duk_memzero' 88774 | duk_memzero((void *) x->v, sizeof(duk_uint32_t) * (size_t) n); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88776:33: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 88776 | x->v[n - 1] = (((duk_uint32_t) 1) << r); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__bi_exp_small(duk__bigint*, duk_small_int_t, duk_small_int_t, duk__bigint*, duk__bigint*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88797:39: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 88797 | duk__bi_set_small(t1, (duk_uint32_t) b); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_size_t duk__dragon4_format_uint32(duk_uint8_t*, duk_uint32_t, duk_small_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88899:26: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 88899 | t = x / (duk_uint32_t) radix; | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88900:51: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 88900 | dig = (duk_small_int_t) (x - t * (duk_uint32_t) radix); | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88900:56: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 88900 | dig = (duk_small_int_t) (x - t * (duk_uint32_t) radix); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88910:36: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 88910 | len = (duk_size_t) ((buf + 32) - p); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88912:23: warning: use of old-style cast to 'void*' [-Wold-style-cast] 88912 | duk_memmove((void *) buf, (const void *) p, (size_t) len); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3050:21: note: in definition of macro 'duk_memmove' 3050 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88912:43: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 88912 | duk_memmove((void *) buf, (const void *) p, (size_t) len); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3051:27: note: in definition of macro 'duk_memmove' 3051 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88912:55: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 88912 | duk_memmove((void *) buf, (const void *) p, (size_t) len); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3052:26: note: in definition of macro 'duk_memmove' 3052 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3055:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3055 | (void) DUK_MEMMOVE(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88912:2: note: in expansion of macro 'duk_memmove' 88912 | duk_memmove((void *) buf, (const void *) p, (size_t) len); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__dragon4_prepare(duk__numconv_stringify_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88980:71: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 88980 | duk__bi_mul_small(&nc_ctx->mp, &nc_ctx->mm, (duk_uint32_t) nc_ctx->b); /* mp <- b^(e+1) */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88983:63: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 88983 | duk__bi_set_small(&nc_ctx->s, (duk_uint32_t) (nc_ctx->b * 2)); /* s <- 2 * b */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89029:75: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 89029 | duk__bi_mul_small(&nc_ctx->r, &nc_ctx->f, (duk_uint32_t) (nc_ctx->b * 2)); /* r <- (2 * b) * f */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__dragon4_scale(duk__numconv_stringify_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89116:62: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 89116 | duk__bi_mul_small_copy(&nc_ctx->s, (duk_uint32_t) nc_ctx->B, &nc_ctx->t1); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89136:70: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 89136 | duk__bi_mul_small(&nc_ctx->t2, &nc_ctx->t1, (duk_uint32_t) nc_ctx->B); /* t2 = (* (+ r m+) B) */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89145:62: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 89145 | duk__bi_mul_small_copy(&nc_ctx->r, (duk_uint32_t) nc_ctx->B, &nc_ctx->t1); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89146:63: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 89146 | duk__bi_mul_small_copy(&nc_ctx->mp, (duk_uint32_t) nc_ctx->B, &nc_ctx->t1); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89149:64: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 89149 | duk__bi_mul_small_copy(&nc_ctx->mm, (duk_uint32_t) nc_ctx->B, &nc_ctx->t1); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__dragon4_generate(duk__numconv_stringify_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89208:69: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 89208 | duk__bi_mul_small(&nc_ctx->t1, &nc_ctx->r, (duk_uint32_t) nc_ctx->B); /* t1 <- (* r B) */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89222:62: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 89222 | duk__bi_mul_small_copy(&nc_ctx->mp, (duk_uint32_t) nc_ctx->B, &nc_ctx->t2); /* m+ <- (* m+ B) */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89223:62: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 89223 | duk__bi_mul_small_copy(&nc_ctx->mm, (duk_uint32_t) nc_ctx->B, &nc_ctx->t2); /* m- <- (* m- B) */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88880:57: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 88880 | ((nc_ctx)->digits[(preinc_idx) -1]) = (duk_uint8_t) (x); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89260:6: note: in expansion of macro 'DUK__DRAGON4_OUTPUT_PREINC' 89260 | DUK__DRAGON4_OUTPUT_PREINC(nc_ctx, count, d); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88880:57: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 88880 | ((nc_ctx)->digits[(preinc_idx) -1]) = (duk_uint8_t) (x); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89265:6: note: in expansion of macro 'DUK__DRAGON4_OUTPUT_PREINC' 89265 | DUK__DRAGON4_OUTPUT_PREINC(nc_ctx, count, d + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88880:57: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 88880 | ((nc_ctx)->digits[(preinc_idx) -1]) = (duk_uint8_t) (x); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89271:5: note: in expansion of macro 'DUK__DRAGON4_OUTPUT_PREINC' 89271 | DUK__DRAGON4_OUTPUT_PREINC(nc_ctx, count, d); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88880:57: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 88880 | ((nc_ctx)->digits[(preinc_idx) -1]) = (duk_uint8_t) (x); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89280:5: note: in expansion of macro 'DUK__DRAGON4_OUTPUT_PREINC' 89280 | DUK__DRAGON4_OUTPUT_PREINC(nc_ctx, count, d + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88880:57: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 88880 | ((nc_ctx)->digits[(preinc_idx) -1]) = (duk_uint8_t) (x); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89285:5: note: in expansion of macro 'DUK__DRAGON4_OUTPUT_PREINC' 89285 | DUK__DRAGON4_OUTPUT_PREINC(nc_ctx, count, d); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_int_t duk__dragon4_fixed_format_round(duk__numconv_stringify_ctx*, duk_small_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89386:52: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 89386 | roundup_limit = (duk_uint8_t) ((nc_ctx->B + 1) / 2); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89396:45: warning: use of old-style cast to 'void*' [-Wold-style-cast] 89396 | duk_memmove((void *) (&nc_ctx->digits[1]), | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3050:21: note: in definition of macro 'duk_memmove' 3050 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89397:51: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 89397 | (const void *) (&nc_ctx->digits[0]), | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3051:27: note: in definition of macro 'duk_memmove' 3051 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89398:59: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 89398 | (size_t) (sizeof(char) * (size_t) nc_ctx->count)); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3052:26: note: in definition of macro 'duk_memmove' 3052 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89398:64: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 89398 | (size_t) (sizeof(char) * (size_t) nc_ctx->count)); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3052:26: note: in definition of macro 'duk_memmove' 3052 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3055:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3055 | (void) DUK_MEMMOVE(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89396:5: note: in expansion of macro 'duk_memmove' 89396 | duk_memmove((void *) (&nc_ctx->digits[1]), | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89416:24: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 89416 | *p = (duk_uint8_t) t; | ^ | - | static_cast<- | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__dragon4_convert_and_push(duk__numconv_stringify_ctx*, duk_hthread*, duk_small_int_t, duk_small_int_t, duk_small_uint_t, duk_small_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89470:33: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 89470 | buf = (duk_uint8_t *) &nc_ctx->f; /* XXX: union would be more correct */ | ^ | -------------------------- | reinterpret_cast ( &nc_ctx->f) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89527:25: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 89527 | *q++ = (duk_uint8_t) '.'; | ^~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89530:25: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 89530 | *q++ = (duk_uint8_t) '0'; | ^~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89532:25: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 89532 | *q++ = (duk_uint8_t) '0'; | ^~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:88213:44: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 88213 | #define DUK__DIGITCHAR(x) duk_lc_digits[(x)] | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89536:25: note: in expansion of macro 'DUK__DIGITCHAR' 89536 | *q++ = (duk_uint8_t) DUK__DIGITCHAR(dig); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89569:24: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 89569 | *q++ = (duk_uint8_t) expt_sign; | ^~~~~~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89570:54: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 89570 | len = duk__dragon4_format_uint32(q, (duk_uint32_t) expt, radix); | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89574:39: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 89574 | duk_push_lstring(thr, (const char *) buf, (size_t) (q - buf)); | ^~~ | ------------------ | reinterpret_cast ( buf) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89574:61: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 89574 | duk_push_lstring(thr, (const char *) buf, (size_t) (q - buf)); | ^ | ------------------ | static_cast ( (q - buf)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__dragon4_double_to_ctx(duk__numconv_stringify_ctx*, duk_double_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89608:50: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 89608 | expt = (duk_small_int_t) ((tmp >> 20) & 0x07ffUL); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__dragon4_ctx_to_double(duk__numconv_stringify_ctx*, duk_double_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89648:24: warning: use of old-style cast to 'void*' [-Wold-style-cast] 89648 | duk_memzero((void *) &u, sizeof(u)); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3091:21: note: in definition of macro 'duk_memzero' 3091 | void *duk__dst = (dst); \ | ^~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89648:2: note: in expansion of macro 'duk_memzero' 89648 | duk_memzero((void *) &u, sizeof(u)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:386:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 386 | (u)->ui[DUK_DBL_IDX_UI1] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89741:4: note: in expansion of macro 'DUK_DBLUNION_SET_LOW32' 89741 | DUK_DBLUNION_SET_LOW32(&u, t); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89750:23: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 89750 | t += ((duk_uint32_t) expt) << 20; | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:361:47: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 361 | (u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89756:2: note: in expansion of macro 'DUK_DBLUNION_SET_HIGH32' 89756 | DUK_DBLUNION_SET_HIGH32(&u, t); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__numconv_stringify_raw(duk_hthread*, duk_small_int_t, duk_small_int_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89783:47: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 89783 | x = (duk_double_t) duk_require_number(thr, -1); | ^ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:877, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89791:27: warning: use of old-style cast to 'double' [-Wold-style-cast] 89791 | if (DUK_SIGNBIT((double) x)) { | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89791:6: note: in expansion of macro 'DUK_SIGNBIT' 89791 | if (DUK_SIGNBIT((double) x)) { | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89791:27: warning: use of old-style cast to 'double' [-Wold-style-cast] 89791 | if (DUK_SIGNBIT((double) x)) { | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89791:6: note: in expansion of macro 'DUK_SIGNBIT' 89791 | if (DUK_SIGNBIT((double) x)) { | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89791:27: warning: use of old-style cast to 'double' [-Wold-style-cast] 89791 | if (DUK_SIGNBIT((double) x)) { | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89791:6: note: in expansion of macro 'DUK_SIGNBIT' 89791 | if (DUK_SIGNBIT((double) x)) { | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89791:27: warning: use of old-style cast to 'double' [-Wold-style-cast] 89791 | if (DUK_SIGNBIT((double) x)) { | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89791:6: note: in expansion of macro 'DUK_SIGNBIT' 89791 | if (DUK_SIGNBIT((double) x)) { | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89791:27: warning: use of old-style cast to 'double' [-Wold-style-cast] 89791 | if (DUK_SIGNBIT((double) x)) { | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89791:6: note: in expansion of macro 'DUK_SIGNBIT' 89791 | if (DUK_SIGNBIT((double) x)) { | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89832:33: warning: use of old-style cast to 'double' [-Wold-style-cast] 89832 | if (duk_double_equals((double) uval, x) && /* integer number in range */ | ^~~~ | ------------- | static_cast ( uval) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89835:49: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 89835 | duk_uint8_t *buf = (duk_uint8_t *) (&nc_ctx->f); | ^ | ---------------------------- | reinterpret_cast ( (&nc_ctx->f)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89841:25: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 89841 | *p++ = (duk_uint8_t) '-'; | ^~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89844:40: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 89844 | duk_push_lstring(thr, (const char *) buf, (duk_size_t) (p - buf)); | ^~~ | ------------------ | reinterpret_cast ( buf) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89844:66: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 89844 | duk_push_lstring(thr, (const char *) buf, (duk_size_t) (p - buf)); | ^ | ---------------------- | static_cast ( (p - buf)) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89903:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 89903 | duk_memzero((void *) nc_ctx->digits, (size_t) count); | ^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3091:21: note: in definition of macro 'duk_memzero' 3091 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89903:49: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 89903 | duk_memzero((void *) nc_ctx->digits, (size_t) count); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3092:26: note: in definition of macro 'duk_memzero' 3092 | duk_size_t duk__len = (len); \ | ^~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:89903:3: note: in expansion of macro 'duk_memzero' 89903 | duk_memzero((void *) nc_ctx->digits, (size_t) count); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__numconv_parse_raw(duk_hthread*, duk_small_int_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90043:28: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 90043 | p = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_str); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90043:28: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 90043 | p = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_str); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90047:30: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 90047 | if (ch == (duk_small_int_t) '+') { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90053:37: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 90053 | } else if (ch == (duk_small_int_t) '-') { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90062:69: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 90062 | if ((flags & DUK_S2N_FLAG_ALLOW_INF) && DUK_STRNCMP((const char *) p, "Infinity", 8) == 0) { | ^ | ---------------- | reinterpret_cast ( p) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90079:30: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 90079 | if (ch == (duk_small_int_t) '0') { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90188:31: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 90188 | if (ch >= (duk_small_int_t) '0' && ch <= (duk_small_int_t) '9') { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90188:62: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 90188 | if (ch >= (duk_small_int_t) '0' && ch <= (duk_small_int_t) '9') { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90189:28: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 90189 | dig = (duk_small_int_t) ch - '0' + 0; | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90190:38: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 90190 | } else if (ch == (duk_small_int_t) '.') { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90220:38: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 90220 | } else if (ch == (duk_small_int_t) 0) { | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90224:39: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 90224 | (ch == (duk_small_int_t) 'e' || ch == (duk_small_int_t) 'E')) { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90224:70: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 90224 | (ch == (duk_small_int_t) 'e' || ch == (duk_small_int_t) 'E')) { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90241:32: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 90241 | if (ch == (duk_small_int_t) '-') { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90244:39: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 90244 | } else if (ch == (duk_small_int_t) '+') { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90249:38: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 90249 | } else if (ch >= (duk_small_int_t) 'a' && ch <= (duk_small_int_t) 'z') { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90249:69: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 90249 | } else if (ch >= (duk_small_int_t) 'a' && ch <= (duk_small_int_t) 'z') { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90250:52: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 90250 | dig = (duk_small_int_t) (ch - (duk_small_int_t) 'a' + 0x0a); | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90250:62: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 90250 | dig = (duk_small_int_t) (ch - (duk_small_int_t) 'a' + 0x0a); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90251:38: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 90251 | } else if (ch >= (duk_small_int_t) 'A' && ch <= (duk_small_int_t) 'Z') { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90251:69: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 90251 | } else if (ch >= (duk_small_int_t) 'A' && ch <= (duk_small_int_t) 'Z') { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90252:52: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 90252 | dig = (duk_small_int_t) (ch - (duk_small_int_t) 'A' + 0x0a); | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90252:62: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 90252 | dig = (duk_small_int_t) (ch - (duk_small_int_t) 'A' + 0x0a); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90286:64: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 90286 | duk__bi_mul_small(&nc_ctx->t1, &nc_ctx->f, (duk_uint32_t) radix); | ^~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90287:64: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 90287 | duk__bi_add_small(&nc_ctx->f, &nc_ctx->t1, (duk_uint32_t) dig); | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90403:32: warning: use of old-style cast to 'double' [-Wold-style-cast] 90403 | res = (double) nc_ctx->f.v[0]; | ^ | -------- | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90417:53: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 90417 | duk__bi_mul_small_copy(&nc_ctx->f, (duk_uint32_t) radix, &nc_ctx->t1); | ^~~~~ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2258:48: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 2258 | #define DUK_DOUBLE_INFINITY ((double) INFINITY) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90444:24: note: in expansion of macro 'DUK_DOUBLE_INFINITY' 90444 | res = (duk_double_t) DUK_DOUBLE_INFINITY; | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90448:24: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 90448 | res = (duk_double_t) 0.0; | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90505:32: warning: use of old-style cast to 'double' [-Wold-style-cast] 90505 | duk_push_number(thr, (double) res); | ^~~ | ------------ | static_cast ( res) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90517:2: note: in expansion of macro 'DUK_ERROR_RANGE' 90517 | DUK_ERROR_RANGE(thr, "exponent too large"); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk__encode_i32(duk_int32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90611:29: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 90611 | return ((duk_uint32_t) (-x)) * 2 + 1; | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90613:26: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 90613 | return ((duk_uint32_t) x) * 2; | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk__insert_u32(duk_re_compiler_ctx*, duk_uint32_t, duk_uint32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90624:52: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 90624 | len = duk_unicode_encode_xutf8((duk_ucodepoint_t) x, buf); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90626:81: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 90626 | DUK_BW_INSERT_ENSURE_BYTES(re_ctx->thr, &re_ctx->bw, offset, buf, (duk_size_t) len); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2870:123: note: in definition of macro 'DUK_BW_INSERT_ENSURE_BYTES' 2870 | #define DUK_BW_INSERT_ENSURE_BYTES(thr, bw, dst_off, buf, len) duk_bw_insert_ensure_bytes((thr), (bw), (dst_off), (buf), (len)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90627:24: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 90627 | return (duk_uint32_t) len; | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__append_u32(duk_re_compiler_ctx*, duk_uint32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2800:3: note: in expansion of macro 'DUK_BW_ENSURE' 2800 | DUK_BW_ENSURE((thr), (bw_ctx), DUK_UNICODE_MAX_XUTF8_LENGTH); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90631:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_XUTF8' 90631 | DUK_BW_WRITE_ENSURE_XUTF8(re_ctx->thr, &re_ctx->bw, x); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2677:35: warning: use of old-style cast to 'duk_ucodepoint_t' {aka 'unsigned int'} [-Wold-style-cast] 2677 | duk__cp = (duk_ucodepoint_t) (cp); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2801:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_XUTF8' 2801 | DUK_BW_WRITE_RAW_XUTF8((thr), (bw_ctx), (cp)); \ | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90631:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_XUTF8' 90631 | DUK_BW_WRITE_ENSURE_XUTF8(re_ctx->thr, &re_ctx->bw, x); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__append_7bit(duk_re_compiler_ctx*, duk_uint32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2770:3: note: in expansion of macro 'DUK_BW_ENSURE' 2770 | DUK_BW_ENSURE((thr), (bw_ctx), 1); \ | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90639:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_U8' 90639 | DUK_BW_WRITE_ENSURE_U8(re_ctx->thr, &re_ctx->bw, (duk_uint8_t) x); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90639:65: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 90639 | DUK_BW_WRITE_ENSURE_U8(re_ctx->thr, &re_ctx->bw, (duk_uint8_t) x); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2616:35: note: in definition of macro 'DUK_BW_WRITE_RAW_U8' 2616 | *(bw_ctx)->p++ = (duk_uint8_t) (val); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90639:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_U8' 90639 | DUK_BW_WRITE_ENSURE_U8(re_ctx->thr, &re_ctx->bw, (duk_uint8_t) x); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2616:38: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 2616 | *(bw_ctx)->p++ = (duk_uint8_t) (val); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2771:3: note: in expansion of macro 'DUK_BW_WRITE_RAW_U8' 2771 | DUK_BW_WRITE_RAW_U8((thr), (bw_ctx), (val)); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90639:2: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_U8' 90639 | DUK_BW_WRITE_ENSURE_U8(re_ctx->thr, &re_ctx->bw, (duk_uint8_t) x); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__append_u16_list(duk_re_compiler_ctx*, const duk_uint16_t*, duk_uint32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90668:52: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 90668 | duk__append_u32(re_ctx, (duk_uint32_t) (*values++)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk__append_jump_offset(duk_re_compiler_ctx*, duk_int32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90765:71: note: in expansion of macro 'DUK__RE_BUFLEN' 90765 | return (duk_uint32_t) duk__insert_jump_offset(re_ctx, (duk_uint32_t) DUK__RE_BUFLEN(re_ctx), skip); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:88: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90765:71: note: in expansion of macro 'DUK__RE_BUFLEN' 90765 | return (duk_uint32_t) duk__insert_jump_offset(re_ctx, (duk_uint32_t) DUK__RE_BUFLEN(re_ctx), skip); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90765:99: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 90765 | return (duk_uint32_t) duk__insert_jump_offset(re_ctx, (duk_uint32_t) DUK__RE_BUFLEN(re_ctx), skip); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__regexp_emit_range(duk_re_compiler_ctx*, duk_codepoint_t, duk_codepoint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90847:41: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 90847 | duk__append_u32(re_ctx, (duk_uint32_t) r1); | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90848:41: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 90848 | duk__append_u32(re_ctx, (duk_uint32_t) r2); | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_codepoint_t duk__re_canon_next_discontinuity(duk_codepoint_t, duk_codepoint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90868:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 90868 | start_blk = (duk_uint_t) (start >> DUK_CANON_BITMAP_BLKSHIFT); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90869:58: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 90869 | end_blk = (duk_uint_t) (end >> DUK_CANON_BITMAP_BLKSHIFT); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90886:63: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 90886 | return (duk_codepoint_t) (blk << DUK_CANON_BITMAP_BLKSHIFT); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__regexp_generate_ranges(void*, duk_codepoint_t, duk_codepoint_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90909:56: warning: use of old-style cast to 'duk_re_compiler_ctx*' {aka 'struct duk_re_compiler_ctx*'} [-Wold-style-cast] 90909 | duk_re_compiler_ctx *re_ctx = (duk_re_compiler_ctx *) userdata; | ^~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__parse_disjunction(duk_re_compiler_ctx*, duk_bool_t, duk__re_disjunction_info*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91060:45: note: in expansion of macro 'DUK__RE_BUFLEN' 91060 | duk_uint32_t entry_offset = (duk_uint32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:88: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91060:45: note: in expansion of macro 'DUK__RE_BUFLEN' 91060 | duk_uint32_t entry_offset = (duk_uint32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91068:3: note: in expansion of macro 'DUK_ERROR_RANGE' 91068 | DUK_ERROR_RANGE(re_ctx->thr, DUK_STR_REGEXP_COMPILER_RECURSION_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91116:29: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91116 | offset = (duk_uint32_t) unpatched_disjunction_jump; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91117:70: note: in expansion of macro 'DUK__RE_BUFLEN' 91117 | offset += duk__insert_jump_offset(re_ctx, offset, (duk_int32_t) (DUK__RE_BUFLEN(re_ctx) - offset)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91117:101: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 91117 | offset += duk__insert_jump_offset(re_ctx, offset, (duk_int32_t) (DUK__RE_BUFLEN(re_ctx) - offset)); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91120:44: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91120 | (duk_uint32_t) unpatched_disjunction_split, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91121:43: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 91121 | (duk_int32_t) offset - unpatched_disjunction_split); | ^~~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91126:65: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 91126 | unpatched_disjunction_split = (duk_int32_t) (entry_offset + 1); /* +1 for opcode */ | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91130:47: note: in expansion of macro 'DUK__RE_BUFLEN' 91130 | unpatched_disjunction_jump = (duk_int32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:88: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91130:47: note: in expansion of macro 'DUK__RE_BUFLEN' 91130 | unpatched_disjunction_jump = (duk_int32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91138:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91138 | DUK_ERROR_SYNTAX(re_ctx->thr, DUK_STR_INVALID_QUANTIFIER_NO_ATOM); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91138:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91138 | DUK_ERROR_SYNTAX(re_ctx->thr, DUK_STR_INVALID_QUANTIFIER_NO_ATOM); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91138:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91138 | DUK_ERROR_SYNTAX(re_ctx->thr, DUK_STR_INVALID_QUANTIFIER_NO_ATOM); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91142:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91142 | DUK_ERROR_SYNTAX(re_ctx->thr, DUK_STR_INVALID_QUANTIFIER_VALUES); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91142:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91142 | DUK_ERROR_SYNTAX(re_ctx->thr, DUK_STR_INVALID_QUANTIFIER_VALUES); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91142:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91142 | DUK_ERROR_SYNTAX(re_ctx->thr, DUK_STR_INVALID_QUANTIFIER_VALUES); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91175:39: note: in expansion of macro 'DUK__RE_BUFLEN' 91175 | atom_code_length = (duk_int32_t) (DUK__RE_BUFLEN(re_ctx) - (duk_size_t) atom_start_offset); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91175:77: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 91175 | atom_code_length = (duk_int32_t) (DUK__RE_BUFLEN(re_ctx) - (duk_size_t) atom_start_offset); | ^~~~~~~~~~~~~~~~~ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91175:94: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 91175 | atom_code_length = (duk_int32_t) (DUK__RE_BUFLEN(re_ctx) - (duk_size_t) atom_start_offset); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91177:29: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91177 | offset = (duk_uint32_t) atom_start_offset; | ^~~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91182:63: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91182 | offset += duk__insert_u32(re_ctx, offset, (duk_uint32_t) atom_char_length); | ^~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4166:52: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 4166 | #define DUK_RE_QUANTIFIER_INFINITE ((duk_uint32_t) 0xffffffffUL) | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91208:47: note: in expansion of macro 'DUK_RE_QUANTIFIER_INFINITE' 91208 | atom_copies = (re_ctx->curr_token.qmax == DUK_RE_QUANTIFIER_INFINITE) ? re_ctx->curr_token.qmin : | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91211:6: note: in expansion of macro 'DUK_ERROR_RANGE' 91211 | DUK_ERROR_RANGE(re_ctx->thr, DUK_STR_QUANTIFIER_TOO_MANY_COPIES); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91225:37: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91225 | (duk_uint32_t) atom_start_offset, | ^~~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91227:45: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91227 | duk__insert_u32(re_ctx, (duk_uint32_t) atom_start_offset, (atom_start_captures + 1) * 2); | ^~~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91228:45: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91228 | duk__insert_u32(re_ctx, (duk_uint32_t) atom_start_offset, DUK_REOP_WIPERANGE); | ^~~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91235:38: note: in expansion of macro 'DUK__RE_BUFLEN' 91235 | atom_code_length = (duk_int32_t) DUK__RE_BUFLEN(re_ctx) - atom_start_offset; | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:88: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91235:38: note: in expansion of macro 'DUK__RE_BUFLEN' 91235 | atom_code_length = (duk_int32_t) DUK__RE_BUFLEN(re_ctx) - atom_start_offset; | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91242:39: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91242 | (duk_uint32_t) atom_start_offset, | ^~~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91243:39: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91243 | (duk_uint32_t) atom_code_length); | ^~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4166:52: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 4166 | #define DUK_RE_QUANTIFIER_INFINITE ((duk_uint32_t) 0xffffffffUL) | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91245:22: note: in expansion of macro 'DUK_RE_QUANTIFIER_INFINITE' 91245 | if (tmp_qmax != DUK_RE_QUANTIFIER_INFINITE) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4166:52: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 4166 | #define DUK_RE_QUANTIFIER_INFINITE ((duk_uint32_t) 0xffffffffUL) | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91252:21: note: in expansion of macro 'DUK_RE_QUANTIFIER_INFINITE' 91252 | if (tmp_qmax == DUK_RE_QUANTIFIER_INFINITE) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91262:40: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91262 | (duk_uint32_t) atom_start_offset, | ^~~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91263:40: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91263 | (duk_uint32_t) atom_code_length); | ^~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91288:43: note: in expansion of macro 'DUK__RE_BUFLEN' 91288 | duk_uint32_t offset = (duk_uint32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:88: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91288:43: note: in expansion of macro 'DUK__RE_BUFLEN' 91288 | duk_uint32_t offset = (duk_uint32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91292:40: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91292 | (duk_uint32_t) atom_start_offset, | ^~~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91293:40: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91293 | (duk_uint32_t) atom_code_length); | ^~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91301:46: note: in expansion of macro 'DUK__RE_BUFLEN' 91301 | (duk_int32_t) (DUK__RE_BUFLEN(re_ctx) - (offset + 1))); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91301:83: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 91301 | (duk_int32_t) (DUK__RE_BUFLEN(re_ctx) - (offset + 1))); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91307:46: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91307 | duk__remove_slice(re_ctx, (duk_uint32_t) atom_start_offset, (duk_uint32_t) atom_code_length); | ^~~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91307:80: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91307 | duk__remove_slice(re_ctx, (duk_uint32_t) atom_start_offset, (duk_uint32_t) atom_code_length); | ^~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91336:28: note: in expansion of macro 'DUK__RE_BUFLEN' 91336 | offset = (duk_uint32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:88: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91336:28: note: in expansion of macro 'DUK__RE_BUFLEN' 91336 | offset = (duk_uint32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91343:50: note: in expansion of macro 'DUK__RE_BUFLEN' 91343 | (duk_int32_t) (DUK__RE_BUFLEN(re_ctx) - (offset + 1))); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91343:87: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 91343 | (duk_int32_t) (DUK__RE_BUFLEN(re_ctx) - (offset + 1))); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91353:42: note: in expansion of macro 'DUK__RE_BUFLEN' 91353 | new_atom_start_offset = (duk_int32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:88: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91353:42: note: in expansion of macro 'DUK__RE_BUFLEN' 91353 | new_atom_start_offset = (duk_int32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91371:42: note: in expansion of macro 'DUK__RE_BUFLEN' 91371 | new_atom_start_offset = (duk_int32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:88: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91371:42: note: in expansion of macro 'DUK__RE_BUFLEN' 91371 | new_atom_start_offset = (duk_int32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91375:89: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 91375 | ch = (duk_uint32_t) duk_unicode_re_canonicalize_char(re_ctx->thr, (duk_codepoint_t) ch); | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91375:91: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91375 | ch = (duk_uint32_t) duk_unicode_re_canonicalize_char(re_ctx->thr, (duk_codepoint_t) ch); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91390:42: note: in expansion of macro 'DUK__RE_BUFLEN' 91390 | new_atom_start_offset = (duk_int32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:88: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91390:42: note: in expansion of macro 'DUK__RE_BUFLEN' 91390 | new_atom_start_offset = (duk_int32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91402:81: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 91402 | idx = (duk_small_uint_t) ((re_ctx->curr_token.t - DUK_RETOK_ATOM_DIGIT) >> 1U); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91409:61: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91409 | duk_uint32_t backref = (duk_uint32_t) re_ctx->curr_token.num; | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91414:42: note: in expansion of macro 'DUK__RE_BUFLEN' 91414 | new_atom_start_offset = (duk_int32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:88: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91414:42: note: in expansion of macro 'DUK__RE_BUFLEN' 91414 | new_atom_start_offset = (duk_int32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91423:42: note: in expansion of macro 'DUK__RE_BUFLEN' 91423 | new_atom_start_offset = (duk_int32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:88: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91423:42: note: in expansion of macro 'DUK__RE_BUFLEN' 91423 | new_atom_start_offset = (duk_int32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91435:42: note: in expansion of macro 'DUK__RE_BUFLEN' 91435 | new_atom_start_offset = (duk_int32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:88: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91435:42: note: in expansion of macro 'DUK__RE_BUFLEN' 91435 | new_atom_start_offset = (duk_int32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91472:42: note: in expansion of macro 'DUK__RE_BUFLEN' 91472 | new_atom_start_offset = (duk_int32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:88: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91472:42: note: in expansion of macro 'DUK__RE_BUFLEN' 91472 | new_atom_start_offset = (duk_int32_t) DUK__RE_BUFLEN(re_ctx); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91476:28: note: in expansion of macro 'DUK__RE_BUFLEN' 91476 | offset = (duk_uint32_t) DUK__RE_BUFLEN(re_ctx); /* patch in range count later */ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:88: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91476:28: note: in expansion of macro 'DUK__RE_BUFLEN' 91476 | offset = (duk_uint32_t) DUK__RE_BUFLEN(re_ctx); /* patch in range count later */ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91480:82: warning: use of old-style cast to 'void*' [-Wold-style-cast] 91480 | duk_lexer_parse_re_ranges(&re_ctx->lex, duk__regexp_generate_ranges, (void *) re_ctx); | ^~~~~~ | --------------- | static_cast ( re_ctx) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91488:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91488 | DUK_ERROR_SYNTAX(re_ctx->thr, DUK_STR_UNEXPECTED_CLOSING_PAREN); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91488:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91488 | DUK_ERROR_SYNTAX(re_ctx->thr, DUK_STR_UNEXPECTED_CLOSING_PAREN); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91488:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91488 | DUK_ERROR_SYNTAX(re_ctx->thr, DUK_STR_UNEXPECTED_CLOSING_PAREN); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91495:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91495 | DUK_ERROR_SYNTAX(re_ctx->thr, DUK_STR_UNEXPECTED_END_OF_PATTERN); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91495:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91495 | DUK_ERROR_SYNTAX(re_ctx->thr, DUK_STR_UNEXPECTED_END_OF_PATTERN); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91495:5: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91495 | DUK_ERROR_SYNTAX(re_ctx->thr, DUK_STR_UNEXPECTED_END_OF_PATTERN); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91501:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91501 | DUK_ERROR_SYNTAX(re_ctx->thr, DUK_STR_UNEXPECTED_REGEXP_TOKEN); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91501:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91501 | DUK_ERROR_SYNTAX(re_ctx->thr, DUK_STR_UNEXPECTED_REGEXP_TOKEN); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91501:4: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91501 | DUK_ERROR_SYNTAX(re_ctx->thr, DUK_STR_UNEXPECTED_REGEXP_TOKEN); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91529:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91529 | offset = (duk_uint32_t) unpatched_disjunction_jump; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2561:87: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2561 | #define DUK_BW_GET_SIZE(thr, bw_ctx) ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:90568:32: note: in expansion of macro 'DUK_BW_GET_SIZE' 90568 | #define DUK__RE_BUFLEN(re_ctx) DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw) | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91530:68: note: in expansion of macro 'DUK__RE_BUFLEN' 91530 | offset += duk__insert_jump_offset(re_ctx, offset, (duk_int32_t) (DUK__RE_BUFLEN(re_ctx) - offset)); | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91530:99: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 91530 | offset += duk__insert_jump_offset(re_ctx, offset, (duk_int32_t) (DUK__RE_BUFLEN(re_ctx) - offset)); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91533:42: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91533 | (duk_uint32_t) unpatched_disjunction_split, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91534:41: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 91534 | (duk_int32_t) offset - unpatched_disjunction_split); | ^~~~~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk__parse_regexp_flags(duk_hthread*, duk_hstring*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91555:6: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 91555 | p = DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91563:22: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 91563 | case (duk_uint8_t) 'g': { | ^~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91570:22: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 91570 | case (duk_uint8_t) 'i': { | ^~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91577:22: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 91577 | case (duk_uint8_t) 'm': { | ^~~ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91593:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91593 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_REGEXP_FLAGS); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91593:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91593 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_REGEXP_FLAGS); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91593:2: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91593 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_REGEXP_FLAGS); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__create_escaped_source(duk_hthread*, int)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91627:28: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 91627 | p = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91627:28: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 91627 | p = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:46: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91628:19: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 91628 | n = (duk_size_t) DUK_HSTRING_GET_BYTELEN(h); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91639:30: warning: use of old-style cast to 'duk_uint_fast8_t' {aka 'unsigned int'} [-Wold-style-cast] 91639 | c_prev = (duk_uint_fast8_t) 0; | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2589:43: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2589 | (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91644:7: note: in expansion of macro 'DUK_BW_ENSURE_RAW' 91644 | q = DUK_BW_ENSURE_RAW(thr, bw, 2, q); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91646:31: warning: use of old-style cast to 'duk_uint_fast8_t' {aka 'unsigned int'} [-Wold-style-cast] 91646 | if (c == (duk_uint_fast8_t) '/' && c_prev != (duk_uint_fast8_t) '\\') { | ^~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91646:67: warning: use of old-style cast to 'duk_uint_fast8_t' {aka 'unsigned int'} [-Wold-style-cast] 91646 | if (c == (duk_uint_fast8_t) '/' && c_prev != (duk_uint_fast8_t) '\\') { | ^~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91652:24: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 91652 | *q++ = (duk_uint8_t) c; | ^ | - | static_cast<- | > () In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_regexp_compile(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91711:2: note: in expansion of macro 'duk_memzero' 91711 | duk_memzero(&re_ctx, sizeof(re_ctx)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91715:21: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 91715 | re_ctx.lex.input = DUK_HSTRING_GET_DATA(h_pattern); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10096:37: note: in expansion of macro 'DUK_LINE_MACRO' 10096 | duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91758:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91758 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_BACKREFS); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91758:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91758 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_BACKREFS); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10099:95: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 10099 | duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10358:3: note: in expansion of macro 'DUK_ERROR' 10358 | DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \ | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91758:3: note: in expansion of macro 'DUK_ERROR_SYNTAX' 91758 | DUK_ERROR_SYNTAX(thr, DUK_STR_INVALID_BACKREFS); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_regexp_create_instance(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91813:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 91813 | duk_xdef_prop_stridx_short(thr, -3, DUK_STRIDX_INT_BYTECODE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91813:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 91813 | duk_xdef_prop_stridx_short(thr, -3, DUK_STRIDX_INT_BYTECODE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91813:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 91813 | duk_xdef_prop_stridx_short(thr, -3, DUK_STRIDX_INT_BYTECODE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91822:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 91822 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_SOURCE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91822:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 91822 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_SOURCE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91822:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 91822 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_INT_SOURCE, DUK_PROPDESC_FLAGS_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91827:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 91827 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LAST_INDEX, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91827:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 91827 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LAST_INDEX, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91827:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 91827 | duk_xdef_prop_stridx_short(thr, -2, DUK_STRIDX_LAST_INDEX, DUK_PROPDESC_FLAGS_W); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk__bc_get_u32(duk_re_matcher_ctx*, const duk_uint8_t**)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91869:112: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91869 | return (duk_uint32_t) duk_unicode_decode_xutf8_checked(re_ctx->thr, pc, re_ctx->bytecode, re_ctx->bytecode_end); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int32_t duk__bc_get_i32(duk_re_matcher_ctx*, const duk_uint8_t**)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91876:109: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 91876 | t = (duk_uint32_t) duk_unicode_decode_xutf8_checked(re_ctx->thr, pc, re_ctx->bytecode, re_ctx->bytecode_end); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91878:33: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 91878 | return -((duk_int32_t) (t >> 1)); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91880:31: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 91880 | return (duk_int32_t) (t >> 1); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const duk_uint8_t* duk__utf8_backtrack(duk_hthread*, const duk_uint8_t**, const duk_uint8_t*, const duk_uint8_t*, duk_uint_fast32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10285:61: note: in expansion of macro 'DUK_LINE_MACRO' 10285 | duk_err_error_internal((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91914:2: note: in expansion of macro 'DUK_ERROR_INTERNAL' 91914 | DUK_ERROR_INTERNAL(thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const duk_uint8_t* duk__utf8_advance(duk_hthread*, const duk_uint8_t**, const duk_uint8_t*, const duk_uint8_t*, duk_uint_fast32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10285:61: note: in expansion of macro 'DUK_LINE_MACRO' 10285 | duk_err_error_internal((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91949:2: note: in expansion of macro 'DUK_ERROR_INTERNAL' 91949 | DUK_ERROR_INTERNAL(thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_codepoint_t duk__inp_get_cp(duk_re_matcher_ctx*, const duk_uint8_t**)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91967:108: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 91967 | res = (duk_codepoint_t) duk_unicode_decode_xutf8_checked(re_ctx->thr, sp, re_ctx->input, re_ctx->input_end); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_codepoint_t duk__inp_get_prev_cp(duk_re_matcher_ctx*, const duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91981:61: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 91981 | (void) duk__inp_backtrack(re_ctx, &sp, (duk_uint_fast32_t) 1); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'const duk_uint8_t* duk__match_regexp(duk_re_matcher_ctx*, const duk_uint8_t*, const duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:91999:3: note: in expansion of macro 'DUK_ERROR_RANGE' 91999 | DUK_ERROR_RANGE(re_ctx->thr, DUK_STR_REGEXP_EXECUTOR_RECURSION_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92008:4: note: in expansion of macro 'DUK_ERROR_RANGE' 92008 | DUK_ERROR_RANGE(re_ctx->thr, DUK_STR_REGEXP_EXECUTOR_STEP_LIMIT); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92050:54: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 92050 | c1 = (duk_codepoint_t) duk__bc_get_u32(re_ctx, &pc); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92095:55: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 92095 | r1 = (duk_codepoint_t) duk__bc_get_u32(re_ctx, &pc); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92096:55: warning: use of old-style cast to 'duk_codepoint_t' {aka 'int'} [-Wold-style-cast] 92096 | r2 = (duk_codepoint_t) duk__bc_get_u32(re_ctx, &pc); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92302:62: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 92302 | sp = duk__inp_backtrack(re_ctx, &sp, (duk_uint_fast32_t) atomlen); | ^~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92363:109: warning: use of old-style cast to 'duk_uint8_t**' {aka 'unsigned char**'} [-Wold-style-cast] 92363 | range_save = (duk_uint8_t **) duk_push_fixed_buffer_nozero(re_ctx->thr, sizeof(duk_uint8_t *) * idx_count); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92365:4: note: in expansion of macro 'duk_memcpy' 92365 | duk_memcpy(range_save, re_ctx->saved + idx_start, sizeof(duk_uint8_t *) * idx_count); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92372:51: warning: use of old-style cast to 'void*' [-Wold-style-cast] 92372 | duk_memzero((void *) (re_ctx->saved + idx_start), sizeof(duk_uint8_t *) * idx_count); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3091:21: note: in definition of macro 'duk_memzero' 3091 | void *duk__dst = (dst); \ | ^~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92372:4: note: in expansion of macro 'duk_memzero' 92372 | duk_memzero((void *) (re_ctx->saved + idx_start), sizeof(duk_uint8_t *) * idx_count); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92394:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 92394 | duk_memcpy((void *) (re_ctx->saved + idx_start), | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92395:30: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 92395 | (const void *) range_save, | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92394:4: note: in expansion of macro 'duk_memcpy' 92394 | duk_memcpy((void *) (re_ctx->saved + idx_start), | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92424:105: warning: use of old-style cast to 'duk_uint8_t**' {aka 'unsigned char**'} [-Wold-style-cast] 92424 | (duk_uint8_t **) duk_push_fixed_buffer_nozero(re_ctx->thr, sizeof(duk_uint8_t *) * re_ctx->nsaved); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92426:4: note: in expansion of macro 'duk_memcpy' 92426 | duk_memcpy(full_save, re_ctx->saved, sizeof(duk_uint8_t *) * re_ctx->nsaved); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92451:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 92451 | duk_memcpy((void *) re_ctx->saved, (const void *) full_save, sizeof(duk_uint8_t *) * re_ctx->nsaved); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3028:21: note: in definition of macro 'duk_memcpy' 3028 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92451:54: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 92451 | duk_memcpy((void *) re_ctx->saved, (const void *) full_save, sizeof(duk_uint8_t *) * re_ctx->nsaved); | ^~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3029:27: note: in definition of macro 'duk_memcpy' 3029 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3033:50: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3033 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92451:4: note: in expansion of macro 'duk_memcpy' 92451 | duk_memcpy((void *) re_ctx->saved, (const void *) full_save, sizeof(duk_uint8_t *) * re_ctx->nsaved); | ^~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10285:61: note: in expansion of macro 'DUK_LINE_MACRO' 10285 | duk_err_error_internal((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92531:2: note: in expansion of macro 'DUK_ERROR_INTERNAL' 92531 | DUK_ERROR_INTERNAL(re_ctx->thr); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__regexp_match_helper(duk_hthread*, duk_small_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:71: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92582:2: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 92582 | duk_xget_owndataprop_stridx_short(thr, -2, DUK_STRIDX_INT_BYTECODE); /* [ ... re_obj input ] -> [ ... re_obj input bc ] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6152:104: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6152 | duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92582:2: note: in expansion of macro 'duk_xget_owndataprop_stridx_short' 92582 | duk_xget_owndataprop_stridx_short(thr, -2, DUK_STRIDX_INT_BYTECODE); /* [ ... re_obj input ] -> [ ... re_obj input bc ] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3094:41: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3094 | (void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2249:46: note: in definition of macro 'DUK_MEMZERO' 2249 | #define DUK_MEMZERO(p,n) DUK_MEMSET((p), 0, (n)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92599:2: note: in expansion of macro 'duk_memzero' 92599 | duk_memzero(&re_ctx, sizeof(re_ctx)); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92602:39: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 92602 | re_ctx.input = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_input); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92602:39: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 92602 | re_ctx.input = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_input); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:64: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92604:42: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 92604 | re_ctx.bytecode = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_bytecode); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6426:65: warning: use of old-style cast to 'const duk_uint8_t*' {aka 'const unsigned char*'} [-Wold-style-cast] 6426 | #define DUK_HSTRING_GET_DATA(x) ((const duk_uint8_t *) ((x) + 1)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92604:42: note: in expansion of macro 'DUK_HSTRING_GET_DATA' 92604 | re_ctx.bytecode = (const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_bytecode); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92617:100: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 92617 | global = (duk_small_int_t) (force_global | (duk_small_int_t) (re_ctx.re_flags & DUK_RE_FLAG_GLOBAL)); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92617:101: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 92617 | global = (duk_small_int_t) (force_global | (duk_small_int_t) (re_ctx.re_flags & DUK_RE_FLAG_GLOBAL)); | ^ | - | static_cast< - | > ( ) In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:775:48: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 775 | duk_push_buffer_raw((ctx), (size), 0 /*flags*/) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92622:26: note: in expansion of macro 'duk_push_fixed_buffer' 92622 | p_buf = (duk_uint8_t *) duk_push_fixed_buffer(thr, sizeof(duk_uint8_t *) * re_ctx.nsaved); /* rely on zeroing */ | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92624:68: warning: use of old-style cast to 'const duk_uint8_t**' {aka 'const unsigned char**'} [-Wold-style-cast] 92624 | re_ctx.saved = (const duk_uint8_t **) duk_get_buffer(thr, -1, NULL); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92664:2: note: in expansion of macro 'duk_get_prop_stridx_short' 92664 | duk_get_prop_stridx_short(thr, -4, DUK_STRIDX_LAST_INDEX); /* -> [ ... re_obj input bc saved_buf lastIndex ] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6140:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6140 | duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92664:2: note: in expansion of macro 'duk_get_prop_stridx_short' 92664 | duk_get_prop_stridx_short(thr, -4, DUK_STRIDX_LAST_INDEX); /* -> [ ... re_obj input bc saved_buf lastIndex ] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6413:63: warning: use of old-style cast to 'double' [-Wold-style-cast] 6413 | #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92670:31: note: in expansion of macro 'DUK_HSTRING_GET_CHARLEN' 92670 | if (d < 0.0 || d > (double) DUK_HSTRING_GET_CHARLEN(h_input)) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92676:32: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 92676 | char_offset = (duk_uint32_t) d; | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92683:32: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 92683 | char_offset = (duk_uint32_t) 0; | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92755:90: warning: use of old-style cast to 'duk_uint_fast32_t' {aka 'unsigned int'} [-Wold-style-cast] 92755 | (void) duk__utf8_advance(thr, &sp, re_ctx.input, re_ctx.input_end, (duk_uint_fast32_t) 1); | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:70: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92803:3: note: in expansion of macro 'duk_push_u32' 92803 | duk_push_u32(thr, char_offset); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6208:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 6208 | duk_xdef_prop_stridx_short((thr), (obj_idx), (stridx), DUK_PROPDESC_FLAGS_WEC) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92804:3: note: in expansion of macro 'duk_xdef_prop_stridx_short_wec' 92804 | duk_xdef_prop_stridx_short_wec(thr, -2, DUK_STRIDX_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6208:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 6208 | duk_xdef_prop_stridx_short((thr), (obj_idx), (stridx), DUK_PROPDESC_FLAGS_WEC) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92804:3: note: in expansion of macro 'duk_xdef_prop_stridx_short_wec' 92804 | duk_xdef_prop_stridx_short_wec(thr, -2, DUK_STRIDX_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6208:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 6208 | duk_xdef_prop_stridx_short((thr), (obj_idx), (stridx), DUK_PROPDESC_FLAGS_WEC) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92804:3: note: in expansion of macro 'duk_xdef_prop_stridx_short_wec' 92804 | duk_xdef_prop_stridx_short_wec(thr, -2, DUK_STRIDX_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:57: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6208:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 6208 | duk_xdef_prop_stridx_short((thr), (obj_idx), (stridx), DUK_PROPDESC_FLAGS_WEC) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92807:3: note: in expansion of macro 'duk_xdef_prop_stridx_short_wec' 92807 | duk_xdef_prop_stridx_short_wec(thr, -2, DUK_STRIDX_INPUT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6201:91: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6201 | (((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6208:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 6208 | duk_xdef_prop_stridx_short((thr), (obj_idx), (stridx), DUK_PROPDESC_FLAGS_WEC) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92807:3: note: in expansion of macro 'duk_xdef_prop_stridx_short_wec' 92807 | duk_xdef_prop_stridx_short_wec(thr, -2, DUK_STRIDX_INPUT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6202:62: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6202 | (duk_uint_t) (desc_flags))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6208:2: note: in expansion of macro 'duk_xdef_prop_stridx_short' 6208 | duk_xdef_prop_stridx_short((thr), (obj_idx), (stridx), DUK_PROPDESC_FLAGS_WEC) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92807:3: note: in expansion of macro 'duk_xdef_prop_stridx_short_wec' 92807 | duk_xdef_prop_stridx_short_wec(thr, -2, DUK_STRIDX_INPUT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92814:48: warning: use of old-style cast to 'duk_uarridx_t' {aka 'unsigned int'} [-Wold-style-cast] 92814 | duk_push_uarridx(thr, (duk_uarridx_t) (i / 2)); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5996:71: note: in definition of macro 'duk_push_uarridx' 5996 | #define duk_push_uarridx(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5996:74: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5996 | #define duk_push_uarridx(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92814:4: note: in expansion of macro 'duk_push_uarridx' 92814 | duk_push_uarridx(thr, (duk_uarridx_t) (i / 2)); | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92818:51: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 92818 | (const char *) re_ctx.saved[i], | ^ | ------------------------------ | reinterpret_cast ( re_ctx.saved[i]) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92819:73: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 92819 | (duk_size_t) (re_ctx.saved[i + 1] - re_ctx.saved[i])); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92826:75: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 92826 | char_end_offset = char_offset + (duk_uint32_t) duk_get_length(thr, -1); /* add charlen */ | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5991:70: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 5991 | #define duk_push_u32(thr, val) duk_push_uint((thr), (duk_uint_t) (val)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92842:4: note: in expansion of macro 'duk_push_u32' 92842 | duk_push_u32(thr, char_end_offset); | ^~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92843:4: note: in expansion of macro 'duk_put_prop_stridx_short' 92843 | duk_put_prop_stridx_short(thr, -6, DUK_STRIDX_LAST_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92843:4: note: in expansion of macro 'duk_put_prop_stridx_short' 92843 | duk_put_prop_stridx_short(thr, -6, DUK_STRIDX_LAST_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:63: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92862:3: note: in expansion of macro 'duk_put_prop_stridx_short' 92862 | duk_put_prop_stridx_short(thr, -6, DUK_STRIDX_LAST_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6159:96: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 6159 | duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx)))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92862:3: note: in expansion of macro 'duk_put_prop_stridx_short' 92862 | duk_put_prop_stridx_short(thr, -6, DUK_STRIDX_LAST_INDEX); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk_bd_decode(duk_bitdecoder_ctx*, duk_small_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100012:26: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 100012 | mask = (((duk_uint32_t) 1U) << bits) - 1U; | ^~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_uint_t duk_bd_decode_flag(duk_bitdecoder_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100025:48: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 100025 | return (duk_small_uint_t) duk_bd_decode(ctx, 1); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int32_t duk_bd_decode_flagged_signed(duk_bitdecoder_ctx*, duk_small_int_t, duk_int32_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100041:71: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 100041 | return (duk_int32_t) duk_bd_decode_flagged(ctx, bits, (duk_uint32_t) def_value); | ^~~~~~~~~ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100041:80: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 100041 | return (duk_int32_t) duk_bd_decode_flagged(ctx, bits, (duk_uint32_t) def_value); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_uint_t duk_bd_decode_bitpacked_string(duk_bitdecoder_ctx*, duk_uint8_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100119:26: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 100119 | out[i] = (duk_uint8_t) t; | ^ | - | static_cast<- | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_be_encode(duk_bitencoder_ctx*, duk_uint32_t, duk_small_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100153:69: warning: use of old-style cast to 'duk_uint8_t' {aka 'unsigned char'} [-Wold-style-cast] 100153 | tmp = (duk_uint8_t) ((ctx->currval >> (ctx->currbits - 8)) & 0xff); | ^ | - | static_cast<- | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_be_finish(duk_bitencoder_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100170:45: warning: use of old-style cast to 'duk_small_int_t' {aka 'int'} [-Wold-style-cast] 100170 | npad = (duk_small_int_t) (8 - ctx->currbits); | ^ | - | static_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__bw_update_ptrs(duk_hthread*, duk_bufwriter_ctx*, duk_size_t, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8678:67: warning: use of old-style cast to 'duk_uint8_t*' {aka 'unsigned char*'} [-Wold-style-cast] 8678 | #define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x) ((x)->curr_alloc) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100200:22: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_DATA_PTR' 100200 | p = (duk_uint8_t *) DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(thr->heap, bw_ctx->buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_bw_init(duk_hthread*, duk_bufwriter_ctx*, duk_hbuffer_dynamic*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8656:84: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8656 | #define DUK_HBUFFER_DYNAMIC_GET_SIZE(x) DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:52: note: in definition of macro 'DUK_HBUFFER_GET_SIZE' 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100213:38: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_SIZE' 100213 | duk__bw_update_ptrs(thr, bw_ctx, 0, DUK_HBUFFER_DYNAMIC_GET_SIZE(h_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8638:53: warning: use of old-style cast to 'duk_hbuffer*' {aka 'struct duk_hbuffer*'} [-Wold-style-cast] 8638 | #define DUK_HBUFFER_GET_SIZE(x) (((duk_hbuffer *) (x))->size) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:8656:45: note: in expansion of macro 'DUK_HBUFFER_GET_SIZE' 8656 | #define DUK_HBUFFER_DYNAMIC_GET_SIZE(x) DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100213:38: note: in expansion of macro 'DUK_HBUFFER_DYNAMIC_GET_SIZE' 100213 | duk__bw_update_ptrs(thr, bw_ctx, 0, DUK_HBUFFER_DYNAMIC_GET_SIZE(h_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_bw_init_pushbuf(duk_hthread*, duk_bufwriter_ctx*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100221:65: warning: use of old-style cast to 'duk_hbuffer_dynamic*' {aka 'struct duk_hbuffer_dynamic*'} [-Wold-style-cast] 100221 | bw_ctx->buf = (duk_hbuffer_dynamic *) duk_known_hbuffer(thr, -1); | ^ | - | reinterpret_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint8_t* duk_bw_resize(duk_hthread*, duk_bufwriter_ctx*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100241:53: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 100241 | curr_off = (duk_size_t) (bw_ctx->p - bw_ctx->p_base); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2757:25: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 2757 | #define DUK_LINE_MACRO __LINE__ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:10346:52: note: in expansion of macro 'DUK_LINE_MACRO' 10346 | duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \ | ^~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100246:3: note: in expansion of macro 'DUK_ERROR_RANGE' 100246 | DUK_ERROR_RANGE(thr, DUK_STR_BUFFER_TOO_LONG); | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_bw_compact(duk_hthread*, duk_bufwriter_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100274:48: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 100274 | len = (duk_size_t) (bw_ctx->p - bw_ctx->p_base); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_bw_write_raw_slice(duk_hthread*, duk_bufwriter_ctx*, duk_size_t, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100290:33: warning: use of old-style cast to 'void*' [-Wold-style-cast] 100290 | duk_memcpy_unsafe((void *) bw->p, (const void *) (p_base + src_off), (size_t) len); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100290:68: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 100290 | duk_memcpy_unsafe((void *) bw->p, (const void *) (p_base + src_off), (size_t) len); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100290:80: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 100290 | duk_memcpy_unsafe((void *) bw->p, (const void *) (p_base + src_off), (size_t) len); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3039:26: note: in definition of macro 'duk_memcpy_unsafe' 3039 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100290:2: note: in expansion of macro 'duk_memcpy_unsafe' 100290 | duk_memcpy_unsafe((void *) bw->p, (const void *) (p_base + src_off), (size_t) len); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_bw_write_ensure_slice(duk_hthread*, duk_bufwriter_ctx*, duk_size_t, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100301:2: note: in expansion of macro 'DUK_BW_ENSURE' 100301 | DUK_BW_ENSURE(thr, bw, len); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_bw_insert_raw_bytes(duk_hthread*, duk_bufwriter_ctx*, duk_size_t, const duk_uint8_t*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100320:39: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 100320 | buf_sz = (duk_size_t) (bw->p - p_base); /* constrained by maximum buffer size */ | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100324:53: warning: use of old-style cast to 'void*' [-Wold-style-cast] 100324 | duk_memmove_unsafe((void *) (p_base + dst_off + len), (const void *) (p_base + dst_off), (size_t) move_sz); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3059:21: note: in definition of macro 'duk_memmove_unsafe' 3059 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100324:88: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 100324 | duk_memmove_unsafe((void *) (p_base + dst_off + len), (const void *) (p_base + dst_off), (size_t) move_sz); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3060:27: note: in definition of macro 'duk_memmove_unsafe' 3060 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100324:100: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 100324 | duk_memmove_unsafe((void *) (p_base + dst_off + len), (const void *) (p_base + dst_off), (size_t) move_sz); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3061:26: note: in definition of macro 'duk_memmove_unsafe' 3061 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3067:52: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3067 | (void) DUK_MEMMOVE(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100324:2: note: in expansion of macro 'duk_memmove_unsafe' 100324 | duk_memmove_unsafe((void *) (p_base + dst_off + len), (const void *) (p_base + dst_off), (size_t) move_sz); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100325:46: warning: use of old-style cast to 'void*' [-Wold-style-cast] 100325 | duk_memcpy_unsafe((void *) (p_base + dst_off), (const void *) buf, (size_t) len); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100325:64: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 100325 | duk_memcpy_unsafe((void *) (p_base + dst_off), (const void *) buf, (size_t) len); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100325:78: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 100325 | duk_memcpy_unsafe((void *) (p_base + dst_off), (const void *) buf, (size_t) len); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3039:26: note: in definition of macro 'duk_memcpy_unsafe' 3039 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100325:2: note: in expansion of macro 'duk_memcpy_unsafe' 100325 | duk_memcpy_unsafe((void *) (p_base + dst_off), (const void *) buf, (size_t) len); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_bw_insert_ensure_bytes(duk_hthread*, duk_bufwriter_ctx*, duk_size_t, const duk_uint8_t*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100339:2: note: in expansion of macro 'DUK_BW_ENSURE' 100339 | DUK_BW_ENSURE(thr, bw, len); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_bw_insert_raw_slice(duk_hthread*, duk_bufwriter_ctx*, duk_size_t, duk_size_t, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100371:39: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 100371 | buf_sz = (duk_size_t) (bw->p - p_base); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100375:53: warning: use of old-style cast to 'void*' [-Wold-style-cast] 100375 | duk_memmove_unsafe((void *) (p_base + dst_off + len), (const void *) (p_base + dst_off), (size_t) move_sz); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3059:21: note: in definition of macro 'duk_memmove_unsafe' 3059 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100375:88: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 100375 | duk_memmove_unsafe((void *) (p_base + dst_off + len), (const void *) (p_base + dst_off), (size_t) move_sz); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3060:27: note: in definition of macro 'duk_memmove_unsafe' 3060 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100375:100: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 100375 | duk_memmove_unsafe((void *) (p_base + dst_off + len), (const void *) (p_base + dst_off), (size_t) move_sz); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3061:26: note: in definition of macro 'duk_memmove_unsafe' 3061 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3067:52: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3067 | (void) DUK_MEMMOVE(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100375:2: note: in expansion of macro 'duk_memmove_unsafe' 100375 | duk_memmove_unsafe((void *) (p_base + dst_off + len), (const void *) (p_base + dst_off), (size_t) move_sz); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100376:46: warning: use of old-style cast to 'void*' [-Wold-style-cast] 100376 | duk_memcpy_unsafe((void *) (p_base + dst_off), (const void *) (p_base + src_off), (size_t) len); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3037:21: note: in definition of macro 'duk_memcpy_unsafe' 3037 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100376:81: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 100376 | duk_memcpy_unsafe((void *) (p_base + dst_off), (const void *) (p_base + src_off), (size_t) len); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3038:27: note: in definition of macro 'duk_memcpy_unsafe' 3038 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100376:93: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 100376 | duk_memcpy_unsafe((void *) (p_base + dst_off), (const void *) (p_base + src_off), (size_t) len); | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3039:26: note: in definition of macro 'duk_memcpy_unsafe' 3039 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3045:51: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3045 | (void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100376:2: note: in expansion of macro 'duk_memcpy_unsafe' 100376 | duk_memcpy_unsafe((void *) (p_base + dst_off), (const void *) (p_base + src_off), (size_t) len); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_bw_insert_ensure_slice(duk_hthread*, duk_bufwriter_ctx*, duk_size_t, duk_size_t, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100395:2: note: in expansion of macro 'DUK_BW_ENSURE' 100395 | DUK_BW_ENSURE(thr, bw, len); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint8_t* duk_bw_insert_raw_area(duk_hthread*, duk_bufwriter_ctx*, duk_size_t, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100409:39: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 100409 | buf_sz = (duk_size_t) (bw->p - p_base); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100413:30: warning: use of old-style cast to 'void*' [-Wold-style-cast] 100413 | duk_memmove_unsafe((void *) p_dst, (const void *) p_src, (size_t) move_sz); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3059:21: note: in definition of macro 'duk_memmove_unsafe' 3059 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100413:52: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 100413 | duk_memmove_unsafe((void *) p_dst, (const void *) p_src, (size_t) move_sz); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3060:27: note: in definition of macro 'duk_memmove_unsafe' 3060 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100413:68: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 100413 | duk_memmove_unsafe((void *) p_dst, (const void *) p_src, (size_t) move_sz); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3061:26: note: in definition of macro 'duk_memmove_unsafe' 3061 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3067:52: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3067 | (void) DUK_MEMMOVE(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100413:2: note: in expansion of macro 'duk_memmove_unsafe' 100413 | duk_memmove_unsafe((void *) p_dst, (const void *) p_src, (size_t) move_sz); | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint8_t* duk_bw_insert_ensure_area(duk_hthread*, duk_bufwriter_ctx*, duk_size_t, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2581:61: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 2581 | duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100422:2: note: in expansion of macro 'DUK_BW_ENSURE' 100422 | DUK_BW_ENSURE(thr, bw, len); | ^~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_bw_remove_raw_slice(duk_hthread*, duk_bufwriter_ctx*, duk_size_t, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100443:39: warning: use of old-style cast to 'duk_size_t' {aka 'unsigned int'} [-Wold-style-cast] 100443 | move_sz = (duk_size_t) (bw->p - p_src); | ^ | ------------ | static_cast ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100444:30: warning: use of old-style cast to 'void*' [-Wold-style-cast] 100444 | duk_memmove_unsafe((void *) p_dst, (const void *) p_src, (size_t) move_sz); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3059:21: note: in definition of macro 'duk_memmove_unsafe' 3059 | void *duk__dst = (dst); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100444:52: warning: use of old-style cast to 'const void*' [-Wold-style-cast] 100444 | duk_memmove_unsafe((void *) p_dst, (const void *) p_src, (size_t) move_sz); | ^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3060:27: note: in definition of macro 'duk_memmove_unsafe' 3060 | const void *duk__src = (src); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100444:68: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 100444 | duk_memmove_unsafe((void *) p_dst, (const void *) p_src, (size_t) move_sz); | ^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3061:26: note: in definition of macro 'duk_memmove_unsafe' 3061 | duk_size_t duk__len = (len); \ | ^~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:3067:52: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 3067 | (void) DUK_MEMMOVE(duk__dst, duk__src, (size_t) duk__len); \ | ^~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100444:2: note: in expansion of macro 'duk_memmove_unsafe' 100444 | duk_memmove_unsafe((void *) p_dst, (const void *) p_src, (size_t) move_sz); | ^~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk_double_to_int_t(duk_double_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100483:45: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 100483 | if (DUK_LIKELY(x >= (duk_double_t) (minval))) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100539:2: note: in expansion of macro 'DUK__DOUBLE_INT_CAST1' 100539 | DUK__DOUBLE_INT_CAST1(duk_int_t, DUK_INT_MIN, DUK_INT_MAX); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100485:46: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 100485 | if (DUK_LIKELY(x <= (duk_double_t) (maxval))) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100539:2: note: in expansion of macro 'DUK__DOUBLE_INT_CAST1' 100539 | DUK__DOUBLE_INT_CAST1(duk_int_t, DUK_INT_MIN, DUK_INT_MAX); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100486:20: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 100486 | return (tname) x; \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100539:2: note: in expansion of macro 'DUK__DOUBLE_INT_CAST1' 100539 | DUK__DOUBLE_INT_CAST1(duk_int_t, DUK_INT_MIN, DUK_INT_MAX); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100488:27: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 100488 | return (tname) (maxval); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100539:2: note: in expansion of macro 'DUK__DOUBLE_INT_CAST1' 100539 | DUK__DOUBLE_INT_CAST1(duk_int_t, DUK_INT_MIN, DUK_INT_MAX); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100495:26: warning: use of old-style cast to 'duk_int_t' {aka 'int'} [-Wold-style-cast] 100495 | return (tname) (minval); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100539:2: note: in expansion of macro 'DUK__DOUBLE_INT_CAST1' 100539 | DUK__DOUBLE_INT_CAST1(duk_int_t, DUK_INT_MIN, DUK_INT_MAX); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint_t duk_double_to_uint_t(duk_double_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100483:45: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 100483 | if (DUK_LIKELY(x >= (duk_double_t) (minval))) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100547:2: note: in expansion of macro 'DUK__DOUBLE_INT_CAST1' 100547 | DUK__DOUBLE_INT_CAST1(duk_uint_t, DUK_UINT_MIN, DUK_UINT_MAX); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100485:46: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 100485 | if (DUK_LIKELY(x <= (duk_double_t) (maxval))) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100547:2: note: in expansion of macro 'DUK__DOUBLE_INT_CAST1' 100547 | DUK__DOUBLE_INT_CAST1(duk_uint_t, DUK_UINT_MIN, DUK_UINT_MAX); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100486:20: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 100486 | return (tname) x; \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100547:2: note: in expansion of macro 'DUK__DOUBLE_INT_CAST1' 100547 | DUK__DOUBLE_INT_CAST1(duk_uint_t, DUK_UINT_MIN, DUK_UINT_MAX); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100488:27: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 100488 | return (tname) (maxval); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100547:2: note: in expansion of macro 'DUK__DOUBLE_INT_CAST1' 100547 | DUK__DOUBLE_INT_CAST1(duk_uint_t, DUK_UINT_MIN, DUK_UINT_MAX); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100495:26: warning: use of old-style cast to 'duk_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 100495 | return (tname) (minval); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100547:2: note: in expansion of macro 'DUK__DOUBLE_INT_CAST1' 100547 | DUK__DOUBLE_INT_CAST1(duk_uint_t, DUK_UINT_MIN, DUK_UINT_MAX); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int32_t duk_double_to_int32_t(duk_double_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100483:45: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 100483 | if (DUK_LIKELY(x >= (duk_double_t) (minval))) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100555:2: note: in expansion of macro 'DUK__DOUBLE_INT_CAST1' 100555 | DUK__DOUBLE_INT_CAST1(duk_int32_t, DUK_INT32_MIN, DUK_INT32_MAX); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100485:46: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 100485 | if (DUK_LIKELY(x <= (duk_double_t) (maxval))) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100555:2: note: in expansion of macro 'DUK__DOUBLE_INT_CAST1' 100555 | DUK__DOUBLE_INT_CAST1(duk_int32_t, DUK_INT32_MIN, DUK_INT32_MAX); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100486:20: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 100486 | return (tname) x; \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100555:2: note: in expansion of macro 'DUK__DOUBLE_INT_CAST1' 100555 | DUK__DOUBLE_INT_CAST1(duk_int32_t, DUK_INT32_MIN, DUK_INT32_MAX); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100488:27: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 100488 | return (tname) (maxval); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100555:2: note: in expansion of macro 'DUK__DOUBLE_INT_CAST1' 100555 | DUK__DOUBLE_INT_CAST1(duk_int32_t, DUK_INT32_MIN, DUK_INT32_MAX); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100495:26: warning: use of old-style cast to 'duk_int32_t' {aka 'int'} [-Wold-style-cast] 100495 | return (tname) (minval); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100555:2: note: in expansion of macro 'DUK__DOUBLE_INT_CAST1' 100555 | DUK__DOUBLE_INT_CAST1(duk_int32_t, DUK_INT32_MIN, DUK_INT32_MAX); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk_double_to_uint32_t(duk_double_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100483:45: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 100483 | if (DUK_LIKELY(x >= (duk_double_t) (minval))) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100563:2: note: in expansion of macro 'DUK__DOUBLE_INT_CAST1' 100563 | DUK__DOUBLE_INT_CAST1(duk_uint32_t, DUK_UINT32_MIN, DUK_UINT32_MAX); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100485:46: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 100485 | if (DUK_LIKELY(x <= (duk_double_t) (maxval))) { \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100563:2: note: in expansion of macro 'DUK__DOUBLE_INT_CAST1' 100563 | DUK__DOUBLE_INT_CAST1(duk_uint32_t, DUK_UINT32_MIN, DUK_UINT32_MAX); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100486:20: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 100486 | return (tname) x; \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100563:2: note: in expansion of macro 'DUK__DOUBLE_INT_CAST1' 100563 | DUK__DOUBLE_INT_CAST1(duk_uint32_t, DUK_UINT32_MIN, DUK_UINT32_MAX); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100488:27: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 100488 | return (tname) (maxval); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100563:2: note: in expansion of macro 'DUK__DOUBLE_INT_CAST1' 100563 | DUK__DOUBLE_INT_CAST1(duk_uint32_t, DUK_UINT32_MIN, DUK_UINT32_MAX); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100495:26: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 100495 | return (tname) (minval); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100563:2: note: in expansion of macro 'DUK__DOUBLE_INT_CAST1' 100563 | DUK__DOUBLE_INT_CAST1(duk_uint32_t, DUK_UINT32_MIN, DUK_UINT32_MAX); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_float_t duk_double_to_float_t(duk_double_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100603:24: warning: use of old-style cast to 'duk_float_t' {aka 'float'} [-Wold-style-cast] 100603 | return (duk_float_t) x; | ^ | - | static_cast<- | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100577:24: warning: use of old-style cast to 'duk_float_t' {aka 'float'} [-Wold-style-cast] 100577 | #define DUK__FLOAT_MAX 340282346638528859811704183484516925440.0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100577:24: note: in definition of macro 'DUK__FLOAT_MAX' 100577 | #define DUK__FLOAT_MAX 340282346638528859811704183484516925440.0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100577:24: warning: use of old-style cast to 'duk_float_t' {aka 'float'} [-Wold-style-cast] 100577 | #define DUK__FLOAT_MAX 340282346638528859811704183484516925440.0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100577:24: note: in definition of macro 'DUK__FLOAT_MAX' 100577 | #define DUK__FLOAT_MAX 340282346638528859811704183484516925440.0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100615:24: warning: use of old-style cast to 'duk_float_t' {aka 'float'} [-Wold-style-cast] 100615 | return (duk_float_t) x; | ^ | - | static_cast<- | > () In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2258:48: warning: use of old-style cast to 'duk_float_t' {aka 'float'} [-Wold-style-cast] 2258 | #define DUK_DOUBLE_INFINITY ((double) INFINITY) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100619:26: note: in expansion of macro 'DUK_DOUBLE_INFINITY' 100619 | return (duk_float_t) -DUK_DOUBLE_INFINITY; | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:2258:48: warning: use of old-style cast to 'duk_float_t' {aka 'float'} [-Wold-style-cast] 2258 | #define DUK_DOUBLE_INFINITY ((double) INFINITY) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100621:25: note: in expansion of macro 'DUK_DOUBLE_INFINITY' 100621 | return (duk_float_t) DUK_DOUBLE_INFINITY; | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_uint_t duk_double_signbit(duk_double_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:619:73: warning: use of old-style cast to 'duk_small_uint_t' {aka 'unsigned int'} [-Wold-style-cast] 619 | #define DUK_DBLUNION_GET_SIGNBIT(u) (((u)->ull[DUK_DBL_IDX_ULL0] >> 63U)) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100738:28: note: in expansion of macro 'DUK_DBLUNION_GET_SIGNBIT' 100738 | return (duk_small_uint_t) DUK_DBLUNION_GET_SIGNBIT(&du); | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_is_whole_get_int32_nonegzero(duk_double_t, duk_int32_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100806:40: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 100806 | if (!duk_double_equals((duk_double_t) t, x)) { | ^ | - | static_cast< - | > () /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_is_whole_get_int32(duk_double_t, duk_int32_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100827:40: warning: use of old-style cast to 'duk_double_t' {aka 'double'} [-Wold-style-cast] 100827 | if (!duk_double_equals((duk_double_t) t, x)) { | ^ | - | static_cast< - | > () In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_dblunion_host_to_big(duk_double_union*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1288:75: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 1288 | #define DUK_BSWAP64(x) ((duk_uint64_t) __builtin_bswap64((duk_uint64_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100908:14: note: in expansion of macro 'DUK_BSWAP64' 100908 | u->ull[0] = DUK_BSWAP64(u->ull[0]); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1288:76: warning: use of old-style cast to 'duk_uint64_t' {aka 'long long unsigned int'} [-Wold-style-cast] 1288 | #define DUK_BSWAP64(x) ((duk_uint64_t) __builtin_bswap64((duk_uint64_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100908:14: note: in expansion of macro 'DUK_BSWAP64' 100908 | u->ull[0] = DUK_BSWAP64(u->ull[0]); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_fltunion_host_to_big(duk_float_union*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:75: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100940:13: note: in expansion of macro 'DUK_BSWAP32' 100940 | u->ui[0] = DUK_BSWAP32(u->ui[0]); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1289:76: warning: use of old-style cast to 'duk_uint32_t' {aka 'unsigned int'} [-Wold-style-cast] 1289 | #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x))) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:100940:13: note: in expansion of macro 'DUK_BSWAP32' 100940 | u->ui[0] = DUK_BSWAP32(u->ui[0]); | ^~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_small_int_t duk_memcmp(const void*, const void*, duk_size_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:101072:37: warning: use of old-style cast to 'size_t' {aka 'unsigned int'} [-Wold-style-cast] 101072 | return DUK_MEMCMP(s1, s2, (size_t) len); | ^~~ | ------------ | static_cast ( len) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_double_t duk_util_tinyrandom_get_double(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:101186:92: warning: use of old-style cast to 'duk_uint64_t*' {aka 'long long unsigned int*'} [-Wold-style-cast] 101186 | v = (DUK_U64_CONSTANT(0x3ff) << 52U) | (duk__xoroshiro128plus((duk_uint64_t *) thr->heap->rnd_state) >> 12U); | ^~~~~~~~~ | - | const_cast< - | > ( ) /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk_to_uint32(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1143:9: warning: potential null pointer dereference [-Wnull-dereference] 1143 | *(tv) = *(x); \ | ~~~~~~^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5276:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL' 5276 | DUK_TVAL_SET_TVAL(&tv__tmp, tv__dst); \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:2: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF' 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5432:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5432 | #define DUK_TVAL_SET_U32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21716:2: note: in expansion of macro 'DUK_TVAL_SET_U32_UPDREF' 21716 | DUK_TVAL_SET_U32_UPDREF(thr, tv, ret); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1143:9: warning: potential null pointer dereference [-Wnull-dereference] 1143 | *(tv) = *(x); \ | ~~~~~~^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5276:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL' 5276 | DUK_TVAL_SET_TVAL(&tv__tmp, tv__dst); \ | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:2: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF' 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5432:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5432 | #define DUK_TVAL_SET_U32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21716:2: note: in expansion of macro 'DUK_TVAL_SET_U32_UPDREF' 21716 | DUK_TVAL_SET_U32_UPDREF(thr, tv, ret); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:356:10: warning: potential null pointer dereference [-Wnull-dereference] 356 | (u)->d = (v); \ | ~~~~~~~^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1117:3: note: in expansion of macro 'DUK_DBLUNION_SET_DOUBLE' 1117 | DUK_DBLUNION_SET_DOUBLE((tv), duk__dblval); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5277:3: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE' 5277 | DUK_TVAL_SET_DOUBLE(tv__dst, (newval)); \ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5423:44: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF_ALT0' 5423 | #define DUK_TVAL_SET_DOUBLE_UPDREF DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5319:2: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_UPDREF' 5319 | DUK_TVAL_SET_DOUBLE_UPDREF((thr), (tvptr_dst), (duk_double_t) (newval)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5432:33: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE_CAST_UPDREF' 5432 | #define DUK_TVAL_SET_U32_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:21716:2: note: in expansion of macro 'DUK_TVAL_SET_U32_UPDREF' 21716 | DUK_TVAL_SET_U32_UPDREF(thr, tv, ret); /* side effects */ | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_idx_t duk_unpack_array_like(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: potential null pointer dereference [-Wnull-dereference] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ~~~~~~~~~~~~~~~~~~~~~~~~^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:24925:17: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 24925 | if (DUK_LIKELY(DUK_TVAL_IS_OBJECT(tv))) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk__handle_call_raw(duk_hthread*, duk_idx_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: potential null pointer dereference [-Wnull-dereference] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ~~~~~~~~~~~~~~~~~~~~~~~~^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:66652:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 66652 | if (DUK_TVAL_IS_OBJECT(tv_func)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_get_prop(duk_hthread*, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17676:26: warning: potential null pointer dereference [-Wnull-dereference] 17676 | rc = duk_hobject_getprop(thr, tv_obj, tv_key); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_hobject_putprop(duk_hthread*, duk_tval*, duk_tval*, duk_tval*, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:85336:20: warning: potential null pointer dereference [-Wnull-dereference] 85336 | duk__putvar_helper(thr, env, NULL, name, val, strict); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__put_prop_shared(duk_hthread*, duk_idx_t, duk_idx_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:17834:26: warning: potential null pointer dereference [-Wnull-dereference] 17834 | rc = duk_hobject_putprop(thr, tv_obj, tv_key, tv_val, throw_flag); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__concat_and_join_helper(duk_hthread*, duk_idx_t, duk_bool_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25636:6: warning: potential null pointer dereference [-Wnull-dereference] 25636 | t1 = (duk_size_t) DUK_HSTRING_GET_BYTELEN(h); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25636:6: warning: potential null pointer dereference [-Wnull-dereference] /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25636:6: warning: potential null pointer dereference [-Wnull-dereference] /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:42: warning: potential null pointer dereference [-Wnull-dereference] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ~~~~~~^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25651:32: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 25651 | new_len = len + (duk_size_t) DUK_HSTRING_GET_BYTELEN(h); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:42: warning: potential null pointer dereference [-Wnull-dereference] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ~~~~~~^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25651:32: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 25651 | new_len = len + (duk_size_t) DUK_HSTRING_GET_BYTELEN(h); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:42: warning: potential null pointer dereference [-Wnull-dereference] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ~~~~~~^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25651:32: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 25651 | new_len = len + (duk_size_t) DUK_HSTRING_GET_BYTELEN(h); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_boolean_prototype_tostring_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: potential null pointer dereference [-Wnull-dereference] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ~~~~~~~~~~~~~~~~~~~~~~~~^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1177:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1177 | #define DUK_TVAL_IS_BOOLEAN(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_BOOLEAN) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:27771:6: note: in expansion of macro 'DUK_TVAL_IS_BOOLEAN' 27771 | if (DUK_TVAL_IS_BOOLEAN(tv)) { | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_concat_2(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25737:7: warning: potential null pointer dereference [-Wnull-dereference] 25737 | len2 = (duk_size_t) DUK_HSTRING_GET_BYTELEN(h2); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25737:7: warning: potential null pointer dereference [-Wnull-dereference] /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:25737:7: warning: potential null pointer dereference [-Wnull-dereference] /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'int duk__transform_helper(duk_hthread*, duk__transform_callback, const void*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2513:22: warning: potential null pointer dereference [-Wnull-dereference] 2513 | duk_bw_init_pushbuf((thr), (bw_ctx), (sz)); \ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36772:2: note: in expansion of macro 'DUK_BW_INIT_PUSHBUF' 36772 | DUK_BW_INIT_PUSHBUF(thr, &tfm_ctx->bw, DUK_HSTRING_GET_BYTELEN(tfm_ctx->h_str)); /* initial size guess */ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2513:22: warning: potential null pointer dereference [-Wnull-dereference] 2513 | duk_bw_init_pushbuf((thr), (bw_ctx), (sz)); \ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36772:2: note: in expansion of macro 'DUK_BW_INIT_PUSHBUF' 36772 | DUK_BW_INIT_PUSHBUF(thr, &tfm_ctx->bw, DUK_HSTRING_GET_BYTELEN(tfm_ctx->h_str)); /* initial size guess */ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2513:22: warning: potential null pointer dereference [-Wnull-dereference] 2513 | duk_bw_init_pushbuf((thr), (bw_ctx), (sz)); \ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:36772:2: note: in expansion of macro 'DUK_BW_INIT_PUSHBUF' 36772 | DUK_BW_INIT_PUSHBUF(thr, &tfm_ctx->bw, DUK_HSTRING_GET_BYTELEN(tfm_ctx->h_str)); /* initial size guess */ | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_locale_compare(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44165:9: warning: potential null pointer dereference [-Wnull-dereference] 44165 | h2_len = (duk_size_t) DUK_HSTRING_GET_BYTELEN(h2); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44165:9: warning: potential null pointer dereference [-Wnull-dereference] /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44165:9: warning: potential null pointer dereference [-Wnull-dereference] /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44164:9: warning: null pointer dereference [-Wnull-dereference] 44164 | h1_len = (duk_size_t) DUK_HSTRING_GET_BYTELEN(h1); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44165:9: warning: null pointer dereference [-Wnull-dereference] 44165 | h2_len = (duk_size_t) DUK_HSTRING_GET_BYTELEN(h2); | ^ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_textencoder_prototype_encode(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_repeat(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44056:13: warning: potential null pointer dereference [-Wnull-dereference] 44056 | input_blen = DUK_HSTRING_GET_BYTELEN(h_input); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44056:13: warning: potential null pointer dereference [-Wnull-dereference] /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44056:13: warning: potential null pointer dereference [-Wnull-dereference] /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk__to_property_key(duk_hthread*, duk_idx_t, duk_hstring**)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58107:10: warning: potential null pointer dereference [-Wnull-dereference] 58107 | arr_idx = DUK_HSTRING_GET_ARRIDX_FAST(h); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58107:10: warning: potential null pointer dereference [-Wnull-dereference] /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58107:10: warning: potential null pointer dereference [-Wnull-dereference] /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_uint32_t duk__push_tval_to_property_key(duk_hthread*, duk_tval*, duk_hstring**)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58107:10: warning: potential null pointer dereference [-Wnull-dereference] 58107 | arr_idx = DUK_HSTRING_GET_ARRIDX_FAST(h); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58107:10: warning: potential null pointer dereference [-Wnull-dereference] /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:58107:10: warning: potential null pointer dereference [-Wnull-dereference] In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk__get_own_propdesc_raw(duk_hthread*, duk_hobject*, duk_hstring*, duk_uint32_t, duk_propdesc*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_bool_t duk_hobject_object_ownprop_helper(duk_hthread*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60133:34: warning: potential null pointer dereference [-Wnull-dereference] 60133 | return duk__get_own_propdesc_raw(thr, obj, key, DUK_HSTRING_GET_ARRIDX_SLOW(key), out_desc, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60133:34: warning: potential null pointer dereference [-Wnull-dereference] /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:60133:34: warning: potential null pointer dereference [-Wnull-dereference] In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_constructor(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:53: warning: potential null pointer dereference [-Wnull-dereference] 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ~~~~~^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6338:49: note: in expansion of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 6338 | #define DUK_HSTRING_HAS_SYMBOL(x) DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_SYMBOL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42827:20: note: in expansion of macro 'DUK_HSTRING_HAS_SYMBOL' 42827 | if (DUK_UNLIKELY(DUK_HSTRING_HAS_SYMBOL(h) && !duk_is_constructor_call(thr))) { | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:53: warning: potential null pointer dereference [-Wnull-dereference] 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ~~~~~^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6338:49: note: in expansion of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 6338 | #define DUK_HSTRING_HAS_SYMBOL(x) DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_SYMBOL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42827:20: note: in expansion of macro 'DUK_HSTRING_HAS_SYMBOL' 42827 | if (DUK_UNLIKELY(DUK_HSTRING_HAS_SYMBOL(h) && !duk_is_constructor_call(thr))) { | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4778:53: warning: potential null pointer dereference [-Wnull-dereference] 4778 | #define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits) (((h)->h_flags & (bits)) != 0) | ~~~~~^~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1178:44: note: in definition of macro 'DUK_UNLIKELY' 1178 | #define DUK_UNLIKELY(x) __builtin_expect((x), 0) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6338:49: note: in expansion of macro 'DUK_HEAPHDR_CHECK_FLAG_BITS' 6338 | #define DUK_HSTRING_HAS_SYMBOL(x) DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_SYMBOL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:42827:20: note: in expansion of macro 'DUK_HSTRING_HAS_SYMBOL' 42827 | if (DUK_UNLIKELY(DUK_HSTRING_HAS_SYMBOL(h) && !duk_is_constructor_call(thr))) { | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__cbor_decode_value(duk_cbor_decode_context*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31792:55: warning: potential null pointer dereference [-Wnull-dereference] 31792 | u16 = ((duk_uint_t) inp[0] << 8) + (duk_uint_t) inp[1]; | ~~~~~^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:31792:27: warning: potential null pointer dereference [-Wnull-dereference] 31792 | u16 = ((duk_uint_t) inp[0] << 8) + (duk_uint_t) inp[1]; | ~~~~~^ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_hobject_enumerator_create(duk_hthread*, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__convert_to_func_template(duk_compiler_ctx*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: potential null pointer dereference [-Wnull-dereference] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ~~~~~~~~~~~~~~~~~~~~~~~~^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69858:3: note: in expansion of macro 'DUK_TVAL_INCREF' 69858 | DUK_TVAL_INCREF(thr, tv); /* may be a string constant */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1143:9: warning: potential null pointer dereference [-Wnull-dereference] 1143 | *(tv) = *(x); \ | ~~~~~~^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69856:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL' 69856 | DUK_TVAL_SET_TVAL(p_const, tv); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: potential null pointer dereference [-Wnull-dereference] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ~~~~~~~~~~~~~~~~~~~~~~~~^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1196:41: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1196 | #define DUK_TVAL_IS_HEAP_ALLOCATED(tv) (DUK_TVAL_GET_TAG((tv)) >= DUK_TAG_STRING) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4893:46: note: in expansion of macro 'DUK_TVAL_IS_HEAP_ALLOCATED' 4893 | #define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv) DUK_TVAL_IS_HEAP_ALLOCATED((tv)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:4906:7: note: in expansion of macro 'DUK_TVAL_NEEDS_REFCOUNT_UPDATE' 4906 | if (DUK_TVAL_NEEDS_REFCOUNT_UPDATE(duk__tv)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:5039:41: note: in expansion of macro 'DUK_TVAL_INCREF_FAST' 5039 | #define DUK_TVAL_INCREF(thr, tv) DUK_TVAL_INCREF_FAST((thr), (tv)) | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69858:3: note: in expansion of macro 'DUK_TVAL_INCREF' 69858 | DUK_TVAL_INCREF(thr, tv); /* may be a string constant */ | ^~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1143:9: warning: potential null pointer dereference [-Wnull-dereference] 1143 | *(tv) = *(x); \ | ~~~~~~^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69856:3: note: in expansion of macro 'DUK_TVAL_SET_TVAL' 69856 | DUK_TVAL_SET_TVAL(p_const, tv); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69871:5: warning: potential null pointer dereference [-Wnull-dereference] 69871 | h = DUK_TVAL_GET_OBJECT(tv); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:69871:5: warning: potential null pointer dereference [-Wnull-dereference] /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_typedarray_constructor(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1172:74: warning: potential null pointer dereference [-Wnull-dereference] 1172 | #define DUK_TVAL_GET_TAG(tv) ((duk_small_uint_t) (tv)->us[DUK_DBL_IDX_US0]) | ~~~~~~~~~~~~~~~~~~~~~~~~^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1182:40: note: in expansion of macro 'DUK_TVAL_GET_TAG' 1182 | #define DUK_TVAL_IS_OBJECT(tv) (DUK_TVAL_GET_TAG((tv)) == DUK_TAG_OBJECT) | ^~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:28533:6: note: in expansion of macro 'DUK_TVAL_IS_OBJECT' 28533 | if (DUK_TVAL_IS_OBJECT(tv)) { | ^~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk__regexp_match_helper(duk_hthread*, duk_small_int_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:42: warning: potential null pointer dereference [-Wnull-dereference] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ~~~~~~^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92603:36: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 92603 | re_ctx.input_end = re_ctx.input + DUK_HSTRING_GET_BYTELEN(h_input); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:42: warning: potential null pointer dereference [-Wnull-dereference] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ~~~~~~^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92603:36: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 92603 | re_ctx.input_end = re_ctx.input + DUK_HSTRING_GET_BYTELEN(h_input); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:42: warning: potential null pointer dereference [-Wnull-dereference] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ~~~~~~^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:92603:36: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 92603 | re_ctx.input_end = re_ctx.input + DUK_HSTRING_GET_BYTELEN(h_input); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_replace(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:42: warning: potential null pointer dereference [-Wnull-dereference] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ~~~~~~^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43282:21: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 43282 | r_end = r_start + DUK_HSTRING_GET_BYTELEN(h_repl); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:42: warning: potential null pointer dereference [-Wnull-dereference] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ~~~~~~^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43282:21: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 43282 | r_end = r_start + DUK_HSTRING_GET_BYTELEN(h_repl); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2833:16: warning: potential null pointer dereference [-Wnull-dereference] 2833 | duk__val_len = DUK_HSTRING_GET_BYTELEN((val)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43452:4: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 43452 | DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_repl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2833:16: warning: potential null pointer dereference [-Wnull-dereference] 2833 | duk__val_len = DUK_HSTRING_GET_BYTELEN((val)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43452:4: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 43452 | DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_repl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:2833:16: warning: potential null pointer dereference [-Wnull-dereference] 2833 | duk__val_len = DUK_HSTRING_GET_BYTELEN((val)); \ | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:43452:4: note: in expansion of macro 'DUK_BW_WRITE_ENSURE_HSTRING' 43452 | DUK_BW_WRITE_ENSURE_HSTRING(thr, bw, h_repl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_int_t duk_to_int_clamped_raw(duk_hthread*, duk_idx_t, duk_int_t, duk_int_t, duk_bool_t*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1143:9: warning: potential null pointer dereference [-Wnull-dereference] 1143 | *(tv) = *(x); \ | ~~~~~~^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22026:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL' 22026 | DUK_TVAL_SET_TVAL(&tv_tmp, tv); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1143:9: warning: potential null pointer dereference [-Wnull-dereference] 1143 | *(tv) = *(x); \ | ~~~~~~^~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22026:2: note: in expansion of macro 'DUK_TVAL_SET_TVAL' 22026 | DUK_TVAL_SET_TVAL(&tv_tmp, tv); | ^~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:356:10: warning: potential null pointer dereference [-Wnull-dereference] 356 | (u)->d = (v); \ | ~~~~~~~^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1117:3: note: in expansion of macro 'DUK_DBLUNION_SET_DOUBLE' 1117 | DUK_DBLUNION_SET_DOUBLE((tv), duk__dblval); \ | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:1124:49: note: in expansion of macro 'DUK_TVAL_SET_DOUBLE' 1124 | #define DUK_TVAL_SET_NUMBER(tv, d) DUK_TVAL_SET_DOUBLE((tv), (d)) | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:22039:2: note: in expansion of macro 'DUK_TVAL_SET_NUMBER' 22039 | DUK_TVAL_SET_NUMBER(tv, d); /* no need to incref */ | ^~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_char_code_at(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_startswith_endswith(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44222:14: warning: potential null pointer dereference [-Wnull-dereference] 44222 | blen_target = DUK_HSTRING_GET_BYTELEN(h_target); | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44222:14: warning: potential null pointer dereference [-Wnull-dereference] /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:44222:14: warning: potential null pointer dereference [-Wnull-dereference] In file included from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.h:202, from /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:195: /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_includes(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_indexof_shared(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_substring(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_slice(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'duk_ret_t duk_bi_string_prototype_substr(duk_hthread*)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:64452:20: warning: potential null pointer dereference [-Wnull-dereference] 64452 | if (DUK_LIKELY(h->clen != 0)) { | ~~~^~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duk_config.h:1177:44: note: in definition of macro 'DUK_LIKELY' 1177 | #define DUK_LIKELY(x) __builtin_expect((x), 1) | ^ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp: In function 'void duk_bi_json_parse_helper(duk_hthread*, duk_idx_t, duk_idx_t, duk_small_uint_t)': /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:42: warning: potential null pointer dereference [-Wnull-dereference] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ~~~~~~^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40204:73: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 40204 | js_ctx->p_end = ((const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_text)) + DUK_HSTRING_GET_BYTELEN(h_text); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:42: warning: potential null pointer dereference [-Wnull-dereference] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ~~~~~~^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40204:73: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 40204 | js_ctx->p_end = ((const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_text)) + DUK_HSTRING_GET_BYTELEN(h_text); | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:6408:42: warning: potential null pointer dereference [-Wnull-dereference] 6408 | #define DUK_HSTRING_GET_BYTELEN(x) ((x)->blen) | ~~~~~~^~~~~ /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/src/thirdparty/duktape/duktape.cpp:40204:73: note: in expansion of macro 'DUK_HSTRING_GET_BYTELEN' 40204 | js_ctx->p_end = ((const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_text)) + DUK_HSTRING_GET_BYTELEN(h_text); | ^~~~~~~~~~~~~~~~~~~~~~~ [ 78%] Linking CXX static library libopenrct2.a [ 78%] Built target libopenrct2 [ 78%] Building CXX object CMakeFiles/openrct2-cli.dir/src/openrct2-cli/Cli.cpp.o [ 78%] Building CXX object CMakeFiles/openrct2.dir/src/openrct2-ui/CursorData.cpp.o [ 78%] Building CXX object CMakeFiles/openrct2.dir/src/openrct2-ui/SDLException.cpp.o [ 78%] Building CXX object CMakeFiles/openrct2.dir/src/openrct2-ui/TextComposition.cpp.o [ 79%] Building CXX object CMakeFiles/openrct2.dir/src/openrct2-ui/UiContext.Linux.cpp.o [ 79%] Building CXX object CMakeFiles/openrct2.dir/src/openrct2-ui/UiContext.Android.cpp.o [ 79%] Building CXX object CMakeFiles/openrct2.dir/src/openrct2-ui/CursorRepository.cpp.o [ 79%] Building CXX object CMakeFiles/openrct2.dir/src/openrct2-ui/Ui.cpp.o [ 79%] Building CXX object CMakeFiles/openrct2.dir/src/openrct2-ui/UiContext.Win32.cpp.o [ 79%] Building CXX object CMakeFiles/openrct2.dir/src/openrct2-ui/UiContext.cpp.o [ 80%] Linking CXX executable openrct2-cli [ 80%] Building CXX object CMakeFiles/openrct2.dir/src/openrct2-ui/WindowManager.cpp.o ld: warning: libfreetype.so.19, needed by /pbulk/work/games/openrct2/work/.buildlink/lib/libfontconfig.so, may conflict with libfreetype.so.6 [ 80%] Building CXX object CMakeFiles/openrct2.dir/src/openrct2-ui/audio/AudioChannel.cpp.o [ 81%] Building CXX object CMakeFiles/openrct2.dir/src/openrct2-ui/audio/AudioContext.cpp.o ld: libopenrct2.a(Context.cpp.o): in function `OpenRCT2::Profiling::Detail::FunctionInternal::GetCallCount() const': Context.cpp:(.text._ZNK8OpenRCT29Profiling6Detail16FunctionInternal12GetCallCountEv[_ZNK8OpenRCT29Profiling6Detail16FunctionInternal12GetCallCountEv]+0x26): undefined reference to `__atomic_load_8' ld: libopenrct2.a(Profiling.cpp.o): in function `OpenRCT2::Profiling::Detail::FunctionEnter(OpenRCT2::Profiling::Function&)': Profiling.cpp:(.text+0x462): undefined reference to `__atomic_fetch_add_8' ld: libopenrct2.a(Profiling.cpp.o): in function `OpenRCT2::Profiling::ResetData()': Profiling.cpp:(.text+0xca1): undefined reference to `__atomic_store_8' ld: libopenrct2.a(Profiling.cpp.o): in function `OpenRCT2::Profiling::ExportCSV(std::__cxx11::basic_string, std::allocator > const&)': Profiling.cpp:(.text+0x11c3): undefined reference to `__atomic_load_8' ld: Profiling.cpp:(.text+0x12dd): undefined reference to `__atomic_load_8' ld: Profiling.cpp:(.text+0x1458): undefined reference to `__atomic_load_8' ld: libopenrct2.a(ScriptEngine.cpp.o): in function `OpenRCT2::Scripting::ScProfiler::getData()': ScriptEngine.cpp:(.text._ZN8OpenRCT29Scripting10ScProfiler7getDataEv[_ZN8OpenRCT29Scripting10ScProfiler7getDataEv]+0x1ec): undefined reference to `__atomic_load_8' --- openrct2-cli --- *** [openrct2-cli] Error code 1 make[2]: stopped in /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/cmake-pkgsrc-build 1 error make[2]: stopped in /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/cmake-pkgsrc-build --- CMakeFiles/openrct2-cli.dir/all --- *** [CMakeFiles/openrct2-cli.dir/all] Error code 2 make[1]: stopped in /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/cmake-pkgsrc-build --- CMakeFiles/openrct2.dir/all --- *** [CMakeFiles/openrct2.dir/all] Error code 6 make[1]: stopped in /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/cmake-pkgsrc-build 2 errors make[1]: stopped in /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/cmake-pkgsrc-build *** [all] Error code 2 make: stopped in /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/cmake-pkgsrc-build 1 error make: stopped in /pbulk/work/games/openrct2/work/OpenRCT2-0.4.11/cmake-pkgsrc-build *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/games/openrct2 *** Error code 1 Stop. make: stopped in /usr/pkgsrc/games/openrct2