C++ implementation of the Google logging module
Go to file
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
cmake cmake: fixed gflags namespace detection (fixes #193) 2017-07-09 15:48:13 +02:00
doc Document update: how to modify FLAGS_* in glog 2013-01-25 06:03:56 +00:00
m4 Run autoreconf on ubuntu precise 2013-01-09 13:26:44 +00:00
packages glog: release 0.3.5 2017-05-09 16:27:57 +09:00
src Fix LOG_EVERY_N with clang -Wunused-local-typedef 2017-08-06 00:17:50 -07:00
vsprojects Add static library project and its unittest. 2009-01-23 18:56:19 +00:00
.gitignore Update gitignore for CMake and Visual Studio 2017-07-26 11:34:52 -07:00
AUTHORS Add Andrew Schwartzmeyer to authors and contributors 2017-06-26 16:21:10 -07:00
autogen.sh Remove files generated by autotools 2017-05-12 14:53:39 +09:00
ChangeLog Release glog 0.3.3 2013-02-01 06:20:46 +00:00
CMakeLists.txt Merge pull request #153 from sergiud/cmake-gnu-install-dirs 2017-07-06 15:01:10 +09:00
configure.ac Revert "configure.ac: Allow user to disable gflags" 2017-07-26 17:44:25 +09:00
CONTRIBUTING.md Add the typical Google contributors and authors files. 2015-03-16 10:50:32 +00:00
CONTRIBUTORS Add Andrew Schwartzmeyer to authors and contributors 2017-06-26 16:21:10 -07:00
COPYING A bug fix for Windows: Use GetSystemTimeAsFileTime instead of GetSystemTime. SYSTEMTIME's mSecond is not a unix time but like tm.tm_sec. 2009-04-09 07:49:44 +00:00
glog-config.cmake.in cmake: allow to refer to imported glog target as glog::glog 2016-01-08 14:55:58 +01:00
INSTALL Fix regression of r23. 2009-07-08 15:38:35 +00:00
libglog.pc.in Generation of pkg-config metadata file. 2009-04-10 05:49:58 +00:00
ltmain.sh Run autoreconf on ubuntu precise 2013-01-09 13:26:44 +00:00
Makefile.am glog: release 0.3.4 2015-03-09 11:45:07 +09:00
NEWS glog 0.1 2008-10-07 05:43:05 +00:00
README Remove files generated by autotools 2017-05-12 14:53:39 +09:00
README.windows Update Windows readme for CMake 2017-07-26 11:35:04 -07:00

This repository contains a C++ implementation of the Google logging
module.  Documentation for the implementation is in doc/.

See INSTALL for (generic) installation instructions for C++: basically
   ./autogen.sh && ./configure && make && make install