diff --git a/README.md b/README.md index 2d77a0f4..a5b02999 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Just copy the files to your build tree and use a C++11 compiler * No dependencies - just copy and use. * Cross platform - Linux / Windows on 32/64 bits. * **new!** Feature rich [call style](#usage-example) using the excellent [cppformat](http://cppformat.github.io/) library. -* Optional ostream call style. +* ostream call style is supported too. * Extremely fast asynchronous mode (optional) - use of lockfree queues and other tricks to reach millions of calls per second from multiple threads. * [Custom](https://github.com/gabime/spdlog/wiki/Custom-formatting) formatting. * Multi/Single threaded loggers. diff --git a/example/Makefile.clang b/example/Makefile.clang index 9d68e796..78488446 100644 --- a/example/Makefile.clang +++ b/example/Makefile.clang @@ -1,6 +1,6 @@ CXX = clang++ -CXXFLAGS = -march=native -Wall -Wextra -Wshadow -pedantic -std=c++11 -pthread -I../include -B/usr/lib/gold-ld/ -CXX_RELEASE_FLAGS = -O3 -flto +CXXFLAGS = -march=native -Wall -Wextra -Wshadow -pedantic -std=c++11 -pthread -I../include +CXX_RELEASE_FLAGS = -O2 CXX_DEBUG_FLAGS= -g diff --git a/include/spdlog/details/format.h b/include/spdlog/details/format.h index 337b4ab8..b74da1f2 100644 --- a/include/spdlog/details/format.h +++ b/include/spdlog/details/format.h @@ -25,8 +25,8 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef FMT_FORMAT_H_ -#define FMT_FORMAT_H_ +#ifndef SPDLOG_FMT_FORMAT_H_ +#define SPDLOG_FMT_FORMAT_H_ #include @@ -2879,4 +2879,4 @@ FMT_VARIADIC(int, fprintf, std::FILE *, StringRef) # pragma GCC diagnostic pop //pop -Wshadow warnings ignore #endif -#endif // FMT_FORMAT_H_ +#endif // SPDLOG_FMT_FORMAT_H_