Skip to content

Commit e5acb50

Browse files
authored
Minor build fixes for strict compilers
1 parent 9375162 commit e5acb50

File tree

7 files changed

+14
-10
lines changed

7 files changed

+14
-10
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: MIT
22
# -----------------------------------------------------------------------------
3-
# Copyright (c) 2024 Arm Limited
3+
# Copyright (c) 2024-2025 Arm Limited
44
#
55
# Permission is hereby granted, free of charge, to any person obtaining a copy
66
# of this software and associated documentation files (the "Software"), to
@@ -24,6 +24,7 @@
2424
cmake_minimum_required(VERSION 3.19)
2525

2626
set(CMAKE_CXX_STANDARD 20)
27+
set(CMAKE_CXX_STANDARD_REQUIRES ON)
2728

2829
project(libGPULayers_UnitTests VERSION 1.0.0)
2930

generator/vk_codegen/root_CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: MIT
22
# -----------------------------------------------------------------------------
3-
# Copyright (c) 2024 Arm Limited
3+
# Copyright (c) 2024-2025 Arm Limited
44
#
55
# Permission is hereby granted, free of charge, to any person obtaining a copy
66
# of this software and associated documentation files (the "Software"), to
@@ -24,6 +24,7 @@
2424
cmake_minimum_required(VERSION 3.19)
2525

2626
set(CMAKE_CXX_STANDARD 20)
27+
set(CMAKE_CXX_STANDARD_REQUIRES ON)
2728

2829
project({PROJECT_NAME} VERSION 1.0.0)
2930

layer_example/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: MIT
22
# -----------------------------------------------------------------------------
3-
# Copyright (c) 2024 Arm Limited
3+
# Copyright (c) 2024-2025 Arm Limited
44
#
55
# Permission is hereby granted, free of charge, to any person obtaining a copy
66
# of this software and associated documentation files (the "Software"), to
@@ -24,6 +24,7 @@
2424
cmake_minimum_required(VERSION 3.19)
2525

2626
set(CMAKE_CXX_STANDARD 20)
27+
set(CMAKE_CXX_STANDARD_REQUIRES ON)
2728

2829
project(VkLayerExample VERSION 1.0.0)
2930

layer_gpu_support/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
cmake_minimum_required(VERSION 3.19)
2525

2626
set(CMAKE_CXX_STANDARD 20)
27+
set(CMAKE_CXX_STANDARD_REQUIRES ON)
2728

2829
project(VkLayerGPUSupport VERSION 1.0.0)
2930

layer_gpu_timeline/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: MIT
22
# -----------------------------------------------------------------------------
3-
# Copyright (c) 2024 Arm Limited
3+
# Copyright (c) 2024-2025 Arm Limited
44
#
55
# Permission is hereby granted, free of charge, to any person obtaining a copy
66
# of this software and associated documentation files (the "Software"), to
@@ -24,6 +24,7 @@
2424
cmake_minimum_required(VERSION 3.19)
2525

2626
set(CMAKE_CXX_STANDARD 20)
27+
set(CMAKE_CXX_STANDARD_REQUIRES ON)
2728

2829
project(VkLayerGPUTimeline VERSION 1.0.0)
2930

source_common/comms/test/comms_test_server.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* SPDX-License-Identifier: MIT
33
* ----------------------------------------------------------------------------
4-
* Copyright (c) 2024 Arm Limited
4+
* Copyright (c) 2024-2025 Arm Limited
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to
@@ -34,6 +34,7 @@
3434
#include <iostream>
3535

3636
#include <arpa/inet.h>
37+
#include <sys/select.h>
3738
#include <sys/socket.h>
3839
#include <sys/un.h>
3940
#include <unistd.h>

source_common/trackers/command_buffer.cpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* SPDX-License-Identifier: MIT
33
* ----------------------------------------------------------------------------
4-
* Copyright (c) 2022-2024 Arm Limited
4+
* Copyright (c) 2022-2025 Arm Limited
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to
@@ -35,8 +35,7 @@ namespace Tracker
3535
/* See header for documentation. */
3636
CommandBuffer::CommandBuffer(VkCommandBuffer _handle)
3737
: handle(_handle) {
38-
39-
};
38+
}
4039

4140
/* See header for documentation. */
4241
void CommandBuffer::reset()
@@ -233,8 +232,7 @@ void CommandBuffer::executeCommands(CommandBuffer& secondary)
233232
/* See header for documentation. */
234233
CommandPool::CommandPool(VkCommandPool _handle)
235234
: handle(_handle) {
236-
237-
};
235+
}
238236

239237
/* See header for documentation. */
240238
CommandBuffer& CommandPool::allocateCommandBuffer(VkCommandBuffer commandBuffer)

0 commit comments

Comments
 (0)