=>> Building textproc/htmlc
build started at Fri Dec 12 13:50:26 EST 2025
port directory: /usr/ports/textproc/htmlc
package name: htmlc-2.21.0_1
building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64
maintained by: beyert@cs.ucr.edu
Makefile datestamp: -rw-r--r-- 1 root wheel 1773 Jan 23 2025 /usr/ports/textproc/htmlc/Makefile
Ports top last git commit: 62d8b1999233
Ports top unclean checkout: no
Port dir last git commit: f2e5a3618813
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500068
Jail OSVERSION: 1305000
Job Id: 12
---Begin Environment---
SHELL=/bin/csh
OSVERSION=1305000
UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000
UNAME_r=13.5-RELEASE-p7
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=tmux-256color
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/12/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=freebsd_13_5_x64-HEAD-ALL
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---
---Begin OPTIONS List---
===> The following configuration options are available for htmlc-2.21.0_1:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
beyert@cs.ucr.edu
--End MAINTAINER--
--CONFIGURE_ARGS--
--prefix /usr/local
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/htmlc/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/htmlc/work XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/htmlc/work/.cache HOME=/wrkdirs/usr/ports/textproc/htmlc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/textproc/htmlc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/htmlc/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--
--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/htmlc/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/htmlc/work XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/htmlc/work/.cache HOME=/wrkdirs/usr/ports/textproc/htmlc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/textproc/htmlc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/htmlc/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444"
--End MAKE_ENV--
--PLIST_SUB--
PORTDOCS="" OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/htmlc" EXAMPLESDIR="share/examples/htmlc" DATADIR="share/htmlc" WWWDIR="www/htmlc" ETCDIR="etc/htmlc"
--End PLIST_SUB--
--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/htmlc DOCSDIR=/usr/local/share/doc/htmlc EXAMPLESDIR=/usr/local/share/examples/htmlc WWWDIR=/usr/local/www/htmlc ETCDIR=/usr/local/etc/htmlc
--End SUB_LIST--
---Begin make.conf---
DEFAULT_VERSIONS+=pgsql=15
DEFAULT_VERSIONS+=php=82
DISABLE_LICENSES=yes
SELECTED_OPTIONS+=OPENBLAS
ARCHDEF=AMD64K10h64SSE3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### ####
DEFAULT_VERSIONS+=pgsql=15
DEFAULT_VERSIONS+=php=82
DISABLE_LICENSES=yes
SELECTED_OPTIONS+=OPENBLAS
ARCHDEF=AMD64K10h64SSE3
WITH_CCACHE_BUILD=yes
CCACHE_DIR=/root/.ccache
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time (seconds, -t) unlimited
file size (512-blocks, -f) unlimited
data seg size (kbytes, -d) 33554432
stack size (kbytes, -s) 524288
core file size (512-blocks, -c) unlimited
max memory size (kbytes, -m) unlimited
locked memory (kbytes, -l) unlimited
max user processes (-u) 89999
open files (-n) 8192
virtual mem size (kbytes, -v) unlimited
swap limit (kbytes, -w) unlimited
socket buffer size (bytes, -b) unlimited
pseudo-terminals (-p) unlimited
kqueues (-k) unlimited
umtx shared locks (-o) unlimited
--End resource limits--
===================================================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===========================================================================
===================================================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> htmlc-2.21.0_1 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-2.4.2_1.pkg
[pkg.DaveG.ca] Installing pkg-2.4.2_1...
[pkg.DaveG.ca] Extracting pkg-2.4.2_1: .......... done
===> htmlc-2.21.0_1 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of htmlc-2.21.0_1
===========================================================================
===================================================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
===================================================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Fetching all distfiles required by htmlc-2.21.0_1 for building
===========================================================================
===================================================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Fetching all distfiles required by htmlc-2.21.0_1 for building
=> SHA256 Checksum OK for htmlc-2.21.0.tgz.
===========================================================================
===================================================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
===================================================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Fetching all distfiles required by htmlc-2.21.0_1 for building
===> Extracting for htmlc-2.21.0_1
=> SHA256 Checksum OK for htmlc-2.21.0.tgz.
===========================================================================
===================================================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
===================================================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Patching for htmlc-2.21.0_1
===> Applying FreeBSD patches for htmlc-2.21.0_1 from /usr/ports/textproc/htmlc/files
/bin/rm -f /wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/doc/Makefile
/usr/bin/touch /wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/doc/Makefile
echo "all:" > /wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/doc/Makefile
/usr/bin/sed -i.bak 's|-warn-error A||g' /wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/config/Makefile
===========================================================================
===================================================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> htmlc-2.21.0_1 depends on executable: ocamlc - not found
===> Installing existing package /packages/All/ocaml-4.14.2.pkg
[pkg.DaveG.ca] Installing ocaml-4.14.2...
[pkg.DaveG.ca] Extracting ocaml-4.14.2: .......... done
===> htmlc-2.21.0_1 depends on executable: ocamlc - found
===> Returning to build of htmlc-2.21.0_1
===> htmlc-2.21.0_1 depends on package: gmake>=4.4.1 - not found
===> Installing existing package /packages/All/gmake-4.4.1.pkg
[pkg.DaveG.ca] Installing gmake-4.4.1...
[pkg.DaveG.ca] `-- Installing gettext-runtime-0.23.1...
[pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1...
[pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done
[pkg.DaveG.ca] `-- Extracting gettext-runtime-0.23.1: .......... done
[pkg.DaveG.ca] Extracting gmake-4.4.1: .......... done
===> htmlc-2.21.0_1 depends on package: gmake>=4.4.1 - found
===> Returning to build of htmlc-2.21.0_1
===> htmlc-2.21.0_1 depends on file: /usr/local/bin/ccache - not found
===> Installing existing package /packages/All/ccache-3.7.12_8.pkg
[pkg.DaveG.ca] Installing ccache-3.7.12_8...
[pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done
Create compiler links...
create symlink for cc
create symlink for cc (world)
create symlink for c++
create symlink for c++ (world)
create symlink for CC
create symlink for CC (world)
create symlink for clang
create symlink for clang (world)
create symlink for clang++
create symlink for clang++ (world)
=====
Message from ccache-3.7.12_8:
--
NOTE:
Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for
information on using ccache with FreeBSD ports and src.
===> htmlc-2.21.0_1 depends on file: /usr/local/bin/ccache - found
===> Returning to build of htmlc-2.21.0_1
===========================================================================
===================================================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
===================================================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Configuring for htmlc-2.21.0_1
===========================================================================
===================================================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Building for htmlc-2.21.0_1
cd compiler && /usr/local/bin/gmake byt
cd compiler && /usr/local/bin/gmake bin
cd doc && /usr/local/bin/gmake all
gmake[1]: Entering directory '/wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/compiler'
ocamlc -w A -g -c path.mli
gmake[1]: Entering directory '/wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/doc'
gmake[1]: Nothing to be done for 'all'.
gmake[1]: Leaving directory '/wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/doc'
gmake[1]: Entering directory '/wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/compiler'
ocamlc -w A -g -c path.mli
ocamlc -w A -g -c lib_strings.mli
ocamlc -w A -g -c lib_strings.mli
ocamlc -w A -g -c lang.mli
ocamlc -w A -g -c lang.mli
ocamlc -w A -g -c configuration.mli
ocamlc -w A -g -c configuration.mli
ocamlc -w A -g -c substitute.mli
ocamlc -w A -g -c substitute.mli
ocamlc -w A -g -c parser.mli
File "path.mli", lines 17-18, characters 0-30:
17 | (** This exception is raised when [pop] is called and the current
18 | directory path is empty. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "path.mli", lines 23-24, characters 0-12:
23 | (** The name of a file, the name of a directory, and the explicit name of a
24 | file. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "path.mli", line 27, characters 0-53:
27 | (** A directory path is a list of directory names. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "path.mli", lines 33-34, characters 0-64:
33 | (** The path machinery:
34 | define a current list of directories to search files into. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "path.mli", lines 39-40, characters 0-59:
39 | (** Opening files in the current path. Equivalent to the regular open
40 | primitives if the file name argument is not implicit. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "path.mli", lines 43-44, characters 0-37:
43 | (** Return the explicit file name of the first file with the given name
44 | in the current directory path. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "path.mli", line 47, characters 0-63:
47 | (** Print the given [Path.t] into the [Formatter.formatter]. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "path.mli", lines 17-18, characters 0-30:
17 | (** This exception is raised when [pop] is called and the current
18 | directory path is empty. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
ocamlc -w A -g -c parser.mli
ocamlc -w A -g -c version.mli
File "path.mli", lines 23-24, characters 0-12:
23 | (** The name of a file, the name of a directory, and the explicit name of a
24 | file. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "path.mli", line 27, characters 0-53:
27 | (** A directory path is a list of directory names. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "path.mli", lines 33-34, characters 0-64:
33 | (** The path machinery:
34 | define a current list of directories to search files into. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "path.mli", lines 39-40, characters 0-59:
39 | (** Opening files in the current path. Equivalent to the regular open
40 | primitives if the file name argument is not implicit. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "path.mli", lines 43-44, characters 0-37:
43 | (** Return the explicit file name of the first file with the given name
44 | in the current directory path. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "path.mli", line 47, characters 0-63:
47 | (** Print the given [Path.t] into the [Formatter.formatter]. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_strings.mli", lines 17-18, characters 2-78:
17 | ..(** [extract_string s start stop] returns the sub string of [s]
18 | starting at index [i_start] (inclusively) to index [i_stop] (excluded). *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_strings.mli", lines 21-27, characters 2-72:
21 | ..(** [starts_by s index pat] tests if, starting from index [index],
22 | the string [s] matches the pattern [pat].
23 |
24 | The empty string never matches a non empty pattern.
25 | Every string matches the empty pattern.
26 |
27 | Raises [Invalid_argument] if [index] is not a valid index of [s]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_strings.mli", lines 37-42, characters 2-72:
37 | ..(** [pos_string_rev s index char] finds the position of the occurrence of
38 | the character [char] that precedes the index [index], which should be a
39 | valid index into [s].
40 |
41 | Raises exception [Not_found] if there is no such position.
42 | Raises [Invalid_argument] if [index] is not a valid index of [s]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_strings.mli", lines 45-53, characters 2-72:
45 | ..(** [sub_string_from_to s index starter stopper] finds the sub string of
46 | [s] that is (strictly) comprised between the delimiters [starter]
47 | and [stopper]: that string starts after the first occurrence of
48 | character [starter] and ends before the first following
49 | occurrence of character [stopper]. Search for [starter] begins at
50 | index [index].
51 |
52 | Raises exception [Not_found] if there is no such position.
53 | Raises [Invalid_argument] if [index] is not a valid index of [s]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_strings.mli", lines 56-59, characters 2-58:
56 | ..(** [from_char_to_end s index char] returns the sub string of string [s] that
57 | starts from the position following the last occurrence of
58 | character [char], and ends to the end of the string [s].
59 | If [char] is not found, the string [s] is returned. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_strings.mli", lines 62-67, characters 2-34:
62 | ..(** [from_char_to s char index] returns the sub string of string [s] that
63 | starts from the position following the last occurrence of
64 | character [char] preceding [index], and ends to [index - 1].
65 |
66 | If [char] is not found, the sub-string of [s] starting from [0]
67 | to [index - 1] is returned. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
ocamlc -w A -g -c version.mli
File "lib_strings.mli", lines 70-77, characters 2-70:
70 | ..(** [from_to_char s index char] returns the sub string of string [s] that
71 | starts from the valid position [index] to the position preceding the
72 | first occurrence of character [char] following [index].
73 |
74 | If [char] is not found, the sub string from [index] to the end of
75 | [s] is returned.
76 |
77 | Raises [Invalid_arg] if [index] is not a valid index into [s]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_strings.mli", lines 80-89, characters 0-78:
80 | (** [center_gen c s len_in] centers [s] into a line made of [c] characters.
81 |
82 | [center_gen c s len_in] returns a string [res] of length [len_in], containing
83 | the with string [s] centered in [res]: [res] is filled with as many [c]
84 | characters on the left and on the right as to get [s] centered.
85 | In case [s] cannot fit exactly in the center of [res] (meaning
86 | [len_in - String.length s] is odd), there is one space character in excess
87 | on the right of [s].
88 |
89 | Raises [Failure] if string [s] cannot fit into a line of length [len_in]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
ocamlc -w A -g -c main.mli
File "lib_strings.mli", line 92, characters 0-51:
92 | (** [center] is a shortcut for [center_gen ' ']. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_strings.mli", lines 96-99, characters 0-78:
96 | (** Same as [center_gen] to put a string on the left or right of a line of the
97 | given length.
98 |
99 | Raises [Failure] if string [s] cannot fit into a line of length [len_in]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_strings.mli", lines 103-106, characters 0-78:
103 | (** Same as [center] to put a string on the left or right of a blank line of
104 | the given length.
105 |
106 | Raises [Failure] if string [s] cannot fit into a line of length [len_in]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
ocamlc -w A -g -c main.mli
File "lang.mli", lines 24-25, characters 1-63:
24 | .(** Returns a string representation of the given language argument,
25 | as a toplevel Internet two characters long country name. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", lines 28-32, characters 1-12:
28 | .(** Returns the language associated to a toplevel Internet two
29 | characters long country name.
30 |
31 | Raise [Not_found], if no language is available for that country
32 | name. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", lines 39-42, characters 0-13:
39 | (** Return the ``internal suffix'' of a file name, that is a sub-string
40 | delimited by [-] and [.] characters (as [fra] in [foo-fra.html] or
41 | [eng] in [foo-eng.html]). Raise [Not_found], if there is no such
42 | suffix. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", lines 45-52, characters 0-51:
45 | (** Return the language in which a file is written guessed from its name. We
46 | suppose that the language is indicated by a proper ``internal
47 | suffix'', as defined by [lang_suffix].
48 | Suffixes are respectively ["fra"] or ["fr"] for [Fr],
49 | ["eng"], ["en"], ["us"], or ["uk"] for [Uk],
50 | ["esp"] or ["es"] for [Es], ["deu"] or ["de"] for [De],
51 | and ["ita"] or ["it"] for [It].
52 | Default to [Uk], if no suffix has been found. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", line 55, characters 0-73:
55 | (** Returns a normalized three characters suffix value for a language. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", lines 58-61, characters 1-19:
58 | .(** Returns the language associated to a given suffix argument which may be
59 | a toplevel Internet country name, or a three letter prefix of the
60 | country name. Raise [Not_found], if no language is available for
61 | that suffix. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
ocamlc -w A -g -c path.ml
ocamlopt -w A -inline 10000 -c path.ml
File "lang.mli", lines 64-66, characters 0-33:
64 | (** Set the language to use. Then [get] will return [lang] and no guess
65 | is ever tried to find a language specification in file names when
66 | using [get_with_file_name]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", lines 69-70, characters 0-45:
69 | (** Returns the currently set language or the default language, as set
70 | by [set_default], or else returns [Uk]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", lines 73-74, characters 0-77:
73 | (** Returns the currently set language or the language specified by the
74 | file name argument's language extension, or else the value of [get ()]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", lines 77-78, characters 0-44:
77 | (** Set the default value of the language to use when no proper extension
78 | of the file name at hand can be found. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", lines 81-82, characters 0-44:
81 | (** Get the value of the language to use as default when no proper extension
82 | of the file name at hand can be found. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", lines 85-86, characters 0-28:
85 | (** Set the language according to the given, two characters long,
86 | Internet country name. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", lines 89-90, characters 0-28:
89 | (** Set the default language according to the given, two characters long,
90 | Internet country name. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
ocamlc -w A -g -c file.mli
File "lib_strings.mli", lines 17-18, characters 2-78:
17 | ..(** [extract_string s start stop] returns the sub string of [s]
18 | starting at index [i_start] (inclusively) to index [i_stop] (excluded). *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_strings.mli", lines 21-27, characters 2-72:
21 | ..(** [starts_by s index pat] tests if, starting from index [index],
22 | the string [s] matches the pattern [pat].
23 |
24 | The empty string never matches a non empty pattern.
25 | Every string matches the empty pattern.
26 |
27 | Raises [Invalid_argument] if [index] is not a valid index of [s]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_strings.mli", lines 37-42, characters 2-72:
37 | ..(** [pos_string_rev s index char] finds the position of the occurrence of
38 | the character [char] that precedes the index [index], which should be a
39 | valid index into [s].
40 |
41 | Raises exception [Not_found] if there is no such position.
42 | Raises [Invalid_argument] if [index] is not a valid index of [s]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_strings.mli", lines 45-53, characters 2-72:
45 | ..(** [sub_string_from_to s index starter stopper] finds the sub string of
46 | [s] that is (strictly) comprised between the delimiters [starter]
47 | and [stopper]: that string starts after the first occurrence of
48 | character [starter] and ends before the first following
49 | occurrence of character [stopper]. Search for [starter] begins at
50 | index [index].
51 |
52 | Raises exception [Not_found] if there is no such position.
53 | Raises [Invalid_argument] if [index] is not a valid index of [s]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
ocamlc -w A -g -c file.mli
File "lib_strings.mli", lines 56-59, characters 2-58:
56 | ..(** [from_char_to_end s index char] returns the sub string of string [s] that
57 | starts from the position following the last occurrence of
58 | character [char], and ends to the end of the string [s].
59 | If [char] is not found, the string [s] is returned. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_strings.mli", lines 62-67, characters 2-34:
62 | ..(** [from_char_to s char index] returns the sub string of string [s] that
63 | starts from the position following the last occurrence of
64 | character [char] preceding [index], and ends to [index - 1].
65 |
66 | If [char] is not found, the sub-string of [s] starting from [0]
67 | to [index - 1] is returned. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
ocamlc -w A -g -c lib_strings.ml
ocamlc -w A -g -c types.mli
File "lang.mli", lines 24-25, characters 1-63:
24 | .(** Returns a string representation of the given language argument,
25 | as a toplevel Internet two characters long country name. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", lines 28-32, characters 1-12:
28 | .(** Returns the language associated to a toplevel Internet two
29 | characters long country name.
30 |
31 | Raise [Not_found], if no language is available for that country
32 | name. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", lines 39-42, characters 0-13:
39 | (** Return the ``internal suffix'' of a file name, that is a sub-string
40 | delimited by [-] and [.] characters (as [fra] in [foo-fra.html] or
41 | [eng] in [foo-eng.html]). Raise [Not_found], if there is no such
42 | suffix. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", lines 45-52, characters 0-51:
45 | (** Return the language in which a file is written guessed from its name. We
46 | suppose that the language is indicated by a proper ``internal
47 | suffix'', as defined by [lang_suffix].
48 | Suffixes are respectively ["fra"] or ["fr"] for [Fr],
49 | ["eng"], ["en"], ["us"], or ["uk"] for [Uk],
50 | ["esp"] or ["es"] for [Es], ["deu"] or ["de"] for [De],
51 | and ["ita"] or ["it"] for [It].
52 | Default to [Uk], if no suffix has been found. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_strings.mli", lines 70-77, characters 2-70:
70 | ..(** [from_to_char s index char] returns the sub string of string [s] that
71 | starts from the valid position [index] to the position preceding the
72 | first occurrence of character [char] following [index].
73 |
74 | If [char] is not found, the sub string from [index] to the end of
75 | [s] is returned.
76 |
77 | Raises [Invalid_arg] if [index] is not a valid index into [s]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", line 55, characters 0-73:
55 | (** Returns a normalized three characters suffix value for a language. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_strings.mli", lines 80-89, characters 0-78:
80 | (** [center_gen c s len_in] centers [s] into a line made of [c] characters.
81 |
82 | [center_gen c s len_in] returns a string [res] of length [len_in], containing
83 | the with string [s] centered in [res]: [res] is filled with as many [c]
84 | characters on the left and on the right as to get [s] centered.
85 | In case [s] cannot fit exactly in the center of [res] (meaning
86 | [len_in - String.length s] is odd), there is one space character in excess
87 | on the right of [s].
88 |
89 | Raises [Failure] if string [s] cannot fit into a line of length [len_in]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", lines 58-61, characters 1-19:
58 | .(** Returns the language associated to a given suffix argument which may be
59 | a toplevel Internet country name, or a three letter prefix of the
60 | country name. Raise [Not_found], if no language is available for
61 | that suffix. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_strings.mli", line 92, characters 0-51:
92 | (** [center] is a shortcut for [center_gen ' ']. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_strings.mli", lines 96-99, characters 0-78:
96 | (** Same as [center_gen] to put a string on the left or right of a line of the
97 | given length.
98 |
99 | Raises [Failure] if string [s] cannot fit into a line of length [len_in]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_strings.mli", lines 103-106, characters 0-78:
103 | (** Same as [center] to put a string on the left or right of a blank line of
104 | the given length.
105 |
106 | Raises [Failure] if string [s] cannot fit into a line of length [len_in]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
ocamlc -w A -g -c types.mli
ocamlopt -w A -inline 10000 -c configuration.ml
File "lang.mli", lines 64-66, characters 0-33:
64 | (** Set the language to use. Then [get] will return [lang] and no guess
65 | is ever tried to find a language specification in file names when
66 | using [get_with_file_name]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", lines 69-70, characters 0-45:
69 | (** Returns the currently set language or the default language, as set
70 | by [set_default], or else returns [Uk]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", lines 73-74, characters 0-77:
73 | (** Returns the currently set language or the language specified by the
74 | file name argument's language extension, or else the value of [get ()]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", lines 77-78, characters 0-44:
77 | (** Set the default value of the language to use when no proper extension
78 | of the file name at hand can be found. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", lines 81-82, characters 0-44:
81 | (** Get the value of the language to use as default when no proper extension
82 | of the file name at hand can be found. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", lines 85-86, characters 0-28:
85 | (** Set the language according to the given, two characters long,
86 | Internet country name. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lang.mli", lines 89-90, characters 0-28:
89 | (** Set the default language according to the given, two characters long,
90 | Internet country name. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "version.mli", lines 22-24, characters 1-38:
22 | .(** Same as above for the long version of the software (normally the
23 | long version should state a date and a subversion, suitable for the
24 | format string ["%.2f+%i (%s)"]). *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "version.mli", lines 28-31, characters 1-27:
28 | .(** The value of the current Htmlc version ([htmlc_version] has
29 | format ``version'', [htmlc_long_version] has format
30 | ``version+subversion (date)'', reminiscent ot the versionning scheme
31 | of the Caml compiler). *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
ocamlc -w A -g -c substitute.ml
ocamlopt -w A -inline 10000 -c lib_strings.ml
ocamlc -w A -g -c lang.ml
File "version.mli", lines 22-24, characters 1-38:
22 | .(** Same as above for the long version of the software (normally the
23 | long version should state a date and a subversion, suitable for the
24 | format string ["%.2f+%i (%s)"]). *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "version.mli", lines 28-31, characters 1-27:
28 | .(** The value of the current Htmlc version ([htmlc_version] has
29 | format ``version'', [htmlc_long_version] has format
30 | ``version+subversion (date)'', reminiscent ot the versionning scheme
31 | of the Caml compiler). *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
ocamlopt -w A -inline 10000 -c version.ml
ocamlc -w A -g -c lib_date.mli
ocamlc -w A -g -c date.mli
ocamlc -w A -g -c lib_date.mli
ocamlc -w A -g -c date.mli
ocamlc -w A -g -c configuration.ml
ocamlopt -w A -inline 10000 -c substitute.ml
File "path.ml", line 26, characters 0-53:
26 | (** A directory path is a list of directory names. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "types.mli", line 18, characters 0-50:
18 | (** Variables environment to expand into files. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
ocamlc -w A -g -c version.ml
File "types.mli", line 21, characters 0-47:
21 | (** The name of an operating system command. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "path.ml", line 68, characters 20-38:
68 | let open_in = kfind Pervasives.open_in;;
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "types.mli", line 18, characters 0-50:
18 | (** Variables environment to expand into files. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "types.mli", line 21, characters 0-47:
21 | (** The name of an operating system command. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "path.ml", line 69, characters 24-46:
69 | let open_in_bin = kfind Pervasives.open_in_bin;;
^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "path.ml", line 26, characters 0-53:
26 | (** A directory path is a list of directory names. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "path.ml", line 70, characters 21-40:
70 | let open_out = kfind Pervasives.open_out;;
^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
ocamlc -w A -g -c io_domain.mli
ocamlc -w A -g -c types.ml
File "path.ml", line 68, characters 20-38:
68 | let open_in = kfind Pervasives.open_in;;
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "path.ml", line 69, characters 24-46:
69 | let open_in_bin = kfind Pervasives.open_in_bin;;
^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "path.ml", line 70, characters 21-40:
70 | let open_out = kfind Pervasives.open_out;;
^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
ocamlc -w A -g -c setting.mli
ocamlc -w A -g -c setting.mli
File "substitute.ml", line 75, characters 1-29:
75 | (** Parenthesized ident ? *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "substitute.ml", line 80, characters 1-21:
80 | (** Regular ident *)
^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "substitute.ml", lines 107-108, characters 2-23:
107 | ..(** There is an ident in the string [s] between index [i] and index
108 | [next_i] excluded. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "substitute.ml", lines 157-158, characters 4-40:
157 | ....(** We catch here the case where one lookahead character (['\\'])
158 | was the last one of the input. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "substitute.ml", lines 159-160, characters 4-62:
159 | ....(** We must do that only if the input was not empty in the first place
160 | (otherwise there is no lookahead characters at all). *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "substitute.ml", lines 167-168, characters 4-62:
167 | ....(** If end of string is reach do nothing, otherwise add all the ['\\']
168 | characters following the one that trigers this call. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
ocamlc -w A -g -c file.ml
ocamlc -w A -g -c io_domain.mli
File "lib_date.mli", lines 34-37, characters 1-72:
34 | .(** [week_day_of_date month_day month year] return the number of the
35 | day in the week that corresponds to the date
36 | [month_day, month, year].
37 | (Week days are numbered from [0] for sunday to [6] for saturday.) *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", lines 53-57, characters 1-44:
53 | .(** [string_of_date lang d m y] calculates the week day associated
54 | with the date [d, m, y], and returns the string representations of
55 | the tuple [(week_day, d, m, y)].
56 | For instance [string_of_date Uk (21, 3, 2000)] is
57 | [("Tuesday", "21", "March", "2000")]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", lines 63-65, characters 1-20:
63 | .(** [string_of_full_date lang w d m y] returns a string representation
64 | of the tuple [(w, d, m, y)], supposed to be a date [d, m, y] with
65 | week day [w]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", line 69, characters 1-49:
69 | (** Same as above for french days and months. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", line 73, characters 1-50:
73 | (** Same as above for spanish days and months. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", lines 34-37, characters 1-72:
34 | .(** [week_day_of_date month_day month year] return the number of the
35 | day in the week that corresponds to the date
36 | [month_day, month, year].
37 | (Week days are numbered from [0] for sunday to [6] for saturday.) *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", lines 53-57, characters 1-44:
53 | .(** [string_of_date lang d m y] calculates the week day associated
54 | with the date [d, m, y], and returns the string representations of
55 | the tuple [(week_day, d, m, y)].
56 | For instance [string_of_date Uk (21, 3, 2000)] is
57 | [("Tuesday", "21", "March", "2000")]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", lines 63-65, characters 1-20:
63 | .(** [string_of_full_date lang w d m y] returns a string representation
64 | of the tuple [(w, d, m, y)], supposed to be a date [d, m, y] with
65 | week day [w]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", line 69, characters 1-49:
69 | (** Same as above for french days and months. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", line 73, characters 1-50:
73 | (** Same as above for spanish days and months. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "version.ml", line 17, characters 4-24:
17 | let htmlc_version_number = 2;;
^^^^^^^^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value htmlc_version_number.
File "version.ml", line 18, characters 4-28:
18 | let htmlc_sub_version_number = 21;;
^^^^^^^^^^^^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value htmlc_sub_version_number.
File "lib_date.mli", line 77, characters 1-49:
77 | (** Same as above for german days and months. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", lines 81-85, characters 1-21:
81 | .(** Maps a day (resp. a month) represented as a string for the language
82 | [lang] to the corresponding number. Recognition of valid strings is
83 | case unsensitive and usual abbreviations are accepted.
84 | Raise [Invalid_argument "unknown language"], if the language is
85 | not supported. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", line 110, characters 1-75:
110 | (** Same as above for french, spanish, german, or english translations. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", line 130, characters 1-75:
130 | (** Same as above for english, french, spanish, or german translations. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", line 148, characters 1-39:
148 | (** An alias for [format_iso_time]. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", line 165, characters 1-39:
165 | (** An alias for [format_iso_date]. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", line 77, characters 1-49:
77 | (** Same as above for german days and months. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", lines 81-85, characters 1-21:
81 | .(** Maps a day (resp. a month) represented as a string for the language
82 | [lang] to the corresponding number. Recognition of valid strings is
83 | case unsensitive and usual abbreviations are accepted.
84 | Raise [Invalid_argument "unknown language"], if the language is
85 | not supported. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", line 110, characters 1-75:
110 | (** Same as above for french, spanish, german, or english translations. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", line 176, characters 1-44:
176 | (** An alias for [format_full_iso_date]. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", line 130, characters 1-75:
130 | (** Same as above for english, french, spanish, or german translations. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", line 148, characters 1-39:
148 | (** An alias for [format_iso_time]. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", line 165, characters 1-39:
165 | (** An alias for [format_iso_date]. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", lines 179-192, characters 1-40:
179 | .(** [parse_time s] parses the string [s] and returns a time, the validity of
180 | which is not verified.
181 | Separators between words in [s] can be any of [':'], [' '], ['\t'], ['/'],
182 | [','], ['-'], or ['.'] and can be repeated.
183 | - If only one word is found in [s], this word is supposed to be made of
...
189 | in that order, and the resulting time defaults to the first second of the
190 | given hour and minute.
191 | - If three words are found, they are supposed to be the hour, the
192 | minute and the second in that order. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", lines 195-216, characters 1-32:
195 | .(** [parse_date lang s] parses the string [s] according to the language
196 | [lang], and return a date, the validity of which is not verified.
197 | Separators between words in [s] can be any of [' '], ['\t'], ['/'], [','],
198 | ['-'], or ['.'] and can be repeated.
199 | - If only one word is found in [s], this word is supposed to be made of
...
213 | follows the conventions of [format_date].
214 |
215 | Note: if necessary the week day of the date may be found using the
216 | function [week_day_of_date]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", lines 221-222, characters 1-54:
221 | .(** [format month_day month week_day year] is equivalent to
222 | [format_date Uk month_day month week_day year]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", line 176, characters 1-44:
176 | (** An alias for [format_full_iso_date]. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", lines 225-226, characters 1-68:
225 | .(** [valid_date lang s] parse the string [s] according to the
226 | language [lang] and return a valid date or raises [invalid_arg]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", lines 229-231, characters 1-24:
229 | .(** [normalize_date lang d] parses date [d] and returns the four
230 | fields of a completely specified date ([month_day], [month],
231 | [week_day], [year]). *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", lines 179-192, characters 1-40:
179 | .(** [parse_time s] parses the string [s] and returns a time, the validity of
180 | which is not verified.
181 | Separators between words in [s] can be any of [':'], [' '], ['\t'], ['/'],
182 | [','], ['-'], or ['.'] and can be repeated.
183 | - If only one word is found in [s], this word is supposed to be made of
...
189 | in that order, and the resulting time defaults to the first second of the
190 | given hour and minute.
191 | - If three words are found, they are supposed to be the hour, the
192 | minute and the second in that order. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", lines 195-216, characters 1-32:
195 | .(** [parse_date lang s] parses the string [s] according to the language
196 | [lang], and return a date, the validity of which is not verified.
197 | Separators between words in [s] can be any of [' '], ['\t'], ['/'], [','],
198 | ['-'], or ['.'] and can be repeated.
199 | - If only one word is found in [s], this word is supposed to be made of
...
213 | follows the conventions of [format_date].
214 |
215 | Note: if necessary the week day of the date may be found using the
216 | function [week_day_of_date]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 56-57, characters 0-44:
56 | (** Return the current date as a string according to the [lang] argument.
57 | Assumes Greenwich meridian time zone. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", lines 221-222, characters 1-54:
221 | .(** [format month_day month week_day year] is equivalent to
222 | [format_date Uk month_day month week_day year]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", lines 225-226, characters 1-68:
225 | .(** [valid_date lang s] parse the string [s] according to the
226 | language [lang] and return a valid date or raises [invalid_arg]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 61-62, characters 0-67:
61 | (** The string representation of the current system time of day, respectively
62 | in english and french. Assumes Greenwich meridian time zone. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "lib_date.mli", lines 229-231, characters 1-24:
229 | .(** [normalize_date lang d] parses date [d] and returns the four
230 | fields of a completely specified date ([month_day], [month],
231 | [week_day], [year]). *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", line 65, characters 1-37:
65 | (** Synonym for [date_of_day_Uk]. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 68-70, characters 0-44:
68 | (** Last modification time of a file in the given language.
69 | Returns [system_time_of_day ()], if file name is ["-"].
70 | Assumes Greenwich meridian time zone. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 75-76, characters 0-35:
75 | (** Return the current date as a string according to the [lang] argument.
76 | Assumes the local time zone. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 80-81, characters 1-58:
80 | .(** The string representation of the current system time of day, respectively
81 | in english and french. Assumes the local time zone. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", line 84, characters 0-35:
84 | (** Synonym for [local_date_uk]. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 97-98, characters 1-44:
97 | .(** Return the system time of day as a Unix system time.
98 | Assumes Greenwich meridian time zone. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 56-57, characters 0-44:
56 | (** Return the current date as a string according to the [lang] argument.
57 | Assumes Greenwich meridian time zone. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 101-102, characters 1-31:
101 | .(** Return the system time of day as a Unix system time.
102 | Assumes local time zone. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 61-62, characters 0-67:
61 | (** The string representation of the current system time of day, respectively
62 | in english and french. Assumes Greenwich meridian time zone. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 105-106, characters 1-62:
105 | .(** Last modification system time of a file.
106 | Returns [system_time_of_day ()], if file name is ["-"]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", line 65, characters 1-37:
65 | (** Synonym for [date_of_day_Uk]. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 109-110, characters 1-16:
109 | .(** Translate a Unix system time to a string according to the [lang]
110 | argument. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 68-70, characters 0-44:
68 | (** Last modification time of a file in the given language.
69 | Returns [system_time_of_day ()], if file name is ["-"].
70 | Assumes Greenwich meridian time zone. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 113-115, characters 1-18:
113 | .(** Returns a string representation of the system time of day in the following
114 | format: ["hh:mm:ss"] where ["hh"] is the hour, ["mm"] the minutes and ["ss"]
115 | the seconds. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 75-76, characters 0-35:
75 | (** Return the current date as a string according to the [lang] argument.
76 | Assumes the local time zone. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 80-81, characters 1-58:
80 | .(** The string representation of the current system time of day, respectively
81 | in english and french. Assumes the local time zone. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "types.ml", line 18, characters 0-50:
18 | (** Variables environment to expand into files. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "types.ml", line 21, characters 0-47:
21 | (** The name of an operating system command. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 118-121, characters 1-61:
118 | .(** Returns a string representation of the system time of day according to the
119 | [Lang.t] argument.
120 | [long_date_of_system_time lang tm] is equivalent to
121 | [date_of_system_time lang tm ^ time_of_system_time tm]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 124-127, characters 1-36:
124 | .(** Returns a string representation of the system time of day according to the
125 | [Lang.t] argument.
126 | [short_date_of_system_time lang tm] is equivalent to
127 | [date_of_system_time lang tm]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 130-131, characters 1-24:
130 | .(** Returns a digital representation of the system time of day according to the
131 | [Lang.t] argument. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 134-135, characters 1-32:
134 | .(** Returns a string representation compliant to the ISO 8601 standard of
135 | the date of the system time. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 138-139, characters 1-32:
138 | .(** Returns a string representation compliant to the ISO 8601 standard of
139 | the time of the system time. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 142-143, characters 1-41:
142 | .(** Returns a string representation compliant to the ISO 8601 standard of
143 | the date and time of the system time. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "version.ml", line 17, characters 4-24:
17 | let htmlc_version_number = 2;;
^^^^^^^^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value htmlc_version_number.
File "version.ml", line 18, characters 4-28:
18 | let htmlc_sub_version_number = 21;;
^^^^^^^^^^^^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value htmlc_sub_version_number.
File "date.mli", line 84, characters 0-35:
84 | (** Synonym for [local_date_uk]. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 97-98, characters 1-44:
97 | .(** Return the system time of day as a Unix system time.
98 | Assumes Greenwich meridian time zone. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 101-102, characters 1-31:
101 | .(** Return the system time of day as a Unix system time.
102 | Assumes local time zone. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 105-106, characters 1-62:
105 | .(** Last modification system time of a file.
106 | Returns [system_time_of_day ()], if file name is ["-"]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 109-110, characters 1-16:
109 | .(** Translate a Unix system time to a string according to the [lang]
110 | argument. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 113-115, characters 1-18:
113 | .(** Returns a string representation of the system time of day in the following
114 | format: ["hh:mm:ss"] where ["hh"] is the hour, ["mm"] the minutes and ["ss"]
115 | the seconds. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 118-121, characters 1-61:
118 | .(** Returns a string representation of the system time of day according to the
119 | [Lang.t] argument.
120 | [long_date_of_system_time lang tm] is equivalent to
121 | [date_of_system_time lang tm ^ time_of_system_time tm]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
ocamlc -w A -g -c lib_date.ml
File "date.mli", lines 124-127, characters 1-36:
124 | .(** Returns a string representation of the system time of day according to the
125 | [Lang.t] argument.
126 | [short_date_of_system_time lang tm] is equivalent to
127 | [date_of_system_time lang tm]. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 130-131, characters 1-24:
130 | .(** Returns a digital representation of the system time of day according to the
131 | [Lang.t] argument. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 134-135, characters 1-32:
134 | .(** Returns a string representation compliant to the ISO 8601 standard of
135 | the date of the system time. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 138-139, characters 1-32:
138 | .(** Returns a string representation compliant to the ISO 8601 standard of
139 | the time of the system time. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", lines 142-143, characters 1-41:
142 | .(** Returns a string representation compliant to the ISO 8601 standard of
143 | the date and time of the system time. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "substitute.ml", line 75, characters 1-29:
75 | (** Parenthesized ident ? *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "substitute.ml", line 80, characters 1-21:
80 | (** Regular ident *)
^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "substitute.ml", lines 107-108, characters 2-23:
107 | ..(** There is an ident in the string [s] between index [i] and index
108 | [next_i] excluded. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "substitute.ml", lines 157-158, characters 4-40:
157 | ....(** We catch here the case where one lookahead character (['\\'])
158 | was the last one of the input. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "substitute.ml", lines 159-160, characters 4-62:
159 | ....(** We must do that only if the input was not empty in the first place
160 | (otherwise there is no lookahead characters at all). *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "substitute.ml", lines 167-168, characters 4-62:
167 | ....(** If end of string is reach do nothing, otherwise add all the ['\\']
168 | characters following the one that trigers this call. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "date.mli", line 14, characters 0-9:
14 | open Unix;;
^^^^^^^^^
Warning 33 [unused-open]: unused open Unix.
File "substitute.ml", line 53, characters 4-17:
53 | let ident_in_char = function
^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value ident_in_char.
File "date.mli", line 14, characters 0-9:
14 | open Unix;;
^^^^^^^^^
Warning 33 [unused-open]: unused open Unix.
ocamlc -w A -g -c date.ml
ocamlc -w A -g -c debug.ml
File "file.ml", line 119, characters 8-27:
119 | Pervasives.open_out fname
^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
ocamlc -w A -g -c setting.ml
ocamlc -w A -g -c debug.ml
File "file.ml", line 130, characters 23-43:
130 | if fname <> "-" then Pervasives.close_out oc
^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "file.ml", line 135, characters 33-51:
135 | if fname = "-" then stdin else Pervasives.open_in fname
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "substitute.ml", line 53, characters 4-17:
53 | let ident_in_char = function
^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value ident_in_char.
ocamlc -w A -g -c io_domain.ml
File "file.ml", line 140, characters 23-42:
140 | if fname <> "-" then Pervasives.close_in ic
^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "debug.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
ocamlc -w A -g -c execute.ml
File "debug.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "io_domain.ml", line 125, characters 4-17:
125 | let add_extension ext fname =
^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value add_extension.
ocamlc -w A -g -c parser.ml
ocamlc -w A -g -c execute.ml
File "execute.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "parser.ml", line 54, characters 4-9:
54 | | Error x ->
^^^^^
Warning 41 [ambiguous-name]: Error belongs to several types: exn result
The first one was selected. Please disambiguate if this is wrong.
File "lib_date.ml", line 255, characters 4-9:
255 | let index item v = find (function x -> x = item) v;;
^^^^^
Warning 32 [unused-value-declaration]: unused value index.
File "lib_date.ml", line 304, characters 4-21:
304 | let string_of_date_It = format_date It;;
^^^^^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value string_of_date_It.
ocamlc -w A -g -c env.ml
File "lib_date.ml", line 356, characters 4-29:
356 | let string_of_digital_date_It = format_digital_date It;;
^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value string_of_digital_date_It.
File "lib_date.ml", line 360, characters 8-15:
360 | let rec get_int s limit i =
^^^^^^^
Warning 32 [unused-value-declaration]: unused value get_int.
File "lib_date.ml", line 447, characters 4-22:
447 | and time_of_int_string s =
^^^^^^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value time_of_int_string.
File "parser.ml", line 53, characters 8-21:
53 | let rec string_of_exc = function
^^^^^^^^^^^^^
Warning 39 [unused-rec-flag]: unused rec flag.
ocamlopt -w A -inline 10000 -c file.ml
File "execute.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
ocamlopt -w A -inline 10000 -c types.ml
File "env.ml", line 18, characters 0-50:
18 | (** Variables environment to expand into files. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "env.ml", line 34, characters 0-29:
34 | (** The htmlc environment. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "env.ml", line 48, characters 0-45:
48 | (** Necessary to evaluate function bodies. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
ocamlc -w A -g -c env.ml
File "file.ml", line 119, characters 8-27:
119 | Pervasives.open_out fname
^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "env.ml", line 18, characters 0-50:
18 | (** Variables environment to expand into files. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "env.ml", line 34, characters 0-29:
34 | (** The htmlc environment. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "env.ml", line 48, characters 0-45:
48 | (** Necessary to evaluate function bodies. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "file.ml", line 130, characters 23-43:
130 | if fname <> "-" then Pervasives.close_out oc
^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "types.ml", line 18, characters 0-50:
18 | (** Variables environment to expand into files. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "types.ml", line 21, characters 0-47:
21 | (** The name of an operating system command. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "file.ml", line 135, characters 33-51:
135 | if fname = "-" then stdin else Pervasives.open_in fname
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "file.ml", line 140, characters 23-42:
140 | if fname <> "-" then Pervasives.close_in ic
^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "env.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
ocamlc -w A -g -c htmlc.mli
File "env.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
ocamlc -w A -g -c eval.ml
ocamlc -w A -g -c htmlc.mli
ocamlopt -w A -inline 10000 -c lang.ml
File "eval.ml", line 146, characters 0-68:
146 | (** Binding a variable to a simple value which is not a function. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
ocamlc -w A -g -c primitives.ml
File "eval.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
ocamlc -w A -g -c htmlc.ml
ocamlopt -w A -inline 10000 -c io_domain.ml
File "primitives.ml", line 183, characters 11-28:
183 | | [s] -> String.capitalize s
^^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.capitalize
Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
File "primitives.ml", line 189, characters 11-27:
189 | | [s] -> String.lowercase s
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "primitives.ml", line 195, characters 11-27:
195 | | [s] -> String.uppercase s
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.uppercase
Use String.uppercase_ascii/StringLabels.uppercase_ascii instead.
File "htmlc.ml", line 113, characters 0-50:
113 | (** Do we perform substitution in text or not ? *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", line 462, characters 6-34:
462 | (** Skip our own comments *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", lines 464-465, characters 6-22:
464 | ......(** Skip also a simplified version of Caml comments:
465 | "(\*.*\n". *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", line 468, characters 8-47:
468 | (** This is a Caml comment: skip it. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", line 470, characters 8-49:
470 | (** This is a syntax error: report it. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", line 474, characters 6-71:
474 | (** Otherwise find an ident, and call [bind_ident] to bind it. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", lines 678-682, characters 6-64:
678 | ......(** We include the file between
679 | ``#(include file_name''
680 | and
681 | ``#include file_name)''
682 | line markers. (In case we have been asked to do so.) *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", lines 807-812, characters 11-52:
807 | ...........(** Should set the Unix environment of commands and CGIs before
808 | launching them:
809 | - for commands DOCUMENT_NAME, DOCUMENT_URI,
810 | DATE_LOCAL, DATE_GMT, LAST_MODIFIED should be available.
811 | - for CGI, in addition to those variables we should
812 | have the usual CGI's environment. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", line 831, characters 9-62:
831 | (** errmsg or timefmt or sizefmt (bytes or abbrev) *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", line 839, characters 9-43:
839 | (** File last modification time *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", lines 847-848, characters 9-45:
847 | .........(** Prints some parts of (or the entire) environment
848 | (of the HTTP server process ?) *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", lines 870-871, characters 5-47:
870 | .....(** If we know the command, we treat it
871 | and go on with the rest of the line. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", lines 886-888, characters 6-67:
886 | ......(** Being careful for the case of the last line of the file,
887 | when this line does not end with a new line character.
888 | Also carefully treat escaped end of lines in the input. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "primitives.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "io_domain.ml", line 125, characters 4-17:
125 | let add_extension ext fname =
^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value add_extension.
File "htmlc.ml", line 241, characters 2-35:
241 | s.[1] <- decimal_to_hexa (i / 16);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.set
Use Bytes.set/BytesLabels.set instead.
File "htmlc.ml", line 242, characters 2-37:
242 | s.[2] <- decimal_to_hexa (i mod 16);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.set
Use Bytes.set/BytesLabels.set instead.
ocamlc -w A -g -c main.ml
File "htmlc.ml", line 517, characters 43-59:
517 | htmlc_fmts.sizefmt <- sizefmt_of_string (String.lowercase unit_name)
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "htmlc.ml", line 545, characters 15-31:
545 | match String.lowercase mode with
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "htmlc.ml", line 546, characters 43-59:
546 | | "sizefmt" -> sizefmt_of_string (String.lowercase encoding)
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "htmlc.ml", line 560, characters 13-29:
560 | match String.lowercase mode with
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "htmlc.ml", line 562, characters 16-32:
562 | (match String.lowercase encoding with
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "htmlc.ml", line 581, characters 43-59:
581 | htmlc_fmts.timefmt <- timefmt_of_string (String.lowercase name)
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "main.ml", line 43, characters 10-27:
43 | flush Pervasives.stderr;
^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "htmlc.ml", line 771, characters 25-41:
771 | begin match String.lowercase name with
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
ocamlopt -w A -inline 10000 -c lib_date.ml
ocamlopt -w A -inline 10000 -c setting.ml
File "htmlc.ml", line 915, characters 4-28:
915 | Pervasives.output_string to_command_oc s;
^^^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "htmlc.ml", line 916, characters 4-20:
916 | Pervasives.flush to_command_oc in
^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "main.ml", line 76, characters 4-9:
76 | let usage () = prerr_endline (get_usage ()); exit 1;;
^^^^^
Warning 32 [unused-value-declaration]: unused value usage.
File "htmlc.ml", line 1071, characters 32-52:
1071 | | Io_domain.Io_standard -> Scanf.Scanning.stdib
^^^^^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.Scanf.Scanning.stdib
Use Scanf.Scanning.stdin instead.
File "htmlc.ml", line 44, characters 0-9:
44 | open Lang;;
^^^^^^^^^
Warning 33 [unused-open]: unused open Lang.
File "htmlc.ml", line 54, characters 3-28:
54 | mutable timefmt : string;
^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 69 [unused-field]: record field timefmt is never read.
(However, this field is used to build or mutate values.)
File "htmlc.ml", line 178, characters 4-19:
178 | let get_expand_mode, set_expand_mode =
^^^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value get_expand_mode.
File "htmlc.ml", line 191, characters 4-16:
191 | let get_ssi_mode, set_ssi_mode =
^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value get_ssi_mode.
File "htmlc.ml", line 204, characters 4-20:
204 | let get_non_ssi_mode, set_non_ssi_mode =
^^^^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value get_non_ssi_mode.
File "htmlc.ml", line 374, characters 4-21:
374 | let add_verbatim_file ob fname =
^^^^^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value add_verbatim_file.
File "lib_date.ml", line 255, characters 4-9:
255 | let index item v = find (function x -> x = item) v;;
^^^^^
Warning 32 [unused-value-declaration]: unused value index.
File "lib_date.ml", line 304, characters 4-21:
304 | let string_of_date_It = format_date It;;
^^^^^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value string_of_date_It.
File "lib_date.ml", line 356, characters 4-29:
356 | let string_of_digital_date_It = format_digital_date It;;
^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value string_of_digital_date_It.
File "lib_date.ml", line 360, characters 8-15:
360 | let rec get_int s limit i =
^^^^^^^
Warning 32 [unused-value-declaration]: unused value get_int.
File "lib_date.ml", line 447, characters 4-22:
447 | and time_of_int_string s =
^^^^^^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value time_of_int_string.
ocamlopt -w A -inline 10000 -c debug.ml
File "debug.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
ocamlopt -w A -inline 10000 -c parser.ml
ocamlopt -w A -inline 10000 -c execute.ml
File "parser.ml", line 54, characters 4-9:
54 | | Error x ->
^^^^^
Warning 41 [ambiguous-name]: Error belongs to several types: exn result
The first one was selected. Please disambiguate if this is wrong.
File "parser.ml", line 53, characters 8-21:
53 | let rec string_of_exc = function
^^^^^^^^^^^^^
Warning 39 [unused-rec-flag]: unused rec flag.
File "execute.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
ocamlc -w A -g -g -custom -o htmlc.byt str.cma unix.cma path.cmo file.cmo io_domain.cmo lib_strings.cmo lang.cmo lib_date.cmo date.cmo configuration.cmo types.cmo setting.cmo debug.cmo substitute.cmo parser.cmo version.cmo execute.cmo env.cmo eval.cmo htmlc.cmo primitives.cmo main.cmo \
&& \
/bin/rm -rf htmlc && ln -s htmlc.byt htmlc
gmake[1]: Leaving directory '/wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/compiler'
ocamlopt -w A -inline 10000 -c date.ml
ocamlopt -w A -inline 10000 -c env.ml
File "env.ml", line 18, characters 0-50:
18 | (** Variables environment to expand into files. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "env.ml", line 34, characters 0-29:
34 | (** The htmlc environment. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "env.ml", line 48, characters 0-45:
48 | (** Necessary to evaluate function bodies. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "env.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
ocamlopt -w A -inline 10000 -c eval.ml
File "eval.ml", line 146, characters 0-68:
146 | (** Binding a variable to a simple value which is not a function. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "eval.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
ocamlopt -w A -inline 10000 -c htmlc.ml
File "htmlc.ml", line 113, characters 0-50:
113 | (** Do we perform substitution in text or not ? *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", line 462, characters 6-34:
462 | (** Skip our own comments *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", lines 464-465, characters 6-22:
464 | ......(** Skip also a simplified version of Caml comments:
465 | "(\*.*\n". *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", line 468, characters 8-47:
468 | (** This is a Caml comment: skip it. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", line 470, characters 8-49:
470 | (** This is a syntax error: report it. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", line 474, characters 6-71:
474 | (** Otherwise find an ident, and call [bind_ident] to bind it. *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", lines 678-682, characters 6-64:
678 | ......(** We include the file between
679 | ``#(include file_name''
680 | and
681 | ``#include file_name)''
682 | line markers. (In case we have been asked to do so.) *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", lines 807-812, characters 11-52:
807 | ...........(** Should set the Unix environment of commands and CGIs before
808 | launching them:
809 | - for commands DOCUMENT_NAME, DOCUMENT_URI,
810 | DATE_LOCAL, DATE_GMT, LAST_MODIFIED should be available.
811 | - for CGI, in addition to those variables we should
812 | have the usual CGI's environment. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", line 831, characters 9-62:
831 | (** errmsg or timefmt or sizefmt (bytes or abbrev) *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", line 839, characters 9-43:
839 | (** File last modification time *)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", lines 847-848, characters 9-45:
847 | .........(** Prints some parts of (or the entire) environment
848 | (of the HTTP server process ?) *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", lines 870-871, characters 5-47:
870 | .....(** If we know the command, we treat it
871 | and go on with the rest of the line. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", lines 886-888, characters 6-67:
886 | ......(** Being careful for the case of the last line of the file,
887 | when this line does not end with a new line character.
888 | Also carefully treat escaped end of lines in the input. *)
Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
File "htmlc.ml", line 241, characters 2-35:
241 | s.[1] <- decimal_to_hexa (i / 16);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.set
Use Bytes.set/BytesLabels.set instead.
File "htmlc.ml", line 242, characters 2-37:
242 | s.[2] <- decimal_to_hexa (i mod 16);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.set
Use Bytes.set/BytesLabels.set instead.
File "htmlc.ml", line 517, characters 43-59:
517 | htmlc_fmts.sizefmt <- sizefmt_of_string (String.lowercase unit_name)
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "htmlc.ml", line 545, characters 15-31:
545 | match String.lowercase mode with
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "htmlc.ml", line 546, characters 43-59:
546 | | "sizefmt" -> sizefmt_of_string (String.lowercase encoding)
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "htmlc.ml", line 560, characters 13-29:
560 | match String.lowercase mode with
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "htmlc.ml", line 562, characters 16-32:
562 | (match String.lowercase encoding with
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "htmlc.ml", line 581, characters 43-59:
581 | htmlc_fmts.timefmt <- timefmt_of_string (String.lowercase name)
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "htmlc.ml", line 771, characters 25-41:
771 | begin match String.lowercase name with
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "htmlc.ml", line 915, characters 4-28:
915 | Pervasives.output_string to_command_oc s;
^^^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "htmlc.ml", line 916, characters 4-20:
916 | Pervasives.flush to_command_oc in
^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "htmlc.ml", line 1071, characters 32-52:
1071 | | Io_domain.Io_standard -> Scanf.Scanning.stdib
^^^^^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.Scanf.Scanning.stdib
Use Scanf.Scanning.stdin instead.
File "htmlc.ml", line 44, characters 0-9:
44 | open Lang;;
^^^^^^^^^
Warning 33 [unused-open]: unused open Lang.
File "htmlc.ml", line 54, characters 3-28:
54 | mutable timefmt : string;
^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 69 [unused-field]: record field timefmt is never read.
(However, this field is used to build or mutate values.)
File "htmlc.ml", line 178, characters 4-19:
178 | let get_expand_mode, set_expand_mode =
^^^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value get_expand_mode.
File "htmlc.ml", line 191, characters 4-16:
191 | let get_ssi_mode, set_ssi_mode =
^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value get_ssi_mode.
File "htmlc.ml", line 204, characters 4-20:
204 | let get_non_ssi_mode, set_non_ssi_mode =
^^^^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value get_non_ssi_mode.
File "htmlc.ml", line 374, characters 4-21:
374 | let add_verbatim_file ob fname =
^^^^^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value add_verbatim_file.
ocamlopt -w A -inline 10000 -c primitives.ml
File "primitives.ml", line 183, characters 11-28:
183 | | [s] -> String.capitalize s
^^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.capitalize
Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
File "primitives.ml", line 189, characters 11-27:
189 | | [s] -> String.lowercase s
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "primitives.ml", line 195, characters 11-27:
195 | | [s] -> String.uppercase s
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.uppercase
Use String.uppercase_ascii/StringLabels.uppercase_ascii instead.
File "primitives.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
ocamlopt -w A -inline 10000 -c main.ml
File "main.ml", line 43, characters 10-27:
43 | flush Pervasives.stderr;
^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "main.ml", line 76, characters 4-9:
76 | let usage () = prerr_endline (get_usage ()); exit 1;;
^^^^^
Warning 32 [unused-value-declaration]: unused value usage.
ocamlopt -w A -inline 10000 -o htmlc.bin str.cmxa unix.cmxa path.cmx file.cmx io_domain.cmx lib_strings.cmx lang.cmx lib_date.cmx date.cmx configuration.cmx types.cmx setting.cmx debug.cmx substitute.cmx parser.cmx version.cmx execute.cmx env.cmx eval.cmx htmlc.cmx primitives.cmx main.cmx \
&& \
/bin/rm -rf htmlc && ln -s htmlc.bin htmlc
gmake[1]: Leaving directory '/wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/compiler'
===========================================================================
===================================================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
===================================================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Staging for htmlc-2.21.0_1
===> Generating temporary packing list
install -s -m 555 /wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/compiler/htmlc /wrkdirs/usr/ports/textproc/htmlc/work/stage/usr/local/bin
install -s -m 555 /wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/compiler/htmlc.byt /wrkdirs/usr/ports/textproc/htmlc/work/stage/usr/local/bin
install -m 0644 /wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/config/env /wrkdirs/usr/ports/textproc/htmlc/work/stage/usr/local/share/htmlc
install -m 0644 /wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/doc/LICENSE /wrkdirs/usr/ports/textproc/htmlc/work/stage/usr/local/share/doc/htmlc
install -m 0644 /wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/doc/INSTALL /wrkdirs/usr/ports/textproc/htmlc/work/stage/usr/local/share/doc/htmlc
install -m 0644 /wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/doc/README /wrkdirs/usr/ports/textproc/htmlc/work/stage/usr/local/share/doc/htmlc
install -m 0644 /wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/doc/JoeCaml.gif /wrkdirs/usr/ports/textproc/htmlc/work/stage/usr/local/share/doc/htmlc
install -m 0644 /wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/doc/rocq.gif /wrkdirs/usr/ports/textproc/htmlc/work/stage/usr/local/share/doc/htmlc
install -m 0644 /wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/doc/copyright-eng.htm /wrkdirs/usr/ports/textproc/htmlc/work/stage/usr/local/share/doc/htmlc
install -m 0644 /wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/doc/copyright-fra.htm /wrkdirs/usr/ports/textproc/htmlc/work/stage/usr/local/share/doc/htmlc
install -m 0644 /wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/doc/eng.htm /wrkdirs/usr/ports/textproc/htmlc/work/stage/usr/local/share/doc/htmlc
install -m 0644 /wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/doc/fra.htm /wrkdirs/usr/ports/textproc/htmlc/work/stage/usr/local/share/doc/htmlc
install -m 0644 /wrkdirs/usr/ports/textproc/htmlc/work/htmlc-2.21.0/doc/index.htm /wrkdirs/usr/ports/textproc/htmlc/work/stage/usr/local/share/doc/htmlc
====> Compressing man pages (compress-man)
===========================================================================
===================================================
===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-12-12T18:50:26+0000' 'PKG_NOTE_ports_top_git_hash=62d8b1999233' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=f2e5a3618813' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0
===> Building packages for htmlc-2.21.0_1
===> Building htmlc-2.21.0_1
===========================================================================
=>> Cleaning up wrkdir
===> Cleaning for htmlc-2.21.0_1
build of textproc/htmlc | htmlc-2.21.0_1 ended at Fri Dec 12 13:50:42 EST 2025
build time: 00:00:16