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

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

[Octave-bug-tracker] [bug #63383] Error in sscanf in special cases when


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #63383] Error in sscanf in special cases when '%f' conversion is used
Date: Sat, 17 Dec 2022 19:31:08 -0500 (EST)

Follow-up Comment #18, bug #63383 (project octave):

I noticed compiling with clang on aarch64 I get the warning that
I do not get compiling on x86_64:


libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -DOCTAVE_DLL
-DEXTERNAL_DLL -Iliboctave -I../liboctave -I../liboctave/array
-Iliboctave/numeric -I../liboctave/numeric -Iliboctave/operators
-I../liboctave/operators -I../liboctave/system -I../liboctave/util
-I../liboctave/wrappers -fPIC -pthread -fopenmp -Wall -W -Wshadow
-Woverloaded-virtual -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings
-Wcast-align -Wcast-qual -fvisibility=hidden -pipe -O2 -flto=thin -mcpu=native
-mtune=native -MT liboctave/util/libutil_la-lo-utils.lo -MD -MP -MF
liboctave/util/.deps/libutil_la-lo-utils.Tpo -c ../liboctave/util/lo-utils.cc 
-fPIC -DPIC -o liboctave/util/.libs/libutil_la-lo-utils.o
../liboctave/util/lo-utils.cc:244:26: warning: result of comparison of
constant -1 with expression of type 'char' is always true
[-Wtautological-constant-out-of-range-compare]
                  if (c2 != std::istream::traits_type::eof ())
                      ~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

hg id
67770ec6f0b5 tip @

Dmitri.
-- 



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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