Mercurial > mxe-octave
view src/of-image-1-cassert.patch @ 7132:91a699a47331
of-image: Add patch for missing include of <cassert>.
* src/of-image-1-cassert.patch: Add new file.
* dist-files.mk: Add new file to list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 28 Mar 2024 19:20:14 +0100 |
parents | |
children |
line wrap: on
line source
# HG changeset patch # User Markus Mützel <markus.muetzel@gmx.de> # Date 1711637836 -3600 # Thu Mar 28 15:57:16 2024 +0100 # Node ID d00233197c4c4b90b31bc5adc5241deb101f8693 # Parent 7994f988b7b8900368a6575ac1b9f437cf860566 strel.cc: Include <cassert> in file that uses "assert" (bug #65525). * src/strel.cc: The header <cassert> happened to be included via some headers from Octave before. That is no longer the case for Octave 10. Include the header directly in a file that requires it. diff -r 7994f988b7b8 -r d00233197c4c src/strel.cc --- a/src/strel.cc Sat Jan 20 14:15:28 2024 +0000 +++ b/src/strel.cc Thu Mar 28 15:57:16 2024 +0100 @@ -20,6 +20,7 @@ #include "strel.h" +#include <cassert> #include <vector> #include <octave/oct.h>