Comments (13)
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.
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.
@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.
I'm getting the same warning/error on compile under gcc-4.8.
from jiffy.
@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.
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.
@rkakrik Is that with master?
from jiffy.
Yep.
from jiffy.
Tried to 'rm -r jiffy && git clone' - but the same result
from jiffy.
@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.
Good grief - shame on me and everyone here for not spotting this one :)
Work great - thanks!
from jiffy.
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.
Sounds like this one is fixed. Closing and tracking the next 4.8 issue in #45
from jiffy.
Related Issues (20)
- bytes_per_red option returns badarg HOT 3
- compile on erl 23.1.1 and gcc 10.2.1 HOT 1
- return_trailer and bignum handling broken HOT 2
- Encoding to List on bigger payloads (elixir) HOT 2
- Segmentation fault when building in Termux HOT 2
- solution to the error jiffy/c_src/decoder.c(4): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory HOT 3
- Upload 1.0.9 to hex.pm please HOT 1
- Not working with OTP25-rc1 HOT 2
- encode segmentation problem HOT 4
- Encoding to canonical format (via RFC 8785) HOT 1
- there is a error when windows os use HOT 2
- Issue with U+00A0 - \xa0 HOT 1
- How to compile under 24 release erlang? HOT 1
- Failed to load NIF library (OTP 22, OSX M1 chip) HOT 1
- Jiffy can't handle UTF8 atom
- Compilation of Jiffy 1.1.1 fails on Windows 11 HOT 5
- use rebar3 cannot to compile HOT 1
- cannot compile successfully HOT 1
- jiffy:decode will fail for empty binary HOT 2
- jiffy 1.1.2 tagged and released, but not published in hex.pm HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jiffy.