Just some i386 build warnings on OpenBSD
(1) By ThanksRyan on 2022-01-26 15:23:46 [link] [source]
Hi,
For your consideration to review or ignore.
shell.c:726:31: warning: implicit declaration of function 'add_history' is invalid in C99 [-Wimplicit-function-declaration]
if( zResult && *zResult ) shell_add_history(zResult);
^
shell.c:144:31: note: expanded from macro 'shell_add_history'
# define shell_add_history(X) add_history(X)
^
shell.c:22916:23: warning: implicit declaration of function 'read_history' is invalid in C99 [-Wimplicit-function-declaration]
if( zHistory ){ shell_read_history(zHistory); }
^
shell.c:145:32: note: expanded from macro 'shell_read_history'
# define shell_read_history(X) read_history(X)
^
shell.c:22925:9: warning: implicit declaration of function 'stifle_history' is invalid in C99 [-Wimplicit-function-declaration]
shell_stifle_history(2000);
^
shell.c:147:34: note: expanded from macro 'shell_stifle_history'
# define shell_stifle_history(X) stifle_history(X)
^
shell.c:22926:9: warning: implicit declaration of function 'write_history' is invalid in C99 [-Wimplicit-function-declaration]
shell_write_history(zHistory);
^
shell.c:146:33: note: expanded from macro 'shell_write_history'
# define shell_write_history(X) write_history(X)
^
4 warnings generated.
Generated on OpenBSD i386 with clang:
$ cc -v
OpenBSD clang version 13.0.0
Target: i386-unknown-openbsd7.0
Thread model: posix
InstalledDir: /usr/bin
(2) By ThanksRyan on 2022-01-26 16:00:51 in reply to 1 [source]
Hi,
Sorry, I should haven't mentioned these were generated when building SQLite from fossil trunk, commit a8db69411b.
Thanks!