Unbound value Ctypes_printers.format_typ.
Unbound value Ctypes_printers.format_fn.
Unbound value Ctypes_printers.format_sint.
Unbound value Ctypes_printers.format_long.
Unbound value Ctypes_printers.format_llong.
Unbound value Ctypes_printers.format_uchar.
Unbound value Ctypes_printers.format_uint8.
Unbound value Ctypes_printers.format_uint16.
Unbound value Ctypes_printers.format_uint32.
Unbound value Ctypes_printers.format_uint64.
Unbound value Ctypes_printers.format_size_t.
Unbound value Ctypes_printers.format_ushort.
Unbound value Ctypes_printers.format_uint.
Unbound value Ctypes_printers.format_ulong.
Unbound value Ctypes_printers.format_ullong.
Unbound value Ctypes_printers.format_pointer.
Unbound value Ctypes_printers.format_struct.
Unbound value Ctypes_printers.format_union.
Unbound value Ctypes_printers.format_array.
Unbound value Ctypes_printers.format_ocaml.
Unbound value Ctypes_printers.format_clock_t.
Unbound value Ctypes_printers.format_dev_t.
Unbound value Ctypes_printers.format_ino_t.
Unbound value Ctypes_printers.format_mode_t.
Unbound value Ctypes_printers.format_nlink_t.
Unbound value Ctypes_printers.format_off_t.
Unbound value Ctypes_printers.format_pid_t.
Unbound value Ctypes_printers.format_size_t.
Unbound value Ctypes_printers.format_ssize_t.
Unbound value Ctypes_printers.format_time_t.
Unbound value Ctypes_printers.format_useconds_t.
Unbound value Ctypes_printers.format_ldouble.
Unbound value Ctypes_printers.format_complexld.
List your environment
$ utop -version
The universal toplevel for OCaml, version 2.14.0, compiled for OCaml version 5.1.1
$ uname -a
Linux m4a88td 6.8.9-artix1-2 #1 SMP PREEMPT_DYNAMIC Wed, 08 May 2024 17:34:57 +0000 x86_64 GNU/Linux
Thank you for the report, @FabArd . The problem you reported should be fixed by #771. You can try out the master branch (which includes the fix) as follows:
Describe the bug
When I run the following command in utop:
#require "ctypes.top";;
Reproduce the bug
I get the following messages :
Unbound value Ctypes_printers.format_typ. Unbound value Ctypes_printers.format_fn. Unbound value Ctypes_printers.format_sint. Unbound value Ctypes_printers.format_long. Unbound value Ctypes_printers.format_llong. Unbound value Ctypes_printers.format_uchar. Unbound value Ctypes_printers.format_uint8. Unbound value Ctypes_printers.format_uint16. Unbound value Ctypes_printers.format_uint32. Unbound value Ctypes_printers.format_uint64. Unbound value Ctypes_printers.format_size_t. Unbound value Ctypes_printers.format_ushort. Unbound value Ctypes_printers.format_uint. Unbound value Ctypes_printers.format_ulong. Unbound value Ctypes_printers.format_ullong. Unbound value Ctypes_printers.format_pointer. Unbound value Ctypes_printers.format_struct. Unbound value Ctypes_printers.format_union. Unbound value Ctypes_printers.format_array. Unbound value Ctypes_printers.format_ocaml. Unbound value Ctypes_printers.format_clock_t. Unbound value Ctypes_printers.format_dev_t. Unbound value Ctypes_printers.format_ino_t. Unbound value Ctypes_printers.format_mode_t. Unbound value Ctypes_printers.format_nlink_t. Unbound value Ctypes_printers.format_off_t. Unbound value Ctypes_printers.format_pid_t. Unbound value Ctypes_printers.format_size_t. Unbound value Ctypes_printers.format_ssize_t. Unbound value Ctypes_printers.format_time_t. Unbound value Ctypes_printers.format_useconds_t. Unbound value Ctypes_printers.format_ldouble. Unbound value Ctypes_printers.format_complexld.
List your environment
$ utop -version The universal toplevel for OCaml, version 2.14.0, compiled for OCaml version 5.1.1
$ uname -a Linux m4a88td 6.8.9-artix1-2 #1 SMP PREEMPT_DYNAMIC Wed, 08 May 2024 17:34:57 +0000 x86_64 GNU/Linux