pawn-lang / compiler

Pawn compiler for SA-MP with bug fixes and new features - runs on Windows, Linux, macOS
Other
303 stars 70 forks source link

Force static VC runtime #652

Open Daniel-Cortez opened 3 years ago

Daniel-Cortez commented 3 years ago

What this PR does / why we need it:

This PR adds a new compile option FORCE_STATIC_VCRT (enabled by default) to remove the dependency from MSVCR100.dll by building with static MSVC runtime library (see #411). I borrowed the idea for the name of this option from SDL2, so I believe this name should be common enough.

Which issue(s) this PR fixes:

Fixes #411

What kind of pull this is:

Additional Documentation:

Y-Less commented 3 years ago

That's brilliant timing! I had this issue just yesterday on a new computer.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity.

Daniel-Cortez commented 2 years ago

Removed the "Remove unused duplicate functions from sc1.c" commit, as I'm planning to move it into a separate PR.