octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #61668] [octave-forge] (gsl) configure tests f


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #61668] [octave-forge] (gsl) configure tests fail because main is defined with no return type
Date: Wed, 31 Jan 2024 07:37:49 -0500 (EST)

Follow-up Comment #9, bug#61668 (group octave):

Not sure if this is a different problem or related. I tried to 
compile with clang (against octave compiled with clang) and I see:

...
checking for gsl_sf_hzeta_e... yes
checking for gsl_sf_hzeta_e... (cached) yes
GSL special functions: all available
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
make[1]: Entering directory '/tmp/oct-E7hFoN/gsl-2.1.1/src'
/usr/local/bin/mkoctfile-9.0.1 --verbose  gsl_sf.cc -lgsl
clang++ -std=gnu++17 -c  -fPIC -I/usr/local/include/octave-9.0.1/octave/..
-I/usr/local/include/octave-9.0.1/octave -I/usr/local/include  -pthread
-fopenmp -ggdb3 -O2 -march=native -mtune=native -mavx -mavx2 -flto=thin   
gsl_sf.cc -o /tmp/oct-T2n2tD.o
gsl_sf.cc:53:3: error: use of undeclared identifier 'feval'; did you mean
'octave::feval'?
  feval ("help", octave_value ("gsl_sf"));
  ^~~~~
  octave::feval
/usr/local/include/octave-9.0.1/octave/../octave/parse.h:915:1: note:
'octave::feval' declared here
feval (const char *name,
^
gsl_sf.cc:124:11: error: no member named 'is_real_type' in 'octave_value'
    if (! ISREAL(args(i)))
          ^~~~~~~~~~~~~~~
gsl_sf.cc:32:24: note: expanded from macro 'ISREAL'
#define ISREAL(x) ((x).is_real_type ())
                   ~~~ ^
gsl_sf.cc:222:11: error: no member named 'is_real_type' in 'octave_value'
    if (! ISREAL(args(i)))
...


Dmitri.
-- 



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61668>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]