Bug 23344 – std.stdio: error: undefined identifier fputc_unlocked

Status
ASSIGNED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2022-09-18T10:01:41Z
Last change time
2024-12-13T19:24:31Z
Assigned to
No Owner
Creator
Iain Buclaw
Moved to GitHub: dmd#20150 →

Comments

Comment #0 by ibuclaw — 2022-09-18T10:01:41Z
Comment #1 by dlang-bot — 2022-09-18T16:28:28Z
@ibuclaw created dlang/phobos pull request #8571 "partial fix for Issue 23344 - std.stdio: error: undefined identifier fputc_unlocked" mentioning this issue: - partial fix for Issue 23344 - std.stdio: error: undefined identifier fputc_unlocked While the proper fix would be to define the missing getc/putc macros, for now to keep the build happy, just treat uClibc as a GENERIC_IO platform. https://github.com/dlang/phobos/pull/8571
Comment #2 by ibuclaw — 2022-09-18T16:34:33Z
Patch posted to fix immediate build error, real fix would be to add the missing macros to druntime, then we can re-enable GCC_IO again.
Comment #3 by robert.schadek — 2024-12-13T19:24:31Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/20150 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB