<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/squirrelsh/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/squirrelsh/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 24 May 2017 06:35:57 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/squirrelsh/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#6 Building with GCC-6 fails with `error: macro "min" passed 3 arguments, but takes just 2`</title><link>https://sourceforge.net/p/squirrelsh/bugs/6/?limit=25#f3fc/8ae3</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;That's the better way of handling it. Thanks.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Levine</dc:creator><pubDate>Wed, 24 May 2017 06:35:57 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net7c589f6ca58ceb82b4183beb657c84ee37fe3486</guid></item><item><title>#6 Building with GCC-6 fails with `error: macro "min" passed 3 arguments, but takes just 2`</title><link>https://sourceforge.net/p/squirrelsh/bugs/6/?limit=25#f3fc</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Sorry for the late response.&lt;/p&gt;
&lt;p&gt;I went a bit further than you suggested and replaced all &lt;code&gt;min()&lt;/code&gt; and &lt;code&gt;max()&lt;/code&gt; macros with more appropriate &lt;code&gt;std::min()&lt;/code&gt; and &lt;code&gt;std::max()&lt;/code&gt; functions.&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://sourceforge.net/p/squirrelsh/git/ci/13280cdf34d96216b4d10b9ea7656a42a967fc2b/"&gt;https://sourceforge.net/p/squirrelsh/git/ci/13280cdf34d96216b4d10b9ea7656a42a967fc2b/&lt;/a&gt; for details.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Constantin Makshin</dc:creator><pubDate>Wed, 24 May 2017 06:30:18 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net254b93310f08b438d555d836174b9ef049f81770</guid></item><item><title>Building with GCC-6 fails with `error: macro "min" passed 3 arguments, but takes just 2`</title><link>https://sourceforge.net/p/squirrelsh/bugs/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Compiling squirrelsh-1.2.7 with GCC-6 fails with:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;error&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;macro&lt;/span&gt; &lt;span class="s2"&gt;"min"&lt;/span&gt; &lt;span class="n"&gt;passed&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt; &lt;span class="k"&gt;arguments&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;but&lt;/span&gt; &lt;span class="n"&gt;takes&lt;/span&gt; &lt;span class="n"&gt;just&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;
     &lt;span class="n"&gt;min&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;_Tp&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;__a&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;_Tp&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;__b&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;_Compare&lt;/span&gt; &lt;span class="n"&gt;__comp&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
                                                        &lt;span class="o"&gt;^&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;See: &lt;a href="https://bugs.gentoo.org/show_bug.cgi?id=594466" rel="nofollow"&gt;https://bugs.gentoo.org/show_bug.cgi?id=594466&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In gcc-6, all &lt;code&gt;&amp;lt;math.h&amp;gt;&lt;/code&gt; functions which were otherwise defined as macros, such as &lt;code&gt;max()&lt;/code&gt; and &lt;code&gt;min()&lt;/code&gt;, are now defined as real functions.  In &lt;code&gt;shell/base.cpp&lt;/code&gt;, by including &lt;code&gt;"common.h"&lt;/code&gt;, which defines such macros which conflict with &lt;code&gt;&amp;lt;math.h&amp;gt;&lt;/code&gt; functions, before C++ standard headers, which transitively include &lt;code&gt;&amp;lt;math.h&amp;gt;&lt;/code&gt;, the mismatch occurs.  Including &lt;code&gt;"common.h"&lt;/code&gt; after such headers resolves the issue.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Levine</dc:creator><pubDate>Sun, 21 May 2017 01:06:41 -0000</pubDate><guid isPermaLink="false">https://sourceforge.neteb3109cd8943c5c47df069af4c501a7f1180ce0e</guid></item><item><title>Latest source compilation on windows with mingw crash</title><link>https://sourceforge.net/p/squirrelsh/bugs/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello !&lt;br /&gt;
