Skip to content

Conversation

@redorav
Copy link
Collaborator

@redorav redorav commented Dec 17, 2024

What does this PR do?

Splits the fatalwarnings api into fatalwarnings for compiler and linkerfatalwarnings for linker. Changes the special Compile and Link values to All in each api. Implements fatal warnings for the linker in VS2022

How does this PR change Premake's behavior?

Changes the fatalwarnings api

Did you check all the boxes?

  • Focus on a single fix or feature; remove any unrelated formatting or code changes
  • Add unit tests showing fix or feature works; all tests pass
  • Mention any related issues (put closes #XXXX in comment to auto-close issue when PR is merged)
  • Follow our coding conventions
  • Minimize the number of commits
  • Align documentation to your changes

You can now support Premake on our OpenCollective. Your contributions help us spend more time responding to requests like these!

redorav and others added 2 commits December 17, 2024 19:41
fatalwarnings("All") applies to the compiler, linkerfatalwarnings("All") to the linker
Implemented linker warnings as errors in MSVC
Change the special values "Compiler" and "Link" to "All" for each api
Add reserved values for APIs that need a value with special meaning while allowing other strings to pass through unmodified
Fixed incorrect linker unit test and added linker unit tests for VS2022
@Jarod42
Copy link
Contributor

Jarod42 commented Dec 20, 2024

Failed

Config file: solaris-11.4-gcc.conf
VM is booting
VM is booting

but unrelated to the PR.
30 minutes timeout seems long for something which seems to fail forever or success quickly.

@redorav redorav merged commit 8f5d5fc into premake:master Dec 27, 2024
39 checks passed
@redorav redorav deleted the fatal-warnings-fix branch December 27, 2024 14:54
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