Skip to content
In progress

Changes

Progress:

Summary

  1. Use C99 (u)int64_t instead of MSVC __int64 extension (details)
  2. Use time_t instead of MSVC __time64_t (details)
  3. Use C99 fixed-width integers in bigarray (details)
  4. Fully use C99 stdint.h fixed-width integers (details)
  5. Define intnat/uintnat with C99 intptr_t/uintptr_t (details)
  6. Use C99 inttypes.h fixed-width format macros (details)
  7. Define and use CAML_PRI.NAT and CAML_PRI.SZT (details)
  8. s/alloced/allocated/g (details)
  9. Update Changes (details)
Commit 501875bc10151a00ca880daee158a4d1c8e7781c by antonin
Use C99 (u)int64_t instead of MSVC __int64 extension
The file was modifiedruntime/caml/config.h (diff)
The file was modifiedtestsuite/tests/lib-unix/win-stat/fakeclock.c (diff)
The file was modifiedotherlibs/unix/mmap_win32.c (diff)
The file was modifiedruntime/caml/io.h (diff)
The file was modifiedotherlibs/unix/stat_win32.c (diff)
The file was modifiedotherlibs/unix/truncate_win32.c (diff)
Commit 9893cdd32e41d8347ccfcbd7dd60436913a8709f by antonin
Use time_t instead of MSVC __time64_t

The documentation reads:

> `time` is a wrapper for `_time64` and `time_t` is, by default,
> equivalent to `__time64_t`. If you need to force the compiler to
> interpret `time_t` as the old 32-bit `time_t`, you can define
> `_USE_32BIT_TIME_T`.

https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/time-time32-time64?view=msvc-170
The file was modifiedotherlibs/unix/stat_win32.c (diff)
Commit 7c93d2483b5fb1a3dab79c5c3fb3d34954aa3c4b by antonin
Use C99 fixed-width integers in bigarray
The file was modifiedruntime/caml/bigarray.h (diff)
The file was modifiedruntime/bigarray.c (diff)
Commit a4a0259ce6b97dd7467d0be4e31f9d5bf679119d by antonin
Fully use C99 stdint.h fixed-width integers
The file was modifiedruntime/caml/config.h (diff)
Commit c2255f1439b4e1751ccc6d300a50aaddae467b5c by antonin
Define intnat/uintnat with C99 intptr_t/uintptr_t
The file was modifiedruntime/caml/config.h (diff)
Commit cb7791b5804e0904165bd14a563b6007a09b2410 by antonin
Use C99 inttypes.h fixed-width format macros
The file was modifiedruntime/clambda_checks.c (diff)
The file was modifiedruntime/caml/config.h (diff)
Commit 295dd45852688c7c8b5df5e974c460588cdd9696 by antonin
Define and use CAML_PRI.NAT and CAML_PRI.SZT

For consistency with C99 inttypes.h format specifiers.
The file was modifiedruntime/minor_gc.c (diff)
The file was modifiedruntime/caml/config.h (diff)
The file was modifiedruntime/sys.c (diff)
The file was modifiedruntime/domain.c (diff)
The file was modifiedruntime/meta.c (diff)
The file was modifiedruntime/instrtrace.c (diff)
The file was modifiedtestsuite/tests/asmgen/mainimmed.c (diff)
The file was modifiedtestsuite/tests/lf_skiplist/stubs.c (diff)
The file was modifiedruntime/parsing.c (diff)
The file was modifiedtestsuite/tests/asmgen/mainarith.c (diff)
The file was modifiedruntime/major_gc.c (diff)
The file was modifiedruntime/printexc.c (diff)
The file was modifiedruntime/fiber.c (diff)
The file was modifiedruntime/shared_heap.c (diff)
The file was modifiedruntime/gc_ctrl.c (diff)
The file was modifiedruntime/platform.c (diff)
The file was modifiedruntime/interp.c (diff)
Commit be56900a97e120647e62bdac1dfb86e4b4e582f8 by antonin
s/alloced/allocated/g
The file was modifiedruntime/shared_heap.c (diff)
The file was modifiedChanges (diff)