Skip to content

Fix tutorials/http/http-server build with windows gcc #3188

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

Merged
merged 2 commits into from
Jul 2, 2025
Merged

Conversation

cpq
Copy link
Member

@cpq cpq commented Jun 27, 2025

No description provided.

@cpq cpq requested a review from scaprile July 2, 2025 10:50
Copy link
Collaborator

@scaprile scaprile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You told me to take this over, last week.

Those conditionals have side issues, I just fixed one of those yesterday: FreeRTOS (for example, maybe others), can run over Linux and Windows. We must not refer to an arch as WIN32 but as MG_ARCH_WIN32; then yes, we can address compiler specifics with their signatures, but keeping in mind that the underlying arch may not be Windoze or Linux, or even Mac.
No one would probably use FreeRTOS over Linux in real life, but they do use it for development purposes. I bet ThreadX has something similar.

According to your changes, then it is not the http server that does not run, but anything that uses RSA.
I'm working on the RSA code today, I'll import this PR.

@scaprile scaprile merged commit 64e8066 into master Jul 2, 2025
68 of 75 checks passed
@scaprile scaprile deleted the wintls branch July 2, 2025 19:49
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.

2 participants