[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63210] Lots of warnings in compilation
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #63210] Lots of warnings in compilation |
Date: |
Thu, 13 Oct 2022 17:12:59 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?63210>
Summary: Lots of warnings in compilation
Project: GNU Octave
Submitter: None
Submitted: Thu 13 Oct 2022 09:12:57 PM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error or Warning
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 13 Oct 2022 09:12:57 PM UTC By: Anonymous
There are many warnings like this compiling Octave FYI. But it compiles.
../liboctave/operators/mx-inlines.cc:218:1: warning: use of bitwise '&' with
boolean operands [-Wbitwise-instead-of-logical]
DEFMXBOOLOP (mx_inline_not_and, !, &, )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&&
../liboctave/operators/mx-inlines.cc:198:15: note: expanded from macro
'DEFMXBOOLOP'
r[i] = ((NOT1 logical_value (x[i])) \
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../liboctave/array/fCNDArray.cc:656:1: note: in instantiation of function
template specialization 'mx_inline_not_and<std::complex<float>,
std::complex<float>>' requested here
NDND_BOOL_OPS (FloatComplexNDArray, FloatComplexNDArray)
^
../liboctave/operators/mx-op-defs.h:353:32: note: expanded from macro
'NDND_BOOL_OPS'
NDND_BOOL_OP (mx_el_not_and, mx_inline_not_and, ND1, ND2) \
^
../liboctave/operators/mx-inlines.cc:218:1: note: cast one or both operands to
int to silence this warning
DEFMXBOOLOP (mx_inline_not_and, !, &, )
^
../liboctave/operators/mx-inlines.cc:198:15: note: expanded from macro
'DEFMXBOOLOP'
r[i] = ((NOT1 logical_value (x[i])) \
^
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63210>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63210] Lots of warnings in compilation,
anonymous <=
- [Octave-bug-tracker] [bug #63210] Lots of warnings in compilation, Rik, 2022/10/13
- [Octave-bug-tracker] [bug #63210] Lots of warnings in compilation, anonymous, 2022/10/13
- [Octave-bug-tracker] [bug #63210] Lots of warnings in compilation, Rik, 2022/10/15
- [Octave-bug-tracker] [bug #63210] Lots of warnings in compilation, anonymous, 2022/10/15
- [Octave-bug-tracker] [bug #63210] Lots of warnings in compilation, Dmitri A. Sergatskov, 2022/10/15
- [Octave-bug-tracker] [bug #63210] Lots of warnings in compilation, Dmitri A. Sergatskov, 2022/10/15
- [Octave-bug-tracker] [bug #63210] Lots of warnings in compilation, Rik, 2022/10/26
- [Octave-bug-tracker] [bug #63210] Lots of warnings in compilation, Markus Mützel, 2022/10/30
- [Octave-bug-tracker] [bug #63210] Lots of warnings in compilation, Rik, 2022/10/30
- [Octave-bug-tracker] [bug #63210] Lots of warnings in compilation, Rik, 2022/10/30