Skip to content

Remove duplicate shutdown function, OS-specific build adjustments, C++ & 64-bit changes - #360

Open
skittles1 wants to merge 14 commits into
developfrom
linux_adj
Open

Remove duplicate shutdown function, OS-specific build adjustments, C++ & 64-bit changes#360
skittles1 wants to merge 14 commits into
developfrom
linux_adj

Conversation

@skittles1

Copy link
Copy Markdown
  • Was required due to the existing one causing incorrect shutdown on linux early in the conversion, but that doesn't seem to be the case now.

- Was required due to the existing one causing incorrect shutdown
on linux early in the conversion, but that doesn't seem to be the
case now.
- Avoid pinning a specific win SDK version in the VS projects.
- Add blakcomp.l & blakcomp.y to blakcomp project to have them
available in VS.
- This isn't ever used & can cause issues on linux
due to '/' being the directory separator.
- Update Bison & Flex to latest versions (3.8.2 and 2.6.4 respectively).
- Fix verbose error setting in blakcomp.y.
@skittles1 skittles1 changed the title Remove duplicate shutdown function Remove duplicate shutdown function, OS-specific build adjustments, C++ & 64-bit changes Apr 22, 2026
- Adjustments to blakcomp to handle OS-specific path strings a bit
cleaner.
- Set compiler flags for C++20, remove SSE2 which is redundant.
- Increment VS version in solution file.
- Adjust output dir checking in blakcomp.l (remove ifdef).
- Add 64-bit VS project for blakcomp, adjust flags in common.mak.
- Add some defines in blakcomp.y due to an issue with ptrdiff_t
definition (may be fixed in later version of bison).
- Various changes to code for 64-bit compatibility.
- Add VS projects for 64-bit blakserv, jansson and resource.
- Remove libcurl from blakserv build (unused).
- Fix blakserv interface type issues for 64-bit build.
- Modify database_pg.h/c for Windows compatiblity.
- Add libpq dll/lib/headers (may need more headers).
- Switch 64-bit blakserv build to use PostgreSQL instead of MySQL.
- Cast strlen results to int where necessary to avoid warnings.
- Change some int types to size_t.
- Adjustments to cfg file loading to handle win/linux better.
- Invalid message_depth was caused by calling LoadFromKod() directly
during an existing blakod top-level message rather than having it
deferred to run as a top-level itself (linux port). Not sure if it
should really continue if it hits an invalid message_depth, but
resetting is more wrong than continuing.
- Allow LoadFromKod() (loading saved game from blakod) to work
on linux by checking for a load request during the running loop.
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.

1 participant