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
ff0d5d17
Commit
ff0d5d17
authored
Feb 15, 2014
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix more warnings on older GCC.
parent
0c3a2f5d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
format.cc
format.cc
+1
-1
format.h
format.h
+3
-7
No files found.
format.cc
View file @
ff0d5d17
...
...
@@ -117,7 +117,7 @@ const char fmt::internal::DIGITS[] =
"6061626364656667686970717273747576777879"
"8081828384858687888990919293949596979899"
;
const
uint64_t
fmt
::
internal
::
POWERS_OF_10
[]
=
{
FMT_GCC_EXTENSION
const
uint64_t
fmt
::
internal
::
POWERS_OF_10
[]
=
{
0
,
10
,
100
,
...
...
format.h
View file @
ff0d5d17
...
...
@@ -44,6 +44,7 @@
#ifdef __GNUC__
# define FMT_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__)
# define FMT_GCC_EXTENSION __extension__
#endif
// Compatibility with compilers other than clang.
...
...
@@ -79,13 +80,8 @@ namespace fmt {
// Fix the warning about long long on older versions of GCC
// that don't support the diagnostic pragma.
#ifdef __GNUC__
__extension__
typedef
long
long
LongLong
;
__extension__
typedef
unsigned
long
long
ULongLong
;
#else
typedef
long
long
LongLong
;
typedef
unsigned
long
long
ULongLong
;
#endif
FMT_GCC_EXTENSION
typedef
long
long
LongLong
;
FMT_GCC_EXTENSION
typedef
unsigned
long
long
ULongLong
;
namespace
internal
{
...
...
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