<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Wed Jun 19, 2013 10:33 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Wed Jun 19, 2013 10:33 pm</pubDate>
  <lastBuildDate>Wed Jun 19, 2013 10:33 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Re: G++ compile errors</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=26589#26589</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=53'&gt;wiz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Jul 03, 2006 1:58 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Thanks. This was part of a rushed job so I couldn't afford to spend too much time on it. &lt;br /&gt;
I got the scanner working by using Xsane with a driver from the Windoze software disk, but Xsane takes almost 40! seconds to start.&lt;br /&gt;
I will get back to it when I have more time, I want to know what is wrong for future reference.</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=26589#26589</comments>
                                        <author>wiz</author>
                                        <pubDate>Mon Jul 03, 2006 1:58 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=26589#26589</guid>
                                      </item>
                                      <item>
                                        <title>Re: G++ compile errors</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=26570#26570</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=133'&gt;jjmac&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Jul 03, 2006 10:12 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &amp;gt;&amp;gt;&lt;br /&gt;
The code I am trying to compile was written by Epson for a scanner driver so I am certain that the syntax is correct, I have not changed it at all.&lt;br /&gt;
&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thats very trusting of you &lt;img src=&quot;images/smiles/icon_smile.gif&quot; alt=&quot;Smile&quot; border=&quot;0&quot; /&gt;.&lt;br /&gt;
&lt;br /&gt;
Unless &quot;using namespce std;&quot; is decleared at the top of a src file, any following types that are scoped/wrapped by that namespace will be unknown to the compiler. As &quot;unknown&quot; type messages were being generated, especially for something like ::malloc, i figured it would be worth checking on.&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;&lt;br /&gt;
The compiler is finding errors in the C++ library code from #include statements in the Epson code&lt;br /&gt;
&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Just looking at that link briefly, and the nature of the patches, the errors are more likely being generated by the epson src. And yes, there is an abi change between 3.3.x and 3.4.x which probably is the root of the fails.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
jm</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=26570#26570</comments>
                                        <author>jjmac</author>
                                        <pubDate>Mon Jul 03, 2006 10:12 am</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=26570#26570</guid>
                                      </item>
                                      <item>
                                        <title>Re: G++ compile errors</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=26326#26326</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=53'&gt;wiz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Jun 29, 2006 8:57 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Found a whole load of gobbledegook about it at &lt;a href=&quot;http://tinyurl.com/ndw32&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://tinyurl.com/ndw32&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
It looks as though it just needs a bit more experimenting to figure out what is going on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
edit: The bit about compiling from source is down at the bottom of the page</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=26326#26326</comments>
                                        <author>wiz</author>
                                        <pubDate>Thu Jun 29, 2006 8:57 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=26326#26326</guid>
                                      </item>
                                      <item>
                                        <title>Re: G++ compile errors</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=26297#26297</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=53'&gt;wiz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Jun 29, 2006 7:28 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      The code I am trying to compile was written by Epson for a scanner driver so I am certain that the syntax is correct, I have not changed it at all.&lt;br /&gt;
&lt;br /&gt;
The compiler is finding errors in the C++ library code from #include statements in the Epson code &lt;br /&gt;
&lt;br /&gt;
I will post a few more details later. I'm off to  work  &lt;img src=&quot;images/smiles/icon_sad.gif&quot; alt=&quot;Sad&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=26297#26297</comments>
                                        <author>wiz</author>
                                        <pubDate>Thu Jun 29, 2006 7:28 am</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=26297#26297</guid>
                                      </item>
                                      <item>
                                        <title>RE: G++ compile errors</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=26289#26289</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=133'&gt;jjmac&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Jun 29, 2006 12:49 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      /usr/include/c++/3.4/cstddef &lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&lt;br /&gt;
#ifndef _GLIBCXX_CSTDDEF&lt;br /&gt;
#define _GLIBCXX_CSTDDEF 1&lt;br /&gt;
&lt;br /&gt;
#pragma GCC system_header&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;stddef.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
namespace std&lt;br /&gt;
&amp;#123;&lt;br /&gt;
&amp;nbsp; using &amp;#58;&amp;#58;ptrdiff_t;&amp;nbsp; &amp;nbsp;&amp;lt;-------------- line 52.&lt;br /&gt;
&amp;nbsp; using &amp;#58;&amp;#58;size_t;&lt;br /&gt;
&amp;#125;&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
stdlib.h is included by  'cstdlib'  ??&lt;br /&gt;
&lt;br /&gt;
Maybe you just need to add &quot;using namespace std&quot; , without the quotes up the top of the file yur trying to pass.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
jm</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=26289#26289</comments>
                                        <author>jjmac</author>
                                        <pubDate>Thu Jun 29, 2006 12:49 am</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=26289#26289</guid>
                                      </item>
                                      <item>
                                        <title>RE: G++ compile errors</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=26286#26286</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=162'&gt;Nigel&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Jun 28, 2006 11:59 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      What is line 52 of cstddef ? &lt;br /&gt;
Also, what are the lines just before line 40 of imgstream.hh and line 31 of imgstream.cc ?</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=26286#26286</comments>
                                        <author>Nigel</author>
                                        <pubDate>Wed Jun 28, 2006 11:59 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=26286#26286</guid>
                                      </item>
                                      <item>
                                        <title>G++ compile errors</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=26283#26283</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=53'&gt;wiz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Jun 28, 2006 11:46 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I am trying to compile some code and I keep getting errors that look like compiler or library version problems.&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&lt;br /&gt;
from imgstream.cc&amp;#58;31&amp;#58;&lt;br /&gt;
/usr/include/c++/3.4/cstddef&amp;#58;52&amp;#58; error&amp;#58; expected unqualified-id before &amp;quot;long&amp;quot;&lt;br /&gt;
/usr/include/c++/3.4/cstddef&amp;#58;52&amp;#58; error&amp;#58; expected `;' before &amp;quot;long&amp;quot;&lt;br /&gt;
In file included from /usr/include/c++/3.4/bits/stl_algobase.h&amp;#58;67,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from /usr/include/c++/3.4/bits/char_traits.h&amp;#58;46,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from /usr/include/c++/3.4/ios&amp;#58;46,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from /usr/include/c++/3.4/ostream&amp;#58;45,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from /usr/include/c++/3.4/iostream&amp;#58;45,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from imgstream.hh&amp;#58;40,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from imgstream.cc&amp;#58;31&amp;#58;&lt;br /&gt;
/usr/include/c++/3.4/cstdlib&amp;#58;103&amp;#58; error&amp;#58; `&amp;#58;&amp;#58;malloc' has not been declared&lt;br /&gt;
/usr/include/c++/3.4/cstdlib&amp;#58;111&amp;#58; error&amp;#58; `&amp;#58;&amp;#58;realloc' has not been declared&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Can anybody give me a clue to what may be wrong?&lt;br /&gt;
The same problem occurs with g++ 3.3, 3.4 &amp;amp; 4.0</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=26283#26283</comments>
                                        <author>wiz</author>
                                        <pubDate>Wed Jun 28, 2006 11:46 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=26283#26283</guid>
                                      </item></channel></rss>