Skip to content

file_offset_t < size_t on mingw #3091

@mulimoen

Description

@mulimoen

Describe the bug
Using the mingw toolchain we encounter a problem in the assertation on the following

assert(sizeof(file_offset_t) >= sizeof(size_t));
which crashes the program

Expected behavior
The assertation to not trigger a crash.

Platform

  • Default windows github runner
  • HDF5 version 1.14.1-2 from source
  • Microsoft Windows Server 2022
  • Mingw-w64 11.2.0
  • CMake 3.26.4

Additional context

Metadata

Metadata

Assignees

Labels

Component - C LibraryCore C library issues (usually in the src directory)

Type

Projects

Status

Scheduled/On-Deck

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions