fmt/include/fmt
Milian Wolff 314e15001f
Fix symbol visibility on Linux when compiling with -fvisibility=hidden (#1535)
Make FMT_API symbols use the default visibility on non-Windows
platforms. Otherwise, one cannot use the generated fmt library when
compiling globally with -fvisibility=hidden.

Fixes compile errors like:

```
../3rdParty/fmt/include/fmt/core.h:757: error: undefined reference to 'fmt::v6::internal::assert_fail(char const*, int, char const*)'
```

Note that the symbol exists, but is local:

```
$ nm -C libfmtd.so.6.1.3  | grep assert_fail
                 U __assert_fail
0000000000233ffa t fmt::v6::internal::assert_fail(char const*, int, char const*)
```

With this patch, the compile error is gone and the symbol is properly
exported:

```
$ nm -a bin/libfmtd.so -C | grep assert_fail
                 U __assert_fail
00000000002366ba T fmt::v6::internal::assert_fail(char const*, int, char const*)
```

Change-Id: I96054e622d9a2ae81907e1b01a1033e629767a91
2020-01-30 06:26:18 -08:00
..
chrono.h Apply coding conventions 2020-01-26 19:48:48 -08:00
color.h Remove redundant braces 2020-01-15 15:07:30 -08:00
compile.h Use type_identity to block unnecessary template argument deduction (thanks Tim Song) 2020-01-15 10:27:50 -08:00
core.h Fix symbol visibility on Linux when compiling with -fvisibility=hidden (#1535) 2020-01-30 06:26:18 -08:00
format-inl.h fix interal compiler error when building with mingw 2020-01-22 18:14:46 -08:00
format.h Disallow passing non-string-literals to FMT_STRING 2020-01-22 21:05:46 -08:00
locale.h Remove redundant braces 2020-01-15 15:07:30 -08:00
os.h Apply clang-format and update inclusion guards 2019-12-18 11:17:36 -08:00
ostream.h Fix so can work without locale defined 2020-01-22 07:26:03 -08:00
posix.h Rename posix-test to os-test 2019-12-15 16:43:40 -08:00
printf.h Use type_identity to block unnecessary template argument deduction (thanks Tim Song) 2020-01-15 10:27:50 -08:00
ranges.h Fix ambiguity for types with dodgy conversions 2019-09-28 11:35:20 -07:00