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

changes to compile again with networking enabled. #266

Merged
merged 2 commits into from
Sep 22, 2024

Conversation

JosepMaJAZ
Copy link
Contributor

@JosepMaJAZ JosepMaJAZ commented Jun 27, 2024

  • forced to build with standard "gnu17" , ( so, c17 to avoid K&R function declaration problems with slirp, and gnu because there are several classes that use assembly "with the asm" keyword).
  • Changed socket.c to use socketclose instead of close, and tftpd to use stdio fopen/fseek/fread/fclose instead of posix open/lseek/read/close.
  • fixed some more warnings
  • removed chdir and do an absolute path fopen instead.

Note: All these changes about chdir, open, lseek... are about deprecated methods that are no longer available on current versions of msys2.
Rather than using a compiler setting to reenable them, i've made changes to the code.
@michael-manley michael-manley merged commit 3181dad into sarah-walker-pcem:dev Sep 22, 2024
9 checks passed
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