You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows using ruby 2.5 or newer the compilation of the C extensions fail with the error below. This comes by the fact that r2corba defines RUBY_WIN32_H at
which causes rb_w32_select not to be defined, this is done through ruby.h
g++ -Wnon-virtual-dtor -O3 -mthreads -mtune=generic -fno-strict-aliasing -Wall -Wextra -Wpointer-arith -pipe -DNDEBUG -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -Wno-unknown-pragmas -DNDEBUG -ID:/a/r2corba/r2corba/ACE/ACE -DACE_NDEBUG -DACE_NO_INLINE -ID:/a/r2corba/r2corba/ACE/ACE -ID:/a/r2corba/r2corba/ACE/TAO -IC:/hostedtoolcache/windows/Ruby/2.6.6/x64/include/ruby-2.6.0 -IC:/hostedtoolcache/windows/Ruby/2.6.6/x64/include/ruby-2.6.0/x64-mingw32 -I. -DRUBY_VER_MAJOR=2 -DRUBY_VER_MINOR=6 -DRUBY_VER_RELEASE=6 -DR2TAO_BUILD_DLL -c -o .shobj/any.o /d/a/r2corba/r2corba/ext/libr2tao/any.cpp
In file included from C:/hostedtoolcache/windows/Ruby/2.6.6/x64/include/ruby-2.6.0/ruby/ruby.h:2111,
from C:/hostedtoolcache/windows/Ruby/2.6.6/x64/include/ruby-2.6.0/ruby.h:33,
from D:/a/r2corba/r2corba/ext/libr2tao/required.h:30,
from D:/a/r2corba/r2corba/ext/libr2tao/any.cpp:13:
C:/hostedtoolcache/windows/Ruby/2.6.6/x64/include/ruby-2.6.0/ruby/intern.h: In function 'int rb_fd_select(int, rb_fdset_t*, rb_fdset_t*, rb_fdset_t*, timeval*)':
C:/hostedtoolcache/windows/Ruby/2.6.6/x64/include/ruby-2.6.0/ruby/intern.h:373:12: error: 'rb_w32_select' was not declared in this scope; did you mean 'rb_fd_select'?
373 | return rb_w32_select(n,
| ^~~~~~~~~~~~~
| rb_fd_select
The text was updated successfully, but these errors were encountered:
On Windows using ruby 2.5 or newer the compilation of the C extensions fail with the error below. This comes by the fact that r2corba defines
RUBY_WIN32_H
atr2corba/ext/libr2tao/required.h
Line 18 in 3aa7d2b
rb_w32_select
not to be defined, this is done through ruby.hThe text was updated successfully, but these errors were encountered: