[ruby-core:79860] [Ruby trunk Bug#13267] ruby 2.4.0 i686-w64-mingw32 + boost compilation error

From: ntzrmtthihu777@...
Date: 2017-03-02 09:01:14 UTC
List: ruby-core #79860
Issue #13267 has been updated by Marty Plummer.


When compiling the same program, with the same libraries for linux, this issue does not arise.

----------------------------------------
Bug #13267: ruby 2.4.0 i686-w64-mingw32 + boost compilation error
https://bugs.ruby-lang.org/issues/13267#change-63291

* Author: Marty Plummer
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby-2.4.0.tar.xz (mingw, can't run ruby directly)
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
When building https://github.com/Ancurio/mkxp for windows (via i686-w64-mingw32), the following build error occurs:
`In file included from /usr/i686-w64-mingw32/include/ruby-2.4.0/ruby/defines.h:243:0,
                 from /usr/i686-w64-mingw32/include/ruby-2.4.0/ruby/ruby.h:36,
                 from /usr/i686-w64-mingw32/include/ruby-2.4.0/ruby.h:33,
                 from mkxp/binding-mri/binding-util.h:25,
                 from mkxp/binding-mri/binding-mri.cpp:23:
/usr/i686-w64-mingw32/include/boost/functional/hash/detail/float_functions.hpp: In member function 'Float boost::hash_detail::call_frexp<Float>::operator()(Float, int*) const':
/usr/i686-w64-mingw32/include/ruby-2.4.0/ruby/win32.h:759:23: error: expected unqualified-id before '__extension__'
 #define frexp(_X, _Y) __extension__ ({\
                       ^
/usr/i686-w64-mingw32/include/ruby-2.4.0/ruby/win32.h:759:23: error: expected ';' before '__extension__'
`



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

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next