HDFGroup / HDFGroup/hdf5

file_offset_t < size_t on mingw

Open
#3,091 9 comments 1 reaction 1 assignee Assigned to @bmribler View on GitHub
Component - C Library
Dominant language
C
Stars
988
Forks
355
Avg merge
4d 2h
Merged PRs (30d)
12

Description

**Describe the bug**
Using the mingw toolchain we encounter a problem in the assertation on the following https://github.com/HDFGroup/hdf5/blob/ac07382ca947de2b936204dc9d60ce9ac245a21f/src/H5FDstdio.c#L354 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**
- A build log can be found here https://github.com/aldanor/hdf5-rust/actions/runs/5225628766/jobs/9435350340?pr=243
- Found when trying to use 1.14.1 in [`hdf5-rust`](https://github.com/aldanor/hdf5-rust/pull/243)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.