Skip to content

Commit

Permalink
HIP SDK 6.3 for Windows bug workaround (#3823)
Browse files Browse the repository at this point in the history
  • Loading branch information
apwojcik authored Feb 25, 2025
1 parent d587426 commit b19d136
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cmake/EnableCompilerWarnings.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#####################################################################################
# The MIT License (MIT)
#
# Copyright (c) 2015-2024 Advanced Micro Devices, Inc. All rights reserved.
# Copyright (c) 2015-2025 Advanced Micro Devices, Inc. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -106,6 +106,11 @@ else()
-Wno-unsafe-buffer-usage
# -Wno-c++2a-designator
)
if(WIN32 AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "19")
list(APPEND CMAKE_COMPILER_WARNINGS
-Wno-missing-include-dirs
)
endif()
else()
list(APPEND CMAKE_COMPILER_WARNINGS
-Wno-missing-field-initializers
Expand Down

0 comments on commit b19d136

Please sign in to comment.