I've downloaded the latest version of squirrel shell "1.2.5" and compiled with mingw " gcc version 4.4.1 (TDM-2 mingw32)" and the executable crashs.&lt;br /&gt;
If I remove "-Os" from the compiler flags it works fine.&lt;/p&gt;
&lt;p&gt;By the way I'm developing &lt;a href="http://code.google.com/p/luafltk/" rel="nofollow"&gt;http://code.google.com/p/luafltk/&lt;/a&gt; and I'm planning to move from lua to squirrel are you interested on participate on it ?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Domingo Alvarez Duarte</dc:creator><pubDate>Sat, 06 Nov 2010 10:45:32 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net50d63b9cde245d0bec192360cebf00b5f973738c</guid></item><item><title>configure script broken for --with-libraries</title><link>https://sourceforge.net/p/squirrelsh/bugs/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;With the squirrelsh-1.2.3-src.tar.bz2&lt;/p&gt;
&lt;p&gt;Here is the configure script:&lt;/p&gt;
&lt;p&gt;364     --with-libraries=*)&lt;br /&gt;
365         case "$arg_value" in&lt;br /&gt;
366         static | shared)&lt;br /&gt;
367             with_libraries="$arg_option";;&lt;br /&gt;
368         *)&lt;br /&gt;
369             msg_invalidvalue;;&lt;br /&gt;
370         esac;;&lt;/p&gt;
&lt;p&gt;As you can see on line 367, $arg_option should be $arg_value as otherwise passing --with-libraries has no effect. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ken69267</dc:creator><pubDate>Sat, 10 Apr 2010 15:59:07 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netd2196a0f76eca515fddab733f41b1844bf1b574e</guid></item><item><title>Can't install this under ubuntu from src.</title><link>https://sourceforge.net/p/squirrelsh/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;"make" was sucsessful but &lt;br /&gt;
"sudo make install"&lt;br /&gt;
get &lt;br /&gt;
install -c -m 0644 doc/squirrelsh.1 "/usr/local/share/man/man1"&lt;br /&gt;
./configure-mime --install --file&lt;br /&gt;
make: *** [install] Ошибка 1&lt;/p&gt;
&lt;p&gt;when i start squirrelsh from console i get message "segmentation fault"&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 09 Feb 2010 21:45:49 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net1074c30624b95e9d4f8dd67598bc9b4993f16b52</guid></item><item><title>Make fails on Linux - SVN files</title><link>https://sourceforge.net/p/squirrelsh/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I did a checkout from the SVN repository and did a&lt;br /&gt;
make.  I received the following error:&lt;/p&gt;
&lt;p&gt;ar rc ../lib/libsquirrel.a sqapi.o sqbaselib.o&lt;br /&gt;
sqclass.o sqcompiler.o sqdebug.o sqfuncstate.o&lt;br /&gt;
sqlexer.o sqmem.o sqobject.o sqstate.o sqtable.o sqvm.o&lt;br /&gt;
ar: ../lib/libsquirrel.a: No such file or directory&lt;br /&gt;
make[1]: *** [all] Error 1&lt;br /&gt;
make[1]: Leaving directory&lt;br /&gt;
`/home/leith/squirrelsh/squirrel'&lt;br /&gt;
make: *** [all] Error 2&lt;/p&gt;
&lt;p&gt;The ../lib directory did not exist, so I created it. &lt;br /&gt;
After that, make completed that step but failed during&lt;br /&gt;
another one.  This time it returned this error:&lt;/p&gt;
&lt;p&gt;g++ -o ../bin/squirrelsh base.o file.o io.o main.o&lt;br /&gt;
math.o util.o -L../lib -lsquirrel&lt;br /&gt;
/usr/bin/ld: cannot open output file ../bin/squirrelsh:&lt;br /&gt;
No such file or directory&lt;br /&gt;
collect2: ld returned 1 exit status&lt;br /&gt;
make[1]: *** [all] Error 1&lt;br /&gt;
make[1]: Leaving directory `/home/leith/squirrelsh/shell'&lt;br /&gt;
make: *** [all] Error 2&lt;/p&gt;
&lt;p&gt;There was no ../bin directory in the SVN tree.&lt;/p&gt;
&lt;p&gt;SO, after I added the ../bin directory, the make&lt;br /&gt;
completed and squirrelsh was successfully complied.&lt;/p&gt;
&lt;p&gt;Please add ../lib and ../bin to the tree and the make&lt;br /&gt;
should complete successfully on the first try.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">leith</dc:creator><pubDate>Thu, 27 Apr 2006 04:01:04 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net9469f3296606b9cffc1c17e682189553e131ba48</guid></item><item><title>Installation on Linux fails</title><link>https://sourceforge.net/p/squirrelsh/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Make fails on Linux.&lt;/p&gt;
&lt;p&gt;make[1]: *** No rule to make target `math.cpp', needed&lt;br /&gt;
by `math.o'.  Stop.&lt;br /&gt;
make[1]: Leaving directory `/home/leith/squirrel/shell'&lt;br /&gt;
make: *** [all] Error 2&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">leith</dc:creator><pubDate>Wed, 26 Apr 2006 18:07:56 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net82e1d7c682c7b4d41227d21d4bcc7ccece06f32a</guid></item></channel></rss>