>>> Building on exopi-4 under print/htmldoc BDEPENDS = [graphics/jpeg;graphics/png;devel/dwz;print/cups,-libs] DIST = [print/htmldoc:htmldoc-1.9.23-source.tar.gz] FULLPKGNAME = htmldoc-1.9.23p0 RDEPENDS = [graphics/png;graphics/jpeg;print/cups,-libs] Avoided depends for dwz-0.16p1 cups-libs-2.4.19 jpeg-3.1.4.1v0 png-1.6.58 distfiles size=3293703 >>> Running build in print/htmldoc at 1780757744.75 ===> print/htmldoc ===> Building from scratch htmldoc-1.9.23p0 ===> htmldoc-1.9.23p0 depends on: dwz-* -> dwz-0.16p1 ===> htmldoc-1.9.23p0 depends on: jpeg-* -> jpeg-3.1.4.1v0 ===> htmldoc-1.9.23p0 depends on: png-* -> png-1.6.58 ===> htmldoc-1.9.23p0 depends on: cups-libs-* -> cups-libs-2.4.19 ===> Verifying specs: c++ c++abi pthread c cups jpeg m png z ===> found c++.12.0 c++abi.9.0 pthread.28.1 c.103.0 cups.7.3 jpeg.71.0 m.10.1 png.18.2 z.7.2 ===> Checking files for htmldoc-1.9.23p0 `/exopi-cvs/ports/distfiles/htmldoc-1.9.23-source.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for htmldoc-1.9.23p0 ===> Patching for htmldoc-1.9.23p0 ===> Applying OpenBSD patch patch-Makedefs_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: Makedefs.in |--- Makedefs.in.orig |+++ Makedefs.in -------------------------- Patching file Makedefs.in using Plan A... Hunk #1 succeeded at 80. done ===> Applying OpenBSD patch patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: configure |--- configure.orig |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 5516 (offset 61 lines). done ===> Applying OpenBSD patch patch-htmldoc_file_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: htmldoc/file.c |--- htmldoc/file.c.orig |+++ htmldoc/file.c -------------------------- Patching file htmldoc/file.c using Plan A... Hunk #1 succeeded at 67. Hunk #2 succeeded at 171. Hunk #3 succeeded at 1170. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for htmldoc-1.9.23p0 ===> Configuring for htmldoc-1.9.23p0 Using /exopi-obj/pobj/htmldoc-1.9.23/config.site (generated) configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc configure: loading site script /exopi-obj/pobj/htmldoc-1.9.23/config.site checking build system type... x86_64-unknown-openbsd7.9 checking host system type... x86_64-unknown-openbsd7.9 checking for gawk... (cached) awk checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether the compiler supports GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to enable C11 features... none needed checking whether the compiler supports GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking for c++ option to enable C++11 features... none needed checking how to run the C preprocessor... cc -E checking for ranlib... (cached) ranlib checking for ar... /usr/bin/ar checking for cp... (cached) /bin/cp checking for fltk-config... no checking for install-sh script... using /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh checking for mkdir... /bin/mkdir checking for rm... (cached) /bin/rm checking for pkg-config... /usr/bin/pkg-config checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for strings.h... (cached) yes checking for locale.h... (cached) yes checking for strdup... (cached) yes checking for strcasecmp... (cached) yes checking for strncasecmp... (cached) yes checking for strlcat... (cached) yes checking for strlcpy... (cached) yes checking for snprintf... (cached) yes checking for vsnprintf... (cached) yes checking for tm_gmtoff member in tm structure... yes checking for pow in -lm... (cached) yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for cups-config... /usr/local/bin/cups-config checking for CUPS library v2.2 or higher... yes, v2.4.19 checking for libjpeg... yes checking for zlib... yes checking for libpng-1.6.x... yes checking whether compiler supports -Wno-char-subscripts... yes checking whether compiler supports -Wno-deprecated-declarations... yes checking whether compiler supports -Wno-format-truncation... yes checking whether compiler supports -Wno-format-y2k... yes checking whether compiler supports -Wno-switch... yes checking whether compiler supports -Wno-unused-result... yes checking whether GCC supports -fno-rtti... yes checking whether GCC supports -fno-exceptions... yes checking for OS-specific compiler options... none configure: creating ./config.status config.status: creating Makedefs config.status: creating Makefile config.status: creating desktop/htmldoc.plist config.status: creating config.h configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc configure: Using CFLAGS=-O2 -pipe -g -D_FORTIFY_SOURCE=3 configure: Using CPPFLAGS=-I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 configure: Using CXXFLAGS=-O2 -pipe -g -I/usr/local/include -D_FORTIFY_SOURCE=3 -fno-rtti -fno-exceptions configure: Using LDFLAGS=-L/usr/local/lib configure: Using LIBS=-L/usr/local/lib -lpng -lz -lm -L/usr/local/lib -lcups -L/usr/local/lib -ljpeg ===> Building for htmldoc-1.9.23p0 for dir in htmldoc doc; do echo Making all in $dir...; (cd $dir; /usr/bin/make - mkdir_p=mkdir\ -p\ -- SHARED_LIBS_LOG=/exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/shared_libs.log LIBTOOL=/usr/bin/libtool ) || exit 1; done Making all in htmldoc... c++ -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -I/usr/local/include -D_FORTIFY_SOURCE=3 -fno-rtti -fno-exceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c gui.cxx In file included from gui.cxx:11: In file included from ./htmldoc.h:19: ./html.h:282:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:282:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:282:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:283:37: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:37: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:283:27: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:27: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:283:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^ ./html.h:284:40: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:40: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:284:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:30: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:284:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^ ./html.h:290:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:290:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:290:20: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:291:32: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:291:32: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:291:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^ 14 warnings generated. c++ -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -I/usr/local/include -D_FORTIFY_SOURCE=3 -fno-rtti -fno-exceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c epub.cxx In file included from epub.cxx:10: In file included from ./htmldoc.h:19: ./html.h:282:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:282:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:282:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:283:37: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:37: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:283:27: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:27: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:283:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^ ./html.h:284:40: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:40: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:284:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:30: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:284:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^ ./html.h:290:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:290:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:290:20: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:291:32: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:291:32: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:291:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^ 14 warnings generated. c++ -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -I/usr/local/include -D_FORTIFY_SOURCE=3 -fno-rtti -fno-exceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c html.cxx In file included from html.cxx:11: In file included from ./htmldoc.h:19: ./html.h:282:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:282:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:282:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:283:37: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:37: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:283:27: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:27: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:283:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^ ./html.h:284:40: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:40: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:284:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:30: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:284:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^ ./html.h:290:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:290:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:290:20: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:291:32: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:291:32: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:291:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^ 14 warnings generated. c++ -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -I/usr/local/include -D_FORTIFY_SOURCE=3 -fno-rtti -fno-exceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c htmldoc.cxx In file included from htmldoc.cxx:16: In file included from ./htmldoc.h:19: ./html.h:282:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:282:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:282:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:283:37: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:37: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:283:27: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:27: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:283:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^ ./html.h:284:40: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:40: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:284:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:30: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:284:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^ ./html.h:290:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:290:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:290:20: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:291:32: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:291:32: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:291:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^ 14 warnings generated. c++ -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -I/usr/local/include -D_FORTIFY_SOURCE=3 -fno-rtti -fno-exceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c htmlsep.cxx In file included from htmlsep.cxx:12: In file included from ./htmldoc.h:19: ./html.h:282:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:282:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:282:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:283:37: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:37: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:283:27: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:27: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:283:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^ ./html.h:284:40: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:40: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:284:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:30: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:284:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^ ./html.h:290:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:290:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:290:20: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:291:32: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:291:32: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:291:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^ 14 warnings generated. c++ -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -I/usr/local/include -D_FORTIFY_SOURCE=3 -fno-rtti -fno-exceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c license.cxx In file included from license.cxx:12: In file included from ./htmldoc.h:19: ./html.h:282:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:282:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:282:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:283:37: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:37: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:283:27: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:27: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:283:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^ ./html.h:284:40: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:40: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:284:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:30: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:284:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^ ./html.h:290:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:290:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:290:20: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:291:32: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:291:32: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:291:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^ 14 warnings generated. c++ -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -I/usr/local/include -D_FORTIFY_SOURCE=3 -fno-rtti -fno-exceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c markdown.cxx In file included from markdown.cxx:14: In file included from ./markdown.h:17: ./html.h:282:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:282:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:282:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:283:37: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:37: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:283:27: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:27: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:283:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^ ./html.h:284:40: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:40: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:284:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:30: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:284:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^ ./html.h:290:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:290:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:290:20: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:291:32: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:291:32: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:291:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^ 14 warnings generated. cc -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c mmd.c c++ -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -I/usr/local/include -D_FORTIFY_SOURCE=3 -fno-rtti -fno-exceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c ps-pdf.cxx In file included from ps-pdf.cxx:28: In file included from ./htmldoc.h:19: ./html.h:282:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:282:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:282:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:283:37: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:37: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:283:27: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:27: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:283:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^ ./html.h:284:40: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:40: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:284:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:30: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:284:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^ ./html.h:290:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:290:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:290:20: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:291:32: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:291:32: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:291:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^ ps-pdf.cxx:204:16: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 204 | font_objects[TYPE_MAX * STYLE_MAX]; | ^~~~~~~~~~~~~~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ps-pdf.cxx:204:16: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ps-pdf.cxx:204:3: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 204 | font_objects[TYPE_MAX * STYLE_MAX]; | ^ ps-pdf.cxx:2470:19: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 2470 | int fonts_used[TYPE_MAX * STYLE_MAX]; | ^~~~~~~~~~~~~~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ps-pdf.cxx:2470:19: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ps-pdf.cxx:11441:29: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 11441 | int fonts_used[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ps-pdf.cxx:11441:29: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ps-pdf.cxx:11441:19: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 11441 | int fonts_used[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ps-pdf.cxx:11441:19: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ps-pdf.cxx:11443:28: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 11443 | int font_desc[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ps-pdf.cxx:11443:28: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ps-pdf.cxx:11443:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 11443 | int font_desc[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ps-pdf.cxx:11443:18: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ 21 warnings generated. cc -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c rc4.c cc -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c zipc.c cc -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c file.c c++ -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -I/usr/local/include -D_FORTIFY_SOURCE=3 -fno-rtti -fno-exceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c htmllib.cxx In file included from htmllib.cxx:11: In file included from ./htmldoc.h:19: ./html.h:282:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:282:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:282:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:283:37: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:37: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:283:27: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:27: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:283:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^ ./html.h:284:40: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:40: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:284:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:30: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:284:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^ ./html.h:290:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:290:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:290:20: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:291:32: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:291:32: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:291:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^ htmllib.cxx:143:34: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 143 | int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX] = | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmllib.cxx:143:34: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ htmllib.cxx:143:24: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 143 | int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX] = | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmllib.cxx:143:24: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ htmllib.cxx:143:6: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 143 | int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX] = | ^ htmllib.cxx:154:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 154 | short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmllib.cxx:154:30: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ htmllib.cxx:154:20: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 154 | short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmllib.cxx:154:20: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ htmllib.cxx:154:8: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 154 | short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^ htmllib.cxx:156:33: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 156 | short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmllib.cxx:156:33: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ htmllib.cxx:156:23: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 156 | short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmllib.cxx:156:23: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ htmllib.cxx:156:8: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 156 | short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^ htmllib.cxx:166:34: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 166 | const char *_htmlFonts[TYPE_MAX][STYLE_MAX] = | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmllib.cxx:166:34: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ htmllib.cxx:166:24: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 166 | const char *_htmlFonts[TYPE_MAX][STYLE_MAX] = | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmllib.cxx:166:24: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ htmllib.cxx:166:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 166 | const char *_htmlFonts[TYPE_MAX][STYLE_MAX] = | ^ htmllib.cxx:217:25: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 217 | int _htmlStandardFonts[TYPE_MAX] = | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmllib.cxx:217:25: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ htmllib.cxx:217:6: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 217 | int _htmlStandardFonts[TYPE_MAX] = | ^ 28 warnings generated. c++ -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -I/usr/local/include -D_FORTIFY_SOURCE=3 -fno-rtti -fno-exceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c image.cxx In file included from image.cxx:15: In file included from ./htmldoc.h:19: ./html.h:282:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:282:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:282:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:283:37: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:37: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:283:27: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:27: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:283:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^ ./html.h:284:40: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:40: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:284:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:30: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:284:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^ ./html.h:290:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:290:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:290:20: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:291:32: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:291:32: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:291:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^ 14 warnings generated. c++ -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -I/usr/local/include -D_FORTIFY_SOURCE=3 -fno-rtti -fno-exceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c iso8859.cxx In file included from iso8859.cxx:15: ./html.h:282:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:282:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:282:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:283:37: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:37: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:283:27: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:27: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:283:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^ ./html.h:284:40: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:40: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:284:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:30: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:284:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^ ./html.h:290:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:290:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:290:20: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:291:32: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:291:32: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:291:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^ 14 warnings generated. cc -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c md5.c c++ -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -I/usr/local/include -D_FORTIFY_SOURCE=3 -fno-rtti -fno-exceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c progress.cxx In file included from progress.cxx:15: In file included from ./htmldoc.h:19: ./html.h:282:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:282:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:282:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:283:37: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:37: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:283:27: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:27: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:283:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^ ./html.h:284:40: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:40: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:284:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:30: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:284:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^ ./html.h:290:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:290:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:290:20: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:291:32: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:291:32: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:291:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^ 14 warnings generated. cc -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c snprintf.c cc -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c string.c c++ -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -I/usr/local/include -D_FORTIFY_SOURCE=3 -fno-rtti -fno-exceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c toc.cxx In file included from toc.cxx:16: In file included from ./htmldoc.h:19: ./html.h:282:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:282:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:282:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:283:37: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:37: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:283:27: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:27: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:283:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^ ./html.h:284:40: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:40: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:284:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:30: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:284:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^ ./html.h:290:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:290:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:290:20: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:291:32: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:291:32: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:291:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^ 14 warnings generated. c++ -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -I/usr/local/include -D_FORTIFY_SOURCE=3 -fno-rtti -fno-exceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c util.cxx In file included from util.cxx:11: In file included from ./htmldoc.h:19: ./html.h:282:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:282:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:282:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:283:37: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:37: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:283:27: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:27: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:283:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^ ./html.h:284:40: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:40: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:284:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:30: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:284:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^ ./html.h:290:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:290:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:290:20: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:291:32: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:291:32: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:291:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^ 14 warnings generated. echo Linking htmldoc... Linking htmldoc... c++ -L/usr/local/lib -o htmldoc gui.o epub.o html.o htmldoc.o htmlsep.o license.o markdown.o mmd.o ps-pdf.o rc4.o zipc.o file.o htmllib.o image.o iso8859.o md5.o progress.o snprintf.o string.o toc.o util.o -L/usr/local/lib -lpng -lz -lm -L/usr/local/lib -lcups -L/usr/local/lib -ljpeg ld: warning: ps-pdf.cxx:11887(ps-pdf.o:(write_prolog(__sFILE*, int, unsigned char*, unsigned char*, unsigned char*, unsigned char*, unsigned char*))): warning: rand() may return deterministic values, is that what you want? if test `uname` = Darwin; then /usr/bin/make - mkdir_p=mkdir\ -p\ -- SHARED_LIBS_LOG=/exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/shared_libs.log LIBTOOL=/usr/bin/libtool htmldoc.app || exit 1; fi c++ -I/usr/local/include -I/usr/local/include -D_REENTRANT -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I.. -O2 -pipe -g -I/usr/local/include -D_FORTIFY_SOURCE=3 -fno-rtti -fno-exceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c testhtml.cxx In file included from testhtml.cxx:17: In file included from ./htmldoc.h:19: ./html.h:282:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:282:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:282:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:282:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 282 | extern int _htmlWidthsLoaded[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:283:37: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:37: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:283:27: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:283:27: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:283:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 283 | extern short _htmlWidths[TYPE_MAX][STYLE_MAX][256]; | ^ ./html.h:284:40: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:40: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:284:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:284:30: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:284:15: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 284 | extern short _htmlWidthsAll[TYPE_MAX][STYLE_MAX][65536]; | ^ ./html.h:290:41: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~~ ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:41: note: integer value 4 is outside the valid range of values [0, 3] for the enumeration type 'style_t' ./html.h:200:19: note: expanded from macro 'STYLE_MAX' 200 | #define STYLE_MAX (style_t)(STYLE_BOLD_ITALIC + 1) | ^ ./html.h:290:31: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:290:31: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:290:20: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 290 | extern const char *_htmlFonts[TYPE_MAX][STYLE_MAX]; | ^ ./html.h:291:32: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^~~~~~~~ ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./html.h:291:32: note: integer value 8 is outside the valid range of values [0, 7] for the enumeration type 'typeface_t' ./html.h:186:18: note: expanded from macro 'TYPE_MAX' 186 | #define TYPE_MAX (typeface_t)(TYPE_DINGBATS + 1) | ^ ./html.h:291:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 291 | extern int _htmlStandardFonts[TYPE_MAX]; | ^ 14 warnings generated. echo Linking testhtml... Linking testhtml... c++ -L/usr/local/lib -o testhtml testhtml.o file.o htmllib.o image.o iso8859.o md5.o progress.o snprintf.o string.o toc.o util.o -L/usr/local/lib -lpng -lz -lm -L/usr/local/lib -lcups -L/usr/local/lib -ljpeg Making all in doc... echo Formatting htmldoc.epub... Formatting htmldoc.epub... ../htmldoc/htmldoc --datadir .. --strict --batch htmldoc.book --strict --titleimage htmldoc-cover.png -f htmldoc.epub BYTES: 503009 echo Formatting htmldoc.html... Formatting htmldoc.html... ../htmldoc/htmldoc --datadir .. --strict --batch htmldoc.book --strict -f htmldoc.html BYTES: 127160 echo Formatting htmldoc.pdf... Formatting htmldoc.pdf... ../htmldoc/htmldoc --datadir .. --strict --batch htmldoc.book --strict -f htmldoc.pdf PAGES: 60 BYTES: 157463 echo Formatting htmldoc.ps... Formatting htmldoc.ps... ../htmldoc/htmldoc --datadir .. --strict --batch htmldoc.book --strict -f htmldoc.ps PAGES: 60 BYTES: 265690 >>> Running package in print/htmldoc at 1780757762.45 ===> print/htmldoc ===> Faking installation for htmldoc-1.9.23p0 /usr/bin/make all for dir in htmldoc doc; do echo Making all in $dir...; (cd $dir; /usr/bin/make - mkdir_p=mkdir\ -p\ -- SHARED_LIBS_LOG=/exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/shared_libs.log LIBTOOL=/usr/bin/libtool DESTDIR=/exopi-obj/pobj/htmldoc-1.9.23/fake-amd64 ) || exit 1; done Making all in htmldoc... Making all in doc... for dir in fonts data desktop doc htmldoc; do echo Installing in $dir...; (cd $dir; /usr/bin/make - mkdir_p=mkdir\ -p\ -- SHARED_LIBS_LOG=/exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/shared_libs.log LIBTOOL=/usr/bin/libtool DESTDIR=/exopi-obj/pobj/htmldoc-1.9.23/fake-amd64 install) || exit 1; done Installing in fonts... echo "Installing font files in /usr/local/share/htmldoc/fonts..." Installing font files in /usr/local/share/htmldoc/fonts... /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -d /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/share/htmldoc/fonts for font in Courier Courier-Bold Courier-BoldOblique Courier-Oblique Dingbats Helvetica Helvetica-Bold Helvetica-BoldOblique Helvetica-Oblique Monospace Monospace-Bold Monospace-BoldOblique Monospace-Oblique Sans Sans-Bold Sans-BoldOblique Sans-Oblique Serif-Roman Serif-Bold Serif-BoldOblique Serif-Oblique Symbol Times-Bold Times-BoldItalic Times-Italic Times-Roman; do /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -c -m 444 $font.afm /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/share/htmldoc/fonts; /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -c -m 444 $font.pfa /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/share/htmldoc/fonts; done Installing in data... /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -d /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/share/htmldoc/data for file in cp-1250 cp-1251 cp-1252 cp-1253 cp-1254 cp-1255 cp-1256 cp-1257 cp-1258 cp-874 iso-8859-1 iso-8859-14 iso-8859-15 iso-8859-2 iso-8859-3 iso-8859-4 iso-8859-5 iso-8859-6 iso-8859-7 iso-8859-8 iso-8859-9 koi8-r prolog.ps psglyphs; do /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -c -m 444 $file /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/share/htmldoc/data; done Installing in desktop... if test `uname` = Linux; then /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -d /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/share/applications; /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -c -m 444 htmldoc.desktop /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/share/applications; /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -d /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/share/mime/packages; /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -c -m 444 htmldoc.xml /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/share/mime/packages; /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -d /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/share/icons/hicolor/32x32/apps; /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -c -m 444 htmldoc-32.png /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/share/icons/hicolor/32x32/apps/htmldoc.png; /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -d /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/share/icons/hicolor/128x128/apps; /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -c -m 444 htmldoc-128.png /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/share/icons/hicolor/128x128/apps/htmldoc.png; /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -d /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/share/icons/hicolor/256x256/apps; /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -c -m 444 htmldoc-256.png /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/share/icons/hicolor/256x256/apps/htmldoc.png; fi Installing in doc... /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -d /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/share/doc/htmldoc; for file in help.html htmldoc.pdf; do /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -c -m 444 $file /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/share/doc/htmldoc; done /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -d /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/man/man1; /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -c -m 444 htmldoc.man /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/man/man1/htmldoc.1 Installing in htmldoc... /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -d /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/bin /exopi-obj/pobj/htmldoc-1.9.23/htmldoc-1.9.23/install-sh -c -m 555 -s htmldoc /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/bin NOT running strip /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/bin/#inst.44144# Reading existing plist for htmldoc-1.9.23p0 Writing /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/debug-pkg/Makefile.new Writing /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/debug-pkg/PLIST Renaming /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/debug-pkg/Makefile.new to Makefile > Extracting debug info from /exopi-obj/pobj/htmldoc-1.9.23/fake-amd64/usr/local/bin/htmldoc ===> Building package for htmldoc-1.9.23p0 Create /exopi-cvs/ports/packages/amd64/all/htmldoc-1.9.23p0.tgz Creating package htmldoc-1.9.23p0 reading plist| checking dependencies| checking dependencies|graphics/jpeg checking dependencies|graphics/png checking dependencies|print/cups,-libs checksumming| checksumming| | 0% checksumming|* | 1% checksumming|* | 2% checksumming|** | 3% checksumming|** | 4% checksumming|*** | 5% checksumming|**** | 6% checksumming|**** | 7% checksumming|***** | 8% checksumming|***** | 9% checksumming|****** | 10% checksumming|****** | 11% checksumming|******* | 12% checksumming|******** | 13% checksumming|********* | 14% checksumming|********* | 15% checksumming|********** | 16% checksumming|*********** | 17% checksumming|*********** | 18% checksumming|************ | 19% checksumming|************ | 20% checksumming|************* | 21% checksumming|************* | 22% checksumming|************** | 23% checksumming|*************** | 24% checksumming|*************** | 25% checksumming|**************** | 26% checksumming|**************** | 27% checksumming|***************** | 28% checksumming|****************** | 29% checksumming|****************** | 30% checksumming|******************* | 31% checksumming|******************* | 32% checksumming|******************** | 33% checksumming|********************* | 34% checksumming|********************* | 35% checksumming|********************** | 36% checksumming|********************** | 37% checksumming|*********************** | 38% checksumming|************************ | 39% checksumming|************************* | 40% checksumming|************************* | 41% checksumming|************************** | 42% checksumming|************************** | 43% checksumming|*************************** | 44% checksumming|**************************** | 45% checksumming|**************************** | 46% checksumming|***************************** | 47% checksumming|***************************** | 48% checksumming|****************************** | 49% checksumming|******************************* | 50% checksumming|******************************* | 51% checksumming|******************************** | 52% checksumming|******************************** | 53% checksumming|********************************* | 54% checksumming|********************************* | 55% checksumming|********************************** | 56% checksumming|*********************************** | 57% checksumming|*********************************** | 58% checksumming|************************************ | 59% checksumming|************************************ | 60% checksumming|************************************* | 61% checksumming|************************************** | 62% checksumming|************************************** | 63% checksumming|*************************************** | 63% checksumming|*************************************** | 64% checksumming|**************************************** | 65% checksumming|**************************************** | 66% checksumming|***************************************** | 67% checksumming|****************************************** | 68% checksumming|****************************************** | 69% checksumming|******************************************* | 70% checksumming|******************************************* | 71% checksumming|******************************************** | 72% checksumming|********************************************* | 73% checksumming|********************************************* | 74% checksumming|********************************************** | 75% checksumming|********************************************** | 76% checksumming|*********************************************** | 77% checksumming|************************************************ | 78% checksumming|************************************************ | 79% checksumming|************************************************* | 80% checksumming|************************************************* | 81% checksumming|************************************************** | 82% checksumming|************************************************** | 83% checksumming|*************************************************** | 84% checksumming|**************************************************** | 85% checksumming|**************************************************** | 86% checksumming|***************************************************** | 87% checksumming|***************************************************** | 88% checksumming|****************************************************** | 88% checksumming|******************************************************* | 89% checksumming|******************************************************* | 90% checksumming|******************************************************** | 91% checksumming|******************************************************** | 92% checksumming|********************************************************* | 93% checksumming|********************************************************* | 94% checksumming|********************************************************** | 95% checksumming|*********************************************************** | 96% checksumming|*********************************************************** | 97% checksumming|************************************************************ | 98% checksumming|************************************************************ | 99% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|** | 3% archiving|******* | 11% archiving|******* | 12% archiving|******** | 12% archiving|******** | 13% archiving|********** | 15% archiving|********** | 16% archiving|*********** | 18% archiving|************ | 18% archiving|************* | 20% archiving|************* | 21% archiving|************** | 22% archiving|************** | 23% archiving|**************** | 24% archiving|**************** | 25% archiving|***************** | 26% archiving|***************** | 27% archiving|****************** | 28% archiving|******************* | 29% archiving|******************* | 30% archiving|******************** | 31% archiving|********************* | 32% archiving|********************* | 33% archiving|*********************** | 36% archiving|************************ | 37% archiving|************************** | 40% archiving|************************** | 41% archiving|**************************** | 44% archiving|***************************** | 45% archiving|******************************* | 49% archiving|******************************** | 50% archiving|********************************** | 54% archiving|*********************************** | 55% archiving|************************************** | 59% archiving|************************************** | 60% archiving|***************************************** | 63% archiving|****************************************** | 65% archiving|******************************************** | 69% archiving|********************************************* | 70% archiving|*********************************************** | 74% archiving|************************************************ | 75% archiving|*************************************************** | 79% archiving|*************************************************** | 80% archiving|****************************************************** | 84% archiving|******************************************************* | 85% archiving|********************************************************* | 89% archiving|********************************************************** | 91% archiving|*********************************************************** | 93% archiving|************************************************************ | 94% archiving|************************************************************* | 95% archiving|************************************************************* | 96% archiving|************************************************************** | 98% archiving|*************************************************************** | 98% archiving|****************************************************************|100% Creating package debug-htmldoc-1.9.23p0 reading plist| checking dependencies| checking dependencies|graphics/jpeg checking dependencies|graphics/png checking dependencies|print/cups,-libs checking dependencies|print/htmldoc checksumming| checksumming| | 0% checksumming|*** | 4% checksumming|***** | 9% checksumming|******** | 13% checksumming|*********** | 17% checksumming|************* | 22% checksumming|**************** | 26% checksumming|******************* | 30% checksumming|********************* | 35% checksumming|************************ | 39% checksumming|*************************** | 43% checksumming|***************************** | 48% checksumming|******************************** | 52% checksumming|********************************** | 57% checksumming|************************************* | 61% checksumming|**************************************** | 65% checksumming|****************************************** | 70% checksumming|********************************************* | 74% checksumming|************************************************ | 78% checksumming|************************************************** | 83% checksumming|***************************************************** | 87% checksumming|******************************************************** | 91% checksumming|********************************************************** | 96% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/htmldoc-1.9.23p0.tgz Link to /exopi-cvs/ports/packages/amd64/ftp/debug-htmldoc-1.9.23p0.tgz >>> Running clean in print/htmldoc at 1780757769.35 ===> print/htmldoc ===> Cleaning for htmldoc-1.9.23p0 >>> Ended at 1780757769.66 max_stuck=0.60/build=17.71/package=6.90/clean=0.36