[Bug c++/98362] bad file data on Windows for C++ 20 module

2020-12-18 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98362 cqwrteur changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/98362] bad file data on Windows for C++ 20 module

2020-12-18 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98362 --- Comment #6 from Nathan Sidwell --- * 785b49434d2 2020-12-18 | c++: Fix windows binary files [PR 98362]

[Bug c++/98362] bad file data on Windows for C++ 20 module

2020-12-18 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98362 --- Comment #5 from cqwrteur --- Created attachment 49798 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49798&action=edit Compilation Working patch. Tested on both x86_64-linux-gnu and mingw-w64-x86_64-windows10 This also adds the support

[Bug c++/98362] bad file data on Windows for C++ 20 module

2020-12-18 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98362 --- Comment #4 from cqwrteur --- (In reply to Nathan Sidwell from comment #2) > Created attachment 49797 [details] > test patch > > care to try this? I will modify your patch and try to support O_CLOSEXEC on Windows

[Bug c++/98362] bad file data on Windows for C++ 20 module

2020-12-18 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98362 --- Comment #3 from cqwrteur --- (In reply to Nathan Sidwell from comment #2) > Created attachment 49797 [details] > test patch > > care to try this? Sure BTW. Windows do provide a flag O_NOINHERIT which matches O_CLOSEXEC.

[Bug c++/98362] bad file data on Windows for C++ 20 module

2020-12-18 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98362 --- Comment #2 from Nathan Sidwell --- Created attachment 49797 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49797&action=edit test patch care to try this?

[Bug c++/98362] bad file data on Windows for C++ 20 module

2020-12-18 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98362 Nathan Sidwell changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|