glog/src
Jim Ray 8b3023f7e4 Fix LOG_EVERY_N with clang -Wunused-local-typedef
Glog uses a pre-C++11 compile time assert to verify the validity of
the severity parameter for LOG_EVERY_N. Unfortunately, some compilers
will complain about the usage of LOG_EVERY_N with
"-Wunused-local-typedef" due to the way the compile time assert is
constructed. This makes it impossible to use LOG_EVERY_N with this
warning treated as an error.

The fix simply removes the assert entirely. This is safe to do since
you can't put anything invalid into the severity parameters without
generating a compile error elsewhere. This has been safe to do ever
since the GLOG_ prefixes were added as part of 6febec361e.

Fixes #223
2017-08-06 00:17:50 -07:00
..
base Fix redefinition of _XOPEN_SOURCE. 2015-06-16 16:50:57 -07:00
glog Fix LOG_EVERY_N with clang -Wunused-local-typedef 2017-08-06 00:17:50 -07:00
windows Fix LOG_EVERY_N with clang -Wunused-local-typedef 2017-08-06 00:17:50 -07:00
config_for_unittests.h Initial windows support. Now we don't have the stacktrace and several unittests. 2008-12-19 15:20:40 +00:00
config.h.cmake.in reduce memory allocations to zero 2017-07-06 00:02:38 +02:00
config.h.in Fix autotools build. 2016-06-22 18:48:32 -07:00
demangle_unittest.cc Support symbolizer and demangler on Windows 2017-06-27 10:50:20 -07:00
demangle_unittest.sh Add partial C++0x support and recognition of GCC function clone suffixes to 2011-02-07 14:43:05 +00:00
demangle_unittest.txt glog 0.1 2008-10-07 05:43:05 +00:00
demangle.cc Link to DbgHelp using pre-processor directive 2017-06-27 10:50:20 -07:00
demangle.h Fix autotools build. 2016-06-22 18:48:32 -07:00
googletest.h fixed cygwin compilation errors 2017-01-17 12:47:11 +01:00
logging_striplog_test.sh Fix logging_striplog_test.sh in debug mode. Fixes issue 108. 2011-12-29 12:36:09 +00:00
logging_striptest2.cc Add license information for all source code. 2009-01-28 17:04:50 +00:00
logging_striptest10.cc Add license information for all source code. 2009-01-28 17:04:50 +00:00
logging_striptest_main.cc Remove trivial warnings produced by clang 2012-01-12 08:41:09 +00:00
logging_unittest.cc Merge pull request #158 from sergiud/zero-allocation 2017-07-06 14:58:37 +09:00
logging_unittest.err reduce memory allocations to zero 2017-07-06 00:02:38 +02:00
logging.cc Merge pull request #158 from sergiud/zero-allocation 2017-07-06 14:58:37 +09:00
mock-log_test.cc Introduce mock-log.h for unittests. 2009-01-13 11:49:10 +00:00
mock-log.h Fix unused arguments warning in ScopedMockLog. 2015-06-16 16:50:01 -07:00
raw_logging.cc Define GLOG_ prefixed log severities 2012-01-11 09:17:04 +00:00
signalhandler_unittest.cc Support signal handler on Windows 2017-06-27 10:50:20 -07:00
signalhandler_unittest.sh Fix Mac test failure 2013-02-01 05:46:37 +00:00
signalhandler.cc Support signal handler on Windows 2017-06-27 10:50:20 -07:00
stacktrace_generic-inl.h Add license information for all source code. 2009-01-28 17:04:50 +00:00
stacktrace_libunwind-inl.h Add license information for all source code. 2009-01-28 17:04:50 +00:00
stacktrace_powerpc-inl.h Added support for PowerPC. 2016-03-21 11:28:53 +00:00
stacktrace_unittest.cc Remove trivial warnings produced by clang 2012-01-12 08:41:09 +00:00
stacktrace_windows-inl.h Export GetStackTrace 2017-06-27 10:50:20 -07:00
stacktrace_x86_64-inl.h Add license information for all source code. 2009-01-28 17:04:50 +00:00
stacktrace_x86-inl.h x86 stacktrace: Use __builtin_frame_address if possible 2017-05-09 17:14:15 +09:00
stacktrace.h Add license information for all source code. 2009-01-28 17:04:50 +00:00
stl_logging_unittest.cc added missing include 2015-07-15 22:35:00 +02:00
symbolize_unittest.cc Support symbolizer and demangler on Windows 2017-06-27 10:50:20 -07:00
symbolize.cc Link to DbgHelp using pre-processor directive 2017-06-27 10:50:20 -07:00
symbolize.h Adding a callback mechanism to allow users of google.glog to provide 2014-03-01 00:33:41 +00:00
utilities_unittest.cc determine gflags namespace automatically 2015-07-15 22:34:59 +02:00
utilities.cc Merge pull request #157 from sergiud/cygwin-support 2017-07-06 15:00:06 +09:00
utilities.h Support symbolizer and demangler on Windows 2017-06-27 10:50:20 -07:00
vlog_is_on.cc Update vlog_is_on.cc 2015-04-30 20:28:32 +03:00