Giter VIP home page Giter VIP logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Yeah, I was aware of this issue. Maybe adding 'G' or something as the prefix 
character 
would solve this (e.g., GLOG(GERROR) << "foobar"). Of course, we would want to 
make 
this feature optional. This fix may take a while. For ERROR, if you are not 
using GDI 
actually,  please define a C macro NOGDI for the meantime.

Thanks,

Original comment by [email protected] on 7 Apr 2009 at 6:41

  • Changed state: Accepted

from google-glog.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
I use patch below to eliminate this error and on Windows you should include the 
GLOG
library BEFORE any other library.

In my case I use the GLOG library after STL, but before boost.

Hope this helps

Original comment by [email protected] on 13 Apr 2010 at 10:43

Attachments:

from google-glog.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Yeah, I think this patch solves 80% of this issue. However, unfortunately, I 
think 
this patch won't work for some cases such as

int level = ERROR;  // ERROR will be replaced by 0
LOG_AT_LEVEL(level) << "foobar";

Original comment by [email protected] on 27 May 2010 at 1:40

from google-glog.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Issue 33 has been merged into this issue.

Original comment by [email protected] on 28 May 2010 at 3:23

from google-glog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.