Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
51b93a09
Commit
51b93a09
authored
May 25, 2023
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
columnstore warnings with gcc 12.x and 13.x
parent
19856db6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
storage/columnstore/CMakeLists.txt
storage/columnstore/CMakeLists.txt
+12
-0
No files found.
storage/columnstore/CMakeLists.txt
View file @
51b93a09
...
...
@@ -9,6 +9,18 @@ IF(NOT PLUGIN_PERFSCHEMA STREQUAL NO)
add_definitions
(
-DHAVE_PSI_INTERFACE=
)
ENDIF
()
# new gcc is quite buggy re. spurious warnings. let's shut it up
IF
(
CMAKE_COMPILER_IS_GNUCC AND CMAKE_C_COMPILER_VERSION VERSION_GREATER
"12.0.0"
)
# 12
MY_CHECK_AND_SET_COMPILER_FLAG
(
"-Wno-error=restrict"
)
MY_CHECK_AND_SET_COMPILER_FLAG
(
"-Wno-error=use-after-free"
)
# 13
MY_CHECK_AND_SET_COMPILER_FLAG
(
"-Wno-error=maybe-uninitialized"
)
MY_CHECK_AND_SET_COMPILER_FLAG
(
"-Wno-error=dangling-reference"
)
MY_CHECK_AND_SET_COMPILER_FLAG
(
"-Wno-error=dangling-pointer"
)
ENDIF
()
MY_CHECK_AND_SET_COMPILER_FLAG
(
"-fno-strict-aliasing"
)
SET
(
CMAKE_EXE_LINKER_FLAGS
"
${
CMAKE_EXE_LINKER_FLAGS
}
-Wl,--as-needed"
)
# this does everything, gets the var from the correct scope, appends new
# values, sets in the correct scope
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment