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

numo-narray: error: implicit declaration of function ‘RBASIC’ #3751

Open
puni073 opened this issue Dec 25, 2024 · 1 comment
Open

numo-narray: error: implicit declaration of function ‘RBASIC’ #3751

puni073 opened this issue Dec 25, 2024 · 1 comment
Labels
third-party-issue An issue which should be fixed upstream

Comments

@puni073
Copy link

puni073 commented Dec 25, 2024

ruby --version

truffleruby 24.1.1, like ruby 3.2.4, Oracle GraalVM Native [x86_64-linux]

gem install numo-narray

compiling narray.c
narray.c: In function ‘nary_copy_flags’:
narray.c:948:5: error: implicit declaration of function ‘RBASIC’ [-Werror=implicit-function-declaration]
  948 |     RBASIC(dst)->flags |= (RBASIC(src)->flags) &
      |     ^~~~~~
narray.c:948:16: error: invalid type argument of ‘->’ (have ‘int’)
  948 |     RBASIC(dst)->flags |= (RBASIC(src)->flags) &
      |                ^~
narray.c:948:39: error: invalid type argument of ‘->’ (have ‘int’)
  948 |     RBASIC(dst)->flags |= (RBASIC(src)->flags) &
      |                                       ^~
cc1: some warnings being treated as errors
make: *** [Makefile:583: narray.o] Error 1
@eregon
Copy link
Member

eregon commented Feb 5, 2025

Thanks for the report.
This needs to be addressed upstream, see #3118 (comment) for the replacement.

@eregon eregon added the third-party-issue An issue which should be fixed upstream label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
third-party-issue An issue which should be fixed upstream
Projects
None yet
Development

No branches or pull requests

2 participants