<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Mike McGonagle</b> &lt;<a href="mailto:mjmogo@gmail.com">mjmogo@gmail.com</a>&gt;<br>Date: Jan 23, 2008 1:24 PM<br>
Subject: Re: [PD] another [declare -lib] strangeness<br>To: IOhannes m zmoelnig &lt;<a href="mailto:zmoelnig@iem.at">zmoelnig@iem.at</a>&gt;<br><br><br>Hum, I have noticed something similar when declaring struct objects, too. Is this a related&nbsp;behavior?
<div><br></div><div><br></div><div>Mike</div><div><div><div></div><div class="Wj3C7c"><br><br>
<div class="gmail_quote">On Jan 23, 2008 9:58 AM, IOhannes m zmoelnig &lt;<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

hi<br><br>originally i wanted to write the following feature-request:<br>using [declare] to load libraries (e.g. [declare -lib mylib]) works nicely.<br>however, when i have several abstractions all depending on the same<br>

library (and thus all have an instance of [declare -lib mylib]), i get<br>an error &quot;mylib: already loaded&quot; for each abstraction depending on<br>&quot;mylib&quot; but the first.<br>would it be possible to suppress this warning? (i don&#39;t see a reason to
<br>keep it)<br><br>i wrote a wee example to illustrate this behaviour, and while doing so i<br>noticed a real weirdness:<br>when i save a patch holding an abstraction with a [declare -lib mylib],<br>this parent patch will also have the &quot;#X declare -lib mylib&quot; line
<br>(without a direct representation in the patch)<br>what is even weirder is, that it gets an additional line for each<br>abstraction containing a [declare].<br>e.g. if i have 4 instances of an abstraction in my patch, i will get 4
<br>additional declare-lines.<br>loading this patch, i will get 7 errors that &quot;mylib: already loaded&quot; (4<br>warnings from the abstractions; 3 warnings from the patch; only the 1st<br>declare-line in the patch gets evaluated properly)
<br><br>is this by design?<br>or is it a &quot;bug&quot;? (i cannot see any harm right now, but it is a bit<br>annoying)<br><br><br>all this is happening with Pd-0.41-0test11 on linux.<br><br>fgmasdr.<br>IOhannes<br><br>
_______________________________________________
<br><a href="mailto:PD-list@iem.at" target="_blank">PD-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list
</a><br></blockquote></div><br><br clear="all"><br></div></div>-- <br>Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal.<br>—Yehudi Menuhin (1916–1999), musician
</div>
</div><br><br clear="all"><br>-- <br>Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal.<br>—Yehudi Menuhin (1916–1999), musician