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

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

[Octave-bug-tracker] [bug #65497] fits 1.0.7: type cast issue


From: Marius Schamschula
Subject: [Octave-bug-tracker] [bug #65497] fits 1.0.7: type cast issue
Date: Wed, 20 Mar 2024 17:20:31 -0400 (EDT)

Follow-up Comment #2, bug #65497 (group octave):

I also see this same issue for the tisean package (0.2.3):

/usr/bin/clang++ -c -I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -fPIC
-I/opt/local/include/octave-9.1.0/octave/..
-I/opt/local/include/octave-9.1.0/octave -I/opt/local/include  -pthread -pipe
-Os -std=c++11 -stdlib=libc++
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64 
-pipe -Os -std=c++11 -stdlib=libc++
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64  
__lzo_test__.cc -o
/opt/local/var/macports/build/_Users_marius_Development_MacPorts_ports_octave_octave-tisean/octave-tisean/work/.tmp/oct-Q24NTu.o
__lzo_test__.cc:84:12: error: 'this' argument to member function 'fortran_vec'
has type 'const Matrix', but function is not marked const
      help=series.fortran_vec()+j*len+istep;
           ^~~~~~
/opt/local/include/octave-9.1.0/octave/Array.h:666:20: note: 'fortran_vec'
declared here
  OCTARRAY_API T * fortran_vec ();
                   ^
1 error generated.


It also suffers from the set_warning_state issue, which can be easily patched.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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