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
fbd871e4
Commit
fbd871e4
authored
Jan 30, 2017
by
Rich E
Committed by
Jonathan Müller
Jun 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added FMT_API declarations where needed when using FMT_EXPORT from a separate dll
(cherry picked from commit
ad6d78f2
)
parent
5bce2c0c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
fmt/format.cc
fmt/format.cc
+6
-6
fmt/format.h
fmt/format.h
+4
-4
No files found.
fmt/format.cc
View file @
fbd871e4
...
...
@@ -911,14 +911,14 @@ template void fmt::internal::FixedBuffer<char>::grow(std::size_t);
template
void
fmt
::
internal
::
ArgMap
<
char
>
::
init
(
const
fmt
::
ArgList
&
args
);
template
void
fmt
::
internal
::
PrintfFormatter
<
char
>
::
format
(
template
FMT_API
void
fmt
::
internal
::
PrintfFormatter
<
char
>
::
format
(
BasicWriter
<
char
>
&
writer
,
CStringRef
format
);
template
int
fmt
::
internal
::
CharTraits
<
char
>
::
format_float
(
template
FMT_API
int
fmt
::
internal
::
CharTraits
<
char
>
::
format_float
(
char
*
buffer
,
std
::
size_t
size
,
const
char
*
format
,
unsigned
width
,
int
precision
,
double
value
);
template
int
fmt
::
internal
::
CharTraits
<
char
>
::
format_float
(
template
FMT_API
int
fmt
::
internal
::
CharTraits
<
char
>
::
format_float
(
char
*
buffer
,
std
::
size_t
size
,
const
char
*
format
,
unsigned
width
,
int
precision
,
long
double
value
);
...
...
@@ -928,14 +928,14 @@ template void fmt::internal::FixedBuffer<wchar_t>::grow(std::size_t);
template
void
fmt
::
internal
::
ArgMap
<
wchar_t
>
::
init
(
const
fmt
::
ArgList
&
args
);
template
void
fmt
::
internal
::
PrintfFormatter
<
wchar_t
>
::
format
(
template
FMT_API
void
fmt
::
internal
::
PrintfFormatter
<
wchar_t
>
::
format
(
BasicWriter
<
wchar_t
>
&
writer
,
WCStringRef
format
);
template
int
fmt
::
internal
::
CharTraits
<
wchar_t
>
::
format_float
(
template
FMT_API
int
fmt
::
internal
::
CharTraits
<
wchar_t
>
::
format_float
(
wchar_t
*
buffer
,
std
::
size_t
size
,
const
wchar_t
*
format
,
unsigned
width
,
int
precision
,
double
value
);
template
int
fmt
::
internal
::
CharTraits
<
wchar_t
>
::
format_float
(
template
int
FMT_API
fmt
::
internal
::
CharTraits
<
wchar_t
>
::
format_float
(
wchar_t
*
buffer
,
std
::
size_t
size
,
const
wchar_t
*
format
,
unsigned
width
,
int
precision
,
long
double
value
);
...
...
fmt/format.h
View file @
fbd871e4
...
...
@@ -583,7 +583,7 @@ class FormatError : public std::runtime_error {
explicit
FormatError
(
CStringRef
message
)
:
std
::
runtime_error
(
message
.
c_str
())
{}
FormatError
(
const
FormatError
&
ferr
)
:
std
::
runtime_error
(
ferr
)
{}
~
FormatError
()
FMT_DTOR_NOEXCEPT
;
FMT_API
~
FormatError
()
FMT_DTOR_NOEXCEPT
;
};
namespace
internal
{
...
...
@@ -1380,7 +1380,7 @@ class RuntimeError : public std::runtime_error {
protected:
RuntimeError
()
:
std
::
runtime_error
(
""
)
{}
RuntimeError
(
const
RuntimeError
&
rerr
)
:
std
::
runtime_error
(
rerr
)
{}
~
RuntimeError
()
FMT_DTOR_NOEXCEPT
;
FMT_API
~
RuntimeError
()
FMT_DTOR_NOEXCEPT
;
};
template
<
typename
Char
>
...
...
@@ -2319,7 +2319,7 @@ inline uint64_t make_type(FMT_GEN15(FMT_ARG_TYPE_DEFAULT)) {
*/
class
SystemError
:
public
internal
::
RuntimeError
{
private:
void
init
(
int
err_code
,
CStringRef
format_str
,
ArgList
args
);
FMT_API
void
init
(
int
err_code
,
CStringRef
format_str
,
ArgList
args
);
protected:
int
error_code_
;
...
...
@@ -2359,7 +2359,7 @@ class SystemError : public internal::RuntimeError {
}
FMT_VARIADIC_CTOR
(
SystemError
,
init
,
int
,
CStringRef
)
~
SystemError
()
FMT_DTOR_NOEXCEPT
;
FMT_API
~
SystemError
()
FMT_DTOR_NOEXCEPT
;
int
error_code
()
const
{
return
error_code_
;
}
};
...
...
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