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
744302ad
Commit
744302ad
authored
Aug 28, 2019
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround broken [[deprecated]] in Intel compiler (#1273)
parent
f5556225
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
include/fmt/core.h
include/fmt/core.h
+8
-2
include/fmt/format.h
include/fmt/format.h
+3
-3
No files found.
include/fmt/core.h
View file @
744302ad
...
...
@@ -132,6 +132,12 @@
# endif
# endif
#endif
// Workaround broken [[deprecated]] in the Intel compiler.
#ifdef __INTEL_COMPILER
# define FMT_DEPRECATED_ALIAS
#else
# define FMT_DEPRECATED_ALIAS FMT_DEPRECATED
#endif
#ifndef FMT_BEGIN_NAMESPACE
# if FMT_HAS_FEATURE(cxx_inline_namespaces) || FMT_GCC_VERSION >= 404 || \
...
...
@@ -474,8 +480,8 @@ class basic_parse_context : private ErrorHandler {
using
format_parse_context
=
basic_parse_context
<
char
>
;
using
wformat_parse_context
=
basic_parse_context
<
wchar_t
>
;
using
parse_context
FMT_DEPRECATED
=
basic_parse_context
<
char
>
;
using
wparse_context
FMT_DEPRECATED
=
basic_parse_context
<
wchar_t
>
;
using
parse_context
FMT_DEPRECATED
_ALIAS
=
basic_parse_context
<
char
>
;
using
wparse_context
FMT_DEPRECATED
_ALIAS
=
basic_parse_context
<
wchar_t
>
;
template
<
typename
Context
>
class
basic_format_arg
;
template
<
typename
Context
>
class
basic_format_args
;
...
...
include/fmt/format.h
View file @
744302ad
...
...
@@ -2595,9 +2595,9 @@ void handle_dynamic_spec(Spec& value, arg_ref<typename Context::char_type> ref,
}
// namespace internal
template
<
typename
Range
>
using
basic_writer
FMT_DEPRECATED
=
internal
::
basic_writer
<
Range
>
;
using
writer
FMT_DEPRECATED
=
internal
::
writer
;
using
wwriter
FMT_DEPRECATED
=
using
basic_writer
FMT_DEPRECATED
_ALIAS
=
internal
::
basic_writer
<
Range
>
;
using
writer
FMT_DEPRECATED
_ALIAS
=
internal
::
writer
;
using
wwriter
FMT_DEPRECATED
_ALIAS
=
internal
::
basic_writer
<
internal
::
buffer_range
<
wchar_t
>>
;
/** The default argument formatter. */
...
...
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