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
1a599117
Commit
1a599117
authored
Dec 03, 2019
by
Egor Pugin
Committed by
Victor Zverovich
Dec 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Export assert_fail with FMT_API. This fixes dll build.
parent
b160123e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/fmt/core.h
include/fmt/core.h
+1
-1
include/fmt/format-inl.h
include/fmt/format-inl.h
+1
-1
No files found.
include/fmt/core.h
View file @
1a599117
...
...
@@ -229,7 +229,7 @@ namespace internal {
// A workaround for gcc 4.8 to make void_t work in a SFINAE context.
template
<
typename
...
Ts
>
struct
void_t_impl
{
using
type
=
void
;
};
void
assert_fail
(
const
char
*
file
,
int
line
,
const
char
*
message
);
FMT_API
void
assert_fail
(
const
char
*
file
,
int
line
,
const
char
*
message
);
#ifndef FMT_ASSERT
# ifdef NDEBUG
...
...
include/fmt/format-inl.h
View file @
1a599117
...
...
@@ -55,7 +55,7 @@ inline fmt::internal::null<> strerror_s(char*, std::size_t, ...) { return {}; }
FMT_BEGIN_NAMESPACE
namespace
internal
{
FMT_FUNC
void
assert_fail
(
const
char
*
file
,
int
line
,
const
char
*
message
)
{
FMT_
API
FMT_
FUNC
void
assert_fail
(
const
char
*
file
,
int
line
,
const
char
*
message
)
{
print
(
stderr
,
"{}:{}: assertion failed: {}"
,
file
,
line
,
message
);
std
::
abort
();
}
...
...
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