Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make other_include a SYSTEM include for loadtests #762

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

MarkCallow
Copy link
Collaborator

to stop warnings in assimp and other headers. Clang 16.0.5 has a new warning it raises on some of the assimp headers.

to stop warnings in assimp files.
@MarkCallow MarkCallow merged commit 0feeda6 into main Sep 6, 2023
14 checks passed
@MarkCallow MarkCallow deleted the fix-clang16-warning branch September 6, 2023 11:55
MarkCallow added a commit that referenced this pull request Sep 6, 2023
to stop warnings in assimp files. Clang 16.0.5 has a new warning it raises on some of the assimp headers.
MarkCallow added a commit that referenced this pull request Sep 7, 2023
* Fix legacy app input from pipes on Windows. From commit 3e7fd0a.

   Was always broken for pipes created by Windows' shells (PowerShell
   and Command). Became broken in cygwin 3.4.x for pipes created by
   cygwin/MSYS2/Git for Windows shells when cygwin started mimicking
   the way Windows shells create pipes. The cause is that setting the
   `FILE_SYNCHRONOUS_IO_NONALERT` option when creating a pipe
   causes `cin.seekg(0)` on the pipe to return success when in fact seek
   is not supported.

   Add launchDebugger function and --ld option to invoke it to `ktxApp`
   class and ktx tool as helpers for debugging pipes on Windows. These
   are only added when _WIN32 and DEBUG are defined.

* Do target_type changes only in toktx. They were being done in both
  `toktx` and the `imageinput` plugin. Fixes #727. From commit
  2cf053c.

  Changes included with above fix:
  - Move image-related utilities and image.hpp from `ktxtools` to `imageio`
     target for sharing between new and legacy tools.
  - Change `toktx` and `unittests` to use the updated version of image.hpp.

* Changes to make build work with latest compilers in CI services:
   - Fix mismatched `new[]` and `delete` in `glloadtests`. From commit
     3e7fd0a
   - Warning fixes for clang 14 and cmake 3.26.
   - Make other_include a SYSTEM include for loadtests (#762) to stop
     warnings in assimp files. Clang 16.0.5 has a new warning it raises on
     some of the assimp headers. From commit 0feeda6.
KaperD pushed a commit to KaperD/KTX-Software that referenced this pull request Feb 26, 2024
…oup#727 (KhronosGroup#760)

* Fix legacy app input from pipes on Windows. From commit 3e7fd0a.

   Was always broken for pipes created by Windows' shells (PowerShell
   and Command). Became broken in cygwin 3.4.x for pipes created by
   cygwin/MSYS2/Git for Windows shells when cygwin started mimicking
   the way Windows shells create pipes. The cause is that setting the
   `FILE_SYNCHRONOUS_IO_NONALERT` option when creating a pipe
   causes `cin.seekg(0)` on the pipe to return success when in fact seek
   is not supported.

   Add launchDebugger function and --ld option to invoke it to `ktxApp`
   class and ktx tool as helpers for debugging pipes on Windows. These
   are only added when _WIN32 and DEBUG are defined.

* Do target_type changes only in toktx. They were being done in both
  `toktx` and the `imageinput` plugin. Fixes KhronosGroup#727. From commit
  2cf053c.

  Changes included with above fix:
  - Move image-related utilities and image.hpp from `ktxtools` to `imageio`
     target for sharing between new and legacy tools.
  - Change `toktx` and `unittests` to use the updated version of image.hpp.

* Changes to make build work with latest compilers in CI services:
   - Fix mismatched `new[]` and `delete` in `glloadtests`. From commit
     3e7fd0a
   - Warning fixes for clang 14 and cmake 3.26.
   - Make other_include a SYSTEM include for loadtests (KhronosGroup#762) to stop
     warnings in assimp files. Clang 16.0.5 has a new warning it raises on
     some of the assimp headers. From commit 0feeda6.
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