• 's avatar
    Reduce compiler warnings on Windows and MacOSX · 4f6088bc
    authored
    DCHECK* causes "warning C4127: conditional expression is constant".
    
    If compiled with -DWIN32_LEAN_AND_MEAN,
    port.h: warning C4005: 'WIN32_LEAN_AND_MEAN': macro redefinition.
    
    On MacOSX,
    warning: "_END_GOOGLE_NAMESPACE_" redefined
    warning: "_START_GOOGLE_NAMESPACE_" redefined
    because config.h is included
     from base/commandlineflags.h:51
     from logging.cc:60
    and
     from utilities.h:81
     from logging.cc:32
    or so.
    
    Contributed by ukai@
    
    
    
    git-svn-id: https://google-glog.googlecode.com/svn/trunk@114 eb4d4688-79bd-11dd-afb4-1d65580434c0
    4f6088bc
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
packages Loading commit data...
src Loading commit data...
vsprojects Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
Makefile.in Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.windows Loading commit data...
aclocal.m4 Loading commit data...
compile Loading commit data...
config.guess Loading commit data...
config.sub Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...
depcomp Loading commit data...
google-glog.sln Loading commit data...
install-sh Loading commit data...
libglog.pc.in Loading commit data...
ltmain.sh Loading commit data...
missing Loading commit data...
mkinstalldirs Loading commit data...