Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yet another compile error regarding INFINITY #31

Merged
merged 1 commit into from Aug 3, 2012
Merged

Yet another compile error regarding INFINITY #31

merged 1 commit into from Aug 3, 2012

Conversation

sgeorgi
Copy link

@sgeorgi sgeorgi commented Aug 3, 2012

dump.c: In function ‘dump_float’:
dump.c:423: error: ‘INFINITY’ undeclared (first use in this function)
dump.c:423: error: (Each undeclared identifier is reported only once
dump.c:423: error: for each function it appears in.

I had the result shown above trying to gem install oj on a Lenny-Box while on rvm-1.8.7-p352. I tried (as for now successfully) to apply the workaround in load.c to dump.c aswell. Maybe it'll help, as long as the tests (which I can't seem to run in a timely fashion due to the lack of rbenv on my system) didn't crash.

Cheers,
Sebastian

@ohler55
Copy link
Owner

ohler55 commented Aug 3, 2012

Thanks. I will pull your request. Glad you provided a fix as well as identifying a problem.

ohler55 added a commit that referenced this pull request Aug 3, 2012
Yet another compile error regarding INFINITY
@ohler55 ohler55 merged commit e3f3258 into ohler55:master Aug 3, 2012
@sgeorgi
Copy link
Author

sgeorgi commented Aug 3, 2012

Glad to help :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants