Skip to content
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

Fix mingw errors in hlc_main.c #704

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

tobil4sk
Copy link
Member

@tobil4sk tobil4sk commented Sep 1, 2024

Closes #687

These issues were errors with GCC, but they were also warnings on MSVC.

GCC:
```
error: implicit declaration of function 'wmain'
```

MSVC:
```
warning C4013: 'wmain' undefined; assuming extern returning int
```
GCC:
```
expected 'uchar **' {aka 'short unsigned int **'} but argument is of type 'char **'
```

MSVC:
```
warning C4133: 'function': incompatible types - from 'char **' to 'uchar **'
```
@yuxiaomao yuxiaomao merged commit d255a90 into HaxeFoundation:master Sep 6, 2024
8 checks passed
@tobil4sk tobil4sk deleted the fix/mingw-hlc branch September 6, 2024 09:41
@tobil4sk
Copy link
Member Author

tobil4sk commented Sep 6, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to build C output on Windows gcc
2 participants