[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-date: Thu Apr 28 11:40:10 2005 -->
- <!--x-from-r13: [vyyf.X ng rzf-g.pbz ([vyyf, Xbua [.) -->
- <!--x-message-id: [email protected] -->
- <!--x-subject: [ale] gcc-3.4.2 backwards-incompatibility? -->
- <li><em>date</em>: Thu Apr 28 11:40:10 2005</li>
- <li><em>from</em>: Mills.J at ems-t.com (Mills, John M.)</li>
- <li><em>subject</em>: [ale] gcc-3.4.2 backwards-incompatibility?</li>
I'm trying to build (in Fedora-C3) an app with gcc-3.4.2 that used to be
built (in RH-7.3) with gcc-2.95.x, and I'm having trouble with (I think)
some anachronisms.
The module uses:
#include <fstream>
The build then fails on the declaration:
fstream f(PREPROG_FNAME, ios::out);
with the message:
"preprogrammed.cc:201: error: `fstream' undeclared (first use this
function)"
If instead I use:
#include <fstream.h>
the build fails to find 'ios'.
I don't see the "backwards" compatibility warning in the build trace. How
should this migration be handled? Do I just need to add '-I...' paths, and
if so, what should I use?
TIA.
- Mills
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00751" href="msg00751.html">[ale] gcc-3.4.2 backwards-incompatibility?</a></strong>
<ul><li><em>From:</em> fd0man at gmail.com (Michael B. Trausch)</li></ul></li>
<li><strong><a name="00772" href="msg00772.html">[ale] gcc-3.4.2 backwards-incompatibility?</a></strong>
<ul><li><em>From:</em> jkf at wolfnet.org (Jason Fritcher)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00749.html">[ale] HOW2 enable "attachments" under Evolution ?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00751.html">[ale] gcc-3.4.2 backwards-incompatibility?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00745.html">[ale] Problem with hplip installation</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00751.html">[ale] gcc-3.4.2 backwards-incompatibility?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00750"><strong>Date</strong></a></li>
<li><a href="threads.html#00750"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>