Provide a well-defined off_t
type across different operating system platforms.
#50
Labels
bug
Something isn't working
Bug
off_t
lives under<sys/types.h>
for Linux platforms. However, on MacOS platforms, this is not the case, andclang-tidy
will generatemisc-include-cleaner
warnings.This issue is first encountered when clang-tidying the
ReaderInterface
andWriterInterface
classes in theio_interface
library (#49). We've leftNOLINT
s andTODO
s in the code to silence the warnings.One solution is to create our own versions of the system headers for portability and platform-specific handling. See also.
ystdlib-cpp version
0.0.0
Environment
Warnings generated on MacOS-15.
Reproduction steps
Remove the
NOLINT
lines added in (#49), and runclang-tidy
on MacOS-15.The text was updated successfully, but these errors were encountered: