https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98362
cqwrteur changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
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]
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
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
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.
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?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98362
Nathan Sidwell changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|