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
b1adaa98
Commit
b1adaa98
authored
Mar 07, 2020
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove gcc 4.4 workaround
parent
48e8d0eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
14 deletions
+1
-14
support/cmake/cxx14.cmake
support/cmake/cxx14.cmake
+0
-11
test/CMakeLists.txt
test/CMakeLists.txt
+1
-3
No files found.
support/cmake/cxx14.cmake
View file @
b1adaa98
...
@@ -48,17 +48,6 @@ endif ()
...
@@ -48,17 +48,6 @@ endif ()
set
(
CMAKE_REQUIRED_FLAGS
${
CXX_STANDARD_FLAG
}
)
set
(
CMAKE_REQUIRED_FLAGS
${
CXX_STANDARD_FLAG
}
)
# Check if variadic templates are working and not affected by GCC bug 39653:
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39653
# Can be removed once gcc 4.4 support is dropped.
check_cxx_source_compiles
(
"
template <class T, class ...Types>
struct S { typedef typename S<Types...>::type type; };
int main() {}"
SUPPORTS_VARIADIC_TEMPLATES
)
if
(
NOT SUPPORTS_VARIADIC_TEMPLATES
)
set
(
SUPPORTS_VARIADIC_TEMPLATES OFF
)
endif
()
# Check if user-defined literals are available
# Check if user-defined literals are available
check_cxx_source_compiles
(
"
check_cxx_source_compiles
(
"
void operator
\"\"
_udl(long double);
void operator
\"\"
_udl(long double);
...
...
test/CMakeLists.txt
View file @
b1adaa98
...
@@ -17,9 +17,7 @@ else ()
...
@@ -17,9 +17,7 @@ else ()
target_compile_definitions
(
gmock PUBLIC GTEST_HAS_PTHREAD=0
)
target_compile_definitions
(
gmock PUBLIC GTEST_HAS_PTHREAD=0
)
endif
()
endif
()
if
(
NOT SUPPORTS_VARIADIC_TEMPLATES
)
target_compile_definitions
(
gmock PUBLIC GTEST_LANG_CXX11=0
)
target_compile_definitions
(
gmock PUBLIC GTEST_LANG_CXX11=0
)
endif
()
if
(
MSVC
)
if
(
MSVC
)
# Workaround a bug in implementation of variadic templates in MSVC11.
# Workaround a bug in implementation of variadic templates in MSVC11.
...
...
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