=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/doc++", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for doc++-3.4.10nb3 Making all in intl gmake[1]: Entering directory '/var/tmp/work/devel/doc++/work/doc++-3.4.10/intl' clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../src -I/opt/pkg/include -pipe -Os -I/opt/pkg/include intl-compat.c clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../src -I/opt/pkg/include -pipe -Os -I/opt/pkg/include bindtextdom.c clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../src -I/opt/pkg/include -pipe -Os -I/opt/pkg/include dcgettext.c In file included from dcgettext.c:23: ./gettextP.h:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | SWAP (i) | ^ dcgettext.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | DCGETTEXT (domainname, msgid, category) | ^ dcgettext.c:40:20: note: expanded from macro 'DCGETTEXT' 40 | # define DCGETTEXT libintl_dcgettext | ^ In file included from intl-compat.c:26: ./gettextP.h:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | SWAP (i) | ^ intl-compat.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | gettext (msgid) | ^ intl-compat.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | dgettext (domainname, msgid) | ^ intl-compat.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | dcgettext (domainname, msgid, category) | ^ intl-compat.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | ngettext (msgid1, msgid2, n) | ^ intl-compat.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | dngettext (domainname, msgid1, msgid2, n) | ^ intl-compat.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | dcngettext (domainname, msgid1, msgid2, n, category) | ^ intl-compat.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | textdomain (domainname) | ^ intl-compat.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | bindtextdomain (domainname, dirname) | ^ intl-compat.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | bind_textdomain_codeset (domainname, codeset) | ^ 2 warnings generated. 10 warnings generated. clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../src -I/opt/pkg/include -pipe -Os -I/opt/pkg/include dgettext.c clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../src -I/opt/pkg/include -pipe -Os -I/opt/pkg/include gettext.c In file included from bindtextdom.c:32: ./gettextP.h:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | SWAP (i) | ^ bindtextdom.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | set_binding_values (domainname, dirnamep, codesetp) | ^ bindtextdom.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | BINDTEXTDOMAIN (domainname, dirname) | ^ bindtextdom.c:80:25: note: expanded from macro 'BINDTEXTDOMAIN' 80 | # define BINDTEXTDOMAIN libintl_bindtextdomain | ^ bindtextdom.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | BIND_TEXTDOMAIN_CODESET (domainname, codeset) | ^ bindtextdom.c:81:34: note: expanded from macro 'BIND_TEXTDOMAIN_CODESET' 81 | # define BIND_TEXTDOMAIN_CODESET libintl_bind_textdomain_codeset | ^ 4 warnings generated. clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../src -I/opt/pkg/include -pipe -Os -I/opt/pkg/include finddomain.c In file included from dgettext.c:25: ./gettextP.h:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | SWAP (i) | ^ dgettext.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | DGETTEXT (domainname, msgid) | ^ dgettext.c:42:19: note: expanded from macro 'DGETTEXT' 42 | # define DGETTEXT libintl_dgettext | ^ 2 warnings generated. clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../src -I/opt/pkg/include -pipe -Os -I/opt/pkg/include loadmsgcat.c In file included from gettext.c:30: ./gettextP.h:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | SWAP (i) | ^ gettext.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | GETTEXT (msgid) | ^ gettext.c:47:18: note: expanded from macro 'GETTEXT' 47 | # define GETTEXT libintl_gettext | ^ 2 warnings generated. clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../src -I/opt/pkg/include -pipe -Os -I/opt/pkg/include localealias.c In file included from finddomain.c:33: ./gettextP.h:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | SWAP (i) | ^ finddomain.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | _nl_find_domain (dirname, locale, domainname, domainbinding) | ^ 2 warnings generated. clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../src -I/opt/pkg/include -pipe -Os -I/opt/pkg/include textdomain.c In file included from loadmsgcat.c:82: ./gettextP.h:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | SWAP (i) | ^ In file included from loadmsgcat.c:83: ./hash-string.h:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | hash_string (str_param) | ^ loadmsgcat.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | get_sysdep_segment_value (name) | ^ loadmsgcat.c:759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | _nl_init_domain_conv (domain_file, domain, domainbinding) | ^ loadmsgcat.c:878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | _nl_free_domain_conv (domain) | ^ loadmsgcat.c:899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | _nl_load_domain (domain_file, domainbinding) | ^ In file included from localealias.c:57: ./gettextP.h:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | SWAP (i) | ^ localealias.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | _nl_expand_alias (name) | ^ localealias.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | read_alias_file (fname, fname_len) | ^ localealias.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | alias_compare (map1, map2) | ^ 4 warnings generated. clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../src -I/opt/pkg/include -pipe -Os -I/opt/pkg/include l10nflist.c 6 warnings generated. clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../src -I/opt/pkg/include -pipe -Os -I/opt/pkg/include explodename.c In file included from textdomain.c:31: ./gettextP.h:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | SWAP (i) | ^ textdomain.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | TEXTDOMAIN (domainname) | ^ textdomain.c:70:21: note: expanded from macro 'TEXTDOMAIN' 70 | # define TEXTDOMAIN libintl_textdomain | ^ 2 warnings generated. clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../src -I/opt/pkg/include -pipe -Os -I/opt/pkg/include dcigettext.c l10nflist.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | argz_count__ (argz, len) | ^ l10nflist.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | argz_stringify__ (argz, len, sep) | ^ l10nflist.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | argz_next__ (argz, argz_len, entry) | ^ l10nflist.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | pop (x) | ^ l10nflist.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | _nl_make_l10nflist (l10nfile_list, dirlist, dirlist_len, mask, language, | ^ explodename.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | _nl_find_language (name) | ^ l10nflist.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | _nl_normalize_codeset (codeset, name_len) | ^ explodename.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | _nl_explode_name (name, language, modifier, territory, codeset, | ^ 2 warnings generated. clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../src -I/opt/pkg/include -pipe -Os -I/opt/pkg/include dcngettext.c 6 warnings generated. clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../src -I/opt/pkg/include -pipe -Os -I/opt/pkg/include dngettext.c In file included from dcigettext.c:85: ./gettextP.h:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | SWAP (i) | ^ In file included from dcigettext.c:92: ./hash-string.h:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | hash_string (str_param) | ^ dcigettext.c:146:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 146 | char *getcwd (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:453:18: note: conflicting prototype is here 453 | char *_LIBC_CSTR getcwd(char *_LIBC_COUNT_OR_NULL(__size), size_t __size); | ^ dcigettext.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | transcmp (p1, p2) | ^ In file included from dcigettext.c:403: ./eval-plural.h:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | plural_eval (pexp, n) | ^ dcigettext.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category) | ^ dcigettext.c:364:21: note: expanded from macro 'DCIGETTEXT' 364 | # define DCIGETTEXT libintl_dcigettext | ^ dcigettext.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | _nl_find_msg (domain_file, domainbinding, msgid, lengthp) | ^ dcigettext.c:1004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | plural_lookup (domain, n, translation, translation_len) | ^ dcigettext.c:1045:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | category_to_name (category) | ^ dcigettext.c:1105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1105 | guess_category_value (category, categoryname) | ^ dcigettext.c:1160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1160 | mempcpy (dest, src, n) | ^ 11 warnings generated. clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../src -I/opt/pkg/include -pipe -Os -I/opt/pkg/include ngettext.c In file included from dcngettext.c:23: ./gettextP.h:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | SWAP (i) | ^ dcngettext.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | DCNGETTEXT (domainname, msgid1, msgid2, n, category) | ^ dcngettext.c:40:21: note: expanded from macro 'DCNGETTEXT' 40 | # define DCNGETTEXT libintl_dcngettext | ^ 2 warnings generated. clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../src -I/opt/pkg/include -pipe -Os -I/opt/pkg/include plural.c In file included from dngettext.c:25: ./gettextP.h:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | SWAP (i) | ^ dngettext.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | DNGETTEXT (domainname, msgid1, msgid2, n) | ^ dngettext.c:42:20: note: expanded from macro 'DNGETTEXT' 42 | # define DNGETTEXT libintl_dngettext | ^ 2 warnings generated. clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../src -I/opt/pkg/include -pipe -Os -I/opt/pkg/include plural-exp.c In file included from ngettext.c:30: ./gettextP.h:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | SWAP (i) | ^ ngettext.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | NGETTEXT (msgid1, msgid2, n) | ^ ngettext.c:49:19: note: expanded from macro 'NGETTEXT' 49 | # define NGETTEXT libintl_ngettext | ^ 2 warnings generated. clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../src -I/opt/pkg/include -pipe -Os -I/opt/pkg/include localcharset.c plural.y:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | new_exp (nargs, op, args) | ^ plural.y:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | new_exp_0 (op) | ^ plural.y:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | new_exp_1 (op, right) | ^ plural.y:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | new_exp_2 (op, left, right) | ^ plural.y:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | new_exp_3 (op, bexp, tbranch, fbranch) | ^ plural-exp.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | EXTRACT_PLURAL_EXPRESSION (nullentry, pluralp, npluralsp) | ^ ./plural-exp.h:104:36: note: expanded from macro 'EXTRACT_PLURAL_EXPRESSION' 104 | # define EXTRACT_PLURAL_EXPRESSION libintl_gettext_extract_plural | ^ plural-exp.c:128:14: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 128 | for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++) | ^ ~~~~~~~~ /usr/local/share/bison.simple:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | yyparse(YYPARSE_PARAM_ARG) | ^ plural.c:7:17: note: expanded from macro 'yyparse' 7 | #define yyparse __gettextparse | ^ plural.y:40:25: note: expanded from macro '__gettextparse' 40 | # define __gettextparse PLURAL_PARSE | ^ ./plural-exp.h:102:23: note: expanded from macro 'PLURAL_PARSE' 102 | # define PLURAL_PARSE libintl_gettextparse | ^ plural.y:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | FREE_EXPRESSION (exp) | ^ ./plural-exp.h:101:26: note: expanded from macro 'FREE_EXPRESSION' 101 | # define FREE_EXPRESSION libintl_gettext_free_exp | ^ plural.y:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | yylex (lval, pexp) | ^ plural.c:8:15: note: expanded from macro 'yylex' 8 | #define yylex __gettextlex | ^ plural.y:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | yyerror (str) | ^ plural.c:9:17: note: expanded from macro 'yyerror' 9 | #define yyerror __gettexterror | ^ 2 warnings generated. clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../src -I/opt/pkg/include -pipe -Os -I/opt/pkg/include localename.c 9 warnings generated. clang -c -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../src -I/opt/pkg/include -pipe -Os -I/opt/pkg/include osdep.c cp ./libgnuintl.h libintl.h /bin/sh ./config.charset 'aarch64-apple-darwin27' > t-charset.alias sed -e '/^#/d' -e 's/@''PACKAGE''@/doc++/g' ref-add.sin > t-ref-add.sed localename.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | _nl_locale_name (category, categoryname) | ^ 1 warning generated. sed -e '/^#/d' -e 's/@''PACKAGE''@/doc++/g' ref-del.sin > t-ref-del.sed mv t-charset.alias charset.alias mv t-ref-add.sed ref-add.sed mv t-ref-del.sed ref-del.sed rm -f libintl.a ar cru libintl.a intl-compat.o bindtextdom.o dcgettext.o dgettext.o gettext.o finddomain.o loadmsgcat.o localealias.o textdomain.o l10nflist.o explodename.o dcigettext.o dcngettext.o dngettext.o ngettext.o plural.o plural-exp.o localcharset.o localename.o osdep.o ranlib libintl.a gmake[1]: Leaving directory '/var/tmp/work/devel/doc++/work/doc++-3.4.10/intl' Making all in src gmake[1]: Entering directory '/var/tmp/work/devel/doc++/work/doc++-3.4.10/src' /opt/pkg/bin/gmake all-am gmake[2]: Entering directory '/var/tmp/work/devel/doc++/work/doc++-3.4.10/src' source='Entry.cc' object='Entry.o' libtool=no \ depfile='.deps/Entry.Po' tmpdepfile='.deps/Entry.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -c -o Entry.o `test -f 'Entry.cc' || echo './'`Entry.cc source='McDirectory.cc' object='McDirectory.o' libtool=no \ depfile='.deps/McDirectory.Po' tmpdepfile='.deps/McDirectory.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -c -o McDirectory.o `test -f 'McDirectory.cc' || echo './'`McDirectory.cc source='McHashTable.cc' object='McHashTable.o' libtool=no \ depfile='.deps/McHashTable.Po' tmpdepfile='.deps/McHashTable.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -c -o McHashTable.o `test -f 'McHashTable.cc' || echo './'`McHashTable.cc Entry.cc:279:2: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 279 | sprintf(buf, "%d", subnumber); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ Entry.cc:707:54: warning: ISO C++11 does not allow conversion from string literal to 'char *const' [-Wwritable-strings] 707 | cxxtable = new McHashTable(""); | ^ Entry.cc:712:27: warning: ISO C++11 does not allow conversion from string literal to 'char *const' [-Wwritable-strings] 712 | cxxtable->insert(st, "1"); | ^ Entry.cc:721:55: warning: ISO C++11 does not allow conversion from string literal to 'char *const' [-Wwritable-strings] 721 | javatable = new McHashTable(""); | ^ Entry.cc:726:28: warning: ISO C++11 does not allow conversion from string literal to 'char *const' [-Wwritable-strings] 726 | javatable->insert(st, "1"); | ^ Entry.cc:735:54: warning: ISO C++11 does not allow conversion from string literal to 'char *const' [-Wwritable-strings] 735 | idltable = new McHashTable(""); | ^ Entry.cc:740:27: warning: ISO C++11 does not allow conversion from string literal to 'char *const' [-Wwritable-strings] 740 | idltable->insert(st, "1"); | ^ Entry.cc:749:54: warning: ISO C++11 does not allow conversion from string literal to 'char *const' [-Wwritable-strings] 749 | phptable = new McHashTable(""); | ^ Entry.cc:754:27: warning: ISO C++11 does not allow conversion from string literal to 'char *const' [-Wwritable-strings] 754 | phptable->insert(st, "1"); | ^ source='McWildMatch.cc' object='McWildMatch.o' libtool=no \ depfile='.deps/McWildMatch.Po' tmpdepfile='.deps/McWildMatch.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -c -o McWildMatch.o `test -f 'McWildMatch.cc' || echo './'`McWildMatch.cc Entry.cc:1274:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1274 | else | ^ source='classgraph.cc' object='classgraph.o' libtool=no \ depfile='.deps/classgraph.Po' tmpdepfile='.deps/classgraph.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -c -o classgraph.o `test -f 'classgraph.cc' || echo './'`classgraph.cc 10 warnings generated. /opt/pkg/bin/mksh ../ylwrap `test -f 'comment.ll' || echo './'`comment.ll lex.commentYY.c comment.cc -- flex -PcommentYY McWildMatch.cc:26:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 26 | register int i = 0, j = 0; | ^~~~~~~~ McWildMatch.cc:26:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 26 | register int i = 0, j = 0; | ^~~~~~~~ 2 warnings generated. /opt/pkg/bin/mksh ../ylwrap `test -f 'config.ll' || echo './'`config.ll lex.configYY.c config.cc -- flex -PconfigYY /opt/pkg/bin/mksh ../ylwrap `test -f 'cpp.ll' || echo './'`cpp.ll lex.cppYY.c cpp.cc -- flex -PcppYY /opt/pkg/bin/mksh ../ylwrap `test -f 'doc.ll' || echo './'`doc.ll lex.docYY.c doc.cc -- flex -PdocYY /opt/pkg/bin/mksh ../ylwrap `test -f 'doc2dbxml.ll' || echo './'`doc2dbxml.ll lex.doc2dbxmlYY.c doc2dbxml.cc -- flex -Pdoc2dbxmlYY /opt/pkg/bin/mksh ../ylwrap `test -f 'doc2dbsgml.ll' || echo './'`doc2dbsgml.ll lex.doc2dbsgmlYY.c doc2dbsgml.cc -- flex -Pdoc2dbsgmlYY /opt/pkg/bin/mksh ../ylwrap `test -f 'doc2html.ll' || echo './'`doc2html.ll lex.doc2htmlYY.c doc2html.cc -- flex -Pdoc2htmlYY /opt/pkg/bin/mksh ../ylwrap `test -f 'doc2tex.ll' || echo './'`doc2tex.ll lex.doc2texYY.c doc2tex.cc -- flex -Pdoc2texYY /opt/pkg/bin/mksh ../ylwrap `test -f 'doc2xml.ll' || echo './'`doc2xml.ll lex.doc2xmlYY.c doc2xml.cc -- flex -Pdoc2xmlYY source='getopt.c' object='getopt.o' libtool=no \ depfile='.deps/getopt.Po' tmpdepfile='.deps/getopt.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c `test -f 'getopt.c' || echo './'`getopt.c source='getopt1.c' object='getopt1.o' libtool=no \ depfile='.deps/getopt1.Po' tmpdepfile='.deps/getopt1.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c `test -f 'getopt1.c' || echo './'`getopt1.c getopt1.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | getopt_long (argc, argv, options, long_options, opt_index) | ^ getopt1.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | getopt_long_only (getopt.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ar g216c, argv, options, long_options, opt_index) | ^ | my_index (str, chr) | ^ getopt.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | exchange (argv) | ^ getopt.c:352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | _getopt_initialize (argc, argv, optstring) | ^ getopt.c:365:28: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | posixly_correct = getenv ("POSIXLY_CORRECT"); | ^ getopt.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | _getopt_internal (argc, argv, optstring, longopts, longind, long_only) | ^ getopt.c:527:30: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 527 | if (optind != argc && !strcmp (argv[optind], "--")) | ^ getopt.c:527:30: note: include the header or explicitly provide a declaration for 'strcmp' getopt.c:603:7: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 603 | if (!strncmp (p->name, nextchar, nameend - nextchar)) | ^ getopt.c:603:7: note: include the header or explicitly provide a declaration for 'strncmp' getopt.c:606:21: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 606 | == (unsigned int) strlen (p->name)) | ^ getopt.c:606:21: note: include the header or explicitly provide a declaration for 'strlen' getopt.c:654:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 654 | else | ^ source='html.cc' object='html.o' libtool=no \ depfile='.deps/html.Po' tmpdepfile='.deps/html.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -c -o html.o `test -f 'html.cc' || echo './'`html.cc getopt.c:917:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | getopt (argc, argv, optstring) | ^ 2 warnings generated. /opt/pkg/bin/mksh ../ylwrap `test -f 'java.ll' || echo './'`java.ll lex.javaYY.c java.cc -- flex -PjavaYY 10 warnings generated. source='main.cc' object='main.o' libtool=no \ depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -c -o main.o `test -f 'main.cc' || echo './'`main.cc source='nametable.cc' object='nametable.o' libtool=no \ depfile='.deps/nametable.Po' tmpdepfile='.deps/nametable.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -c -o nametable.o `test -f 'nametable.cc' || echo './'`nametable.cc html.cc:54:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | static char *GENERAL_NAME = "General"; | ^ html.cc:57:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | static char *docType = "\n\n"; | ^ html.cc:200:2: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 200 | sprintf(buf, "%d", *val); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ html.cc:267:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 267 | fprintf(f, _("This page was generated with the help of DOC++.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ html.cc:267:13: note: treat the string as an argument to avoid this 267 | fprintf(f, _("This page was generated with the help of DOC++.\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ html.cc:614:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 614 | fprintf(f, _("

Hierarchy of Classes

\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ html.cc:614:16: note: treat the string as an argument to avoid this 614 | fprintf(f, _("

Hierarchy of Classes

\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ html.cc:820:2: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 820 | sprintf(buf, "%d", cls->indent); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ html.cc:995:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] 995 | else | ^ html.cc:1072:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1072 | fprintf(f, _("\n

Table of Contents

\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ html.cc:1072:16: note: treat the string as an argument to avoid this 1072 | fprintf(f, _("\n

Table of Contents

\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ html.cc:1117:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1117 | fprintf(f, _("

Hierarchy of classes

\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ html.cc:1117:16: note: treat the string as an argument to avoid this 1117 | fprintf(f, _("

Hierarchy of classes

\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ html.cc:1274:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1274 | writeHTMLList(f, entry->invariant, "Invariants"); | ^ html.cc:1278:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1278 | fprintf(f, _("
Throws:
")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ html.cc:1278:13: note: treat the string as an argument to avoid this 1278 | fprintf(f, _("
Throws:
")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ html.cc:1299:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1299 | fprintf(f, _("
Parameters:
")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ html.cc:1299:13: note: treat the string as an argument to avoid this 1299 | fprintf(f, _("
Parameters:
")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ html.cc:1318:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1318 | fprintf(f, _("
Fields:
")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ html.cc:1318:13: note: treat the string as an argument to avoid this 1318 | fprintf(f, _("
Fields:
")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ html.cc:1354:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1354 | fprintf(f, _("
See Also:
")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ html.cc:1354:13: note: treat the string as an argument to avoid this 1354 | fprintf(f, _("
See Also:
")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ html.cc:1518:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 1518 | sprintf(buf0, e->name.c_str()); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ html.cc:1518:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1518 | sprintf(buf0, e->name.c_str()); | ^~~~~~~~~~~~~~~ html.cc:1518:31: note: treat the string as an argument to avoid this 1518 | sprintf(buf0, e->name.c_str()); | ^ | "%s", html.cc:1521:21: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 1521 | sprintf(buf1, "%s::%s", p->name.c_str(), buf0); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ html.cc:1585:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1585 | fprintf(f, _("
\n

Documentation

\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ html.cc:1585:13: note: treat the string as an argument to avoid this 1585 | fprintf(f, _("
\n

Documentation

\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ html.cc:1604:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1604 | fprintf(f, _("
\n\n

Inheritance:

\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ html.cc:1604:17: note: treat the string as an argument to avoid this 1604 | fprintf(f, _("
\n\n

Inheritance:

\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ html.cc:1622:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1622 | memberWriter.startList(f, " ", true); | ^ html.cc:1644:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1644 | fprintf(f, _("
\n

Documentation

\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ html.cc:1644:13: note: treat the string as an argument to avoid this 1644 | fprintf(f, _("
\n

Documentation

\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ html.cc:1660:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1660 | fprintf(f, _("
\n
Direct child classes:\n
")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ html.cc:1660:17: note: treat the string as an argument to avoid this 1660 | fprintf(f, _("
\n
Direct child classes:\n
")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ html.cc:1673:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1673 | fprintf(f, _("\n
This class has no child classes.
\n\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ html.cc:1673:17: note: treat the string as an argument to avoid this 1673 | fprintf(f, _("\n
This class has no child classes.
\n\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ html.cc:1672:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1672 | else | ^ html.cc:1807:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1807 | else | ^ html.cc:2092:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2092 | else | ^ html.cc:2124:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2124 | printf(_("Converting DOC++ to HTML...\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ html.cc:2124:9: note: treat the string as an argument to avoid this 2124 | printf(_("Converting DOC++ to HTML...\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ html.cc:2164:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2164 | printf(_("Writing files...\n")); | ^~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ html.cc:2164:9: note: treat the string as an argument to avoid this 2164 | printf(_("Writing files...\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ html.cc:2182:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2182 | printf(_("Writing TOC...\n")); | ^~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ html.cc:2182:9: note: treat the string as an argument to avoid this 2182 | printf(_("Writing TOC...\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ html.cc:2198:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2198 | printf(_("Writing Class Hierarchy...\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ html.cc:2198:13: note: treat the string as an argument to avoid this 2198 | printf(_("Writing Class Hierarchy...\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:52:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 52 | printf(_("Usage: doc++ [options] [files]\n\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:52:12: note: treat the string as an argument to avoid this 52 | printf(_("Usage: doc++ [options] [files]\n\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:54:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 54 | printf(_("Options:\n")); | ^~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:54:12: note: treat the string as an argument to avoid this 54 | printf(_("Options:\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:55:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 55 | printf(_(" -A --all document all\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:55:12: note: treat the string as an argument to avoid this 55 | printf(_(" -A --all document all\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:56:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 56 | printf(_(" -c --c-comments use C/C++ comments as doc++-comments\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:56:12: note: treat the string as an argument to avoid this 56 | printf(_(" -c --c-comments use C/C++ comments as doc++-comments\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:57:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 57 | printf(_(" -C --config FILE read options from FILE\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:57:12: note: treat the string as an argument to avoid this 57 | printf(_(" -C --config FILE read options from FILE\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:58:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 58 | printf(_(" -h --help display this help and exit\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:58:12: note: treat the string as an argument to avoid this 58 | printf(_(" -h --help display this help and exit\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:59:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 59 | printf(_(" -H --html parse HTML syntax instead of TeX\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:59:12: note: treat the string as an argument to avoid this 59 | printf(_(" -H --html parse HTML syntax instead of TeX\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:60:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 60 | printf(_(" -I --input FILE read a list of input files from FILE\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:60:12: note: treat the string as an argument to avoid this 60 | printf(_(" -I --input FILE read a list of input files from FILE\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:61:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 61 | printf(_(" -J --java parse Java instead of C/C++\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:61:12: note: treat the string as an argument to avoid this 61 | printf(_(" -J --java parse Java instead of C/C++\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:62:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 62 | printf(_(" -nd --no-define ignore `#define' macros\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:62:12: note: treat the string as an argument to avoid this 62 | printf(_(" -nd --no-define ignore `#define' macros\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:63:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 63 | printf(_(" -ng --no-class-graph do not generate class graph\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:63:12: note: treat the string as an argument to avoid this 63 | printf(_(" -ng --no-class-graph do not generate class graph\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:64:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 64 | printf(_(" -p --private document private members\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:64:12: note: treat the string as an argument to avoid this 64 | printf(_(" -p --private document private members\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:65:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 65 | printf(_(" -q --quick optimize for speed instead of size\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:65:12: note: treat the string as an argument to avoid this 65 | printf(_(" -q --quick optimize for speed instead of size\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:66:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 66 | printf(_(" -Q --quantel Quantel extensions, folding & appended comments\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:66:12: note: treat the string as an argument to avoid this 66 | printf(_(" -Q --quantel Quantel extensions, folding & appended comments\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:67:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 67 | printf(_(" -R --internal-doc generate internal documentation\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:67:12: note: treat the string as an argument to avoid this 67 | printf(_(" -R --internal-doc generate internal documentation\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:68:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 68 | printf(_(" -u --upwards-arrows upwards arrows in class graphs\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:68:12: note: treat the string as an argument to avoid this 68 | printf(_(" -u --upwards-arrows upwards arrows in class graphs\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:69:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 69 | printf(_(" -v --verbose turn verbose mode on\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:69:12: note: treat the string as an argument to avoid this 69 | printf(_(" -v --verbose turn verbose mode on\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:70:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 70 | printf(_(" -V --version output version information and exit\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:70:12: note: treat the string as an argument to avoid this 70 | printf(_(" -V --version output version information and exit\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:71:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 71 | printf(_(" -y --scan-includes scan `#include'ed header files\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:71:12: note: treat the string as an argument to avoid this 71 | printf(_(" -y --scan-includes scan `#include'ed header files\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:72:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 72 | printf(_(" -Y --idl parse IDL instead of C/C++\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:72:12: note: treat the string as an argument to avoid this 72 | printf(_(" -Y --idl parse IDL instead of C/C++\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:73:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 73 | printf(_(" -z --php parse PHP instead of C/C++\n\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:73:12: note: treat the string as an argument to avoid this 73 | printf(_(" -z --php parse PHP instead of C/C++\n\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:75:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 75 | printf(_("Alternate output types instead of HTML:\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:75:12: note: treat the string as an argument to avoid this 75 | printf(_("Alternate output types instead of HTML:\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:76:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 76 | printf(_(" -t --tex TeX output output\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:76:12: note: treat the string as an argument to avoid this 76 | printf(_(" -t --tex TeX output output\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:77:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 77 | printf(_(" -Z --docbook DocBook SGML output\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:77:12: note: treat the string as an argument to avoid this 77 | printf(_(" -Z --docbook DocBook SGML output\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:78:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 78 | printf(_(" -L --docbookxml DocBook XML output\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:78:12: note: treat the string as an argument to avoid this 78 | printf(_(" -L --docbookxml DocBook XML output\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:80:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 80 | printf(_("Additional options for HTML output:\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:80:12: note: treat the string as an argument to avoid this 80 | printf(_("Additional options for HTML output:\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:81:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 81 | printf(_(" -a --tables use tables instead of description lists\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:81:12: note: treat the string as an argument to avoid this 81 | printf(_(" -a --tables use tables instead of description lists\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:82:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 82 | printf(_(" -b --tables-border use tables with borders\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:82:12: note: treat the string as an argument to avoid this 82 | printf(_(" -b --tables-border use tables with borders\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:83:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 83 | printf(_(" -B --footer FILE use FILE as footer on HTML pages\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:83:12: note: treat the string as an argument to avoid this 83 | printf(_(" -B --footer FILE use FILE as footer on HTML pages\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:84:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 84 | printf(_(" -d --dir DIR use DIR for the output directory\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:84:12: note: treat the string as an argument to avoid this 84 | printf(_(" -d --dir DIR use DIR for the output directory\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:85:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 85 | printf(_(" -f --filenames show filenames in manual pages\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:85:12: note: treat the string as an argument to avoid this 85 | printf(_(" -f --filenames show filenames in manual pages\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:86:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 86 | printf(_(" -F --filenames-path show filenames with path in manual pages\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:86:12: note: treat the string as an argument to avoid this 86 | printf(_(" -F --filenames-path show filenames with path in manual pages\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:87:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 87 | printf(_(" -g --no-gifs do not generate GIFs for equations, etc.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:87:12: note: treat the string as an argument to avoid this 87 | printf(_(" -g --no-gifs do not generate GIFs for equations, etc.\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:88:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 88 | printf(_(" -G --gifs force generation of GIFs\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:88:12: note: treat the string as an argument to avoid this 88 | printf(_(" -G --gifs force generation of GIFs\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:89:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 89 | printf(_(" -i --no-inherited don't show inherited members\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:89:12: note: treat the string as an argument to avoid this 89 | printf(_(" -i --no-inherited don't show inherited members\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:90:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 90 | printf(_(" -j --no-java-graphs suppress Java class graphs\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:90:12: note: treat the string as an argument to avoid this 90 | printf(_(" -j --no-java-graphs suppress Java class graphs\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:91:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 91 | printf(_(" -k --trivial-graphs keep trivial class graphs\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:91:12: note: treat the string as an argument to avoid this 91 | printf(_(" -k --trivial-graphs keep trivial class graphs\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:92:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 92 | printf(_(" -K --stylesheet FILE use FILE as HTML style sheet\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:92:12: note: treat the string as an argument to avoid this 92 | printf(_(" -K --stylesheet FILE use FILE as HTML style sheet\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:93:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 93 | printf(_(" -m --no-members don't show all members in DOC section\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:93:12: note: treat the string as an argument to avoid this 93 | printf(_(" -m --no-members don't show all members in DOC section\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:94:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 94 | printf(_(" -M --full-toc show members in TOC\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:94:12: note: treat the string as an argument to avoid this 94 | printf(_(" -M --full-toc show members in TOC\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:95:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 95 | printf(_(" -P --no-general discard general stuff\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:95:12: note: treat the string as an argument to avoid this 95 | printf(_(" -P --no-general discard general stuff\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:96:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 96 | printf(_(" -S --sort sort entries alphabetically\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:96:12: note: treat the string as an argument to avoid this 96 | printf(_(" -S --sort sort entries alphabetically\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:97:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 97 | printf(_(" -T --header FILE use FILE as header on HTML pages\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:97:12: note: treat the string as an argument to avoid this 97 | printf(_(" -T --header FILE use FILE as header on HTML pages\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:98:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 98 | printf(_(" -w --before-group print group documentation before group\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:98:12: note: treat the string as an argument to avoid this 98 | printf(_(" -w --before-group print group documentation before group\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:99:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 99 | printf(_(" -W --before-class print class documentation before group\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:99:12: note: treat the string as an argument to avoid this 99 | printf(_(" -W --before-class print class documentation before group\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:100:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 100 | printf(_(" -x --suffix SUFFIX use SUFFIX instead of \".html\"\n\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:100:12: note: treat the string as an argument to avoid this 100 | printf(_(" -x --suffix SUFFIX use SUFFIX instead of \".html\"\n\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:102:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 102 | printf(_("Additional options for TeX output:\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:102:12: note: treat the string as an argument to avoid this 102 | printf(_("Additional options for TeX output:\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:103:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 103 | printf(_(" -ec --class-graph only generates class graph\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:103:12: note: treat the string as an argument to avoid this 103 | printf(_(" -ec --class-graph only generates class graph\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:104:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 104 | printf(_(" -ef --env FILE read TeX environment from FILE\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:104:12: note: treat the string as an argument to avoid this 104 | printf(_(" -ef --env FILE read TeX environment from FILE\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:105:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 105 | printf(_(" -ei --index generate the index only\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:105:12: note: treat the string as an argument to avoid this 105 | printf(_(" -ei --index generate the index only\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:106:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 106 | printf(_(" -eo --style OPTION setup TeX style OPTION\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:106:12: note: treat the string as an argument to avoid this 106 | printf(_(" -eo --style OPTION setup TeX style OPTION\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:107:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 107 | printf(_(" -ep --package FILE setup TeX to use package FILE\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:107:12: note: treat the string as an argument to avoid this 107 | printf(_(" -ep --package FILE setup TeX to use package FILE\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:108:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 108 | printf(_(" -et --title FILE use content of FILE as TeX title page\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:108:12: note: treat the string as an argument to avoid this 108 | printf(_(" -et --title FILE use content of FILE as TeX title page\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:109:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 109 | printf(_(" -D --depth DEPTH set minimum depth (number of levels) in TOC\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:109:12: note: treat the string as an argument to avoid this 109 | printf(_(" -D --depth DEPTH set minimum depth (number of levels) in TOC\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:110:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 110 | printf(_(" -l --no-env do not generate TeX environment\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:110:12: note: treat the string as an argument to avoid this 110 | printf(_(" -l --no-env do not generate TeX environment\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:111:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 111 | printf(_(" -o --output FILE set output file name\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:111:12: note: treat the string as an argument to avoid this 111 | printf(_(" -o --output FILE set output file name\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:112:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 112 | printf(_(" -s --source generate source code listing\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:112:12: note: treat the string as an argument to avoid this 112 | printf(_(" -s --source generate source code listing\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:113:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 113 | printf(_(" -X --hide-index don't generate index at section start\n\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:113:12: note: treat the string as an argument to avoid this 113 | printf(_(" -X --hide-index don't generate index at section start\n\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:115:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 115 | printf(_("Mail bug reports and suggestions to \n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:115:12: note: treat the string as an argument to avoid this 115 | printf(_("Mail bug reports and suggestions to \n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:230:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 230 | missingArg("--config"); | ^ main.cc:244:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 244 | missingArg("--input"); | ^ main.cc:327:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 327 | missingArg("--footer"); | ^ main.cc:335:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 335 | missingArg("--dir"); | ^ main.cc:374:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 374 | missingArg("--header"); | ^ main.cc:388:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 388 | missingArg("--suffix"); | ^ main.cc:396:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 396 | missingArg("--stylesheet"); | ^ main.cc:407:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 407 | missingArg("--env"); | ^ main.cc:418:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 418 | missingArg("--style"); | ^ main.cc:426:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 426 | missingArg("--package"); | ^ main.cc:434:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 434 | missingArg("--title"); | ^ main.cc:445:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 445 | missingArg("--depth"); | ^ main.cc:449:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 449 | fprintf(stderr, _("Ignoring option `--depth': bad argument specified\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:449:27: note: treat the string as an argument to avoid this 449 | fprintf(stderr, _("Ignoring option `--depth': bad argument specified\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:459:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 459 | missingArg("--output"); | ^ main.cc:558:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 558 | fprintf(stderr, _("No input files. Try `doc++ --help'\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:558:18: note: treat the string as an argument to avoid this 558 | fprintf(stderr, _("No input files. Try `doc++ --help'\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:579:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 579 | printf(_("Reading files...\n")); | ^~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:579:9: note: treat the string as an argument to avoid this 579 | printf(_("Reading files...\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:613:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 613 | printf(_("Generating source code listing...\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:613:17: note: treat the string as an argument to avoid this 613 | printf(_("Generating source code listing...\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:616:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 616 | printf(_("Done.\n")); | ^~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:616:13: note: treat the string as an argument to avoid this 616 | printf(_("Done.\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:622:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 622 | printf(_("Parsing...\n")); | ^~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:622:9: note: treat the string as an argument to avoid this 622 | printf(_("Parsing...\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:636:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 636 | printf(_("Merging duplicate entries...\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:636:9: note: treat the string as an argument to avoid this 636 | printf(_("Merging duplicate entries...\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:641:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 641 | printf(_("Sorting entries...\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:641:9: note: treat the string as an argument to avoid this 641 | printf(_("Sorting entries...\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:646:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 646 | printf(_("Resolving references...\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:646:9: note: treat the string as an argument to avoid this 646 | printf(_("Resolving references...\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ main.cc:679:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 679 | printf(_("Done.\n")); | ^~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ main.cc:679:9: note: treat the string as an argument to avoid this 679 | printf(_("Done.\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ 82 warnings generated. 30 warnings generated. /opt/pkg/bin/mksh ../ylwrap `test -f 'php.ll' || echo './'`php.ll lex.phpYY.c php.cc -- flex -PphpYY /opt/pkg/bin/mksh ../ylwrap `test -f 'readfiles.ll' || echo './'`readfiles.ll lex.readfilesYY.c readfiles.cc -- flex -PreadfilesYY source='tex2gif.cc' object='tex2gif.o' libtool=no \ depfile='.deps/tex2gif.Po' tmpdepfile='.deps/tex2gif.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -c -o tex2gif.o `test -f 'tex2gif.cc' || echo './'`tex2gif.cc /opt/pkg/bin/mksh ../ylwrap `test -f 'docify.ll' || echo './'`docify.ll lex.docifyYY.c docify.cc -- flex -PdocifyYY /opt/pkg/bin/mksh ../ylwrap `test -f 'promote.ll' || echo './'`promote.ll lex.promoteYY.c promote.cc -- flex -PpromoteYY source='comment.cc' object='comment.o' libtool=no \ depfile='.deps/comment.Po' tmpdepfile='.deps/comment.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -c -o comment.o `test -f 'comment.cc' || echo './'`comment.cc source='config.cc' object='config.o' libtool=no \ depfile='.deps/config.Po' tmpdepfile='.deps/config.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -c -o config.o `test -f 'config.cc' || echo './'`config.cc source='cpp.cc' object='cpp.o' libtool=no \ depfile='.deps/cpp.Po' tmpdepfile='.deps/cpp.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -c -o cpp.o `test -f 'cpp.cc' || echo './'`cpp.cc tex2gif.cc:130:2: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 130 | sprintf(buf, "g%06d.gif", n); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ tex2gif.cc:150:2: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 150 | sprintf(buf, "dvips -D 600 -E -n 1 -p %d -o dxx%04d.eps dxxgifs.dvi", | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ tex2gif.cc:158:2: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 158 | sprintf(buf, "dxx%04d.eps", i); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ tex2gif.cc:195:6: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 195 | sprintf(buf, "gs -g%dx%d -r%dx%d -sDEVICE=ppmraw -sOutputFile=dxxtmp.pnm -DNOPAUSE -- dxxps.ps", | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ tex2gif.cc:199:6: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 199 | sprintf(buf, "pnmscale -xscale .333 -yscale .333 dxxtmp.pnm | " | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ tex2gif.cc:204:6: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 204 | sprintf(buf, "dxx%04d.eps", i); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ tex2gif.cc:210:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 210 | fprintf(stderr, _("Warning: problems generating GIFs. Check file `dxxgifs.tex'.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^~~~~~~~~~ tex2gif.cc:210:22: note: treat the string as an argument to avoid this 210 | fprintf(stderr, _("Warning: problems generating GIFs. Check file `dxxgifs.tex'.\n")); | ^ | "%s", ./doc.h:38:14: note: expanded from macro '_' 38 | #define _(x) gettext(x) | ^ 7 warnings generated. source='doc.cc' object='doc.o' libtool=no \ depfile='.deps/doc.Po' tmpdepfile='.deps/doc.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -c -o doc.o `test -f 'doc.cc' || echo './'`doc.cc source='doc2dbxml.cc' object='doc2dbxml.o' libtool=no \ depfile='.deps/doc2dbxml.Po' tmpdepfile='.deps/doc2dbxml.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -c -o doc2dbxml.o `test -f 'doc2dbxml.cc' || echo './'`doc2dbxml.cc cpp.ll:64:5: warning: 'vsprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use vsnprintf(3) instead. [-Wdeprecated-declarations] 64 | vsprintf(s, __fmt, argptr); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:298:1: note: 'vsprintf' has been explicitly marked deprecated here 298 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use vsnprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ 1 warning generated. source='doc2dbsgml.cc' object='doc2dbsgml.o' libtool=no \ depfile='.deps/doc2dbsgml.Po' tmpdepfile='.deps/doc2dbsgml.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -c -o doc2dbsgml.o `test -f 'doc2dbsgml.cc' || echo './'`doc2dbsgml.cc source='doc2html.cc' object='doc2html.o' libtool=no \ depfile='.deps/doc2html.Po' tmpdepfile='.deps/doc2html.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -c -o doc2html.o `test -f 'doc2html.cc' || echo './'`doc2html.cc doc2dbxml.ll:1256:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1256 | sectionType = "Variables/Constants"; | ^ doc2dbxml.ll:1259:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1259 | sectionType = "Functions/Methods"; | ^ doc2dbxml.ll:1262:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1262 | sectionType = "Macros"; | ^ doc2dbxml.ll:1265:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1265 | sectionType = "Classes"; | ^ doc2dbxml.ll:1268:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1268 | sectionType = "Interfaces"; | ^ doc2dbxml.ll:1271:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1271 | sectionType = "Unions"; | ^ doc2dbxml.ll:1274:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1274 | sectionType = "Typedefs"; | ^ doc2dbxml.ll:1277:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1277 | sectionType = "Namespaces"; | ^ doc2dbxml.ll:1402:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1402 | else | ^ 9 warnings generated. source='doc2tex.cc' object='doc2tex.o' libtool=no \ depfile='.deps/doc2tex.Po' tmpdepfile='.deps/doc2tex.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -c -o doc2tex.o `test -f 'doc2tex.cc' || echo './'`doc2tex.cc doc2dbsgml.ll:1208:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1208 | sectionType = "Variables/Constants"; | ^ doc2dbsgml.ll:1211:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1211 | sectionType = "Functions/Methods"; | ^ doc2dbsgml.ll:1214:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1214 | sectionType = "Macros"; | ^ doc2dbsgml.ll:1217:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1217 | sectionType = "Classes"; | ^ doc2dbsgml.ll:1220:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1220 | sectionType = "Interfaces"; | ^ doc2dbsgml.ll:1223:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1223 | sectionType = "Unions"; | ^ doc2dbsgml.ll:1226:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1226 | sectionType = "Namespaces"; | ^ doc2dbsgml.ll:1341:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1341 | else | ^ 8 warnings generated. source='doc2xml.cc' object='doc2xml.o' libtool=no \ depfile='.deps/doc2xml.Po' tmpdepfile='.deps/doc2xml.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -c -o doc2xml.o `test -f 'doc2xml.cc' || echo './'`doc2xml.cc source='java.cc' object='java.o' libtool=no \ depfile='.deps/java.Po' tmpdepfile='.deps/java.TPo' \ depmode=gcc3 /opt/pkg/bin/mksh ../depcomp \ clang++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=\"/opt/pkg/share/locale\" -I/opt/pkg/include -c -o java.o `test -f 'java.cc' || echo './'`java.cc doc2html.ll:91:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 91 | sprintf(buf, "", num); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ doc2html.ll:266:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 266 | push(""); | ^ doc2html.ll:271:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 271 | push(""); | ^ doc2html.ll:276:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 276 | push(""); | ^ doc2html.ll:281:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 281 | push(""); | ^ doc2html.ll:286:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 286 | push(""); | ^ doc2html.ll:291:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 291 | push(""); | ^ doc2html.ll:296:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 296 | push(""); | ^ doc2html.ll:301:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 301 | push(""); | ^ doc2html.ll:306:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 306 | push(""); | ^ doc2html.ll:311:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 311 | push(""); | ^ doc2html.ll:316:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 316 | push(""); | ^ doc2html.ll:321:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 321 | push(""); | ^ doc2html.ll:326:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 326 | push(""); | ^ doc2html.ll:331:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 331 | push(""); | ^ doc2html.ll:336:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 336 | push(""); | ^ doc2html.ll:341:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 341 | push(""); | ^ doc2html.ll:346:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 346 | push(""); | ^ doc2html.ll:351:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 351 | push(""); | ^ doc2html.ll:360:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 360 | push("}"); | ^ doc2html.ll:855:5: error: reference to 'stack' is ambiguous 855 | stack.append(s); | ^ doc2html.ll:844:19: note: candidate found by name lookup is 'stack' 844 | McDArray stack; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/stack:153:28: note: candidate found by name lookup is 'std::stack' 153 | class _LIBCPP_TEMPLATE_VIS stack { | ^ doc2html.ll:860:8: error: reference to 'stack' is ambiguous 860 | if(stack.size()) | ^ doc2html.ll:844:19: note: candidate found by name lookup is 'stack' 844 | McDArray stack; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/stack:153:28: note: candidate found by name lookup is 'std::stack' 153 | class _LIBCPP_TEMPLATE_VIS stack { | ^ doc2html.ll:860:8: error: reference to 'stack' is ambiguous 860 | if(stack.size()) | ^ doc2html.ll:844:19: note: candidate found by name lookup is 'stack' 844 | McDArray stack; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/stack:153:28: note: candidate found by name lookup is 'std::stack' 153 | class _LIBCPP_TEMPLATE_VIS stack { | ^ doc2html.ll:860:8: error: use of class template 'stack' requires template arguments 860 | if(stack.size()) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/stack:153:28: note: template is declared here 152 | template */> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | class _LIBCPP_TEMPLATE_VIS stack { | ^ doc2html.ll:860:13: error: cannot use dot operator on a type 860 | if(stack.size()) | ^ doc2html.ll:862:12: error: reference to 'stack' is ambiguous 862 | char *s = stack.last(); | ^ doc2html.ll:844:19: note: candidate found by name lookup is 'stack' 844 | McDArray stack; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/stack:153:28: note: candidate found by name lookup is 'std::stack' 153 | class _LIBCPP_TEMPLATE_VIS stack { | ^ doc2html.ll:863:2: error: reference to 'stack' is ambiguous 863 | stack.removeLast(); | ^ doc2html.ll:844:19: note: candidate found by name lookup is 'stack' 844 | McDArray stack; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/stack:153:28: note: candidate found by name lookup is 'std::stack' 153 | class _LIBCPP_TEMPLATE_VIS stack { | ^ doc2html.ll:867:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 867 | return ("}"); | ^ doc2html.ll:890:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 890 | else | ^ doc2html.ll:898:5: error: reference to 'stack' is ambiguous 898 | stack.resize(0); | ^ doc2html.ll:844:19: note: candidate found by name lookup is 'stack' 844 | McDArray stack; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/stack:153:28: note: candidate found by name lookup is 'std::stack' 153 | class _LIBCPP_TEMPLATE_VIS stack { | ^ doc2html.ll:927:5: error: reference to 'stack' is ambiguous 927 | stack.resize(0); | ^ doc2html.ll:844:19: note: candidate found by name lookup is 'stack' 844 | McDArray stack; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/stack:153:28: note: candidate found by name lookup is 'std::stack' 153 | class _LIBCPP_TEMPLATE_VIS stack { | ^ 22 warnings and 9 errors generated. gmake[2]: *** [Makefile:322: doc2html.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... doc2tex.ll:173:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 173 | fprintf(out, yytext); | ^~~~~~ doc2tex.cc:26:16: note: expanded from macro 'yytext' 26 | #define yytext doc2texYYtext | ^~~~~~~~~~~~~ doc2tex.ll:173:21: note: treat the string as an argument to avoid this 173 | fprintf(out, yytext); | ^ | "%s", doc2tex.cc:26:16: note: expanded from macro 'yytext' 26 | #define yytext doc2texYYtext | ^ doc2tex.ll:211:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 211 | fprintf(out, refStr.c_str()); | ^~~~~~~~~~~~~~ doc2tex.ll:211:21: note: treat the string as an argument to avoid this 211 | fprintf(out, refStr.c_str()); | ^ | "%s", doc2tex.ll:318:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 318 | fprintf(out, imgArg2.c_str()); | ^~~~~~~~~~~~~~~ doc2tex.ll:318:18: note: treat the string as an argument to avoid this 318 | fprintf(out, imgArg2.c_str()); | ^ | "%s", doc2tex.ll:338:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 338 | fprintf(out, timebuf); | ^~~~~~~ doc2tex.ll:338:17: note: treat the string as an argument to avoid this 338 | fprintf(out, timebuf); | ^ | "%s", doc2tex.ll:1304:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1304 | dumpTeXList(entry, &fields, entry->invariant, "Invariants"); | ^ doc2tex.ll:1305:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1305 | dumpTeXList(entry, &fields, entry->exception, "Exceptions"); | ^ doc2tex.ll:1306:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1306 | dumpTeXList(entry, &fields, entry->param, "Parameter"); | ^ doc2tex.ll:1307:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1307 | dumpTeXList(entry, &fields, entry->retrn, "Return"); | ^ doc2tex.ll:1308:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1308 | dumpTeXList(entry, &fields, entry->precondition, "Preconditions"); | ^ doc2tex.ll:1309:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1309 | dumpTeXList(entry, &fields, entry->postcondition, "Postconditions"); | ^ doc2tex.ll:1311:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1311 | dumpTeXField(entry, &fields, entry->author, "Author"); | ^ doc2tex.ll:1312:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1312 | dumpTeXField(entry, &fields, entry->version, "Version"); | ^ doc2tex.ll:1313:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1313 | dumpTeXField(entry, &fields, entry->deprecated, "Deprecated"); | ^ doc2tex.ll:1314:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1314 | dumpTeXField(entry, &fields, entry->since, "Since"); | ^ doc2tex.ll:1407:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1407 | sectionType = "Variables/Constants"; | ^ doc2tex.ll:1410:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1410 | sectionType = "Functions/Methods"; | ^ doc2tex.ll:1413:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1413 | sectionType = "Macros"; | ^ doc2tex.ll:1416:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1416 | sectionType = "Classes"; | ^ doc2tex.ll:1419:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1419 | sectionType = "Interfaces"; | ^ doc2tex.ll:1422:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1422 | sectionType = "Unions"; | ^ doc2tex.ll:1425:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1425 | sectionType = "Namespaces"; | ^ doc2tex.ll:1540:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1540 | else | ^ 22 warnings generated. gmake[2]: Leaving directory '/var/tmp/work/devel/doc++/work/doc++-3.4.10/src' gmake[1]: *** [Makefile:213: all] Error 2 gmake[1]: Leaving directory '/var/tmp/work/devel/doc++/work/doc++-3.4.10/src' gmake: *** [Makefile:163: all-recursive] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/doc++ *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/doc++