Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: no member named 'setfill' in namespace 'std' #1482

Closed
yurivict opened this issue Aug 17, 2024 · 3 comments
Closed

error: no member named 'setfill' in namespace 'std' #1482

yurivict opened this issue Aug 17, 2024 · 3 comments
Labels
community-support-needed Facebook can't provide direct support for this issue, it is up to the community

Comments

@yurivict
Copy link

Bug Description

/usr/ports/lang/hermes/work/hermes-0.13.0/unittests/BCGen/BytecodeFileFormatTest.cpp:53:16: error: no member named 'setfill' in namespace 'std'
   53 |     ss << std::setfill('0') << std::setw(2) << std::hex
      |           ~~~~~^
/usr/ports/lang/hermes/work/hermes-0.13.0/unittests/BCGen/BytecodeFileFormatTest.cpp:53:37: error: no member named 'setw' in namespace 'std'
   53 |     ss << std::setfill('0') << std::setw(2) << std::hex
      |                                ~~~~~^
2 errors generated.

Version: 0.13.0
clang-18
FreeBSD 14.1

@yurivict yurivict added the bug Something isn't working label Aug 17, 2024
@avp
Copy link
Contributor

avp commented Aug 17, 2024

Closing this for now because we can't provide first party support for FreeBSD. We'd be happy to merge any community PRs that fix compilation errors on it though.

@avp avp closed this as completed Aug 17, 2024
@avp avp added community-support-needed Facebook can't provide direct support for this issue, it is up to the community and removed bug Something isn't working labels Aug 17, 2024
@yurivict
Copy link
Author

@avp
Is there a particular reason that you've concluded that this is FreeBSD specific?

@tmikov
Copy link
Contributor

tmikov commented Aug 17, 2024

@yurivict Thank you for your interest in Hermes and for taking the time to report this issue. We appreciate the enthusiasm and effort that goes into building the project in diverse environments.

However, I'd like to clarify our approach to issue submissions. GitHub is a platform where developers collaborate on open-source projects, sharing their work with the community. While we strive to support a broad range of environments, it's important to note that we can't practically investigate and address issues related to environments we haven't tested or configured. You can see the supported and tested environments here:

In cases like yours, where the error occurs in a non-standard or untested environment (such as OpenBSD with Clang 18), we encourage the community to discuss and troubleshoot these challenges together in the Discussions section. This allows for a more collaborative approach, where others who might have encountered similar issues can offer insights or solutions.

If you manage to identify the problem and have a fix, we would be very grateful if you could submit a pull request (PR). This kind of peer collaboration is what makes open source thrive.

Thank you again for your understanding and for contributing to the Hermes project.

@tmikov tmikov reopened this Aug 17, 2024
@facebook facebook locked and limited conversation to collaborators Aug 17, 2024
@tmikov tmikov converted this issue into discussion #1484 Aug 17, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
community-support-needed Facebook can't provide direct support for this issue, it is up to the community
Projects
None yet
Development

No branches or pull requests

3 participants