Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
eqvinox
on Jan 6, 2025
|
parent
|
context
|
favorite
| on:
C: Simple Defer, Ready to Use
Unfortunately, nested functions are one of the few GCC extensions not implemented by clang, as such this really only works on GCC.
loeg
on Jan 6, 2025
|
next
[–]
If this proposal is adopted in C2Y, surely Clang will implement it.
pjmlp
on Jan 6, 2025
|
parent
|
next
[–]
Most likely yes, although being on ISO doesn't mean much, there are plenty of examples of features that not every compiler fully supports.
pkhuong
on Jan 7, 2025
|
prev
[–]
I've used blocks with a dummy RTL and extracted the callback from the block descriptor... it worked.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: