- 23 Feb, 2018 4 commits
-
-
gabime authored
-
https://github.com/gabime/spdloggabime authored
-
gabime authored
-
gabime authored
-
- 22 Feb, 2018 3 commits
-
-
Gabi Melman authored
-
Gabi Melman authored
Fix indentation in tests/catch.hpp:2916
-
grzadr authored
Compiling with -Wmisleading-indentation triggers warning: /data/Git/spdlog/tests/catch.hpp: In member function ‘bool Catch::TestSpec::Filter::matches(const Catch::TestCaseInfo&) const’: /data/Git/spdlog/tests/catch.hpp:2913:17: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for( std::vector<Ptr<Pattern> >::const_iterator it = m_patterns.begin(), itEnd = m_patterns.end(); it != itEnd; ++it ) ^~~ /data/Git/spdlog/tests/catch.hpp:2916:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ return true; ^~~~~~
-
- 11 Feb, 2018 3 commits
-
-
Gabi Melman authored
CMake explicit language
-
Daniel Chabrowski authored
CMake 3.1 is used in main CMakeLists file, no reason not to use it in example. Threads::Threads is introduced in cmake 3.1.
-
Daniel Chabrowski authored
Marking project as CXX will disable detecting C compiler and other checks. Removed 'INCLUDES DESTINATION' as it made the include path appear doubled.
-
- 10 Feb, 2018 2 commits
-
-
Gabi Melman authored
Fix compilation error with GCC 8
-
Colin Duquesnoy authored
error: need 'typename' before 'std::conditional<std::is_same<char, char>::value, fmt::BasicMemoryWriter<char>, fmt::BasicMemoryWriter<wchar_t> >::type' because 'std::conditional<std::is_same<char, char>::value, fmt::BasicMemoryWriter<char>, fmt::BasicMemoryWriter<wchar_t> >' is a dependent scope std::conditional<std::is_same<filename_t::value_type, char>::value, fmt::MemoryWriter, fmt::WMemoryWriter>::type w;
-
- 08 Feb, 2018 2 commits
-
-
Gabi Melman authored
Make set_color public in wincolor_sink to retain configurability
-
Benjamin Schindler authored
-
- 05 Feb, 2018 1 commit
-
-
gabime authored
-
- 03 Feb, 2018 3 commits
-
-
Gabi Melman authored
Modern CMake in /tests
-
-
gabime authored
-
- 27 Jan, 2018 1 commit
-
-
yisonPylkita authored
-
- 24 Jan, 2018 2 commits
-
-
Gabi Melman authored
Fixed spelling mistake in example.cpp
-
Ryan Carmichael authored
-
- 18 Jan, 2018 4 commits
-
-
Gabi Melman authored
A few small ANSI color improvements
-
Josh Junon authored
-
Josh Junon authored
-
Josh Junon authored
-
- 12 Jan, 2018 3 commits
-
-
Gabi Melman authored
-
gabime authored
-
gabime authored
-
- 11 Jan, 2018 3 commits
-
-
Gabi Melman authored
Use Sleep in Windows instead of sleep_for
-
Joao Moreno authored
-
Joao Moreno authored
fixes #609
-
- 03 Jan, 2018 4 commits
-
-
Gabi Melman authored
Ensure marcos always expand to expressions
-
Gabi Melman authored
Add global flush_on function
-
Sam Lunt authored
-
Sam Lunt authored
-
- 26 Dec, 2017 3 commits
-
-
Gabi Melman authored
Issue fix for spdlog #595. Conversion warning.
-
Stefan Broekman authored
See: https://github.com/gabime/spdlog/issues/595 On line 85 in file sinks/wincolor_sink.h: back_color &= ~(FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE | FOREGROUND_INTENSITY); 'back_color' is of type 'WORD' (unsigned short) whereas a bitwise complement/NOT returns an int. This results in a conversion warning with -Wconversion enabled. 85:20: warning: conversion to 'WORD {aka short unsigned int}' from 'int' may alter its value [-Wconversion] back_color &= ~(FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE | FOREGROUND_INTENSITY); Possible solution: We know that the result of ~(FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE | FOREGROUND_INTENSITY) is always within the limits of an unsigned short so a simple cast should suffice (correct me if I'm wrong): back_color &= static_cast<unsigned short>(~(FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE | FOREGROUND_INTENSITY));
-
Gabi Melman authored
-
- 24 Dec, 2017 1 commit
-
-
gabime authored
-
- 23 Dec, 2017 1 commit
-
-
Gabi Melman authored
-