Commit Graph

40 Commits (e655dbb685a7926fc521b42b293d55d382612457)

Author SHA1 Message Date
Gabi Melman e655dbb685
Fix issue #3408
Remove including core.h or base.h
3 months ago
Gabi Melman 0d31acae28
Fmt 11.2.0 (#3399)
* Bump fmt to 11.2.0
4 months ago
Janusz Chorko 3c23c27d2d
Revert "fix: Compatibility with external fmtlib 11.1.1 (#3312)" (#3331)
This reverts commit 7f8060d5b2.
7 months ago
Christian Blichmann 7f8060d5b2
fix: Compatibility with external fmtlib 11.1.1 (#3312)
Include fmtlib's `xchar` header to include `fmt::basic_format_string`.
Otherwise, compilation with an external fmtlib 11.1.1 fails with

```
In file included from include/spdlog/spdlog.h:12:
include/spdlog/common.h:369:49: error: no template named 'basic_format_string' in namespace 'fmt'; did you mean 'std::basic_format_string'?
  369 | inline fmt::basic_string_view<T> to_string_view(fmt::basic_format_string<T, Args...> fmt) {
      |                                                 ^~~~~
```

Signed-off-by: Christian Blichmann <cblichmann@google.com>
8 months ago
gabime 22b0f4fc06 Clang format 1 year ago
gabime 71925ca382 Revmoed definition of deprecated fmt macros 1 year ago
Marcus Müller ddce42155e
fmt/*.h: include tweakme.h to set SPDLOG_FMT_EXTERNAL according to system (#2923)
Signed-off-by: Marcus Müller <marcus@hostalia.de>
2 years ago
gabime 0a53eafe18 update clang format again 2 years ago
gabime 1a0bfc7a89 clang format 2 years ago
gabime 4338b9cd23 Revert "Updated bundled fmt to version 10.0.0"
This reverts commit 62e55e7a7f.
2 years ago
gabime 62e55e7a7f Updated bundled fmt to version 10.0.0 2 years ago
gabime b59b4a2b45 Rvert suppressing msvc2017 warnings and fix ci instead 3 years ago
gabime 130ff0c8db enable the ostream formatting for backward compatibility with fmt 8.x 3 years ago
gabime 14a29c03eb suppress warning 4307 when including format-inline.h under msvc 2017 3 years ago
Charless Milette 44a4517e2b Support C++20 std::format as an alternative to fmtlib 4 years ago
gabime e7e8b75a4c clang-format 4 years ago
Hai Feng Kao ca2cd6f3e7 fix Xcode compiler warning "no new line at the end of file" 4 years ago
gabime dfc777803a enable the 'n' flag in for backward compatibility with fmt 6.x 5 years ago
gabime e3257e56ab Fix #1480 5 years ago
gabime 175741ed1d Bump fmt to 6.1.2 6 years ago
gabime 25a702fc22 Update fmt.h 6 years ago
gabime ab178057db Fixed (maybe) #1348 6 years ago
gabime c9bb85c91d Revert supress of warning 4996 under msvc 2015 6 years ago
gabime 53d58f222f fix warning C4996 under vs2015 about std::copy in fmt 6 years ago
gabime 6b5ebab6ae Fixed msvc compilation 6 years ago
gabime 31fc1aca53 Supress -Wimplicit-fallthrough and -Wsign-conversion when including fmt headers 6 years ago
Cristian Morales Vega 7cdd65075c "#include" <spdlog/.*> instead of "spdlog/.*"
The meaning of using quotes to #include is implementation defined, so it
may or not may be what we want. At least POSIX
(https://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html)
says: "headers whose names are enclosed in double-quotes ( "" ) shall be
searched for first in the directory of the file with the #include line",
so not what we want since "spdlog" ends up twice in the path.
6 years ago
gabime 6bcb422c80 clang format and SPLDOG_HEADER_ONLY macro 6 years ago
gabime 49708f209b fix inclusion of fmt 6 years ago
gabime 17bec5c3ce Use fmt src file instead of inline in static lib build 6 years ago
gabime da0d6d0478 Removed printf support 7 years ago
gabime cdbf2e361b Upgrade to fmt 5.x 7 years ago
gabime a2653d409f clang-format 8 years ago
daylanKifky b220bbb349 fix printf include 8 years ago
daylanKifky 5153b44507 minor fixes 8 years ago
daylanKifky 27e7412640 modified path on quoted #includes
Paths pointing to the root of the library where replaced for ones relatives to each file.

For example, inside /include/spdlog/details/file_helper.h:

This will look for os.h in /include/spdlog/details/spdlog/details/ which doesn't exists.

replaced with:
8 years ago
fogo e8b7f4194a Moved printf include to fmt.h 8 years ago
Tennn f8d509d010 Fixed issues 449
Please check it
8 years ago
gabime 43a4048b92 astyle 9 years ago
gabime 0ae66b5b28 support for external fmtlib 9 years ago