>>> Building on exopi-6 under textproc/ruby-rdiscount,ruby33
BDEPENDS = [lang/ruby/3.3]
DIST = [textproc/ruby-rdiscount,ruby32:rdiscount-2.2.7.1.gem]
FULLPKGNAME = ruby33-rdiscount-2.2.7.1
RDEPENDS = [lang/ruby/3.3]
(Junk lock obtained for exopi-6 at 1731802403.95)
>>> Running depends in textproc/ruby-rdiscount,ruby33 at 1731802403.99
last junk was in devel/py-rich,python3
/usr/sbin/pkg_add -aI -Drepair ruby-3.3.6
was: /usr/sbin/pkg_add -aI -Drepair ruby-3.3.6
/usr/sbin/pkg_add -aI -Drepair ruby-3.3.6
>>> Running show-prepare-results in textproc/ruby-rdiscount,ruby33 at 1731802406.26
===> textproc/ruby-rdiscount,ruby33
===> Building from scratch ruby33-rdiscount-2.2.7.1
===> ruby33-rdiscount-2.2.7.1 depends on: ruby->=3.3.0,<3.4 -> ruby-3.3.6
===> Verifying specs: ruby33 c gmp m pthread
===> found ruby33.0.0 c.100.3 gmp.11.1 m.10.1 pthread.27.1
ruby-3.3.6
(Junk lock released for exopi-6 at 1731802406.74)
distfiles size=74240
>>> Running build in textproc/ruby-rdiscount,ruby33 at 1731802406.77
===> textproc/ruby-rdiscount,ruby33
===> Checking files for ruby33-rdiscount-2.2.7.1
`/exopi-cvs/ports/distfiles/rdiscount-2.2.7.1.gem' is up to date.
>> (SHA256) all files: OK
===> Extracting for ruby33-rdiscount-2.2.7.1
===> Patching for ruby33-rdiscount-2.2.7.1
===> 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 ruby33-rdiscount-2.2.7.1
===> Configuring for ruby33-rdiscount-2.2.7.1
===> Building for ruby33-rdiscount-2.2.7.1
if [ -f /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/rdiscount-2.2.7.1/.metadata ]; then cd /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/rdiscount-2.2.7.1 && gzip .metadata && mv -f .metadata.gz /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-content/metadata.gz; fi; cd /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/rdiscount-2.2.7.1 && pax -wz -s '/.*\.orig\.port$//' -x ustar -o write_opt=nodir . >/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-content/data.tar.gz; cd /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-content && tar -cf /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/rdiscount-2.2.7.1.gem *.gz; mkdir -p /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem; env -i PORTSDIR="/exopi-cvs/ports" LIBTOOL="/usr/bin/libtool" PATH='/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin' PREFIX='/usr/local' LOCALBASE='/usr/local' X11BASE='/usr/X11R6' CFLAGS='-O2 -pipe' TRUEPREFIX='/usr/local' DESTDIR='' HOME='/rdiscount-2.2.7.1_writes_to_HOME' PICFLAG="-fpic" BINGRP=bin BINOWN=root BINMODE=755 NONBINMODE=644 DIRMODE=755 INSTALL_COPY=-c INSTALL_STRIP=-s MANGRP=bin MANOWN=root MANMODE=644 BSD_INSTALL_PROGRAM="/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -c -s -m 755" BSD_INSTALL_SCRIPT="/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -c -m 755" BSD_INSTALL_DATA="/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -c -m 644" BSD_INSTALL_MAN="/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -c -m 644" BSD_INSTALL_PROGRAM_DIR="/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -d -m 755" BSD_INSTALL_SCRIPT_DIR="/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -d -m 755" BSD_INSTALL_DATA_DIR="/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -d -m 755" BSD_INSTALL_MAN_DIR="/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -d -m 755" HOME=`dirname /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem` GEM_HOME=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem make="make V=1" /usr/local/bin/gem33 install --local -N --no-force --verbose --backtrace --user-install /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/rdiscount-2.2.7.1.gem --
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/BUILDING
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/COPYING
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/README.markdown
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/Rakefile
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/bin/rdiscount
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/Csio.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/VERSION
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/amalloc.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/amalloc.h
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/basename.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/blocktags
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/config.h
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/css.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/cstring.h
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/docheader.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/dumptree.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/emmatch.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/extconf.rb
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/flags.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/generate.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/gethopt.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/gethopt.h
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/github_flavoured.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/h1title.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/html5.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/markdown.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/markdown.h
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/mkdio.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/mkdio.h
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/mktags.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/notspecial.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/pgm_options.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/pgm_options.h
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/rdiscount.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/resource.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/setup.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/tags.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/tags.h
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/toc.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/version.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/xml.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext/xmlpage.c
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/lib/markdown.rb
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/lib/rdiscount.rb
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/man/markdown.7
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/man/rdiscount.1
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/man/rdiscount.1.ronn
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/rdiscount.gemspec
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/test/benchmark.rb
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/test/benchmark.txt
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/test/markdown_test.rb
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/test/rdiscount_test.rb
Building native extensions. This could take a while...
current directory: /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext
["/usr/local/bin/ruby33", "extconf.rb"]
checking for random()... yes
checking for srandom()... yes
checking for rand()... yes
checking for srand()... yes
checking size of unsigned long... 8
checking size of unsigned int... 4
checking size of unsigned int... 4
checking size of unsigned short... 2
creating Makefile
current directory: /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext
["make", "V=1", "INSTALL_PROGRAM=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -c -s -m 755", "INSTALL_SCRIPT=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -c -m 755", "INSTALL_DATA=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -c -m 644", "INSTALL=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -c ", "DESTDIR=", "sitearchdir=./.gem.20241117-97754-hv0621", "sitelibdir=./.gem.20241117-97754-hv0621", "clean"]
rm -f
rm -fr rdiscount.so false Csio.o amalloc.o basename.o css.o docheader.o dumptree.o emmatch.o flags.o generate.o gethopt.o github_flavoured.o h1title.o html5.o markdown.o mkdio.o mktags.o notspecial.o pgm_options.o rdiscount.o resource.o setup.o tags.o toc.o version.o xml.o xmlpage.o *.bak mkmf.log .*.time
current directory: /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext
["make", "V=1", "INSTALL_PROGRAM=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -c -s -m 755", "INSTALL_SCRIPT=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -c -m 755", "INSTALL_DATA=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -c -m 644", "INSTALL=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -c ", "DESTDIR=", "sitearchdir=./.gem.20241117-97754-hv0621", "sitelibdir=./.gem.20241117-97754-hv0621"]
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o Csio.o -c Csio.c
In file included from Csio.c:5:
./markdown.h:9:7: warning: 'HAVE_STDINT_H' is not defined, evaluates to 0 [-Wundef]
#elif HAVE_STDINT_H
^
./markdown.h:58:5: warning: 'GITHUB_CHECKBOX' is not defined, evaluates to 0 [-Wundef]
#if GITHUB_CHECKBOX
^
2 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o amalloc.o -c amalloc.c
amalloc.c:24:1: warning: function 'die' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
{
^
amalloc.c:40:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if ( ret = calloc(count + sizeof(struct alist) + sizeof(int), size) ) {
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
amalloc.c:40:14: note: place parentheses around the assignment to silence this warning
if ( ret = calloc(count + sizeof(struct alist) + sizeof(int), size) ) {
^
( )
amalloc.c:40:14: note: use '==' to turn this assignment into an equality comparison
if ( ret = calloc(count + sizeof(struct alist) + sizeof(int), size) ) {
^
==
amalloc.c:77:10: warning: passing 'const char[46]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
die("goddam: corrupted memory block %d in free()!\n", p2->index);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
amalloc.c:23:11: note: passing argument to parameter 'msg' here
die(char *msg, int index)
^
amalloc.c:96:10: warning: passing 'const char[49]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
die("goddam: corrupted memory block %d in realloc()!\n", p2->index);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
amalloc.c:23:11: note: passing argument to parameter 'msg' here
die(char *msg, int index)
^
4 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o basename.o -c basename.c
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o css.o -c css.c
In file included from css.c:17:
./markdown.h:9:7: warning: 'HAVE_STDINT_H' is not defined, evaluates to 0 [-Wundef]
#elif HAVE_STDINT_H
^
./markdown.h:58:5: warning: 'GITHUB_CHECKBOX' is not defined, evaluates to 0 [-Wundef]
#if GITHUB_CHECKBOX
^
css.c:79:28: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
written = (size > 0) ? fwrite(res,1,size,f) : 0;
~ ^~~~~~~~~~~~~~~~~~~~
3 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o docheader.o -c docheader.c
In file included from docheader.c:14:
./markdown.h:9:7: warning: 'HAVE_STDINT_H' is not defined, evaluates to 0 [-Wundef]
#elif HAVE_STDINT_H
^
./markdown.h:58:5: warning: 'GITHUB_CHECKBOX' is not defined, evaluates to 0 [-Wundef]
#if GITHUB_CHECKBOX
^
2 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o dumptree.o -c dumptree.c
In file included from dumptree.c:8:
./markdown.h:9:7: warning: 'HAVE_STDINT_H' is not defined, evaluates to 0 [-Wundef]
#elif HAVE_STDINT_H
^
./markdown.h:58:5: warning: 'GITHUB_CHECKBOX' is not defined, evaluates to 0 [-Wundef]
#if GITHUB_CHECKBOX
^
dumptree.c:23:29: warning: returning 'const char[11]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case WHITESPACE: return "whitespace";
^~~~~~~~~~~~
dumptree.c:24:29: warning: returning 'const char[5]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case CODE : return "code";
^~~~~~
dumptree.c:25:29: warning: returning 'const char[6]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case QUOTE : return "quote";
^~~~~~~
dumptree.c:26:29: warning: returning 'const char[7]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case MARKUP : return "markup";
^~~~~~~~
dumptree.c:27:29: warning: returning 'const char[5]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case HTML : return "html";
^~~~~~
dumptree.c:28:29: warning: returning 'const char[3]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case DL : return "dl";
^~~~
dumptree.c:29:29: warning: returning 'const char[3]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case UL : return "ul";
^~~~
dumptree.c:30:29: warning: returning 'const char[3]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case OL : return "ol";
^~~~
dumptree.c:31:29: warning: returning 'const char[5]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case LISTITEM : return "item";
^~~~~~
dumptree.c:32:29: warning: returning 'const char[7]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case HDR : return "header";
^~~~~~~~
dumptree.c:33:29: warning: returning 'const char[3]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case HR : return "hr";
^~~~
dumptree.c:34:29: warning: returning 'const char[6]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case TABLE : return "table";
^~~~~~~
dumptree.c:35:29: warning: returning 'const char[7]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case SOURCE : return "source";
^~~~~~~~
dumptree.c:36:29: warning: returning 'const char[6]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case STYLE : return "style";
^~~~~~~
dumptree.c:37:29: warning: returning 'const char[14]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
default : return "mystery node!";
^~~~~~~~~~~~~~~
dumptree.c:104:33: warning: initializing 'char *' with an expression of type 'const char[2]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
static char *Begin[] = { 0, "P", "center" };
^~~
dumptree.c:104:38: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
static char *Begin[] = { 0, "P", "center" };
^~~~~~~~
19 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o emmatch.o -c emmatch.c
In file included from emmatch.c:17:
./markdown.h:9:7: warning: 'HAVE_STDINT_H' is not defined, evaluates to 0 [-Wundef]
#elif HAVE_STDINT_H
^
./markdown.h:58:5: warning: 'GITHUB_CHECKBOX' is not defined, evaluates to 0 [-Wundef]
#if GITHUB_CHECKBOX
^
emmatch.c:113:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
case 2: if ( e = empair(f,first,last,match=2) )
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
emmatch.c:113:20: note: place parentheses around the assignment to silence this warning
case 2: if ( e = empair(f,first,last,match=2) )
^
( )
emmatch.c:113:20: note: use '==' to turn this assignment into an equality comparison
case 2: if ( e = empair(f,first,last,match=2) )
^
==
3 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o flags.o -c flags.c
In file included from flags.c:2:
./markdown.h:9:7: warning: 'HAVE_STDINT_H' is not defined, evaluates to 0 [-Wundef]
#elif HAVE_STDINT_H
^
./markdown.h:58:5: warning: 'GITHUB_CHECKBOX' is not defined, evaluates to 0 [-Wundef]
#if GITHUB_CHECKBOX
^
flags.c:10:27: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_NOLINKS, "!LINKS" },
^~~~~~~~
flags.c:11:27: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_NOIMAGE, "!IMAGE" },
^~~~~~~~
flags.c:12:27: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_NOPANTS, "!PANTS" },
^~~~~~~~
flags.c:13:27: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_NOHTML, "!HTML" },
^~~~~~~
flags.c:14:27: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_STRICT, "STRICT" },
^~~~~~~~
flags.c:15:27: warning: initializing 'char *' with an expression of type 'const char[8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_TAGTEXT, "TAGTEXT" },
^~~~~~~~~
flags.c:16:27: warning: initializing 'char *' with an expression of type 'const char[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_NO_EXT, "!EXT" },
^~~~~~
flags.c:17:27: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_CDATA, "CDATA" },
^~~~~~~
flags.c:18:27: warning: initializing 'char *' with an expression of type 'const char[13]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_NOSUPERSCRIPT, "!SUPERSCRIPT" },
^~~~~~~~~~~~~~
flags.c:19:27: warning: initializing 'char *' with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_NORELAXED, "!RELAXED" },
^~~~~~~~~~
flags.c:20:27: warning: initializing 'char *' with an expression of type 'const char[8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_NOTABLES, "!TABLES" },
^~~~~~~~~
flags.c:21:27: warning: initializing 'char *' with an expression of type 'const char[15]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_NOSTRIKETHROUGH,"!STRIKETHROUGH" },
^~~~~~~~~~~~~~~~
flags.c:22:27: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_TOC, "TOC" },
^~~~~
flags.c:23:27: warning: initializing 'char *' with an expression of type 'const char[13]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_1_COMPAT, "MKD_1_COMPAT" },
^~~~~~~~~~~~~~
flags.c:24:27: warning: initializing 'char *' with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_AUTOLINK, "AUTOLINK" },
^~~~~~~~~~
flags.c:25:27: warning: initializing 'char *' with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_SAFELINK, "SAFELINK" },
^~~~~~~~~~
flags.c:26:27: warning: initializing 'char *' with an expression of type 'const char[8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_NOHEADER, "!HEADER" },
^~~~~~~~~
flags.c:27:27: warning: initializing 'char *' with an expression of type 'const char[8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_TABSTOP, "TABSTOP" },
^~~~~~~~~
flags.c:28:27: warning: initializing 'char *' with an expression of type 'const char[10]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_NODIVQUOTE, "!DIVQUOTE" },
^~~~~~~~~~~
flags.c:29:27: warning: initializing 'char *' with an expression of type 'const char[11]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_NOALPHALIST, "!ALPHALIST" },
^~~~~~~~~~~~
flags.c:30:27: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_NODLIST, "!DLIST" },
^~~~~~~~
flags.c:31:27: warning: initializing 'char *' with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_EXTRA_FOOTNOTE, "FOOTNOTE" },
^~~~~~~~~~
flags.c:32:27: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_NOSTYLE, "!STYLE" },
^~~~~~~~
flags.c:33:27: warning: initializing 'char *' with an expression of type 'const char[12]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_NODLDISCOUNT, "!DLDISCOUNT" },
^~~~~~~~~~~~~
flags.c:34:27: warning: initializing 'char *' with an expression of type 'const char[8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_DLEXTRA, "DLEXTRA" },
^~~~~~~~~
flags.c:35:27: warning: initializing 'char *' with an expression of type 'const char[11]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_FENCEDCODE, "FENCEDCODE" },
^~~~~~~~~~~~
flags.c:36:27: warning: initializing 'char *' with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_IDANCHOR, "IDANCHOR" },
^~~~~~~~~~
flags.c:37:27: warning: initializing 'char *' with an expression of type 'const char[11]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_GITHUBTAGS, "GITHUBTAGS" },
^~~~~~~~~~~~
flags.c:38:29: warning: initializing 'char *' with an expression of type 'const char[17]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_URLENCODEDANCHOR, "URLENCODEDANCHOR" },
^~~~~~~~~~~~~~~~~~
flags.c:39:27: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_LATEX, "LATEX" },
^~~~~~~
flags.c:40:27: warning: initializing 'char *' with an expression of type 'const char[13]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ MKD_EXPLICITLIST, "EXPLICITLIST" },
^~~~~~~~~~~~~~
flags.c:57:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if ( not = (*name == '!') ) {
~~~~^~~~~~~~~~~~~~~~
flags.c:57:11: note: place parentheses around the assignment to silence this warning
if ( not = (*name == '!') ) {
^
( )
flags.c:57:11: note: use '==' to turn this assignment into an equality comparison
if ( not = (*name == '!') ) {
^
==
flags.c:54:17: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for (i=0; i < NR(flagnames); i++) {
~ ^ ~~~~~~~~~~~~~
35 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o generate.o -c generate.c
In file included from generate.c:17:
./markdown.h:9:7: warning: 'HAVE_STDINT_H' is not defined, evaluates to 0 [-Wundef]
#elif HAVE_STDINT_H
^
./markdown.h:58:5: warning: 'GITHUB_CHECKBOX' is not defined, evaluates to 0 [-Wundef]
#if GITHUB_CHECKBOX
^
generate.c:184:12: warning: passing 'const void *' to parameter of type 'MMIOT *' (aka 'struct mmiot *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qchar(n, iot);
^~~
generate.c:131:21: note: passing argument to parameter 'f' here
Qchar(int c, MMIOT *f)
^
generate.c:185:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
generate.c:289:14: warning: passing 'const char[6]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("&", f);
^~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:291:14: warning: passing 'const char[5]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("<", f);
^~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:293:14: warning: passing 'const char[4]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("%22", f);
^~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:297:14: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring(" ", f);
^~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:299:17: warning: passing 'const char[7]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qprintf(f, "%%%02X", c);
^~~~~~~~
generate.c:171:25: note: passing argument to parameter 'fmt' here
Qprintf(MMIOT *f, char *fmt, ...)
^
generate.c:372:28: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
S(ref->title) = (e-title)-2;
~ ~~~~~~~~~^~
generate.c:519:17: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
_aprotocol( "https:" ),
^~~~~~~~
generate.c:518:25: note: expanded from macro '_aprotocol'
#define _aprotocol(x) { x, (sizeof x)-1 }
^
generate.c:520:17: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
_aprotocol( "http:" ),
^~~~~~~
generate.c:518:25: note: expanded from macro '_aprotocol'
#define _aprotocol(x) { x, (sizeof x)-1 }
^
generate.c:521:17: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
_aprotocol( "news:" ),
^~~~~~~
generate.c:518:25: note: expanded from macro '_aprotocol'
#define _aprotocol(x) { x, (sizeof x)-1 }
^
generate.c:522:17: warning: initializing 'char *' with an expression of type 'const char[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
_aprotocol( "ftp:" ),
^~~~~~
generate.c:518:25: note: expanded from macro '_aprotocol'
#define _aprotocol(x) { x, (sizeof x)-1 }
^
generate.c:534:29: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for (i=0, p=protocol; i < NRPROTOCOLS; i++, p++)
~ ^ ~~~~~~~~~~~
generate.c:558:35: warning: initializing 'char *' with an expression of type 'const char[11]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
static linkytype imaget = { 0, 0, "", MKD_NOIMAGE|MKD_TAGTEXT, IS_URL };
^~~~~~~~~
generate.c:559:23: warning: initializing 'char *' with an expression of type 'const char[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
1, " alt=\"", "\" />", MKD_NOIMAGE|MKD_TAGTEXT, IS_URL };
^~~~~~~
generate.c:560:35: warning: initializing 'char *' with an expression of type 'const char[10]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
static linkytype linkt = { 0, 0, "", "", MKD_NOLINKS, IS_URL };
^~~
generate.c:561:38: warning: initializing 'char *' with an expression of type 'const char[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
0, ">", "", MKD_NOLINKS, IS_URL };
^~~~~~
generate.c:571:7: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "id:", 3, "", "", 0, 0 },
^~~~~
generate.c:571:17: warning: initializing 'char *' with an expression of type 'const char[11]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "id:", 3, "", "", 0, 0 },
^~~~~~~~~~~~~
generate.c:571:32: warning: initializing 'char *' with an expression of type 'const char[2]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "id:", 3, "", "", 0, 0 },
^~~~
generate.c:571:41: warning: initializing 'char *' with an expression of type 'const char[2]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "id:", 3, "", "", 0, 0 },
^~~
generate.c:571:46: warning: initializing 'char *' with an expression of type 'const char[8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "id:", 3, "", "", 0, 0 },
^~~~~~~~~
generate.c:572:7: warning: initializing 'char *' with an expression of type 'const char[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "raw:", 4, 0, 0, 0, 0, 0, MKD_NOHTML, 0 },
^~~~~~
generate.c:573:7: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "lang:", 5, "", "", 0, 0 },
^~~~~~~
generate.c:573:19: warning: initializing 'char *' with an expression of type 'const char[13]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "lang:", 5, "", "", 0, 0 },
^~~~~~~~~~~~~~~
generate.c:573:36: warning: initializing 'char *' with an expression of type 'const char[2]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "lang:", 5, "", "", 0, 0 },
^~~~
generate.c:573:45: warning: initializing 'char *' with an expression of type 'const char[2]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "lang:", 5, "", "", 0, 0 },
^~~
generate.c:573:50: warning: initializing 'char *' with an expression of type 'const char[8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "lang:", 5, "", "", 0, 0 },
^~~~~~~~~
generate.c:574:7: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "abbr:", 5, "", "", 0, 0 },
^~~~~~~
generate.c:574:19: warning: initializing 'char *' with an expression of type 'const char[14]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "abbr:", 5, "", "", 0, 0 },
^~~~~~~~~~~~~~~~
generate.c:574:37: warning: initializing 'char *' with an expression of type 'const char[2]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "abbr:", 5, "", "", 0, 0 },
^~~~
generate.c:574:46: warning: initializing 'char *' with an expression of type 'const char[2]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "abbr:", 5, "", "", 0, 0 },
^~~
generate.c:574:51: warning: initializing 'char *' with an expression of type 'const char[8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "abbr:", 5, "", "", 0, 0 },
^~~~~~~~~
generate.c:575:7: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "class:", 6, "", "", 0, 0 },
^~~~~~~~
generate.c:575:20: warning: initializing 'char *' with an expression of type 'const char[14]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "class:", 6, "", "", 0, 0 },
^~~~~~~~~~~~~~~~
generate.c:575:38: warning: initializing 'char *' with an expression of type 'const char[2]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "class:", 6, "", "", 0, 0 },
^~~~
generate.c:575:47: warning: initializing 'char *' with an expression of type 'const char[2]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "class:", 6, "", "", 0, 0 },
^~~
generate.c:575:52: warning: initializing 'char *' with an expression of type 'const char[8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "class:", 6, "", "", 0, 0 },
^~~~~~~~~
generate.c:588:30: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for ( i=0, r=specials; i < NR(specials); i++,r++ ) {
~ ^ ~~~~~~~~~~~~
generate.c:610:19: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
puturl(edit, strlen(edit), f, 0);
~~~~~~ ^~~~~~~~~~~~
generate.c:636:12: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
return p->ref_prefix ? p->ref_prefix : "fn";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
generate.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
p_or_nothing(p)
^
generate.c:653:13: warning: passing 'const char[64]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qprintf(f, "%d",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
generate.c:171:25: note: passing argument to parameter 'fmt' here
Qprintf(MMIOT *f, char *fmt, ...)
^
generate.c:697:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
else if ( tag = pseudo(ref->link) ) {
~~~~^~~~~~~~~~~~~~~~~~~
generate.c:697:19: note: place parentheses around the assignment to silence this warning
else if ( tag = pseudo(ref->link) ) {
^
( )
generate.c:697:19: note: use '==' to turn this assignment into an equality comparison
else if ( tag = pseudo(ref->link) ) {
^
==
generate.c:718:35: warning: passing 'const char[13]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if ( ref->height ) Qprintf(f," height=\"%d\"", ref->height);
^~~~~~~~~~~~~~~~
generate.c:171:25: note: passing argument to parameter 'fmt' here
Qprintf(MMIOT *f, char *fmt, ...)
^
generate.c:719:35: warning: passing 'const char[12]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if ( ref->width ) Qprintf(f, " width=\"%d\"", ref->width);
^~~~~~~~~~~~~~~
generate.c:171:25: note: passing argument to parameter 'fmt' here
Qprintf(MMIOT *f, char *fmt, ...)
^
generate.c:723:14: warning: passing 'const char[9]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring(" title=\"", f);
^~~~~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:789:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if ( ref = bsearch(&key, T(f->footnotes->note),
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
generate.c:789:12: note: place parentheses around the assignment to silence this warning
if ( ref = bsearch(&key, T(f->footnotes->note),
^
(
generate.c:789:12: note: use '==' to turn this assignment into an equality comparison
if ( ref = bsearch(&key, T(f->footnotes->note),
^
==
generate.c:818:25: warning: passing 'const char[6]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case '&': Qstring("&", f); break;
^~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:819:25: warning: passing 'const char[5]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case '>': Qstring(">", f); break;
^~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:820:25: warning: passing 'const char[5]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case '<': Qstring("<", f); break;
^~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:833:5: warning: 'DEBIAN_GLITCH' is not defined, evaluates to 0 [-Wundef]
#if DEBIAN_GLITCH
^
generate.c:836:10: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("", f);
^~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:837:13: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qprintf(f, COINTOSS() ? "x%02x;" : "%02d;", *((unsigned char*)(s++)) );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./config.h:14:20: note: expanded from macro 'COINTOSS'
#define COINTOSS() (random()&1)
^
generate.c:171:25: note: passing argument to parameter 'fmt' here
Qprintf(MMIOT *f, char *fmt, ...)
^
generate.c:901:14: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring(" ", f);
^~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:913:13: warning: passing 'const char[6]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("", f);
^~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:915:13: warning: passing 'const char[7]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("", f);
^~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:965:13: warning: passing 'const char[7]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("", f);
^~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:967:13: warning: passing 'const char[8]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("
", f);
^~~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1044:10: warning: passing 'const char[10]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("", f);
^~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1052:10: warning: passing 'const char[5]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("", f);
^~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1059:10: warning: passing 'const char[5]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("", f);
^~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1126:15: warning: passing 'const char[6]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("&", f);
^~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1180:17: warning: passing 'const char[9]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qprintf(f, "&r%cquo;", typeofquote);
^~~~~~~~~~
generate.c:171:25: note: passing argument to parameter 'fmt' here
Qprintf(MMIOT *f, char *fmt, ...)
^
generate.c:1186:13: warning: passing 'const char[9]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qprintf(f, "&l%cquo;", typeofquote);
^~~~~~~~~~
generate.c:171:25: note: passing argument to parameter 'fmt' here
Qprintf(MMIOT *f, char *fmt, ...)
^
generate.c:1206:18: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
if ( !(len = strlen(s)) )
~ ^~~~~~~~~
generate.c:1228:13: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '\'', "'s|", "rsquo", 0 },
^~~~~
generate.c:1228:25: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '\'', "'s|", "rsquo", 0 },
^~~~~~~
generate.c:1229:13: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '\'', "'t|", "rsquo", 0 },
^~~~~
generate.c:1229:25: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '\'', "'t|", "rsquo", 0 },
^~~~~~~
generate.c:1230:13: warning: initializing 'char *' with an expression of type 'const char[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '\'', "'re|", "rsquo", 0 },
^~~~~~
generate.c:1230:25: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '\'', "'re|", "rsquo", 0 },
^~~~~~~
generate.c:1231:13: warning: initializing 'char *' with an expression of type 'const char[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '\'', "'ll|", "rsquo", 0 },
^~~~~~
generate.c:1231:25: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '\'', "'ll|", "rsquo", 0 },
^~~~~~~
generate.c:1232:13: warning: initializing 'char *' with an expression of type 'const char[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '\'', "'ve|", "rsquo", 0 },
^~~~~~
generate.c:1232:25: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '\'', "'ve|", "rsquo", 0 },
^~~~~~~
generate.c:1233:13: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '\'', "'m|", "rsquo", 0 },
^~~~~
generate.c:1233:25: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '\'', "'m|", "rsquo", 0 },
^~~~~~~
generate.c:1234:13: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '\'', "'d|", "rsquo", 0 },
^~~~~
generate.c:1234:25: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '\'', "'d|", "rsquo", 0 },
^~~~~~~
generate.c:1235:13: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '-', "---", "mdash", 2 },
^~~~~
generate.c:1235:25: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '-', "---", "mdash", 2 },
^~~~~~~
generate.c:1236:13: warning: initializing 'char *' with an expression of type 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '-', "--", "ndash", 1 },
^~~~
generate.c:1236:25: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '-', "--", "ndash", 1 },
^~~~~~~
generate.c:1237:13: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '.', "...", "hellip", 2 },
^~~~~
generate.c:1237:25: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '.', "...", "hellip", 2 },
^~~~~~~~
generate.c:1238:13: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '.', ". . .", "hellip", 4 },
^~~~~~~
generate.c:1238:25: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '.', ". . .", "hellip", 4 },
^~~~~~~~
generate.c:1239:13: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '(', "(c)", "copy", 2 },
^~~~~
generate.c:1239:25: warning: initializing 'char *' with an expression of type 'const char[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '(', "(c)", "copy", 2 },
^~~~~~
generate.c:1240:13: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '(', "(r)", "reg", 2 },
^~~~~
generate.c:1240:25: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '(', "(r)", "reg", 2 },
^~~~~
generate.c:1241:13: warning: initializing 'char *' with an expression of type 'const char[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '(', "(tm)", "trade", 3 },
^~~~~~
generate.c:1241:25: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '(', "(tm)", "trade", 3 },
^~~~~~~
generate.c:1242:13: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '3', "|3/4|", "frac34", 2 },
^~~~~~~
generate.c:1242:25: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '3', "|3/4|", "frac34", 2 },
^~~~~~~~
generate.c:1243:13: warning: initializing 'char *' with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '3', "|3/4ths|", "frac34", 2 },
^~~~~~~~~~
generate.c:1243:25: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '3', "|3/4ths|", "frac34", 2 },
^~~~~~~~
generate.c:1244:13: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '1', "|1/2|", "frac12", 2 },
^~~~~~~
generate.c:1244:25: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '1', "|1/2|", "frac12", 2 },
^~~~~~~~
generate.c:1245:13: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '1', "|1/4|", "frac14", 2 },
^~~~~~~
generate.c:1245:25: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '1', "|1/4|", "frac14", 2 },
^~~~~~~~
generate.c:1246:13: warning: initializing 'char *' with an expression of type 'const char[8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '1', "|1/4th|", "frac14", 2 },
^~~~~~~~~
generate.c:1246:25: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '1', "|1/4th|", "frac14", 2 },
^~~~~~~~
generate.c:1247:13: warning: initializing 'char *' with an expression of type 'const char[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ '&', "", 0, 3 },
^~~~~~
generate.c:1267:14: warning: passing 'const char[5]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qprintf(f, "&%s;", smarties[i].entity);
^~~~~~
generate.c:171:25: note: passing argument to parameter 'fmt' here
Qprintf(MMIOT *f, char *fmt, ...)
^
generate.c:1289:16: warning: passing 'const char[8]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("“", f);
^~~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1291:16: warning: passing 'const char[8]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("”", f);
^~~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1264:18: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for ( i=0; i < NRSMART; i++)
~ ^ ~~~~~~~
generate.c:1378:15: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring(tag_text(f) ? " " : "
", f);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
generate.c:1353:21: note: expanded from macro 'tag_text'
#define tag_text(f) is_flag_set(f->flags, MKD_TAGTEXT)
^
./markdown.h:17:34: note: expanded from macro 'is_flag_set'
#define is_flag_set(flags, item) ((flags) & (item))
^
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1382:12: warning: passing 'const char[5]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring(">", f);
^~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1388:12: warning: passing 'const char[7]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring(""", f);
^~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1396:16: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("![", f);
^~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1455:12: warning: passing 'const char[6]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("",f);
^~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1456:35: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
___mkd_reparse(sup, len, 0, f, "()");
^~~~
generate.c:216:71: note: passing argument to parameter 'esc' here
___mkd_reparse(char *bfr, int size, mkd_flag_t flags, MMIOT *f, char *esc)
^
generate.c:1457:12: warning: passing 'const char[7]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("", f);
^~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1503:27: warning: passing 'const char[6]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case '&': Qstring("&", f);
^~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1507:17: warning: passing 'const char[5]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("<", f);
^~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1558:16: warning: passing 'const char[5]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("<", f);
^~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1567:12: warning: passing 'const char[6]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("&", f);
^~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1596:13: warning: passing 'const char[5]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qprintf(f, "hnumber);
^~~~~~
generate.c:171:25: note: passing argument to parameter 'fmt' here
Qprintf(MMIOT *f, char *fmt, ...)
^
generate.c:1598:14: warning: passing 'const char[6]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring(" id=\"", f);
^~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1605:14: warning: passing 'const char[10]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("\n", f);
^~~~~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1609:13: warning: passing 'const char[6]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qprintf(f, "", pp->hnumber);
^~~~~~~
generate.c:171:25: note: passing argument to parameter 'fmt' here
Qprintf(MMIOT *f, char *fmt, ...)
^
generate.c:1613:16: warning: passing 'const char[7]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qprintf(f, "", pp->hnumber);
^~~~~~~~
generate.c:171:25: note: passing argument to parameter 'fmt' here
Qprintf(MMIOT *f, char *fmt, ...)
^
generate.c:1619:31: warning: initializing 'char *' with an expression of type 'const char[1]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
static char* alignments[] = { "", " style=\"text-align:center;\"",
^~
generate.c:1619:35: warning: initializing 'char *' with an expression of type 'const char[28]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
static char* alignments[] = { "", " style=\"text-align:center;\"",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
generate.c:1620:7: warning: initializing 'char *' with an expression of type 'const char[26]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
" style=\"text-align:left;\"",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
generate.c:1621:7: warning: initializing 'char *' with an expression of type 'const char[27]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
" style=\"text-align:right;\"" };
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
generate.c:1637:13: warning: passing 'const char[6]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("\n", f);
^~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1649:13: warning: passing 'const char[7]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qprintf(f, "<%s%s>",
^~~~~~~~
generate.c:171:25: note: passing argument to parameter 'fmt' here
Qprintf(MMIOT *f, char *fmt, ...)
^
generate.c:1652:52: warning: passing 'const char[2]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
___mkd_reparse(T(p->text)+first, idx-first, 0, f, "|");
^~~
generate.c:216:71: note: passing argument to parameter 'esc' here
___mkd_reparse(char *bfr, int size, mkd_flag_t flags, MMIOT *f, char *esc)
^
generate.c:1653:13: warning: passing 'const char[7]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qprintf(f, "%s>\n", block);
^~~~~~~~~
generate.c:171:25: note: passing argument to parameter 'fmt' here
Qprintf(MMIOT *f, char *fmt, ...)
^
generate.c:1659:17: warning: passing 'const char[11]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qprintf(f, "<%s>%s>\n", block, block);
^~~~~~~~~~~~~
generate.c:171:25: note: passing argument to parameter 'fmt' here
Qprintf(MMIOT *f, char *fmt, ...)
^
generate.c:1662:13: warning: passing 'const char[7]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("
\n", f);
^~~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1714:13: warning: passing 'const char[9]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("\n", f);
^~~~~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1715:13: warning: passing 'const char[9]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("\n", f);
^~~~~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1716:24: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
hcols = splat(hdr, "th", align, 0, f);
^~~~
generate.c:1626:22: note: passing argument to parameter 'block' here
splat(Line *p, char *block, Istring align, int force, MMIOT *f)
^
generate.c:1717:13: warning: passing 'const char[10]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("\n", f);
^~~~~~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1725:13: warning: passing 'const char[9]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("\n", f);
^~~~~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1727:14: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
splat(body, "td", align, 1, f);
^~~~
generate.c:1626:22: note: passing argument to parameter 'block' here
splat(Line *p, char *block, Istring align, int force, MMIOT *f)
^
generate.c:1728:13: warning: passing 'const char[10]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("\n", f);
^~~~~~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1729:13: warning: passing 'const char[10]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("
\n", f);
^~~~~~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1739:30: warning: initializing 'char *' with an expression of type 'const char[1]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
static char *Begin[] = { "", "", "
" };
^~
generate.c:1739:34: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
static char *Begin[] = { "", "
", "
" };
^~~~~
generate.c:1739:41: warning: initializing 'char *' with an expression of type 'const char[31]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
static char *Begin[] = { "", "
", "
" };
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
generate.c:1740:30: warning: initializing 'char *' with an expression of type 'const char[1]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
static char *End[] = { "", "
","
" };
^~
generate.c:1740:34: warning: initializing 'char *' with an expression of type 'const char[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
static char *End[] = { "", "","" };
^~~~~~
generate.c:1740:41: warning: initializing 'char *' with an expression of type 'const char[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
static char *End[] = { "", "","" };
^~~~~~
generate.c:1810:13: warning: passing 'const char[11]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("", f);
^~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1828:13: warning: passing 'const char[14]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("
", f);
^~~~~~~~~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1800:18: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
Qwrite(fmt, strlen(fmt), f);
~~~~~~ ^~~~~~~~~~~
generate.c:1857:10: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("\n\n", f);
^~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1899:13: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qprintf(f, arguments ? "<%s %s>" : "<%s>", block, arguments);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
generate.c:171:25: note: passing argument to parameter 'fmt' here
Qprintf(MMIOT *f, char *fmt, ...)
^
generate.c:1904:14: warning: passing 'const char[6]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qprintf(f, "%s>", block);
^~~~~~~
generate.c:171:25: note: passing argument to parameter 'fmt' here
Qprintf(MMIOT *f, char *fmt, ...)
^
generate.c:1915:10: warning: passing 'const char[6]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("\n", f);
^~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1919:11: warning: passing 'const char[5]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("- ", f);
^~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1921:11: warning: passing 'const char[7]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("
\n", f);
^~~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1924:23: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
htmlify(p->down, "dd", p->ident, f);
^~~~
generate.c:1895:29: note: passing argument to parameter 'block' here
htmlify(Paragraph *p, char *block, char *arguments, MMIOT *f)
^
generate.c:1928:10: warning: passing 'const char[6]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("
", f);
^~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:1937:13: warning: passing 'const char[5]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qprintf(f, "<%cl", (typ==UL)?'u':'o');
^~~~~~
generate.c:171:25: note: passing argument to parameter 'fmt' here
Qprintf(MMIOT *f, char *fmt, ...)
^
generate.c:1939:17: warning: passing 'const char[10]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qprintf(f, " type=\"a\"");
^~~~~~~~~~~~~
generate.c:171:25: note: passing argument to parameter 'fmt' here
Qprintf(MMIOT *f, char *fmt, ...)
^
generate.c:1940:13: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qprintf(f, ">\n");
^~~~~
generate.c:171:25: note: passing argument to parameter 'fmt' here
Qprintf(MMIOT *f, char *fmt, ...)
^
generate.c:1946:23: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
htmlify(p->down, "li", p->ident, f);
^~~~
generate.c:1895:29: note: passing argument to parameter 'block' here
htmlify(Paragraph *p, char *block, char *arguments, MMIOT *f)
^
generate.c:1951:13: warning: passing 'const char[8]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qprintf(f, "%cl>\n", (typ==UL)?'u':'o');
^~~~~~~~~~
generate.c:171:25: note: passing argument to parameter 'fmt' here
Qprintf(MMIOT *f, char *fmt, ...)
^
generate.c:1977:19: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
htmlify(p->down, p->ident ? "div" : "blockquote", p->ident, f);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
generate.c:1895:29: note: passing argument to parameter 'block' here
htmlify(Paragraph *p, char *block, char *arguments, MMIOT *f)
^
generate.c:1991:10: warning: passing 'const char[7]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Qstring("
", f);
^~~~~~~~
generate.c:151:15: note: passing argument to parameter 's' here
Qstring(char *s, MMIOT *f)
^
generate.c:2025:23: warning: passing 'const char[37]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Csprintf(&m->out, "\n\n");
^~~~~~~~~~~~~~~~~
./cstring.h:73:38: note: passing argument to parameter here
extern int Csprintf(Cstring *, char *, ...);
^
184 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o gethopt.o -c gethopt.c
gethopt.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hoptset(ctx, argc, argv)
^
gethopt.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hoptarg(ctx)
^
gethopt.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hoptind(ctx)
^
gethopt.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hoptopt(ctx)
^
gethopt.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gethopt(ctx, opts, nropts)
^
gethopt.c:78:18: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
ctx->optend = 1;
^ ~
gethopt.c:86:18: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
ctx->optend = 1;
^ ~
gethopt.c:235:5: warning: 'DEBUG' is not defined, evaluates to 0 [-Wundef]
#if DEBUG
^
8 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o github_flavoured.o -c github_flavoured.c
In file included from github_flavoured.c:16:
./markdown.h:9:7: warning: 'HAVE_STDINT_H' is not defined, evaluates to 0 [-Wundef]
#elif HAVE_STDINT_H
^
./markdown.h:58:5: warning: 'GITHUB_CHECKBOX' is not defined, evaluates to 0 [-Wundef]
#if GITHUB_CHECKBOX
^
2 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o h1title.o -c h1title.c
In file included from h1title.c:2:
./markdown.h:9:7: warning: 'HAVE_STDINT_H' is not defined, evaluates to 0 [-Wundef]
#elif HAVE_STDINT_H
^
./markdown.h:58:5: warning: 'GITHUB_CHECKBOX' is not defined, evaluates to 0 [-Wundef]
#if GITHUB_CHECKBOX
^
2 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o html5.o -c html5.c
html5.c:13:20: warning: passing 'const char[6]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
mkd_define_tag("ASIDE", 0);
^~~~~~~
./tags.h:17:27: note: passing argument to parameter here
void mkd_define_tag(char *, int);
^
html5.c:14:20: warning: passing 'const char[7]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
mkd_define_tag("FOOTER", 0);
^~~~~~~~
./tags.h:17:27: note: passing argument to parameter here
void mkd_define_tag(char *, int);
^
html5.c:15:20: warning: passing 'const char[7]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
mkd_define_tag("HEADER", 0);
^~~~~~~~
./tags.h:17:27: note: passing argument to parameter here
void mkd_define_tag(char *, int);
^
html5.c:16:20: warning: passing 'const char[4]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
mkd_define_tag("NAV", 0);
^~~~~
./tags.h:17:27: note: passing argument to parameter here
void mkd_define_tag(char *, int);
^
html5.c:17:20: warning: passing 'const char[8]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
mkd_define_tag("SECTION", 0);
^~~~~~~~~
./tags.h:17:27: note: passing argument to parameter here
void mkd_define_tag(char *, int);
^
html5.c:18:20: warning: passing 'const char[8]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
mkd_define_tag("ARTICLE", 0);
^~~~~~~~~
./tags.h:17:27: note: passing argument to parameter here
void mkd_define_tag(char *, int);
^
6 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o markdown.o -c markdown.c
In file included from markdown.c:17:
./markdown.h:9:7: warning: 'HAVE_STDINT_H' is not defined, evaluates to 0 [-Wundef]
#elif HAVE_STDINT_H
^
./markdown.h:58:5: warning: 'GITHUB_CHECKBOX' is not defined, evaluates to 0 [-Wundef]
#if GITHUB_CHECKBOX
^
markdown.c:107:30: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
static struct kw comment = { "!--", 3, 0 };
^~~~~
markdown.c:266:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if ( end = strstr(T(t->text), "-->") ) {
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
markdown.c:266:14: note: place parentheses around the assignment to silence this warning
if ( end = strstr(T(t->text), "-->") ) {
^
( )
markdown.c:266:14: note: use '==' to turn this assignment into an equality comparison
if ( end = strstr(T(t->text), "-->") ) {
^
==
markdown.c:267:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if ( nextnonblank(t, 3 + (end - T(t->text))) < S(t->text) )
~~~~~~~~~~~~ ~~^~~~~~~~~~~~~~~~~~~~
markdown.c:317:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if ( closing = (c == '/') ) c = flogetc(&f);
~~~~~~~~^~~~~~~~~~~~
markdown.c:317:16: note: place parentheses around the assignment to silence this warning
if ( closing = (c == '/') ) c = flogetc(&f);
^
( )
markdown.c:317:16: note: use '==' to turn this assignment into an equality comparison
if ( closing = (c == '/') ) c = flogetc(&f);
^
==
markdown.c:491:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if ( x=is_extra_dt(t->next, clip, flags) )
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
markdown.c:491:8: note: place parentheses around the assignment to silence this warning
if ( x=is_extra_dt(t->next, clip, flags) )
^
( )
markdown.c:491:8: note: use '==' to turn this assignment into an equality comparison
if ( x=is_extra_dt(t->next, clip, flags) )
^
==
markdown.c:504:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if ( ret = is_discount_dt(t,clip,flags) )
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
markdown.c:504:14: note: place parentheses around the assignment to silence this warning
if ( ret = is_discount_dt(t,clip,flags) )
^
( )
markdown.c:504:14: note: use '==' to turn this assignment into an equality comparison
if ( ret = is_discount_dt(t,clip,flags) )
^
==
markdown.c:822:8: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
char *prefix = "class";
^ ~~~~~~~
markdown.c:830:12: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
prefix="id";
^~~~~
markdown.c:832:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if ( p->ident = malloc(4+strlen(prefix)+S(q->text)) )
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
markdown.c:832:16: note: place parentheses around the assignment to silence this warning
if ( p->ident = malloc(4+strlen(prefix)+S(q->text)) )
^
( )
markdown.c:832:16: note: use '==' to turn this assignment into an equality comparison
if ( p->ident = malloc(4+strlen(prefix)+S(q->text)) )
^
==
markdown.c:944:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if ( para = (text != q->next) )
~~~~~^~~~~~~~~~~~~~~~~~~
markdown.c:944:12: note: place parentheses around the assignment to silence this warning
if ( para = (text != q->next) )
^
( )
markdown.c:944:12: note: use '==' to turn this assignment into an equality comparison
if ( para = (text != q->next) )
^
==
markdown.c:967:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if ( para = (q != text) ) {
~~~~~^~~~~~~~~~~~~
markdown.c:967:12: note: place parentheses around the assignment to silence this warning
if ( para = (q != text) ) {
^
( )
markdown.c:967:12: note: use '==' to turn this assignment into an equality comparison
if ( para = (q != text) ) {
^
==
markdown.c:1007:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if ( para = (q != text) ) {
~~~~~^~~~~~~~~~~~~
markdown.c:1007:12: note: place parentheses around the assignment to silence this warning
if ( para = (q != text) ) {
^
( )
markdown.c:1007:12: note: use '==' to turn this assignment into an equality comparison
if ( para = (q != text) ) {
^
==
markdown.c:1347:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
else if ( list_class = islist(ptr, &indent, f->flags, &list_type) ) {
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
markdown.c:1347:23: note: place parentheses around the assignment to silence this warning
else if ( list_class = islist(ptr, &indent, f->flags, &list_type) ) {
^
( )
markdown.c:1347:23: note: use '==' to turn this assignment into an equality comparison
else if ( list_class = islist(ptr, &indent, f->flags, &list_type) ) {
^
==
15 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o mkdio.o -c mkdio.c
In file included from mkdio.c:14:
./markdown.h:9:7: warning: 'HAVE_STDINT_H' is not defined, evaluates to 0 [-Wundef]
#elif HAVE_STDINT_H
^
./markdown.h:58:5: warning: 'GITHUB_CHECKBOX' is not defined, evaluates to 0 [-Wundef]
#if GITHUB_CHECKBOX
^
mkdio.c:28:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if ( ret->ctx = calloc(sizeof(MMIOT), 1) ) {
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
mkdio.c:28:16: note: place parentheses around the assignment to silence this warning
if ( ret->ctx = calloc(sizeof(MMIOT), 1) ) {
^
( )
mkdio.c:28:16: note: use '==' to turn this assignment into an equality comparison
if ( ret->ctx = calloc(sizeof(MMIOT), 1) ) {
^
==
mkdio.c:332:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if ( len = S(f.out) ) {
~~~~^~~~~~~~~~
mkdio.c:332:14: note: place parentheses around the assignment to silence this warning
if ( len = S(f.out) ) {
^
( )
mkdio.c:332:14: note: use '==' to turn this assignment into an equality comparison
if ( len = S(f.out) ) {
^
==
mkdio.c:363:49: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
status = fwrite(T(f.out), S(f.out), 1, output) == S(f.out);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
5 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o mktags.o -c mktags.c
mktags.c:21:15: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
p->size = strlen(id);
~ ^~~~~~~~~~
mktags.c:53:8: warning: passing 'const char[6]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("STYLE");
^~~~~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:54:8: warning: passing 'const char[7]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("SCRIPT");
^~~~~~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:55:8: warning: passing 'const char[8]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("ADDRESS");
^~~~~~~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:56:8: warning: passing 'const char[4]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("BDO");
^~~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:57:8: warning: passing 'const char[11]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("BLOCKQUOTE");
^~~~~~~~~~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:58:8: warning: passing 'const char[7]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("CENTER");
^~~~~~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:59:8: warning: passing 'const char[4]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("DFN");
^~~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:60:8: warning: passing 'const char[4]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("DIV");
^~~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:61:8: warning: passing 'const char[7]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("OBJECT");
^~~~~~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:62:8: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("H1");
^~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:63:8: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("H2");
^~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:64:8: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("H3");
^~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:65:8: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("H4");
^~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:66:8: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("H5");
^~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:67:8: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("H6");
^~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:68:8: warning: passing 'const char[8]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("LISTING");
^~~~~~~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:69:8: warning: passing 'const char[5]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("NOBR");
^~~~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:70:8: warning: passing 'const char[5]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("FORM");
^~~~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:71:8: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("UL");
^~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:72:8: warning: passing 'const char[2]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("P");
^~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:73:8: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("OL");
^~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:74:8: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("DL");
^~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:75:8: warning: passing 'const char[10]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("PLAINTEXT");
^~~~~~~~~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:76:8: warning: passing 'const char[4]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("PRE");
^~~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:77:8: warning: passing 'const char[6]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("TABLE");
^~~~~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:78:8: warning: passing 'const char[4]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("WBR");
^~~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:79:8: warning: passing 'const char[4]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("XMP");
^~~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:80:8: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
SC("HR");
^~~~
mktags.c:51:30: note: expanded from macro 'SC'
#define SC(x) define_one_tag(x, 1)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:81:8: warning: passing 'const char[7]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("IFRAME");
^~~~~~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
mktags.c:82:8: warning: passing 'const char[4]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
KW("MAP");
^~~~~
mktags.c:50:30: note: expanded from macro 'KW'
#define KW(x) define_one_tag(x, 0)
^
mktags.c:16:22: note: passing argument to parameter 'id' here
define_one_tag(char *id, int selfclose)
^
31 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o notspecial.o -c notspecial.c
notspecial.c:9:5: warning: 'HAVE_STAT' is not defined, evaluates to 0 [-Wundef]
#if HAVE_STAT && HAS_ISCHR && HAS_ISFIFO && HAS_ISSOCK
^
notspecial.c:31:5: warning: 'DEBUG' is not defined, evaluates to 0 [-Wundef]
#if DEBUG
^
2 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o pgm_options.o -c pgm_options.c
pgm_options.c:19:5: warning: 'HAVE_LIBGEN_H' is not defined, evaluates to 0 [-Wundef]
#if HAVE_LIBGEN_H
^
pgm_options.c:31:7: warning: initializing 'char *' with an expression of type 'const char[8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "tabstop", "default (4-space) tabstops", 0, 0, 1, MKD_TABSTOP },
^~~~~~~~~
pgm_options.c:31:24: warning: initializing 'char *' with an expression of type 'const char[27]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "tabstop", "default (4-space) tabstops", 0, 0, 1, MKD_TABSTOP },
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgm_options.c:32:7: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "image", "images", 1, 0, 1, MKD_NOIMAGE },
^~~~~~~
pgm_options.c:32:24: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "image", "images", 1, 0, 1, MKD_NOIMAGE },
^~~~~~~~
pgm_options.c:33:7: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "links", "links", 1, 0, 1, MKD_NOLINKS },
^~~~~~~
pgm_options.c:33:24: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "links", "links", 1, 0, 1, MKD_NOLINKS },
^~~~~~~
pgm_options.c:34:7: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "relax", "Markdown.pl compatibility", 1, 1, 1, MKD_STRICT },
^~~~~~~
pgm_options.c:34:24: warning: initializing 'char *' with an expression of type 'const char[26]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "relax", "Markdown.pl compatibility", 1, 1, 1, MKD_STRICT },
^~~~~~~~~~~~~~~~~~~~~~~~~~~
pgm_options.c:35:7: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "strict", "Markdown.pl compatibility", 0, 0, 1, MKD_STRICT },
^~~~~~~~
pgm_options.c:35:24: warning: initializing 'char *' with an expression of type 'const char[26]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "strict", "Markdown.pl compatibility", 0, 0, 1, MKD_STRICT },
^~~~~~~~~~~~~~~~~~~~~~~~~~~
pgm_options.c:36:7: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "tables", "tables", 1, 0, 1, MKD_NOTABLES },
^~~~~~~~
pgm_options.c:36:24: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "tables", "tables", 1, 0, 1, MKD_NOTABLES },
^~~~~~~~
pgm_options.c:37:7: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "header", "pandoc-style headers", 1, 0, 1, MKD_NOHEADER },
^~~~~~~~
pgm_options.c:37:24: warning: initializing 'char *' with an expression of type 'const char[21]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "header", "pandoc-style headers", 1, 0, 1, MKD_NOHEADER },
^~~~~~~~~~~~~~~~~~~~~~
pgm_options.c:38:7: warning: initializing 'char *' with an expression of type 'const char[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "html", "raw html", 1, 0, 1, MKD_NOHTML },
^~~~~~
pgm_options.c:38:24: warning: initializing 'char *' with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "html", "raw html", 1, 0, 1, MKD_NOHTML },
^~~~~~~~~~
pgm_options.c:39:7: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "ext", "extended protocols", 1, 0, 1, MKD_NO_EXT },
^~~~~
pgm_options.c:39:24: warning: initializing 'char *' with an expression of type 'const char[19]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "ext", "extended protocols", 1, 0, 1, MKD_NO_EXT },
^~~~~~~~~~~~~~~~~~~~
pgm_options.c:40:7: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "cdata", "generate cdata", 0, 0, 0, MKD_CDATA },
^~~~~~~
pgm_options.c:40:24: warning: initializing 'char *' with an expression of type 'const char[15]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "cdata", "generate cdata", 0, 0, 0, MKD_CDATA },
^~~~~~~~~~~~~~~~
pgm_options.c:41:7: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "smarty", "smartypants", 1, 0, 1, MKD_NOPANTS },
^~~~~~~~
pgm_options.c:41:24: warning: initializing 'char *' with an expression of type 'const char[12]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "smarty", "smartypants", 1, 0, 1, MKD_NOPANTS },
^~~~~~~~~~~~~
pgm_options.c:42:7: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "pants", "smartypants", 1, 1, 1, MKD_NOPANTS },
^~~~~~~
pgm_options.c:42:24: warning: initializing 'char *' with an expression of type 'const char[12]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "pants", "smartypants", 1, 1, 1, MKD_NOPANTS },
^~~~~~~~~~~~~
pgm_options.c:43:7: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "toc", "tables of contents", 0, 0, 1, MKD_TOC },
^~~~~
pgm_options.c:43:24: warning: initializing 'char *' with an expression of type 'const char[19]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "toc", "tables of contents", 0, 0, 1, MKD_TOC },
^~~~~~~~~~~~~~~~~~~~
pgm_options.c:44:7: warning: initializing 'char *' with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "autolink", "autolinking", 0, 0, 1, MKD_AUTOLINK },
^~~~~~~~~~
pgm_options.c:44:24: warning: initializing 'char *' with an expression of type 'const char[12]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "autolink", "autolinking", 0, 0, 1, MKD_AUTOLINK },
^~~~~~~~~~~~~
pgm_options.c:45:7: warning: initializing 'char *' with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "safelink", "safe links", 0, 0, 1, MKD_SAFELINK },
^~~~~~~~~~
pgm_options.c:45:24: warning: initializing 'char *' with an expression of type 'const char[11]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "safelink", "safe links", 0, 0, 1, MKD_SAFELINK },
^~~~~~~~~~~~
pgm_options.c:46:7: warning: initializing 'char *' with an expression of type 'const char[14]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "strikethrough", "strikethrough", 1, 0, 1, MKD_NOSTRIKETHROUGH },
^~~~~~~~~~~~~~~
pgm_options.c:46:24: warning: initializing 'char *' with an expression of type 'const char[14]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "strikethrough", "strikethrough", 1, 0, 1, MKD_NOSTRIKETHROUGH },
^~~~~~~~~~~~~~~
pgm_options.c:47:7: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "del", "strikethrough", 1, 1, 1, MKD_NOSTRIKETHROUGH },
^~~~~
pgm_options.c:47:24: warning: initializing 'char *' with an expression of type 'const char[14]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "del", "strikethrough", 1, 1, 1, MKD_NOSTRIKETHROUGH },
^~~~~~~~~~~~~~~
pgm_options.c:48:7: warning: initializing 'char *' with an expression of type 'const char[12]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "superscript", "superscript", 1, 0, 1, MKD_NOSUPERSCRIPT },
^~~~~~~~~~~~~
pgm_options.c:48:24: warning: initializing 'char *' with an expression of type 'const char[12]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "superscript", "superscript", 1, 0, 1, MKD_NOSUPERSCRIPT },
^~~~~~~~~~~~~
pgm_options.c:49:7: warning: initializing 'char *' with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "emphasis", "emphasis inside words", 0, 0, 1, MKD_NORELAXED },
^~~~~~~~~~
pgm_options.c:49:24: warning: initializing 'char *' with an expression of type 'const char[22]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "emphasis", "emphasis inside words", 0, 0, 1, MKD_NORELAXED },
^~~~~~~~~~~~~~~~~~~~~~~
pgm_options.c:50:7: warning: initializing 'char *' with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "divquote", ">%class% blockquotes", 1, 0, 1, MKD_NODIVQUOTE },
^~~~~~~~~~
pgm_options.c:50:24: warning: initializing 'char *' with an expression of type 'const char[21]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "divquote", ">%class% blockquotes", 1, 0, 1, MKD_NODIVQUOTE },
^~~~~~~~~~~~~~~~~~~~~~
pgm_options.c:51:7: warning: initializing 'char *' with an expression of type 'const char[10]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "alphalist", "alpha lists", 1, 0, 1, MKD_NOALPHALIST },
^~~~~~~~~~~
pgm_options.c:51:24: warning: initializing 'char *' with an expression of type 'const char[12]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "alphalist", "alpha lists", 1, 0, 1, MKD_NOALPHALIST },
^~~~~~~~~~~~~
pgm_options.c:52:7: warning: initializing 'char *' with an expression of type 'const char[15]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "definitionlist","definition lists", 1, 0, 1, MKD_NODLIST },
^~~~~~~~~~~~~~~~
pgm_options.c:52:24: warning: initializing 'char *' with an expression of type 'const char[17]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "definitionlist","definition lists", 1, 0, 1, MKD_NODLIST },
^~~~~~~~~~~~~~~~~~
pgm_options.c:53:7: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "1.0", "markdown 1.0 compatibility", 0, 0, 1, MKD_1_COMPAT },
^~~~~
pgm_options.c:53:24: warning: initializing 'char *' with an expression of type 'const char[27]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "1.0", "markdown 1.0 compatibility", 0, 0, 1, MKD_1_COMPAT },
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgm_options.c:54:7: warning: initializing 'char *' with an expression of type 'const char[10]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "footnotes", "markdown extra footnotes", 0, 0, 1, MKD_EXTRA_FOOTNOTE },
^~~~~~~~~~~
pgm_options.c:54:24: warning: initializing 'char *' with an expression of type 'const char[25]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "footnotes", "markdown extra footnotes", 0, 0, 1, MKD_EXTRA_FOOTNOTE },
^~~~~~~~~~~~~~~~~~~~~~~~~~
pgm_options.c:55:7: warning: initializing 'char *' with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "footnote", "markdown extra footnotes", 0, 1, 1, MKD_EXTRA_FOOTNOTE },
^~~~~~~~~~
pgm_options.c:55:24: warning: initializing 'char *' with an expression of type 'const char[25]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "footnote", "markdown extra footnotes", 0, 1, 1, MKD_EXTRA_FOOTNOTE },
^~~~~~~~~~~~~~~~~~~~~~~~~~
pgm_options.c:56:7: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "style", "extract style blocks", 1, 0, 1, MKD_NOSTYLE },
^~~~~~~
pgm_options.c:56:24: warning: initializing 'char *' with an expression of type 'const char[21]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "style", "extract style blocks", 1, 0, 1, MKD_NOSTYLE },
^~~~~~~~~~~~~~~~~~~~~~
pgm_options.c:57:7: warning: initializing 'char *' with an expression of type 'const char[11]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "dldiscount", "discount-style definition lists", 1, 0, 1, MKD_NODLDISCOUNT },
^~~~~~~~~~~~
pgm_options.c:57:24: warning: initializing 'char *' with an expression of type 'const char[32]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "dldiscount", "discount-style definition lists", 1, 0, 1, MKD_NODLDISCOUNT },
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgm_options.c:58:7: warning: initializing 'char *' with an expression of type 'const char[8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "dlextra", "extra-style definition lists", 0, 0, 1, MKD_DLEXTRA },
^~~~~~~~~
pgm_options.c:58:24: warning: initializing 'char *' with an expression of type 'const char[29]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "dlextra", "extra-style definition lists", 0, 0, 1, MKD_DLEXTRA },
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgm_options.c:59:7: warning: initializing 'char *' with an expression of type 'const char[11]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "fencedcode", "fenced code blocks", 0, 0, 1, MKD_FENCEDCODE },
^~~~~~~~~~~~
pgm_options.c:59:24: warning: initializing 'char *' with an expression of type 'const char[19]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "fencedcode", "fenced code blocks", 0, 0, 1, MKD_FENCEDCODE },
^~~~~~~~~~~~~~~~~~~~
pgm_options.c:60:7: warning: initializing 'char *' with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "idanchor", "id= anchors in TOC", 0, 0, 1, MKD_IDANCHOR },
^~~~~~~~~~
pgm_options.c:60:24: warning: initializing 'char *' with an expression of type 'const char[19]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "idanchor", "id= anchors in TOC", 0, 0, 1, MKD_IDANCHOR },
^~~~~~~~~~~~~~~~~~~~
pgm_options.c:61:7: warning: initializing 'char *' with an expression of type 'const char[11]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "githubtags", "permit - and _ in element names", 0, 0, 0, MKD_GITHUBTAGS },
^~~~~~~~~~~~
pgm_options.c:61:24: warning: initializing 'char *' with an expression of type 'const char[32]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "githubtags", "permit - and _ in element names", 0, 0, 0, MKD_GITHUBTAGS },
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgm_options.c:62:7: warning: initializing 'char *' with an expression of type 'const char[17]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "urlencodedanchor", "html5-style anchors", 0, 0, 0, MKD_URLENCODEDANCHOR },
^~~~~~~~~~~~~~~~~~
pgm_options.c:62:27: warning: initializing 'char *' with an expression of type 'const char[20]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "urlencodedanchor", "html5-style anchors", 0, 0, 0, MKD_URLENCODEDANCHOR },
^~~~~~~~~~~~~~~~~~~~~
pgm_options.c:63:7: warning: initializing 'char *' with an expression of type 'const char[12]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "html5anchor", "html5-style anchors", 0, 1, 0, MKD_URLENCODEDANCHOR },
^~~~~~~~~~~~~
pgm_options.c:63:24: warning: initializing 'char *' with an expression of type 'const char[20]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "html5anchor", "html5-style anchors", 0, 1, 0, MKD_URLENCODEDANCHOR },
^~~~~~~~~~~~~~~~~~~~~
pgm_options.c:64:7: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "latex", "handle LaTeX escapes", 0, 0, 1, MKD_LATEX },
^~~~~~~
pgm_options.c:64:24: warning: initializing 'char *' with an expression of type 'const char[21]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "latex", "handle LaTeX escapes", 0, 0, 1, MKD_LATEX },
^~~~~~~~~~~~~~~~~~~~~~
pgm_options.c:65:7: warning: initializing 'char *' with an expression of type 'const char[13]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "explicitlist", "do not merge adjacent numeric/bullet lists", 0, 0, 1, MKD_EXPLICITLIST },
^~~~~~~~~~~~~~
pgm_options.c:65:24: warning: initializing 'char *' with an expression of type 'const char[43]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "explicitlist", "do not merge adjacent numeric/bullet lists", 0, 0, 1, MKD_EXPLICITLIST },
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgm_options.c:94:14: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for (i=0; i < NR(opts); i++)
~ ^ ~~~~~~~~
pgm_options.c:101:14: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for (i=0; i < NR(opts); i++)
~ ^ ~~~~~~~~
pgm_options.c:129:15: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for ( i=0; i < NR(opts); i++ )
~ ^ ~~~~~~~~
pgm_options.c:133:9: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
if ( i < NR(opts) ) {
~ ^ ~~~~~~~~
75 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o rdiscount.o -c rdiscount.c
rdiscount.c:26:7: warning: initializing 'char *' with an expression of type 'const char[12]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "filter_html", MKD_NOHTML },
^~~~~~~~~~~~~
rdiscount.c:27:7: warning: initializing 'char *' with an expression of type 'const char[10]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "footnotes", MKD_EXTRA_FOOTNOTE },
^~~~~~~~~~~
rdiscount.c:28:7: warning: initializing 'char *' with an expression of type 'const char[13]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "generate_toc", MKD_TOC },
^~~~~~~~~~~~~~
rdiscount.c:29:7: warning: initializing 'char *' with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "no_image", MKD_NOIMAGE },
^~~~~~~~~~
rdiscount.c:30:7: warning: initializing 'char *' with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "no_links", MKD_NOLINKS },
^~~~~~~~~~
rdiscount.c:31:7: warning: initializing 'char *' with an expression of type 'const char[10]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "no_tables", MKD_NOTABLES },
^~~~~~~~~~~
rdiscount.c:32:7: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "strict", MKD_STRICT },
^~~~~~~~
rdiscount.c:33:7: warning: initializing 'char *' with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "autolink", MKD_AUTOLINK },
^~~~~~~~~~
rdiscount.c:34:7: warning: initializing 'char *' with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "safelink", MKD_SAFELINK },
^~~~~~~~~~
rdiscount.c:35:7: warning: initializing 'char *' with an expression of type 'const char[20]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "no_pseudo_protocols", MKD_NO_EXT },
^~~~~~~~~~~~~~~~~~~~~
rdiscount.c:36:7: warning: initializing 'char *' with an expression of type 'const char[15]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "no_superscript", MKD_NOSUPERSCRIPT },
^~~~~~~~~~~~~~~~
rdiscount.c:37:7: warning: initializing 'char *' with an expression of type 'const char[17]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "no_strikethrough", MKD_NOSTRIKETHROUGH },
^~~~~~~~~~~~~~~~~~
rdiscount.c:38:7: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "latex", MKD_LATEX },
^~~~~~~
rdiscount.c:39:7: warning: initializing 'char *' with an expression of type 'const char[13]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "explicitlist", MKD_EXPLICITLIST },
^~~~~~~~~~~~~~
rdiscount.c:40:7: warning: initializing 'char *' with an expression of type 'const char[10]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "md1compat", MKD_1_COMPAT },
^~~~~~~~~~~
rdiscount.c:97:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
MMIOT *doc = mkd_string(RSTRING_PTR(text), RSTRING_LEN(text), flags);
~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/usr/local/include/ruby-3.3/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN RSTRING_LEN
^
rdiscount.c:136:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
MMIOT *doc = mkd_string(RSTRING_PTR(text), RSTRING_LEN(text), flags);
~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/usr/local/include/ruby-3.3/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN RSTRING_LEN
^
17 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o resource.o -c resource.c
In file included from resource.c:17:
./markdown.h:9:7: warning: 'HAVE_STDINT_H' is not defined, evaluates to 0 [-Wundef]
#elif HAVE_STDINT_H
^
./markdown.h:58:5: warning: 'GITHUB_CHECKBOX' is not defined, evaluates to 0 [-Wundef]
#if GITHUB_CHECKBOX
^
2 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o setup.o -c setup.c
In file included from setup.c:17:
./markdown.h:9:7: warning: 'HAVE_STDINT_H' is not defined, evaluates to 0 [-Wundef]
#elif HAVE_STDINT_H
^
./markdown.h:58:5: warning: 'GITHUB_CHECKBOX' is not defined, evaluates to 0 [-Wundef]
#if GITHUB_CHECKBOX
^
2 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o tags.o -c tags.c
In file included from tags.c:17:
./blocktags:2:6: warning: initializing 'char *' with an expression of type 'const char[2]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "P", 1, 0 },
^~~
./blocktags:3:6: warning: initializing 'char *' with an expression of type 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "DL", 2, 0 },
^~~~
./blocktags:4:6: warning: initializing 'char *' with an expression of type 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "H1", 2, 0 },
^~~~
./blocktags:5:6: warning: initializing 'char *' with an expression of type 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "H2", 2, 0 },
^~~~
./blocktags:6:6: warning: initializing 'char *' with an expression of type 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "H3", 2, 0 },
^~~~
./blocktags:7:6: warning: initializing 'char *' with an expression of type 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "H4", 2, 0 },
^~~~
./blocktags:8:6: warning: initializing 'char *' with an expression of type 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "H5", 2, 0 },
^~~~
./blocktags:9:6: warning: initializing 'char *' with an expression of type 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "H6", 2, 0 },
^~~~
./blocktags:10:6: warning: initializing 'char *' with an expression of type 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "HR", 2, 1 },
^~~~
./blocktags:11:6: warning: initializing 'char *' with an expression of type 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "OL", 2, 0 },
^~~~
./blocktags:12:6: warning: initializing 'char *' with an expression of type 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "UL", 2, 0 },
^~~~
./blocktags:13:6: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "BDO", 3, 0 },
^~~~~
./blocktags:14:6: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "DFN", 3, 0 },
^~~~~
./blocktags:15:6: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "DIV", 3, 0 },
^~~~~
./blocktags:16:6: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "MAP", 3, 0 },
^~~~~
./blocktags:17:6: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "PRE", 3, 0 },
^~~~~
./blocktags:18:6: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "WBR", 3, 0 },
^~~~~
./blocktags:19:6: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "XMP", 3, 0 },
^~~~~
./blocktags:20:6: warning: initializing 'char *' with an expression of type 'const char[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "FORM", 4, 0 },
^~~~~~
./blocktags:21:6: warning: initializing 'char *' with an expression of type 'const char[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "NOBR", 4, 0 },
^~~~~~
./blocktags:22:6: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "STYLE", 5, 0 },
^~~~~~~
./blocktags:23:6: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "TABLE", 5, 0 },
^~~~~~~
./blocktags:24:6: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "CENTER", 6, 0 },
^~~~~~~~
./blocktags:25:6: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "IFRAME", 6, 0 },
^~~~~~~~
./blocktags:26:6: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "OBJECT", 6, 0 },
^~~~~~~~
./blocktags:27:6: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "SCRIPT", 6, 0 },
^~~~~~~~
./blocktags:28:6: warning: initializing 'char *' with an expression of type 'const char[8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "ADDRESS", 7, 0 },
^~~~~~~~~
./blocktags:29:6: warning: initializing 'char *' with an expression of type 'const char[8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "LISTING", 7, 0 },
^~~~~~~~~
./blocktags:30:6: warning: initializing 'char *' with an expression of type 'const char[10]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "PLAINTEXT", 9, 0 },
^~~~~~~~~~~
./blocktags:31:6: warning: initializing 'char *' with an expression of type 'const char[11]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{ "BLOCKQUOTE", 10, 0 },
^~~~~~~~~~~~
tags.c:30:36: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
if ( !(p = mkd_search_tags(id, strlen(id))) ) {
~~~~~~~~~~~~~~~ ^~~~~~~~~~
tags.c:36:12: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
p->size = strlen(id);
~ ^~~~~~~~~~
32 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o toc.o -c toc.c
In file included from toc.c:15:
./markdown.h:9:7: warning: 'HAVE_STDINT_H' is not defined, evaluates to 0 [-Wundef]
#elif HAVE_STDINT_H
^
./markdown.h:58:5: warning: 'GITHUB_CHECKBOX' is not defined, evaluates to 0 [-Wundef]
#if GITHUB_CHECKBOX
^
toc.c:19:13: warning: passing 'const void *' to parameter of type 'Cstring *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Csputc(n, iot);
^~~
./cstring.h:72:34: note: passing argument to parameter here
extern void Csputc(int, Cstring *);
^
toc.c:20:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
toc.c:51:20: warning: passing 'const char[2]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Csprintf(&res, "\n");
^~~~
./cstring.h:73:38: note: passing argument to parameter here
extern int Csprintf(Cstring *, char *, ...);
^
toc.c:52:19: warning: passing 'const char[19]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Csprintf(&res, "\n%*s\n%*s",
^~~~~~~~~~~~~~~~~~~~~~
./cstring.h:73:38: note: passing argument to parameter here
extern int Csprintf(Cstring *, char *, ...);
^
toc.c:58:19: warning: passing 'const char[7]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Csprintf(&res, "\n");
^~~~~~~~~
./cstring.h:73:38: note: passing argument to parameter here
extern int Csprintf(Cstring *, char *, ...);
^
toc.c:60:19: warning: passing 'const char[2]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Csprintf(&res, "\n");
^~~~
./cstring.h:73:38: note: passing argument to parameter here
extern int Csprintf(Cstring *, char *, ...);
^
toc.c:63:19: warning: passing 'const char[9]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Csprintf(&res, "%*s\n", last_hnumber, "");
^~~~~~~~~~~
./cstring.h:73:38: note: passing argument to parameter here
extern int Csprintf(Cstring *, char *, ...);
^
toc.c:65:23: warning: passing 'const char[9]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Csprintf(&res, "%*s- \n", last_hnumber+1, "");
^~~~~~~~~~~
./cstring.h:73:38: note: passing argument to parameter here
extern int Csprintf(Cstring *, char *, ...);
^
toc.c:68:22: warning: passing 'const char[18]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Csprintf(&res, "%*s
- hnumber, "");
^~~~~~~~~~~~~~~~~~~~
./cstring.h:73:38: note: passing argument to parameter here
extern int Csprintf(Cstring *, char *, ...);
^
toc.c:73:22: warning: passing 'const char[3]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Csprintf(&res, "\">");
^~~~~
./cstring.h:73:38: note: passing argument to parameter here
extern int Csprintf(Cstring *, char *, ...);
^
toc.c:76:22: warning: passing 'const char[5]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Csprintf(&res, "");
^~~~~~
./cstring.h:73:38: note: passing argument to parameter here
extern int Csprintf(Cstring *, char *, ...);
^
toc.c:86:17: warning: passing 'const char[19]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Csprintf(&res, "
\n%*s
\n%*s",
^~~~~~~~~~~~~~~~~~~~~~
./cstring.h:73:38: note: passing argument to parameter here
extern int Csprintf(Cstring *, char *, ...);
^
toc.c:111:8: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
ret = fwrite(buf, 1, sz, out);
~ ^~~~~~~~~~~~~~~~~~~~~~~
15 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o version.o -c version.c
version.c:7:5: warning: 'USE_AMALLOC' is not defined, evaluates to 0 [-Wundef]
#if USE_AMALLOC
^
version.c:10:5: warning: 'GITHUB_CHECKBOX' is not defined, evaluates to 0 [-Wundef]
#if GITHUB_CHECKBOX
^
2 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o xml.o -c xml.c
In file included from xml.c:17:
./markdown.h:9:7: warning: 'HAVE_STDINT_H' is not defined, evaluates to 0 [-Wundef]
#elif HAVE_STDINT_H
^
./markdown.h:58:5: warning: 'GITHUB_CHECKBOX' is not defined, evaluates to 0 [-Wundef]
#if GITHUB_CHECKBOX
^
xml.c:26:24: warning: returning 'const char[5]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case '<': return "<";
^~~~~~
xml.c:27:24: warning: returning 'const char[5]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case '>': return ">";
^~~~~~
xml.c:28:24: warning: returning 'const char[6]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case '&': return "&";
^~~~~~~
xml.c:29:24: warning: returning 'const char[7]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case '"': return """;
^~~~~~~~
xml.c:30:24: warning: returning 'const char[7]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
case '\'': return "'";
^~~~~~~~
xml.c:33:10: warning: returning 'const char[1]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
return "";
^~
xml.c:49:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if ( entity = mkd_xmlchar(c) )
~~~~~~~^~~~~~~~~~~~~~~~
xml.c:49:14: note: place parentheses around the assignment to silence this warning
if ( entity = mkd_xmlchar(c) )
^
( )
xml.c:49:14: note: use '==' to turn this assignment into an equality comparison
if ( entity = mkd_xmlchar(c) )
^
==
xml.c:72:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if ( entity = mkd_xmlchar(c) )
~~~~~~~^~~~~~~~~~~~~~~~
xml.c:72:14: note: place parentheses around the assignment to silence this warning
if ( entity = mkd_xmlchar(c) )
^
( )
xml.c:72:14: note: use '==' to turn this assignment into an equality comparison
if ( entity = mkd_xmlchar(c) )
^
==
xml.c:73:26: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
Cswrite(&f, entity, strlen(entity));
~~~~~~~ ^~~~~~~~~~~~~~
11 warnings generated.
cc -I. -I/usr/local/include/ruby-3.3/x86_64-openbsd -I/usr/local/include/ruby-3.3/ruby/backward -I/usr/local/include/ruby-3.3 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.7c\" -DBRANCH="" -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -o xmlpage.o -c xmlpage.c
In file included from xmlpage.c:10:
./markdown.h:9:7: warning: 'HAVE_STDINT_H' is not defined, evaluates to 0 [-Wundef]
#elif HAVE_STDINT_H
^
./markdown.h:58:5: warning: 'GITHUB_CHECKBOX' is not defined, evaluates to 0 [-Wundef]
#if GITHUB_CHECKBOX
^
xmlpage.c:28:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if ( title = mkd_doc_title(p) ) {
~~~~~~^~~~~~~~~~~~~~~~~~
xmlpage.c:28:13: note: place parentheses around the assignment to silence this warning
if ( title = mkd_doc_title(p) ) {
^
( )
xmlpage.c:28:13: note: use '==' to turn this assignment into an equality comparison
if ( title = mkd_doc_title(p) ) {
^
==
3 warnings generated.
rm -f rdiscount.so
cc -shared -fPIC -o rdiscount.so Csio.o amalloc.o basename.o css.o docheader.o dumptree.o emmatch.o flags.o generate.o gethopt.o github_flavoured.o h1title.o html5.o markdown.o mkdio.o mktags.o notspecial.o pgm_options.o rdiscount.o resource.o setup.o tags.o toc.o version.o xml.o xmlpage.o -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -L/usr/local/lib -fstack-protector-strong -Wl,-E -Wl,--no-as-needed -lpthread -lc++abi -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby33 -lm -pthread -lc
ld: warning: basename.c:24(basename.o:(e_basename)): warning: strcpy() is almost always misused, please use strlcpy()
ld: warning: generate.c:837(generate.o:(process_possible_link)): warning: random() may return deterministic values, is that what you want?
ld: warning: markdown.c:833(markdown.o:(compile)): warning: sprintf() is often misused, please use snprintf()
current directory: /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext
["make", "V=1", "INSTALL_PROGRAM=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -c -s -m 755", "INSTALL_SCRIPT=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -c -m 755", "INSTALL_DATA=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -c -m 644", "INSTALL=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -c ", "DESTDIR=", "sitearchdir=./.gem.20241117-97754-hv0621", "sitelibdir=./.gem.20241117-97754-hv0621", "install"]
WARNING: You don't have /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/bin in your PATH,
gem executables (rdiscount) will not run.
mkdir -p . ./.gem.20241117-97754-hv0621
exit > ./.sitearchdir.time
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -c -m 0755 rdiscount.so ./.gem.20241117-97754-hv0621
current directory: /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext
/usr/local/bin/ruby33 extconf.rb
current directory: /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext
make V\=1 INSTALL_PROGRAM\=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install\ -c\ -s\ -m\ 755 INSTALL_SCRIPT\=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install\ -c\ -m\ 755 INSTALL_DATA\=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install\ -c\ -m\ 644 INSTALL\=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install\ -c\ DESTDIR\= sitearchdir\=./.gem.20241117-97754-hv0621 sitelibdir\=./.gem.20241117-97754-hv0621 clean
current directory: /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext
make V\=1 INSTALL_PROGRAM\=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install\ -c\ -s\ -m\ 755 INSTALL_SCRIPT\=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install\ -c\ -m\ 755 INSTALL_DATA\=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install\ -c\ -m\ 644 INSTALL\=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install\ -c\ DESTDIR\= sitearchdir\=./.gem.20241117-97754-hv0621 sitelibdir\=./.gem.20241117-97754-hv0621
current directory: /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/gems/rdiscount-2.2.7.1/ext
make V\=1 INSTALL_PROGRAM\=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install\ -c\ -s\ -m\ 755 INSTALL_SCRIPT\=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install\ -c\ -m\ 755 INSTALL_DATA\=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install\ -c\ -m\ 644 INSTALL\=/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install\ -c\ DESTDIR\= sitearchdir\=./.gem.20241117-97754-hv0621 sitelibdir\=./.gem.20241117-97754-hv0621 install
/exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/bin/rdiscount33
Successfully installed rdiscount-2.2.7.1
1 gem installed
>>> Running package in textproc/ruby-rdiscount,ruby33 at 1731802417.52
===> textproc/ruby-rdiscount,ruby33
===> Faking installation for ruby33-rdiscount-2.2.7.1
if [ -d /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/bin ]; then /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -d -m 755 /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/fake-amd64-ruby33/usr/local/bin; for f in /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/bin/*; do /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -c -m 755 $f /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/fake-amd64-ruby33/usr/local/bin; done; rm -r /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3/bin; fi; /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/bin/install -d -m 755 /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/fake-amd64-ruby33/usr/local/lib/ruby/gems/3.3; cd /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/gem-tmp/.gem/ruby/3.3 && mv * /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/fake-amd64-ruby33/usr/local/lib/ruby/gems/3.3; if [ 'X' != "Xlib/ruby/gems/3.3/extensions/x86_64-openbsd/3.3/rdiscount-2.2.7.1/gem.build_complete" ]; then mkdir -p /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/fake-amd64-ruby33/usr/local/lib/ruby/gems/3.3/extensions/x86_64-openbsd/3.3/rdiscount-2.2.7.1; touch /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/fake-amd64-ruby33/usr/local/lib/ruby/gems/3.3/extensions/x86_64-openbsd/3.3/rdiscount-2.2.7.1/gem.build_complete; fi
cd /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/fake-amd64-ruby33//usr/local/lib/ruby/gems/3.3/gems/rdiscount-2.2.7.1/man && mv rdiscount.1 /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/fake-amd64-ruby33//usr/local/man/man1/rdiscount33.1 && mv markdown.7 /exopi-obj/pobj/rdiscount-2.2.7.1-ruby33/fake-amd64-ruby33//usr/local/man/man7/markdown33.7 && cd .. && rm -r man
===> Building package for ruby33-rdiscount-2.2.7.1
Create /exopi-cvs/ports/packages/amd64/all/ruby33-rdiscount-2.2.7.1.tgz
Creating package ruby33-rdiscount-2.2.7.1
reading plist|
checking dependencies|
checking dependencies|lang/ruby/3.3,-main
checksumming|
checksumming| | 0%
checksumming|** | 3%
checksumming|*** | 5%
checksumming|***** | 8%
checksumming|******* | 11%
checksumming|******** | 14%
checksumming|********** | 16%
checksumming|************ | 19%
checksumming|************* | 22%
checksumming|*************** | 24%
checksumming|**************** | 27%
checksumming|****************** | 30%
checksumming|******************** | 32%
checksumming|********************* | 35%
checksumming|*********************** | 38%
checksumming|************************* | 41%
checksumming|************************** | 43%
checksumming|**************************** | 46%
checksumming|****************************** | 49%
checksumming|******************************* | 51%
checksumming|********************************* | 54%
checksumming|*********************************** | 57%
checksumming|************************************ | 59%
checksumming|************************************** | 62%
checksumming|**************************************** | 65%
checksumming|***************************************** | 68%
checksumming|******************************************* | 70%
checksumming|********************************************* | 73%
checksumming|********************************************** | 76%
checksumming|************************************************ | 78%
checksumming|************************************************* | 81%
checksumming|*************************************************** | 84%
checksumming|***************************************************** | 86%
checksumming|****************************************************** | 89%
checksumming|******************************************************** | 92%
checksumming|********************************************************** | 95%
checksumming|*********************************************************** | 97%
checksumming|*************************************************************|100%
archiving|
archiving| | 0%
archiving|*********** | 17%
archiving|***************************************************** | 83%
archiving|****************************************************** | 84%
archiving|****************************************************** | 85%
archiving|******************************************************* | 87%
archiving|******************************************************** | 87%
archiving|******************************************************** | 88%
archiving|********************************************************* | 88%
archiving|********************************************************** | 90%
archiving|*********************************************************** | 91%
archiving|************************************************************ | 93%
archiving|************************************************************ | 94%
archiving|****************************************************************|100%
Link to /exopi-cvs/ports/packages/amd64/ftp/ruby33-rdiscount-2.2.7.1.tgz
>>> Running clean in textproc/ruby-rdiscount,ruby33 at 1731802419.86
===> textproc/ruby-rdiscount,ruby33
===> Cleaning for ruby33-rdiscount-2.2.7.1
>>> Ended at 1731802420.08
max_stuck=0.67/depends=2.28/show-prepare-results=0.51/build=10.75/package=2.35/clean=0.25