<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>
<blockquote type="cite">I've tested loading externals and it just
doesn't create and complain<br>
</blockquote>
</p>
<p>Are you sure? Turn on log level 4. Here's what I get when I try
to load a single precision [markex/randomF] in my double precision
built:</p>
<p>
<blockquote type="cite">refusing to load 32bit-float object
'randomF' into 64bit-float Pd<br>
maximum object loading depth 1000 reached<br>
markex/randomF</blockquote>
Note that actual warning is only visible with log level 3 and
above.<br>
</p>
<p><br>
</p>
<p>
<blockquote type="cite">but trying to load cyclone with [declare
-lib cyclone] crashes Pd! </blockquote>
Please run Pd in a debugger and see where it crashes. <br>
</p>
<p>I also get a crash when trying to load [iemguts/receivecanvas].
In this specific case, the reason is that this object registers a
proxy class without a name (passing NULL instead of a symbol for
the class name), so Pd segfaults when it tries to print the
warning. Pd should do a NULL check and probably omit the warning
for unnamed classes.<br>
</p>
<p>Christof<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 26.02.2020 14:12, Alexandre Torres
Porres wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAEAsFmj-sgS8gao=QQqOa-6_jZq93gftbciVBofFYPWciqne2Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Em qua., 26 de fev. de 2020
às 10:09, Dan Wilcox <<a
href="mailto:danomatika@gmail.com" moz-do-not-send="true">danomatika@gmail.com</a>>
escreveu:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div style="overflow-wrap: break-word;">Forgive me if this
has been gone over, but what's the behavior if a
single-precision Pd tries to load a double-precision
external or vice versa? Does it fail to load or simply
crash?
<div><br>
</div>
<div>If it crashes, maybe there needs to be some mechanism
to query the compiled precision of the external, ie.
some sort of function pointer or define, etc. If it's
not there, then assume single-precision and act
accordingly. It would be nice to have useful error print
concerning this. I'm just musing here. :)</div>
</div>
</blockquote>
<div><br>
</div>
<div>I've tested loading externals and it just doesn't create
and complain, but trying to load cyclone with [declare -lib
cyclone] crashes Pd! </div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Pd-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pd-dev@lists.iem.at">Pd-dev@lists.iem.at</a>
<a class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-dev">https://lists.puredata.info/listinfo/pd-dev</a>
</pre>
</blockquote>
</body>
</html>