mirror of
https://github.com/fmtlib/fmt.git
synced 2025-12-11 22:20:02 +08:00
Building under a recent clang compiler causes the use of an extern template for the BasicData struct. However, the only instantiation of that structure in format.cc is only done if FMT_HEADER_ONLY is not defined. This causes the build to fail in C++11 or C++14 mode. Therefore, only declare the BasicData template as extern if FMT_HEADER_ONLY is not defined. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| format.cc | ||
| format.h | ||
| ostream.cc | ||
| ostream.h | ||
| posix.cc | ||
| posix.h | ||
| printf.h | ||
| string.h | ||
| time.h | ||