Code Monkey home page Code Monkey logo

Comments (13)

davisp avatar davisp commented on August 18, 2024

Interesting. Must be a new warning. Can you check if there's an option to silence that particular warning?

In a pinch, removing -Werror in rebar.config will let you compile.

from jiffy.

davisp avatar davisp commented on August 18, 2024

Ah, its a known bug:

https://code.google.com/p/double-conversion/issues/detail?id=37

Will keep an eye for a fix.

from jiffy.

davisp avatar davisp commented on August 18, 2024

@BFrog Can you try compiling master on GCC 4.8? I pulled a suggestion from the V8 bug but I don't have 4.8 handy to try it on.

from jiffy.

gar1t avatar gar1t commented on August 18, 2024

I'm getting the same warning/error on compile under gcc-4.8.

from jiffy.

davisp avatar davisp commented on August 18, 2024

@gar1t Are you using a tag or master? If you're not on master can you give it a test to see if my fix works? I don't have 4.8 handy to test myself.

from jiffy.

rkakrik avatar rkakrik commented on August 18, 2024

Same problem:
Compiling jiffy/c_src/doubles.cc
In file included from c_src/double-conversion/double-conversion.h:31:0,
from jiffy/c_src/doubles.cc:1:
c_src/double-conversion/utils.h: В функции «Dest double_conversion::BitCast(const Source&)»:
c_src/double-conversion/utils.h:299:16: ошибка: typedef «VerifySizesAreEqual» locally defined but not used [-Werror=unused-local-typedefs]
typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1];
^
cc1plus: all warnings being treated as errors
ERROR: compile failed while processing jiffy: rebar_abort

from jiffy.

davisp avatar davisp commented on August 18, 2024

@rkakrik Is that with master?

from jiffy.

rkakrik avatar rkakrik commented on August 18, 2024

Yep.

from jiffy.

rkakrik avatar rkakrik commented on August 18, 2024

Tried to 'rm -r jiffy && git clone' - but the same result

from jiffy.

davisp avatar davisp commented on August 18, 2024

@rkakrik @gar1t @BFrog Just had a patch submitted pointing out I had a typo in the compiler directive thing to disable the warning. Let me know if any of you can give the latest master a whirl on GCC 4.8.

from jiffy.

gar1t avatar gar1t commented on August 18, 2024

Good grief - shame on me and everyone here for not spotting this one :)

Work great - thanks!

from jiffy.

gar1t avatar gar1t commented on August 18, 2024

There's actually another warning coming up on gcc 4.8.1. I'll open another ticket as it's a different problem.

from jiffy.

davisp avatar davisp commented on August 18, 2024

Sounds like this one is fixed. Closing and tracking the next 4.8 issue in #45

from jiffy.

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.