Giter Site home page Giter Site logo

hash_set deprecated about caffe2 HOT 9 CLOSED

facebookarchive avatar facebookarchive commented on May 21, 2024
hash_set deprecated

from caffe2.

Comments (9)

Yangqing avatar Yangqing commented on May 21, 2024

T_T glog :(

I guess we can put an -W message to suppress it? What specific deprecation warning are we getting?

from caffe2.

Yangqing avatar Yangqing commented on May 21, 2024

Actually, it seems that glog already supports unordered_set instead of hash_set:

https://github.com/google/glog/blob/0472b91c5defdf90cff7292e3bf7bd86770a9a0a/src/glog/stl_logging.h.in#L41

Maybe this is due to the ubuntu apt-get package not properly compiled.

from caffe2.

slayton58 avatar slayton58 commented on May 21, 2024

We could also move glog to a submodule and compile it ourselves to solve this - slightly heavy-handed though...

from caffe2.

Yangqing avatar Yangqing commented on May 21, 2024

Would you guys be fine with tolerating the warning message? :)

from caffe2.

pooyadavoodi avatar pooyadavoodi commented on May 21, 2024

I would prefer to properly get rid of the warning messages only because they are so many (hundreds) and I always ignore them all. This way we can notice new warning messages which could save us from bugs :)
http://www.cprogramming.com/tutorial/compiler_warnings.html

from caffe2.

thatguymike avatar thatguymike commented on May 21, 2024

We can silence the warning for now.

from caffe2.

Yangqing avatar Yangqing commented on May 21, 2024

@thatguymike Mike - what is the build environment you use? I cannot repro on my 16.04 so I probably need a VM.

from caffe2.

thatguymike avatar thatguymike commented on May 21, 2024

14.04 fully updated

from caffe2.

Yangqing avatar Yangqing commented on May 21, 2024

Should have been fixed in #172 - feel free to reopen this @thatguymike :)

from caffe2.

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.