Skip to content

Fix build warnings#57

Merged
idigdoug merged 3 commits intomasterfrom
BuildErrors
Feb 2, 2025
Merged

Fix build warnings#57
idigdoug merged 3 commits intomasterfrom
BuildErrors

Conversation

@idigdoug
Copy link
Copy Markdown
Collaborator

@idigdoug idigdoug commented Feb 2, 2025

Fix a bunch of build warnings.

  • GitHub actions were failing due to use of V3 artifacts upload.
  • ServiceBinary %12%\csaudiork3x.sys does not have a corresponding
    CopyFiles. Fix by changing CopyFiles=13 to CopyFiles=12 to match
    the ServiceBinary entry. (Also rename CopyList to CopyFiles for
    consistency.)
  • Wildcards should not be used in vcxproj files. Fix by expanding
    wildcards.
  • Various issues with macro conflicts caused by
    #include <stdint.h>. stdint.h is a great header, but the Windows
    SDK only provides a user-mode version of it, and that version causes
    conflicts with the kernel-mode headers. Fix by removing references to
    stdint.h and using UINT8 as needed.
  • Various warnings about missing casts. Added casts or modified variable
    types as seemed appropriate.

Fix a bunch of build warnings.

- ServiceBinary `%12%\csaudiork3x.sys` does not have a corresponding
  CopyFiles. Fix by changing `CopyFiles=13` to `CopyFiles=12` to match
  the ServiceBinary entry. (Also rename CopyList to CopyFiles for
  consistency.)
- Wildcards should not be used in vcxproj files. Fix by expanding
  wildcards.
- Various issues with macro conflicts caused by
  `#include  <stdint.h>`. stdint.h is a great header, but the Windows
  SDK only provides a user-mode version of it, and that version causes
  conflicts with the kernel-mode headers. Fix by removing references to
  stdint.h and using `UINT8` as needed.
- Various warnings about missing casts. Added casts or modified variable
  types as seemed appropriate.
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 11 changed files in this pull request and generated no comments.

Files not reviewed (10)
  • drivers/audio/codecs/es8323/es8323.c: Language not supported
  • drivers/audio/csaudiork3x/Source/Inc/Inc.vcxproj: Language not supported
  • drivers/audio/csaudiork3x/Source/Main/Main.vcxproj: Language not supported
  • drivers/audio/csaudiork3x/Source/Main/csaudiork3x.inx: Language not supported
  • drivers/dma/pl330dma/insn.c: Language not supported
  • drivers/dma/pl330dma/pl330.c: Language not supported
  • drivers/gpio/rk3xgpio/rk3xgpio.vcxproj: Language not supported
  • drivers/i2c/rk3xi2c/rk3xi2c.c: Language not supported
  • drivers/i2c/rk3xi2c/rockchipi2c.c: Language not supported
  • drivers/sd/dwcsdhc/dwcsdhc.vcxproj: Language not supported

@idigdoug idigdoug merged commit c7bcd59 into master Feb 2, 2025
2 checks passed
@idigdoug idigdoug deleted the BuildErrors branch February 2, 2025 01:26
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