Repository navigation
Conversation
1. Remove initializers of out parameters: warning: missing initializer for member '_SYSTEM_INFO::dwPageSize' [-Wmissing-field-initializers] 2. Rename a local variable: warning: declaration of 'size' shadows a member of 'this' [-Wshadow]
Since it's hard to find all places where using 0 as a pointer literal, only format.* & posix.* are replaced ( missing expected though )
|
g++ supports nullptr before change __cplusplus to 201103 in 4.6, will fix it EDIT: We have other feature-testing macros using __cplusplus # define FMT_USE_VARIADIC_TEMPLATES \
(FMT_HAS_FEATURE(cxx_variadic_templates) || \
(FMT_GCC_VERSION >= 404 && __cplusplus >= 201103L) || _MSC_VER >= 1800)Which won't work for g++4.6 and below |
Remove fake std::nullptr_t implementation
|
Thanks for your interest in C++ Format and a huge contribution. A few comments:
In general, it would be nice to split it in several PRs if it is not too difficult. As I said the Cheers! |
|
Thanks for your reply.
As there are some FIXMEs left, I don't expect a quick merge. Other comments are welcomed. |
|
Will split this into several smaller PRs, closing |
Good project, very fast and portable! When I was using cppformat as a tiny logging library for my project, I found some improvements. Not finished yet, but I decided to create PR earlier for everyone's reviewing.
Changes:
TODOs:
format.cc:491:55: warning: declaration of 'error_code' shadows a member of 'this' [-Wshadow]Could NOT find Threads (missing: Threads_FOUND). Don't know what's happening:(Tested platforms
Thanks
Carter