Skip to content

Fix msvc compile issues#4

Open
kalmiya wants to merge 11 commits intoHomeworldSDL:masterfrom
kalmiya:hw1windows
Open

Fix msvc compile issues#4
kalmiya wants to merge 11 commits intoHomeworldSDL:masterfrom
kalmiya:hw1windows

Conversation

@kalmiya
Copy link
Copy Markdown

@kalmiya kalmiya commented Jan 3, 2021

  • C doesn't allow variable declarations in the middle of functions

andrewzirkel and others added 11 commits November 3, 2019 19:41
xcode 11.1 osx 10.14 compiles and runs, crash on second level
- pointer truncated.
OSX Notes
- Must run from XCode, not working standalone.
- Add resources to Resources folder in app bundle
- change working directory to Resources folder of app bundle
- add exit statement to immediately exit, otherwise we hang.
- fix scanf type errors
- fix catching flags that are 32bit in 64bit space
- add option for display number, which monitor to display on, starting at 0
Add Mac section.
- SDL2 copied from repo root
- readme update
etgAtVar - variable can sometimes be 0 in nova station level.
- C doesn't allow variable declarations in the middle of functions
@kalmiya
Copy link
Copy Markdown
Author

kalmiya commented Jan 3, 2021

First few fixes to get it to compile again under msvc / windows

rbrune pushed a commit to GardensOfKadesh/HomeworldSDL that referenced this pull request Aug 11, 2021
rbrune pushed a commit to GardensOfKadesh/HomeworldSDL that referenced this pull request Aug 11, 2021
rbrune pushed a commit to GardensOfKadesh/HomeworldSDL that referenced this pull request Aug 11, 2021
rbrune pushed a commit to GardensOfKadesh/HomeworldSDL that referenced this pull request Aug 11, 2021
@ThibaultLemaire
Copy link
Copy Markdown
Member

Hey thanks for the PR, we are still working out how to maintain this repository and accept contributions, so it might be some time still before we look into it. (Also we are a bit short on Windows maintainers, join us on the matrix or discord groups if you want to chat!)

  • C doesn't allow variable declarations in the middle of functions

I'm not very knowledgeable about C, but I was under the impression that C11 does? Do you have a reference on that?

ThibaultLemaire pushed a commit that referenced this pull request Oct 13, 2024
(cherry picked from commit 6ca3950)
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.

3 participants