Comments (3)
At Tue, 29 May 2012 12:03:40 -0700,
Daniel Berger wrote:
I'm trying to build this with Microsoft Visual C++ on Windows 7, with Ruby 1.9.3-p194. However, I'm having a bit of trouble.
(snip)VALUE unf_delete(UNF::Normalizer* ptr) { ptr->~Normalizer(); ruby_xfree(ptr); }It seems ruby_xfree does not actually return a VALUE. What should I do to make this work?
I tried altering "VALUE" to "void" in both the function and the prototype and that seemed to work. Was that the right thing to do?
That's the correct fix. Thanks for pointing it out. I'll release a
new version shortly.
Akinori MUSHA / http://akinori.org/
from ruby-unf_ext.
Just pushed a version 0.0.5 gem. Tell me if it has any problem. Thanks!
from ruby-unf_ext.
Thanks for the fix. I ended up forking the project and reworking the Rakefile, gemspec, etc. Are you interested in pull requests?
from ruby-unf_ext.
Related Issues (20)
- Build fails if using Xcode 11 toolchain HOT 4
- Latest version doesn't contain a binary for Windows HOT 5
- Do a 1.0.0 release?
- Is version 0.0.7.7 a legitimate release? HOT 2
- Push tag v0.0.7.7 HOT 3
- Failing to compile on macOS/Ruby 2.7.1 but not sure why HOT 7
- Building fails with Mac 14, Xcode 11.2, ruby 2.3.7 HOT 1
- Installation fails in Docker and Ruby 3 preview HOT 1
- update to support ruby 3.0 HOT 5
- Failing to build on ARM64 Linux (Apple M1 running Debian in a VM) HOT 4
- Please add support for Ruby 3.1 HOT 5
- Can't install 0.0.8.1-x64-mingw32 in ruby 3.1 HOT 7
- Can't install 0.0.8.2 on Windows HOT 2
- 0.0.8.2 binary builds seemed to be tagged as "beta"? HOT 3
- Compilation Error with non-trivial designated initializers when installing unf_ext (0.0.9) on Ruby 2.3.1 on Linux HOT 16
- @igorpeshansky I have tested the patch and wanted to bring to your attention a potential compatibility concern with Ruby versions lower than 2.7.0, despite the gemspec specifying a requirement of ">= 2.2". The error encountered during compilation in Ruby version 2.3.1 is as follows:
- Build failure after upgrading Gem dependency HOT 1
- Build uses wrong C++ runtime on macOS 10.7–10.12: `libc++` should be used with clang and on 10.7+
- Compilation failure on centos6/older gcc compilers
- Fails to compile native extensions on MacOS Sonoma
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 ruby-unf_ext.