]> git.ipfire.org Git - thirdparty/coreutils.git/commit
od: port to Apple clang 14
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 30 Jun 2025 22:40:57 +0000 (15:40 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 30 Jun 2025 22:41:47 +0000 (15:41 -0700)
commit48281e56a399818fa6326b6519f1ba3d8b7d5488
tree542677a158e68ff60186adfd83a25bf0ae6960d7
parent017fc50bb6797ac2d71e46fef8f559acb0f44c5d
od: port to Apple clang 14

* src/od.c (print_function_type): New type.  Use it for convenience.
(width_bytes): Omit duplicate entries, such as ‘double’ vs ‘long
double’ on macOS.  Problem reported by Bruno Haible
<https://bugs.gnu.org/78933>.
(decode_one_format): Cast null pointer to print_function_type
to pacify Apple clang-1400.0.29.202.
src/od.c