mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-02-05 17:28:23 +08:00
fix clang warning
This commit is contained in:
parent
508648c134
commit
19f0643921
3
port/linux/.vscode/c_cpp_properties.json
vendored
3
port/linux/.vscode/c_cpp_properties.json
vendored
@ -12,7 +12,8 @@
|
|||||||
"compilerPath": "/usr/bin/gcc",
|
"compilerPath": "/usr/bin/gcc",
|
||||||
"cStandard": "c99",
|
"cStandard": "c99",
|
||||||
"cppStandard": "c++14",
|
"cppStandard": "c++14",
|
||||||
"intelliSenseMode": "linux-clang-x64"
|
"intelliSenseMode": "linux-clang-x64",
|
||||||
|
"configurationProvider": "ms-vscode.cmake-tools"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"version": 4
|
"version": 4
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
cmake_minimum_required(VERSION 3.0.0)
|
cmake_minimum_required(VERSION 3.0.0)
|
||||||
add_compile_options(-Wall -Wextra -Wno-unused-parameter)
|
add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-sign-conversion)
|
||||||
OPTION(PIKA_CONFIG_ENABLE "pika config enable" OFF)
|
OPTION(PIKA_CONFIG_ENABLE "pika config enable" OFF)
|
||||||
IF(PIKA_CONFIG_ENABLE)
|
IF(PIKA_CONFIG_ENABLE)
|
||||||
ADD_DEFINITIONS(-DPIKA_CONFIG_ENABLE)
|
ADD_DEFINITIONS(-DPIKA_CONFIG_ENABLE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user