1. 20 Jan, 2018 1 commit
  2. 13 Jan, 2018 1 commit
  3. 28 Dec, 2017 1 commit
    • Tim Blechmann's avatar
      add transition helper to format.h · 0f987731
      Tim Blechmann authored
      the transition from v3 to v4 introduced an API change that format.h does
      not provide printf functionality. to easi the transition we introduce a
      define `FMT_FORMAT_PROVIDE_PRINTF` that will pull in printf.h from format.h
      0f987731
  4. 20 Dec, 2017 3 commits
  5. 16 Dec, 2017 2 commits
  6. 28 Nov, 2017 1 commit
  7. 14 Nov, 2017 1 commit
    • Mike Crowe's avatar
      CMakeLists: Use GNUInstallDirs to set install location · 62df6f27
      Mike Crowe authored
      CMake's GNUInstallDirs knows where particular Linux architectures and
      distributions want to have their libraries installed. In particular,
      Debian-derived "multi-arch" distributions keep their libraries in triplet
      sudirectories under /lib. Other "bi-arch" distributions keep 64-bit
      libraries in /lib64.
      
      Including GNUInstallDirs and using CMAKE_INSTALL_LIBDIR and
      CMAKE_INSTALL_INCLUDEDIR means that fmt's libraries and header files are
      installed in the correct locations.
      
      Tested with OpenEmbedded and on Debian GNU/Linux 9 (the special naming only
      applies when installing in /usr.)
      62df6f27
  8. 12 Nov, 2017 2 commits
  9. 09 Nov, 2017 2 commits
  10. 05 Nov, 2017 1 commit
  11. 22 Oct, 2017 1 commit
  12. 18 Oct, 2017 1 commit
  13. 15 Oct, 2017 3 commits
    • Victor Zverovich's avatar
      Fix a warning · 5f39721c
      Victor Zverovich authored
      5f39721c
    • Victor Zverovich's avatar
      Add examples · ca96acbe
      Victor Zverovich authored
      ca96acbe
    • yumetodo's avatar
      fix(Clang CodeGen): remove warnings · 708d9509
      yumetodo authored
      ./fmt/fmt/format.h(308,10): warning : unknown pragma ignored [-Wunknown-pragmas]
               ^
      1 warning generated.
      format.cc In file included from fmt\fmt\format.cc:28:
      fmt\fmt/format.h(308,10): warning : unknown pragma ignored [-Wunknown-pragmas]
               ^
      fmt\fmt\format.cc(165,17): warning : 'strerror' is deprecated: This
      function or variable may be unsafe. Consider using strerror_s instead.
      To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for
      details. [-Wdeprecated-declarations]
            buffer_ = strerror(error_code_);
                      ^
      C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\string.h(178,24) :  note: 'strerror' has been explicitly marked deprecated here
      _ACRTIMP char* __cdecl strerror(
                             ^
      fmt\fmt\format.cc(78,37): warning : unused function 'strerror_s' [-Wunused-function]
      static inline fmt::internal::Null<> strerror_s(char *, std::size_t, ...) {
                                          ^
      3 warnings generated.
      
      refactor: use attribute to remove -Wunused-function warnings instead of dummy function call
      708d9509
  14. 14 Oct, 2017 2 commits
  15. 09 Oct, 2017 1 commit
  16. 28 Sep, 2017 1 commit
  17. 20 Sep, 2017 1 commit
  18. 17 Sep, 2017 2 commits
  19. 04 Sep, 2017 1 commit
  20. 02 Sep, 2017 1 commit
  21. 27 Aug, 2017 1 commit
  22. 20 Aug, 2017 3 commits
  23. 19 Aug, 2017 1 commit
    • Henry Schreiner's avatar
      Add one more CMake warning fix · 6efbccb3
      Henry Schreiner authored
      This will remove one more warning that can't be stopped from a calling CMakeLists. This possibly should be set to new at some point (CMake 3.3 behavior would be different / better), as well as 0048.
      6efbccb3
  24. 10 Aug, 2017 1 commit
  25. 07 Aug, 2017 1 commit
  26. 22 Jul, 2017 1 commit
    • Mário Feroldi's avatar
      Suppress warning about missing noreturn attribute (#549) · d16c4d20
      Mário Feroldi authored
      Suppress warning about missing noreturn attribute
      
      Adding `[[noreturn]]` to `report_unknown_type` suppresses the Clang/GCC `-Wmissing-noreturn` warning:
      
      Clang outputs:
      
          .../fmt/fmt/format.cc:294:74: warning:
                function 'report_unknown_type' could be declared with
                attribute 'noreturn' [-Wmissing-noreturn]
            ...code, const char *type) {
                                       ^
      
      GCC outputs:
      
          .../fmt/fmt/format.cc:294:74: warning: function might be candidate for
              attribute 'noreturn' [-Wsuggest-attribute=noreturn]
            ...code, const char *type) {
                                       ^
      d16c4d20
  27. 18 Jul, 2017 1 commit
  28. 16 Jul, 2017 1 commit
  29. 14 Jul, 2017 1 commit
    • Alexander Bock's avatar
      Update format.h to remove C4574 error on MSVC 14.2 · 81790d72
      Alexander Bock authored
      Similar to the Pullrequest #539, `_SECURE_SCL` caused the same  `warning C4574: '_SECURE_SCL' is defined to be '0': did you mean to use '#if _SECURE_SCL'`.  `_SECURE_SCL` is defined in the `MSVC/14.10.25017/include/yvals.h` by Microsoft itself
      81790d72