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

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

[Octave-bug-tracker] [bug #65318] Deprecation warning with C++20


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20
Date: Sat, 17 Feb 2024 15:00:40 -0500 (EST)

Follow-up Comment #13, bug#65318 (group octave):

When cross-compiling (mxe) Octave-10.0.0 I get a compile error:

:
/home/philip/devel/octdev/mxe/mxe_64b_20240131H/tmp-default-octave/octave-10.0.0/libinterp/corefcn/sysdep.cc:
At global scope:
/home/philip/devel/octdev/mxe/mxe_64b_20240131H/tmp-default-octave/octave-10.0.0/libinterp/corefcn/sysdep.cc:888:1:
warning: 'void octave::reg_close_key_wrapper(HKEY)' defined but not used
[-Wunused-function]
  888 | reg_close_key_wrapper (HKEY key)
      | ^~~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:20229: libinterp/corefcn/libcorefcn_la-sysdep.lo] Error
1
make[4]: *** Waiting for unfinished jobs....
:


AFAICS it must be related to the cset from comment #12 as mercurial's file log
shows this is the first change to this part of sysdep.cc's code since > 2
months and previous builds all went fine.

I suppose this function is only used on Windows. I got that same Octave-10.0.0
compiled & running fine on Fedora 39.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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