[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65530] (communications) should include <casse
From: |
Dmitri A. Sergatskov |
Subject: |
[Octave-bug-tracker] [bug #65530] (communications) should include <cassert> |
Date: |
Thu, 28 Mar 2024 15:37:32 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?65530>
Summary: (communications) should include <cassert>
Group: GNU Octave
Submitter: dasergatskov
Submitted: Thu 28 Mar 2024 07:37:32 PM UTC
Category: Octave Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: Any
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 28 Mar 2024 07:37:32 PM UTC By: Dmitri A. Sergatskov <dasergatskov>
On a recent Octave 10 (dev), vompilation fails:
g++ -std=gnu++17 -c -fPIC -I/usr/local/include/octave-10.0.0/octave/..
-I/usr/local/include/octave-10.0.0/octave -I/usr/local/include -pthread
-fopenmp -ggdb3 -O2 -march=native -mtune=native -mavx -mavx2 -flto=auto
-DGALOIS_DISP_PRIVATES -DHAVE_CONFIG_H ov-galois.cc -o ov-galois.o
ov-galois.cc: In member function ‘octave_value_list
octave_galois::dotref(const octave_value_list&)’:
ov-galois.cc:97:3: error: ‘assert’ was not declared in this scope
97 | assert (idx.length () == 1);
| ^~~~~~
ov-galois.cc:54:1: note: ‘assert’ is defined in header ‘<cassert>’;
did you forget to ‘#include <cassert>’?
53 | #include "ov-galois.h"
+++ |+#include <cassert>
54 |
make: *** [Makefile:44: ov-galois.o] Error 1
make: *** Waiting for unfinished jobs....
mxe-octave patch to make it compile is here:
https://hg.octave.org/mxe-octave/rev/f076b7e562b0
Discussions is here:
https://octave.discourse.group/t/assert-panic-error-and-ndebug/5409/20
Dmitri.
--
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65530>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65530] (communications) should include <cassert>,
Dmitri A. Sergatskov <=