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

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

[Octave-bug-tracker] [bug #63210] Lots of warnings in compilation


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #63210] Lots of warnings in compilation
Date: Sun, 30 Oct 2022 08:00:57 -0400 (EDT)

Follow-up Comment #8, bug #63210 (project octave):

Thanks, Rik.

After your recent changes, the only remaining (relevant?) warnings on the
Fedora-clang buildbot that aren't from third-party headers are:

libinterp/corefcn/oct-tex-parser.cc:1019:9: warning: variable
'octave_tex_nerrs' set but not used [-Wunused-but-set-variable]
    int yynerrs = 0;
        ^
libinterp/corefcn/oct-tex-parser.cc:73:25: note: expanded from macro
'yynerrs'
#define yynerrs         octave_tex_nerrs
                        ^
1 warning generated.

[...]

../src/liboctave/util/oct-rl-edit.c:313:10: warning: returning 'const char *'
from a function with result type 'char *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
  return rl_completer_word_break_characters;
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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