view src/of-quaternion-2-dev-fixes.patch @ 7180:e15cecabced0 default tip @

LLVM: Update to 18.1.4 * src/llvm.mk: Update version and checksum. It is no longer possible to build a shared libLLVM.dll for Windows in newer versions of LLVM because the maximum number of symbols that can be exported from a DLL is exceeded. Build static libraries instead. Set a windows-gnu target because the library naming scheme that llvm-config expects for windows-msvc (the default) is different. No changes for Linux build rule. * src/mesa.mk: Use static LLVM libraries when building for Windows.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 26 Apr 2024 21:45:40 +0200
parents 48b9473dd2ad
children
line wrap: on
line source

diff -ur quaternion.orig/src/is_real_array.cc quaternion/src/is_real_array.cc
--- quaternion.orig/src/is_real_array.cc	2019-01-02 13:53:40.766144030 -0500
+++ quaternion/src/is_real_array.cc	2019-01-02 13:54:35.459444478 -0500
@@ -46,8 +46,8 @@
         {
             // args(i).ndims () should be always >= 2
             if (args(i).ndims () < 2
-                || ! ((args(i).is_numeric_type () && args(i).is_real_type ())
-                      || args(i).is_bool_type ()))
+                || ! ((args(i).isnumeric () && args(i).isreal ())
+                      || args(i).islogical ()))
             {
                 retval = false;
                 break;