[apluslist] Compiling A+ - FC3

Neil Roeth neil at occamsrazor.net
Mon Jul 4 16:07:07 EDT 2005


I'm not sure how active development is, but now that Debian Sarge is released
(which has 4.18 in it) I plan to work through getting 4.20 packaged (I am the
Debian maintainer of the A+ package).  In the process, I will be resolving
these errors, because I will have to use at least g++ 3.4 if not 4.0.  I'll
let this list know when that is done, it will be easy to see what changes I
have made to get it to compile.

On Jul  4, M. Edward (Ed) Borasky (znmeb at cesmail.net) wrote:
 > I have the same problem with Gentoo Linux, which is using GCC 3.3.5,
 > while attempting to compile aplus 4.20. Newer versions of GCC are more
 > pedantic about which deviations from language standards they will
 > accept, and this appears to be correct behavior. That is, there is
 > something non-standard about the code. I had the same problem with the
 > 4.18 source. The binary 4.18 i386 tarball does run, though.
 > 
 > Is A+ being actively maintained? The last posting I saw on the Freshmeat
 > project page is six months ago, and the "News" page is older than that.
 > Does the developer(s) read this mailing list?
 > 
 > Rui Alberto wrote:
 > 
 > >Hi,
 > >I'm trying to compile A+ in Fedora Core 3.
 > >GCC - gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
 > >
 > >When trying to compile, the following error occurred:
 > >/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c+
 > >+/3.4.2/backward/backward_warning.h:32:2: warning: #warning This file
 > >includes at least one deprecated or antiquated header. Please consider
 > >using one of the 32 headers found in section 17.4.1.2 of the C++
 > >standard. Examples include substituting the <X> header for the <X.h>
 > >header for C++ includes, or <iostream> instead of the deprecated header
 > ><iostream.h>. To disable this warning use -Wno-deprecated.
 > >In file included from pA_Connection.C:33:
 > >/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c+
 > >+/3.4.2/backward/iostream.h:35: error: `ostream' is already declared in
 > >this scope
 > >/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c+
 > >+/3.4.2/backward/iostream.h:36: error: `istream' is already declared in
 > >this scope
 > >make[2]: *** [pA_Connection.lo] Error 1
 > >
 > >Any idea how to solve this problem. Do I need to downgrade?
 > >
 > >Thanks for any help.
 > >Rui

-- 
Neil Roeth


More information about the apluslist mailing list