You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "zhjwpku (via GitHub)" <gi...@apache.org> on 2026/02/22 07:05:21 UTC

[I] libc++ on Apple platforms may not provide floating-point std::from_chars [iceberg-cpp]

zhjwpku opened a new issue, #571:
URL: https://github.com/apache/iceberg-cpp/issues/571

   It seems that on macOS, when using Clang with libc++, linking fails with `call to deleted function 'from_chars'` for floating-point types. I created a Compiler Explorer example to demonstrate the issue:
   
   [https://godbolt.org/z/3oar38qG9](https://godbolt.org/z/3oar38qG9)
   
   The error indicates that `std::from_chars` is only enabled for integral types in this libc++ version, and the floating-point overload is not available. (clang 20 supported from_chars)
   
   Given this, I'm wondering whether we should fall back to `std::strtof` / `std::strtod` / `std::strtold` when parsing floating-point numbers. What do you think?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] libc++ on Apple platforms may not provide floating-point std::from_chars [iceberg-cpp]

Posted by "HuaHuaY (via GitHub)" <gi...@apache.org>.
HuaHuaY commented on issue #571:
URL: https://github.com/apache/iceberg-cpp/issues/571#issuecomment-3941027692

   You need to update macOS 26. SDK of macOS 15 doesn't support this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] libc++ on Apple platforms may not provide floating-point std::from_chars [iceberg-cpp]

Posted by "HuaHuaY (via GitHub)" <gi...@apache.org>.
HuaHuaY commented on issue #571:
URL: https://github.com/apache/iceberg-cpp/issues/571#issuecomment-3941054474

   It seems that macOS supports it in macOS 26's SDK.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] libc++ on Apple platforms may not provide floating-point std::from_chars [iceberg-cpp]

Posted by "wgtmac (via GitHub)" <gi...@apache.org>.
wgtmac closed issue #571: libc++ on Apple platforms may not provide floating-point std::from_chars
URL: https://github.com/apache/iceberg-cpp/issues/571


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] libc++ on Apple platforms may not provide floating-point std::from_chars [iceberg-cpp]

Posted by "zhjwpku (via GitHub)" <gi...@apache.org>.
zhjwpku commented on issue #571:
URL: https://github.com/apache/iceberg-cpp/issues/571#issuecomment-3945329172

   > It seems that macOS only supports it in macOS 26's SDK.
   
   Yeah, if we decide to rely on the macOS 26 SDK, we'd better explicitly document that in the `Requirements` section.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org