[#61424] [REJECT?] xmalloc/xfree: reduce atomic ops w/ thread-locals — Eric Wong <normalperson@...>

I'm unsure about this. I _hate_ the extra branches this adds;

13 messages 2014/03/12

[ruby-core:61503] [ruby-trunk - Bug #9637] [Third Party's Issue] File "ruby.h" includes "config.h" which is not in proper location

From: nobu@...
Date: 2014-03-15 02:08:59 UTC
List: ruby-core #61503
Issue #9637 has been updated by Nobuyoshi Nakada.

Status changed from Open to Third Party's Issue

It needs architecture dependent header files directory.
Seems an issue in `Makefile` generated by swig.

----------------------------------------
Bug #9637: File "ruby.h" includes "config.h" which is not in proper location
https://bugs.ruby-lang.org/issues/9637#change-45794

* Author: Kameron Kincade
* Status: Third Party's Issue
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* ruby -v: 2.0.0p451
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
In Ruby 2.0.0p451, I using SWIG to convert some C/C++ code into Ruby. However, when using GCC to compile the C++ code into Ruby and pointing GCC to the "ruby.h" file (i.e. gcc -fPIC -c test_wrap.cxx -IC:\Ruby200-x64\include\ruby-2.0.0), I receive the error...
![](http://i.stack.imgur.com/693cr.png)
I've looked in the folder where ruby.h is contained and there is no config.h file. It is located in the archdir folder.



-- 
http://bugs.ruby-lang.org/

In This Thread

Prev Next