<?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/pyinline/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/pyinline/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 30 Jul 2004 04:44:06 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pyinline/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>C to C call doesn't work</title><link>https://sourceforge.net/p/pyinline/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;A call from a C function to another raises an error.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;import PyInline&lt;br /&gt;
pyin = PyInline.build(code = """&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
double f(double x){return x;}&lt;br /&gt;
double g(double x){return f(x);}&lt;br /&gt;
""", language = "C")&lt;br /&gt;
print pyin.g(0.1)&lt;/p&gt;
&lt;p&gt;gives&lt;/p&gt;
&lt;p&gt;Traceback (most recent call last):&lt;br /&gt;
File "testpyin.py", line 18, in ?&lt;br /&gt;
""", language = "C")&lt;br /&gt;
File "PyInline\__init__.py",&lt;br /&gt;
line 38, in build&lt;br /&gt;
return b.build()&lt;br /&gt;
File "PyInline\C.py", line 40&lt;br /&gt;
, in build&lt;br /&gt;
self._parse()&lt;br /&gt;
File "PyInline\C.py", line 92&lt;br /&gt;
, in _parse&lt;br /&gt;
d['params'] = self._parseParams(d['rawparams'])&lt;br /&gt;
File "PyInline\C.py", line 11&lt;br /&gt;
0, in _parseParams&lt;br /&gt;
return [self._parseParam(p) for p in rawparams]&lt;br /&gt;
File "PyInline\C.py", line 11&lt;br /&gt;
8, in _parseParam&lt;br /&gt;
raise BuildError("Error parsing parameter %s" % p)&lt;br /&gt;
PyInline.BuildError: Error parsing parameter x&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 30 Jul 2004 04:44:06 -0000</pubDate><guid>https://sourceforge.net24fb6a24ea962997eed5ea60ec306aa7397a71fa</guid></item><item><title>newline gives an error with gcc</title><link>https://sourceforge.net/p/pyinline/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;A string with a newline gives an error.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;printf("hello\n");&lt;/p&gt;
&lt;p&gt;becomes (in _PyInline_...c)&lt;/p&gt;
&lt;p&gt;printf("hello&lt;br /&gt;
");&lt;/p&gt;
&lt;p&gt;which gives an error from gcc&lt;/p&gt;
&lt;p&gt;error: missing terminating "".... etc&lt;/p&gt;
&lt;p&gt;so it won't work with cygwin gcc (newest); somehow my&lt;br /&gt;
mingw gcc (older version) allows compilation.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 12 Jul 2004 04:18:46 -0000</pubDate><guid>https://sourceforge.net163d34b69efc02e3010175e75b3449d54b478488</guid></item><item><title>suppress a couple gcc warnings</title><link>https://sourceforge.net/p/pyinline/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ken,&lt;/p&gt;
&lt;p&gt;When I ran your examples, gcc complained about the&lt;br /&gt;
init function not being a prototype and the generated&lt;br /&gt;
.c file not ending with a newline.  Here's a patch&lt;br /&gt;
that gets rid of those warnings.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Skip Montanaro</dc:creator><pubDate>Wed, 29 Aug 2001 14:59:39 -0000</pubDate><guid>https://sourceforge.net5cb44081a4559f3bbd2977cc4f04a95ea89f220b</guid></item></channel></rss>