Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
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
Libraries
fmt
Commits
62010520
Commit
62010520
authored
Aug 22, 2018
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable gnu-string-literal-operator-template warning
parent
98751476
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
CMakeLists.txt
CMakeLists.txt
+0
-8
include/fmt/format.h
include/fmt/format.h
+4
-0
No files found.
CMakeLists.txt
View file @
62010520
...
@@ -111,14 +111,6 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
...
@@ -111,14 +111,6 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set
(
PEDANTIC_COMPILE_FLAGS
${
PEDANTIC_COMPILE_FLAGS
}
set
(
PEDANTIC_COMPILE_FLAGS
${
PEDANTIC_COMPILE_FLAGS
}
-Wno-zero-as-null-pointer-constant
)
-Wno-zero-as-null-pointer-constant
)
endif
()
endif
()
endif
()
check_cxx_compiler_flag
(
-Wno-gnu-string-literal-operator-template HAS_GNU_UDL_WARNING
)
if
(
HAS_GNU_UDL_WARNING
)
set
(
PEDANTIC_COMPILE_FLAGS
${
PEDANTIC_COMPILE_FLAGS
}
-Wno-gnu-string-literal-operator-template
)
endif
()
endif
()
if
(
MSVC
)
if
(
MSVC
)
...
...
include/fmt/format.h
View file @
62010520
...
@@ -65,6 +65,10 @@
...
@@ -65,6 +65,10 @@
# pragma GCC diagnostic ignored "-Wsign-conversion"
# pragma GCC diagnostic ignored "-Wsign-conversion"
#endif
#endif
# if FMT_CLANG_VERSION
# pragma GCC diagnostic ignored "-Wgnu-string-literal-operator-template"
# endif
#ifdef _SECURE_SCL
#ifdef _SECURE_SCL
# define FMT_SECURE_SCL _SECURE_SCL
# define FMT_SECURE_SCL _SECURE_SCL
#else
#else
...
...
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