Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Root
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
为了安全,强烈建议开启2FA双因子认证:User Settings -> Account -> Enable two-factor authentication!!!
Show more breadcrumbs
cxwx
Root
Commits
3c58e0d3
Commit
3c58e0d3
authored
4 years ago
by
Vassil Vassilev
Browse files
Options
Downloads
Patches
Plain Diff
Mark the include directories of clang and llvm as system.
parent
d8fa66c1
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
interpreter/CMakeLists.txt
+1
-4
1 addition, 4 deletions
interpreter/CMakeLists.txt
interpreter/cling/CMakeLists.txt
+1
-1
1 addition, 1 deletion
interpreter/cling/CMakeLists.txt
with
2 additions
and
5 deletions
interpreter/CMakeLists.txt
+
1
−
4
View file @
3c58e0d3
...
@@ -459,10 +459,7 @@ if (builtin_cling)
...
@@ -459,10 +459,7 @@ if (builtin_cling)
if
(
MSVC
)
if
(
MSVC
)
set
(
CLING_CXXFLAGS
"-DNOMINMAX -D_XKEYCHECK_H"
)
set
(
CLING_CXXFLAGS
"-DNOMINMAX -D_XKEYCHECK_H"
)
else
()
else
()
set
(
CLING_CXXFLAGS
" -fvisibility=hidden -Wno-shadow -fno-strict-aliasing -Wno-unused-parameter -Wwrite-strings -Wno-long-long "
)
set
(
CLING_CXXFLAGS
" -fvisibility=hidden -fno-strict-aliasing -Wwrite-strings "
)
endif
()
if
(
CMAKE_COMPILER_IS_GNUCXX
)
string
(
APPEND CLING_CXXFLAGS
" -Wno-missing-field-initializers"
)
endif
()
endif
()
string
(
APPEND CMAKE_CXX_FLAGS
${
CLING_CXXFLAGS
}
)
string
(
APPEND CMAKE_CXX_FLAGS
${
CLING_CXXFLAGS
}
)
...
...
This diff is collapsed.
Click to expand it.
interpreter/cling/CMakeLists.txt
+
1
−
1
View file @
3c58e0d3
...
@@ -330,7 +330,7 @@ macro(set_cling_windows_version_resource_properties name)
...
@@ -330,7 +330,7 @@ macro(set_cling_windows_version_resource_properties name)
endif
()
endif
()
endmacro
()
endmacro
()
include_directories
(
BEFORE
${
LLVM_INCLUDE_DIRS
}
${
CLANG_INCLUDE_DIRS
}
)
include_directories
(
BEFORE
SYSTEM
${
LLVM_INCLUDE_DIRS
}
${
CLANG_INCLUDE_DIRS
}
)
macro
(
add_cling_library name
)
macro
(
add_cling_library name
)
cmake_parse_arguments
(
ARG
cmake_parse_arguments
(
ARG
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment