>>> Building on exopi-2 under games/brogue BDEPENDS = [devel/sdl2-image;devel/gmake;devel/sdl2] DIST = [games/brogue:BrogueCE-1.13.tar.gz] FULLPKGNAME = brogue-1.13 RDEPENDS = [devel/sdl2-image;devel/sdl2] (Junk lock obtained for exopi-2 at 1764775567.11) >>> Running depends in games/brogue at 1764775567.18 last junk was in sysutils/bubblemon-dockapp /usr/sbin/pkg_add -aI -Drepair sdl2-2.32.8 sdl2-image-2.8.8 was: /usr/sbin/pkg_add -aI -Drepair gmake-4.4.1p0 sdl2-2.32.8 sdl2-image-2.8.8 /usr/sbin/pkg_add -aI -Drepair sdl2-2.32.8 sdl2-image-2.8.8 >>> Running show-prepare-results in games/brogue at 1764775573.74 ===> games/brogue ===> Building from scratch brogue-1.13 ===> brogue-1.13 depends on: gmake-* -> gmake-4.4.1p0 ===> brogue-1.13 depends on: sdl2-* -> sdl2-2.32.8 ===> brogue-1.13 depends on: sdl2-image-* -> sdl2-image-2.8.8 ===> Verifying specs: c m SDL2 SDL2_image ===> found c.102.2 m.10.1 SDL2.0.15 SDL2_image.1.1 gmake-4.4.1p0 sdl2-2.32.8 sdl2-image-2.8.8 (Junk lock released for exopi-2 at 1764775574.41) distfiles size=1294988 >>> Running build in games/brogue at 1764775574.46 ===> games/brogue ===> Checking files for brogue-1.13 `/exopi-cvs/ports/distfiles/BrogueCE-1.13.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for brogue-1.13 ===> Patching for brogue-1.13 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- | - drop unknown warning -Wformat-overflow=0 | - drop hardcoded -O2 | |Index: Makefile |--- Makefile.orig |+++ Makefile -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 62. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for brogue-1.13 ===> Configuring for brogue-1.13 ===> Building for brogue-1.13 mkdir -p vars cmp: unknown option -- - usage: cmp [-l | -s] file1 file2 [skip1 [skip2]] cmp: unknown option -- - usage: cmp [-l | -s] file1 file2 [skip1 [skip2]] cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/Architect.c -o src/brogue/Architect.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/Architect.c:24: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void src/brogue/Architect.c:968:29: warning: argument 'parentSpawnedItems' of type 'item *[200]' (aka 'struct item *[200]') with mismatched bound [-Warray-parameter] 968 | item *parentSpawnedItems[MACHINES_BUFFER_LENGTH], | ^ src/brogue/Rogue.h:2875:33: note: previously declared as 'item *[50]' (aka 'struct item *[50]') here 2875 | item *parentSpawnedItems[50], | ^ src/brogue/Architect.c:969:33: warning: argument 'parentSpawnedMonsters' of type 'creature *[200]' (aka 'struct creature *[200]') with mismatched bound [-Warray-parameter] 969 | creature *parentSpawnedMonsters[MACHINES_BUFFER_LENGTH]) { | ^ src/brogue/Rogue.h:2876:37: note: previously declared as 'creature *[50]' (aka 'struct creature *[50]') here 2876 | creature *parentSpawnedMonsters[50]); | ^ src/brogue/Architect.c:1708:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1708 | void addMachines() { | ^ | void src/brogue/Architect.c:1823:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1823 | void cleanUpLakeBoundaries() { | ^ | void src/brogue/Architect.c:1880:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1880 | void removeDiagonalOpenings() { | ^ | void src/brogue/Architect.c:2700:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2700 | void finishDoors() { | ^ | void src/brogue/Architect.c:2727:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2727 | void clearLevel() { | ^ | void src/brogue/Architect.c:2753:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2753 | boolean buildABridge() { | ^ | void src/brogue/Architect.c:2844:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2844 | void digDungeon() { | ^ | void src/brogue/Architect.c:2949:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2949 | void updateMapToShore() { | ^ | void src/brogue/Architect.c:3000:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3000 | void setUpWaypoints() { | ^ | void src/brogue/Architect.c:3167:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3167 | void resetDFMessageEligibility() { | ^ | void src/brogue/Architect.c:3532:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3532 | void restoreItems() { | ^ | void src/brogue/Architect.c:3650:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3650 | void initializeLevel() { | ^ | void 113 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/Buttons.c -o src/brogue/Buttons.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/Buttons.c:24: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void 99 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/Combat.c -o src/brogue/Combat.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/Combat.c:24: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void src/brogue/Combat.c:969:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 969 | void decrementWeaponAutoIDTimer() { | ^ | void src/brogue/Combat.c:1304:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1304 | void displayCombatText() { | ^ | void 101 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/Dijkstra.c -o src/brogue/Dijkstra.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/Dijkstra.c:26: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void 99 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/Globals.c -o src/brogue/Globals.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/Globals.c:44: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void 99 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/GlobalsBase.c -o src/brogue/GlobalsBase.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/GlobalsBase.c:28: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void 99 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/Grid.c -o src/brogue/Grid.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/Grid.c:24: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void src/brogue/Grid.c:30:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 30 | short **allocGrid() { | ^ | void 100 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/IO.c -o src/brogue/IO.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/IO.c:27: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void src/brogue/IO.c:73:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 73 | void clearCursorPath() { | ^ | void src/brogue/IO.c:88:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 88 | void hideCursor() { | ^ | void src/brogue/IO.c:95:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 95 | void showCursor() { | ^ | void src/brogue/IO.c:542:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 542 | void mainInputLoop() { | ^ | void src/brogue/IO.c:843:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 843 | void considerCautiousMode() { | ^ | void src/brogue/IO.c:860:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 860 | void commitDraws() { | ^ | void src/brogue/IO.c:893:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 893 | void refreshScreen() { | ^ | void src/brogue/IO.c:913:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 913 | void displayLevel() { | ^ | void src/brogue/IO.c:1079:46: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1079 | static enum monsterTypes randomAnimateMonster() { | ^ | void src/brogue/IO.c:1861:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1861 | void dumpLevelToScreen() { | ^ | void src/brogue/IO.c:1925:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1925 | void blackOutScreen() { | ^ | void src/brogue/IO.c:2223:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2223 | void displayWaypoints() { | ^ | void src/brogue/IO.c:2242:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2242 | void displayMachines() { | ^ | void src/brogue/IO.c:2280:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2280 | void displayChokeMap() { | ^ | void src/brogue/IO.c:2305:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2305 | void displayLoops() { | ^ | void src/brogue/IO.c:2913:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2913 | void waitForAcknowledgment() { | ^ | void src/brogue/IO.c:2929:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2929 | void waitForKeystrokeOrMouseClick() { | ^ | void src/brogue/IO.c:2978:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2978 | void clearMonsterFlashes() { | ^ | void src/brogue/IO.c:3015:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void dequeueEvent() { | ^ | void src/brogue/IO.c:3021:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3021 | void clearMessageArchive() { | ^ | void src/brogue/IO.c:3212:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3212 | void displayRecentMessages() { | ^ | void src/brogue/IO.c:3355:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3355 | void displayMessageArchive() { | ^ | void src/brogue/IO.c:3519:52: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3519 | void displayMoreSignWithoutWaitingForAcknowledgment() { | ^ | void src/brogue/IO.c:3527:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3527 | void displayMoreSign() { | ^ | void src/brogue/IO.c:3614:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3614 | void updateMessageDisplay() { | ^ | void src/brogue/IO.c:3647:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3647 | void deleteMessages() { | ^ | void src/brogue/IO.c:3655:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3655 | void confirmMessages() { | ^ | void src/brogue/IO.c:4061:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 4061 | void printHelpScreen() { | ^ | void src/brogue/IO.c:4180:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 4180 | void printDiscoveriesScreen() { | ^ | void src/brogue/IO.c:4329:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 4329 | void printSeed() { | ^ | void src/brogue/IO.c:4408:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 4408 | static short estimatedArmorValue() { | ^ | void 130 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/Items.c -o src/brogue/Items.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/Items.c:25: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void src/brogue/Items.c:34:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 34 | item *initializeItem() { | ^ | void src/brogue/Items.c:963:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 963 | short numberOfItemsInPack() { | ^ | void src/brogue/Items.c:972:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 972 | char nextAvailableInventoryCharacter() { | ^ | void src/brogue/Items.c:1135:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1135 | void updateFloorItems() { | ^ | void src/brogue/Items.c:1700:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1700 | static int enchantMagnitude() { | ^ | void src/brogue/Items.c:3086:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3086 | void updateEncumbrance() { | ^ | void src/brogue/Items.c:3114:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3114 | short displayedArmorValue() { | ^ | void src/brogue/Items.c:6297:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 6297 | void swapLastEquipment() { | ^ | void src/brogue/Items.c:6761:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 6761 | short chooseVorpalEnemy() { | ^ | void src/brogue/Items.c:6813:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 6813 | void updateIdentifiableItems() { | ^ | void src/brogue/Items.c:7389:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 7389 | boolean canDrop() { | ^ | void src/brogue/Items.c:7535:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 7535 | void recalculateEquipmentBonuses() { | ^ | void src/brogue/Items.c:7700:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 7700 | void updateRingBonuses() { | ^ | void src/brogue/Items.c:7751:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 7751 | void updatePlayerRegenerationDelay() { | ^ | void src/brogue/Items.c:7797:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 7797 | void shuffleFlavors() { | ^ | void 114 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/Light.c -o src/brogue/Light.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/Light.c:24: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void src/brogue/Light.c:28:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 28 | void logLights() { | ^ | void src/brogue/Light.c:121:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 121 | void updateMinersLightRadius() { | ^ | void src/brogue/Light.c:157:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 157 | void updateDisplayDetail() { | ^ | void src/brogue/Light.c:198:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 198 | void recordOldLights() { | ^ | void src/brogue/Light.c:209:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 209 | void updateLighting() { | ^ | void src/brogue/Light.c:284:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 284 | boolean playerInDarkness() { | ^ | void src/brogue/Light.c:407:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 407 | void deleteAllFlares() { | ^ | void 106 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/MainMenu.c -o src/brogue/MainMenu.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/MainMenu.c:24: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void src/brogue/MainMenu.c:390:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 390 | static void chooseGameVariant() { | ^ | void src/brogue/MainMenu.c:423:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 423 | static void chooseGameMode() { | ^ | void src/brogue/MainMenu.c:468:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 468 | static boolean isFlyoutActive() { | ^ | void src/brogue/MainMenu.c:504:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 504 | void titleMenu() { | ^ | void src/brogue/MainMenu.c:615:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 615 | int quitImmediately() { | ^ | void src/brogue/MainMenu.c:865:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 865 | void mainBrogueJunction() { | ^ | void 105 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/Math.c -o src/brogue/Math.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/Math.c:28: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void src/brogue/Math.c:173:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 173 | uint64_t rand_64bits() { | ^ | void 100 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/Monsters.c -o src/brogue/Monsters.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/Monsters.c:24: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void src/brogue/Monsters.c:386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 386 | void setPlayerDisplayChar() { | ^ | void src/brogue/Monsters.c:885:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 885 | creatureList createCreatureList() { | ^ | void src/brogue/Monsters.c:953:11: warning: variable 'seenMinionCount' set but not used [-Wunused-but-set-variable] 953 | short seenMinionCount = 0, x, y; | ^ src/brogue/Monsters.c:1045:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1045 | void populateMonsters() { | ^ | void src/brogue/Monsters.c:1089:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1089 | void spawnPeriodicHorde() { | ^ | void 104 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/Movement.c -o src/brogue/Movement.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/Movement.c:24: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void src/brogue/Movement.c:1787:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1787 | enum directions adjacentFightingDir() { | ^ | void 100 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/PowerTables.c -o src/brogue/PowerTables.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/PowerTables.c:24: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void 99 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/Recordings.c -o src/brogue/Recordings.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/Recordings.c:26: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void src/brogue/Recordings.c:48:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 48 | void considerFlushingBufferToFile() { | ^ | void src/brogue/Recordings.c:143:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 143 | void cancelKeystroke() { | ^ | void src/brogue/Recordings.c:219:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 219 | void flushBufferToFile() { | ^ | void src/brogue/Recordings.c:250:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 250 | void fillBufferFromFile() { | ^ | void src/brogue/Recordings.c:265:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 265 | unsigned char recallChar() { | ^ | void src/brogue/Recordings.c:304:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 304 | void playbackPanic() { | ^ | void src/brogue/Recordings.c:384:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 384 | void loadNextAnnotation() { | ^ | void src/brogue/Recordings.c:434:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 434 | void displayAnnotation() { | ^ | void src/brogue/Recordings.c:465:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 465 | void initRecording() { | ^ | void src/brogue/Recordings.c:610:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 610 | void RNGCheck() { | ^ | void src/brogue/Recordings.c:627:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 627 | boolean unpause() { | ^ | void src/brogue/Recordings.c:639:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 639 | void printPlaybackHelpScreen() { | ^ | void src/brogue/Recordings.c:693:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 693 | static void resetPlayback() { | ^ | void src/brogue/Recordings.c:839:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 839 | void pausePlayback() { | ^ | void src/brogue/Recordings.c:1185:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1185 | void saveGameNoPrompt() { | ^ | void src/brogue/Recordings.c:1201:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1201 | void saveGame() { | ^ | void src/brogue/Recordings.c:1308:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1308 | void switchToPlaying() { | ^ | void src/brogue/Recordings.c:1335:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1335 | boolean loadSavedGame() { | ^ | void src/brogue/Recordings.c:1459:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1459 | void parseFile() { | ^ | void 118 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/RogueMain.c -o src/brogue/RogueMain.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/RogueMain.c:24: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void In file included from src/brogue/RogueMain.c:27: src/variants/GlobalsBrogue.h:24:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 24 | void initializeGameVariantBrogue(); | ^ | void In file included from src/brogue/RogueMain.c:28: src/variants/GlobalsRapidBrogue.h:24:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 24 | void initializeGameVariantRapidBrogue(); | ^ | void src/brogue/RogueMain.c:32:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 32 | int rogueMain() { | ^ | void src/brogue/RogueMain.c:38:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 38 | void printBrogueVersion() { | ^ | void src/brogue/RogueMain.c:115:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 115 | void benchmark() { | ^ | void src/brogue/RogueMain.c:133:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 133 | void welcome() { | ^ | void src/brogue/RogueMain.c:149:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 149 | void initializeGameVariant() { | ^ | void src/brogue/RogueMain.c:507:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 507 | void updateColors() { | ^ | void src/brogue/RogueMain.c:924:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 924 | void removeDeadMonsters() { | ^ | void src/brogue/RogueMain.c:929:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 929 | void freeEverything() { | ^ | void src/brogue/RogueMain.c:1318:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1318 | void enableEasyMode() { | ^ | void 110 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/SeedCatalog.c -o src/brogue/SeedCatalog.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/SeedCatalog.c:23: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void 99 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/Time.c -o src/brogue/Time.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/Time.c:24: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void src/brogue/Time.c:53:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 53 | void updateFlavorText() { | ^ | void src/brogue/Time.c:71:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 71 | void updatePlayerUnderwaterness() { | ^ | void src/brogue/Time.c:552:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 552 | void updateClairvoyance() { | ^ | void src/brogue/Time.c:600:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 600 | void updateTelepathy() { | ^ | void src/brogue/Time.c:649:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 649 | void updateScent() { | ^ | void src/brogue/Time.c:676:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 676 | short currentStealthRange() { | ^ | void src/brogue/Time.c:718:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 718 | void demoteVisibility() { | ^ | void src/brogue/Time.c:804:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 804 | void checkNutrition() { | ^ | void src/brogue/Time.c:881:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 881 | void handleHealthAlerts() { | ^ | void src/brogue/Time.c:952:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 952 | void handleXPXP() { | ^ | void src/brogue/Time.c:974:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 974 | void playerFalls() { | ^ | void src/brogue/Time.c:1221:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1221 | void updateVolumetricMedia() { | ^ | void src/brogue/Time.c:1321:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1321 | void updateYendorWardenTracking() { | ^ | void src/brogue/Time.c:1358:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1358 | void monstersFall() { | ^ | void src/brogue/Time.c:1409:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1409 | void updateEnvironment() { | ^ | void src/brogue/Time.c:1519:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1519 | void updateAllySafetyMap() { | ^ | void src/brogue/Time.c:1595:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1595 | void updateSafetyMap() { | ^ | void src/brogue/Time.c:1729:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1729 | void updateSafeTerrainMap() { | ^ | void src/brogue/Time.c:1769:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1769 | void processIncrementalAutoID() { | ^ | void src/brogue/Time.c:1943:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1943 | void monstersApproachStairs() { | ^ | void src/brogue/Time.c:1966:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1966 | void decrementPlayerStatus() { | ^ | void src/brogue/Time.c:2084:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2084 | void autoRest() { | ^ | void src/brogue/Time.c:2137:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2137 | void manualSearch() { | ^ | void src/brogue/Time.c:2178:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2178 | void synchronizePlayerTimeState() { | ^ | void src/brogue/Time.c:2196:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2196 | static void recordCurrentCreatureHealths() { | ^ | void src/brogue/Time.c:2210:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2210 | void playerTurnEnded() { | ^ | void src/brogue/Time.c:2615:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2615 | void resetScentTurnNumber() { // don't want player.scentTurnNumber to roll over the short maxint! | ^ | void 126 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/Utilities.c -o src/brogue/Utilities.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/Utilities.c:23: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void 99 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/brogue/Wizard.c -o src/brogue/Wizard.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/brogue/Wizard.c:23: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void src/brogue/Wizard.c:90:47: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | static short dialogCreateItemChooseVorpalEnemy() { | ^ | void src/brogue/Wizard.c:304:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 304 | static void dialogCreateMonster() { | ^ | void src/brogue/Wizard.c:437:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 437 | static void dialogCreateItem() { | ^ | void src/brogue/Wizard.c:506:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 506 | void dialogCreateItemOrMonster() { | ^ | void 103 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/variants/GlobalsBrogue.c -o src/variants/GlobalsBrogue.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/variants/GlobalsBrogue.c:38: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void src/variants/GlobalsBrogue.c:1049:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1049 | void initializeGameVariantBrogue() { | ^ | void 100 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/variants/GlobalsRapidBrogue.c -o src/variants/GlobalsRapidBrogue.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/variants/GlobalsRapidBrogue.c:38: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void src/variants/GlobalsRapidBrogue.c:1052:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1052 | void initializeGameVariantRapidBrogue() { | ^ | void 100 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/platform/main.c -o src/platform/main.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/platform/main.c:3: In file included from src/platform/platform.h:1: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void In file included from src/platform/main.c:3: src/platform/platform.h:39:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 39 | void (*gameLoop)(); | ^ | void src/platform/platform.h:79:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | boolean (*takeScreenshot)(); | ^ | void src/platform/platform.h:90:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | void loadKeymap(); | ^ | void src/platform/platform.h:91:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 91 | void dumpScores(); | ^ | void src/platform/main.c:19:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 19 | static void printCommandlineHelp() { | ^ | void 104 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/platform/platformdependent.c -o src/platform/platformdependent.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/platform/platformdependent.c:32: In file included from src/platform/platform.h:1: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void In file included from src/platform/platformdependent.c:32: src/platform/platform.h:39:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 39 | void (*gameLoop)(); | ^ | void src/platform/platform.h:79:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | boolean (*takeScreenshot)(); | ^ | void src/platform/platform.h:90:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | void loadKeymap(); | ^ | void src/platform/platform.h:91:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 91 | void dumpScores(); | ^ | void src/platform/platformdependent.c:231:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 231 | void pausingTimerStartsNow() { | ^ | void src/platform/platformdependent.c:235:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 235 | boolean shiftKeyIsDown() { | ^ | void src/platform/platformdependent.c:238:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 238 | boolean controlKeyIsDown() { | ^ | void src/platform/platformdependent.c:256:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 256 | boolean takeScreenshot() { | ^ | void src/platform/platformdependent.c:273:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 273 | void initScores() { | ^ | void src/platform/platformdependent.c:289:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 289 | short sortScoreBuffer() { | ^ | void src/platform/platformdependent.c:333:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 333 | short loadScoreBuffer() { | ^ | void src/platform/platformdependent.c:367:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 367 | void loadKeymap() { | ^ | void src/platform/platformdependent.c:408:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 408 | void saveScoreBuffer() { | ^ | void src/platform/platformdependent.c:425:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 425 | void dumpScores() { | ^ | void src/platform/platformdependent.c:488:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 488 | struct filelist *newFilelist() { | ^ | void src/platform/platformdependent.c:529:54: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wgnu-null-pointer-arithmetic] 529 | list->files[list->nfiles].path = ((char *) NULL) + list->nextname; // don't look at them until they are transferred out | ~~~~~~~~~~~~~~~ ^ 115 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/platform/null-platform.c -o src/platform/null-platform.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/platform/null-platform.c:1: In file included from src/platform/platform.h:1: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void In file included from src/platform/null-platform.c:1: src/platform/platform.h:39:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 39 | void (*gameLoop)(); | ^ | void src/platform/platform.h:79:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | boolean (*takeScreenshot)(); | ^ | void src/platform/platform.h:90:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | void loadKeymap(); | ^ | void src/platform/platform.h:91:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 91 | void dumpScores(); | ^ | void src/platform/null-platform.c:3:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3 | static void null_gameLoop() { | ^ | void 104 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/platform/sdl2-platform.c -o src/platform/sdl2-platform.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/platform/sdl2-platform.c:7: In file included from src/platform/platform.h:1: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void In file included from src/platform/sdl2-platform.c:7: src/platform/platform.h:39:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 39 | void (*gameLoop)(); | ^ | void src/platform/platform.h:79:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | boolean (*takeScreenshot)(); | ^ | void src/platform/platform.h:90:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | void loadKeymap(); | ^ | void src/platform/platform.h:91:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 91 | void dumpScores(); | ^ | void In file included from src/platform/sdl2-platform.c:8: src/platform/tiles.h:6:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 6 | void initTiles(); | ^ | void src/platform/tiles.h:11:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 11 | void updateScreen(); | ^ | void src/platform/tiles.h:12:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 12 | SDL_Surface *captureScreen(); | ^ | void src/platform/sdl2-platform.c:246:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 246 | static void _gameLoop() { | ^ | void src/platform/sdl2-platform.c:406:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 406 | static boolean _takeScreenshot() { | ^ | void 108 warnings generated. cc -DDATADIR=/usr/local/share/brogue -DBROGUE_EXTRA_VERSION='""' -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -c src/platform/tiles.c -o src/platform/tiles.o warning: unknown warning option '-Wformat-overflow=0'; did you mean '-Wformat-overflow'? [-Wunknown-warning-option] In file included from src/platform/tiles.c:4: In file included from src/platform/platform.h:1: src/brogue/Rogue.h:2829:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2829 | int rogueMain(); | ^ | void src/brogue/Rogue.h:2830:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2830 | void printBrogueVersion(); | ^ | void src/brogue/Rogue.h:2835:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2835 | void initializeGameVariant(); | ^ | void src/brogue/Rogue.h:2839:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2839 | void setPlayerDisplayChar(); | ^ | void src/brogue/Rogue.h:2840:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2840 | void initializeDynamicColors(); | ^ | void src/brogue/Rogue.h:2841:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2841 | void enableEasyMode(); | ^ | void src/brogue/Rogue.h:2843:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2843 | uint64_t rand_64bits(); | ^ | void src/brogue/Rogue.h:2855:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2855 | void considerCautiousMode(); | ^ | void src/brogue/Rogue.h:2856:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2856 | void refreshScreen(); | ^ | void src/brogue/Rogue.h:2857:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2857 | void displayLevel(); | ^ | void src/brogue/Rogue.h:2878:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2878 | void digDungeon(); | ^ | void src/brogue/Rogue.h:2879:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2879 | void updateMapToShore(); | ^ | void src/brogue/Rogue.h:2881:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2881 | void resetDFMessageEligibility(); | ^ | void src/brogue/Rogue.h:2890:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2890 | void restoreItems(); | ^ | void src/brogue/Rogue.h:2892:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2892 | void setUpWaypoints(); | ^ | void src/brogue/Rogue.h:2901:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2901 | boolean isApplicationActive(); | ^ | void src/brogue/Rogue.h:2904:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2904 | boolean takeScreenshot(); | ^ | void src/brogue/Rogue.h:2906:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2906 | boolean controlKeyIsDown(); | ^ | void src/brogue/Rogue.h:2907:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2907 | boolean shiftKeyIsDown(); | ^ | void src/brogue/Rogue.h:2915:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2915 | void printHelpScreen(); | ^ | void src/brogue/Rogue.h:2916:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2916 | void printDiscoveriesScreen(); | ^ | void src/brogue/Rogue.h:2919:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2919 | void printSeed(); | ^ | void src/brogue/Rogue.h:2943:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2943 | void waitForAcknowledgment(); | ^ | void src/brogue/Rogue.h:2944:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2944 | void waitForKeystrokeOrMouseClick(); | ^ | void src/brogue/Rogue.h:2966:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2966 | void commitDraws(); | ^ | void src/brogue/Rogue.h:2967:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2967 | void dumpLevelToScreen(); | ^ | void src/brogue/Rogue.h:2969:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2969 | void blackOutScreen(); | ^ | void src/brogue/Rogue.h:2989:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2989 | void displayChokeMap(); | ^ | void src/brogue/Rogue.h:2990:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2990 | void displayLoops(); | ^ | void src/brogue/Rogue.h:2996:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2996 | void initializeLevel(); | ^ | void src/brogue/Rogue.h:2998:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2998 | void updateMinersLightRadius(); | ^ | void src/brogue/Rogue.h:3001:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3001 | void removeDeadMonsters(); | ^ | void src/brogue/Rogue.h:3002:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3002 | void freeEverything(); | ^ | void src/brogue/Rogue.h:3015:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3015 | void updateFlavorText(); | ^ | void src/brogue/Rogue.h:3016:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3016 | void updatePlayerUnderwaterness(); | ^ | void src/brogue/Rogue.h:3042:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3042 | enum directions adjacentFightingDir(); | ^ | void src/brogue/Rogue.h:3048:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | void clearCursorPath(); | ^ | void src/brogue/Rogue.h:3049:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3049 | void hideCursor(); | ^ | void src/brogue/Rogue.h:3050:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3050 | void showCursor(); | ^ | void src/brogue/Rogue.h:3051:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3051 | void mainInputLoop(); | ^ | void src/brogue/Rogue.h:3058:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3058 | void monstersFall(); | ^ | void src/brogue/Rogue.h:3059:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3059 | void updateEnvironment(); | ^ | void src/brogue/Rogue.h:3060:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3060 | void updateAllySafetyMap(); | ^ | void src/brogue/Rogue.h:3061:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3061 | void updateSafetyMap(); | ^ | void src/brogue/Rogue.h:3062:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3062 | void updateSafeTerrainMap(); | ^ | void src/brogue/Rogue.h:3066:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3066 | void autoRest(); | ^ | void src/brogue/Rogue.h:3067:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3067 | void manualSearch(); | ^ | void src/brogue/Rogue.h:3070:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3070 | void synchronizePlayerTimeState(); | ^ | void src/brogue/Rogue.h:3072:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3072 | void playerTurnEnded(); | ^ | void src/brogue/Rogue.h:3073:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3073 | void resetScentTurnNumber(); | ^ | void src/brogue/Rogue.h:3075:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3075 | void clearMessageArchive(); | ^ | void src/brogue/Rogue.h:3077:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3077 | void displayRecentMessages(); | ^ | void src/brogue/Rogue.h:3078:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3078 | void displayMessageArchive(); | ^ | void src/brogue/Rogue.h:3083:56: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3083 | void displayMoreSignWithoutWaitingForAcknowledgment(); | ^ | void src/brogue/Rogue.h:3084:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3084 | void displayMoreSign(); | ^ | void src/brogue/Rogue.h:3089:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3089 | void updateMessageDisplay(); | ^ | void src/brogue/Rogue.h:3090:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3090 | void deleteMessages(); | ^ | void src/brogue/Rogue.h:3091:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3091 | void confirmMessages(); | ^ | void src/brogue/Rogue.h:3112:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3112 | creatureList createCreatureList(); | ^ | void src/brogue/Rogue.h:3132:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3132 | void populateMonsters(); | ^ | void src/brogue/Rogue.h:3149:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3149 | void spawnPeriodicHorde(); | ^ | void src/brogue/Rogue.h:3235:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | short numberOfItemsInPack(); | ^ | void src/brogue/Rogue.h:3236:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3236 | char nextAvailableInventoryCharacter(); | ^ | void src/brogue/Rogue.h:3238:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3238 | void updateFloorItems(); | ^ | void src/brogue/Rogue.h:3252:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3252 | item *initializeItem(); | ^ | void src/brogue/Rogue.h:3256:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3256 | void updateEncumbrance(); | ^ | void src/brogue/Rogue.h:3257:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3257 | short displayedArmorValue(); | ^ | void src/brogue/Rogue.h:3260:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3260 | void recalculateEquipmentBonuses(); | ^ | void src/brogue/Rogue.h:3282:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3282 | short **allocGrid(); | ^ | void src/brogue/Rogue.h:3317:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3317 | void swapLastEquipment(); | ^ | void src/brogue/Rogue.h:3321:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3321 | short chooseVorpalEnemy(); | ^ | void src/brogue/Rogue.h:3325:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3325 | void updateIdentifiableItems(); | ^ | void src/brogue/Rogue.h:3327:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3327 | void updateRingBonuses(); | ^ | void src/brogue/Rogue.h:3328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3328 | void updatePlayerRegenerationDelay(); | ^ | void src/brogue/Rogue.h:3350:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3350 | void shuffleFlavors(); | ^ | void src/brogue/Rogue.h:3354:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3354 | void displayCombatText(); | ^ | void src/brogue/Rogue.h:3360:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3360 | void updateLighting(); | ^ | void src/brogue/Rogue.h:3361:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | boolean playerInDarkness(); | ^ | void src/brogue/Rogue.h:3365:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3365 | void deleteAllFlares(); | ^ | void src/brogue/Rogue.h:3366:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3366 | void demoteVisibility(); | ^ | void src/brogue/Rogue.h:3374:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3374 | void updateClairvoyance(); | ^ | void src/brogue/Rogue.h:3377:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3377 | short currentStealthRange(); | ^ | void src/brogue/Rogue.h:3379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3379 | void initRecording(); | ^ | void src/brogue/Rogue.h:3380:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3380 | void flushBufferToFile(); | ^ | void src/brogue/Rogue.h:3381:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3381 | void fillBufferFromFile(); | ^ | void src/brogue/Rogue.h:3384:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3384 | void pausePlayback(); | ^ | void src/brogue/Rogue.h:3385:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3385 | void displayAnnotation(); | ^ | void src/brogue/Rogue.h:3386:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3386 | boolean loadSavedGame(); | ^ | void src/brogue/Rogue.h:3387:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3387 | void switchToPlaying(); | ^ | void src/brogue/Rogue.h:3389:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3389 | void cancelKeystroke(); | ^ | void src/brogue/Rogue.h:3393:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3393 | void RNGCheck(); | ^ | void src/brogue/Rogue.h:3397:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3397 | void saveGame(); | ^ | void src/brogue/Rogue.h:3398:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3398 | void saveGameNoPrompt(); | ^ | void src/brogue/Rogue.h:3401:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3401 | void parseFile(); | ^ | void src/brogue/Rogue.h:3436:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3436 | void checkForDungeonErrors(); | ^ | void src/brogue/Rogue.h:3439:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3439 | void dialogCreateItemOrMonster(); | ^ | void src/brogue/Rogue.h:3440:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3440 | int quitImmediately(); | ^ | void src/brogue/Rogue.h:3442:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3442 | void mainBrogueJunction(); | ^ | void In file included from src/platform/tiles.c:4: src/platform/platform.h:39:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 39 | void (*gameLoop)(); | ^ | void src/platform/platform.h:79:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | boolean (*takeScreenshot)(); | ^ | void src/platform/platform.h:90:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | void loadKeymap(); | ^ | void src/platform/platform.h:91:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 91 | void dumpScores(); | ^ | void In file included from src/platform/tiles.c:5: src/platform/tiles.h:6:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 6 | void initTiles(); | ^ | void src/platform/tiles.h:11:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 11 | void updateScreen(); | ^ | void src/platform/tiles.h:12:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 12 | SDL_Surface *captureScreen(); | ^ | void src/platform/tiles.c:352:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 352 | static void optimizeTiles() { | ^ | void src/platform/tiles.c:446:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 446 | void initTiles() { | ^ | void src/platform/tiles.c:621:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 621 | void updateScreen() { | ^ | void src/platform/tiles.c:795:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 795 | SDL_Surface *captureScreen() { | ^ | void 110 warnings generated. cmp: unknown option -- - usage: cmp [-l | -s] file1 file2 [skip1 [skip2]] cmp: unknown option -- - usage: cmp [-l | -s] file1 file2 [skip1 [skip2]] cmp: unknown option -- - usage: cmp [-l | -s] file1 file2 [skip1 [skip2]] cc -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -O2 -pipe -o bin/brogue src/brogue/Architect.o src/brogue/Buttons.o src/brogue/Combat.o src/brogue/Dijkstra.o src/brogue/Globals.o src/brogue/GlobalsBase.o src/brogue/Grid.o src/brogue/IO.o src/brogue/Items.o src/brogue/Light.o src/brogue/MainMenu.o src/brogue/Math.o src/brogue/Monsters.o src/brogue/Movement.o src/brogue/PowerTables.o src/brogue/Recordings.o src/brogue/RogueMain.o src/brogue/SeedCatalog.o src/brogue/Time.o src/brogue/Utilities.o src/brogue/Wizard.o src/variants/GlobalsBrogue.o src/variants/GlobalsRapidBrogue.o src/platform/main.o src/platform/platformdependent.o src/platform/null-platform.o src/platform/sdl2-platform.o src/platform/tiles.o -lm -L/usr/local/lib -lSDL2 -L/usr/X11R6/lib -lSDL2_image ld: warning: Buttons.c(src/brogue/Buttons.o:(setButtonText)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: tiles.c(src/platform/tiles.o:(initTiles)): warning: sprintf() is often misused, please use snprintf() ld: warning: RogueMain.c(src/brogue/RogueMain.o:(chooseFile)): warning: strcat() is almost always misused, please use strlcat() >>> Running package in games/brogue at 1764775594.51 ===> games/brogue ===> Faking installation for brogue-1.13 /exopi-obj/pobj/brogue-1.13/bin/install -c -s -m 755 /exopi-obj/pobj/brogue-1.13/BrogueCE-1.13/bin/brogue /exopi-obj/pobj/brogue-1.13/fake-amd64/usr/local/libexec/ /usr/bin/perl /exopi-cvs/ports/infrastructure/bin/pkg_subst -DARCH=amd64 -DBASE_PKGPATH=games/brogue -DFLAVOR_EXT= -DFULLPKGNAME=brogue-1.13 -DHOMEPAGE=https://sites.google.com/site/broguegame/ -DLOCALBASE=/usr/local -DLOCALSTATEDIR=/var -DMACHINE_ARCH=amd64 -DMAINTAINER=Anton\ Konyahin\ \ -DPREFIX=/exopi-obj/pobj/brogue-1.13/fake-amd64/usr/local -DRCDIR=/etc/rc.d -DSYSCONFDIR=/etc -DTRUEPREFIX=/usr/local -DX11BASE=/usr/X11R6 -DPKGSTEM=brogue -i -B /exopi-obj/pobj/brogue-1.13 -c -m 755 /exopi-cvs/ports/games/brogue/files/brogue /exopi-obj/pobj/brogue-1.13/fake-amd64/usr/local/bin/brogue /exopi-obj/pobj/brogue-1.13/bin/install -d -m 755 /exopi-obj/pobj/brogue-1.13/fake-amd64/usr/local/share/brogue/assets /exopi-obj/pobj/brogue-1.13/bin/install -c -m 644 /exopi-obj/pobj/brogue-1.13/BrogueCE-1.13/bin/assets/tiles.png /exopi-obj/pobj/brogue-1.13/fake-amd64/usr/local/share/brogue/assets/tiles.png /exopi-obj/pobj/brogue-1.13/bin/install -c -m 644 /exopi-obj/pobj/brogue-1.13/BrogueCE-1.13/bin/assets/tiles.bin /exopi-obj/pobj/brogue-1.13/fake-amd64/usr/local/share/brogue/assets/tiles.bin /exopi-obj/pobj/brogue-1.13/bin/install -c -m 644 /exopi-obj/pobj/brogue-1.13/BrogueCE-1.13/bin/assets/icon.png /exopi-obj/pobj/brogue-1.13/fake-amd64/usr/local/share/brogue/assets/icon.png ===> Building package for brogue-1.13 Create /exopi-cvs/ports/packages/amd64/all/brogue-1.13.tgz Creating package brogue-1.13 reading plist| checking dependencies| checking dependencies|devel/sdl2-image checking dependencies|devel/sdl2 checksumming| checksumming| | 0% checksumming|*** | 5% checksumming|****** | 10% checksumming|********* | 15% checksumming|************ | 20% checksumming|*************** | 25% checksumming|****************** | 30% checksumming|********************* | 35% checksumming|************************ | 40% checksumming|*************************** | 45% checksumming|******************************* | 50% checksumming|********************************** | 55% checksumming|************************************* | 60% checksumming|**************************************** | 65% checksumming|******************************************* | 70% checksumming|********************************************** | 75% checksumming|************************************************* | 80% checksumming|**************************************************** | 85% checksumming|******************************************************* | 90% checksumming|********************************************************** | 95% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|******************************************** | 69% archiving|************************************************* | 77% archiving|************************************************************** | 97% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/brogue-1.13.tgz >>> Running clean in games/brogue at 1764775602.07 ===> games/brogue ===> Cleaning for brogue-1.13 >>> Ended at 1764775602.27 max_stuck=0.06/depends=6.58/show-prepare-results=0.72/build=20.03/package=7.59/clean=0.24