-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Cygwin Compatibility #388
Comments
I think you can workaround the first issue by adding a check for cygwin here: #ifdef __MINGW32__
// Workaround MinGW bug https://sourceforge.net/p/mingw/bugs/2024/.
# undef __STRICT_ANSI__
#endif in https://github.com/fmtlib/fmt/blob/master/fmt/posix.h#L13. Could you submit the PR for this and the locale fix? |
Closing for now but feel free to reopen if you still get errors. |
I can confirm that this works, using G++ 5.4.0 on Cygwin. Any chance of getting a 3.0.x bugfix release or branch with this at some point (esp. since |
I plan to make a new release but only after completing the first draft of the standard proposal. Hopefully it won't take long but I don't have any specific dates as I work on this in my spare time (which was a bit limited lately because of switching to a new job). If you or anyone else (with reasonable github history =)) are willing to spend some time on preparing a new release, I'll be happy to give write permissions to the repo. |
Hey, @foonathan. There were a few requests for a new minor release of |
Basically it will require creating a new branch from version 3.0, picking and merging bug fixes that don't break API from 3.0.0...master and listing them in https://github.com/fmtlib/fmt/blob/master/ChangeLog.rst under the new entry (3.0.1). Then the |
Alright I can do that. What about other issues? |
Thanks! I've added you to the list of collaborators with write permissions so you should receive a confirmation shortly. Right now release is the most important thing, but if you are feeling adventurous =) feel free to pick up any issue from https://github.com/fmtlib/fmt/issues. Any contribution is welcome! |
Okay, I'll see what I can do tomorrow. |
(cherry picked from commit cee50b7)
(cherry picked from commit cee50b7)
https://github.com/cygwin/cygwin/blob/master/winsup/cygwin/release/2.6.0 |
Hi. I ran into two compatibility issues with using fmt in a cygwin (gcc 5.4.0 64-bit) environment.
define _POSIX_C_SOURCE 200809L
I'm not quite sure if this is actually cygwin specific or not, as this seems to be gcc -- but I'm not in a position to test on linux yet.
The text was updated successfully, but these errors were encountered: