-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use "standard" int main in Windows builds
Using WinMain is not necessary in order to get access to the "wide" command line, and makes the MSVCRT skip all the initialisation steps needed for "Console API" to work correctly, leading to the program having no output in Windows console programs that use it - most notably, cmd.exe.
- Loading branch information
1 parent
92246c3
commit 6d381d6
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6d381d6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@abakum @qyot27 Should be fine now, here's the MXE32 build running in cmd.exe
![Capture](https://user-images.githubusercontent.com/127875/73856252-757fd580-4835-11ea-8161-09e14452ca35.PNG)
![Capture2](https://user-images.githubusercontent.com/127875/73856279-7e70a700-4835-11ea-92eb-3e7f965d47de.PNG)
:
... and the MSYS2 build :
6d381d6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But since now the tsMuxeR requires .meta in utf8, and many programs write it in 8-bit encoding, it is necessary ANNOUNCE this for save compatibility!
6d381d6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://forum.doom9.org/showthread.php?p=1898868#post1898868