[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Thu Apr 28 20:29:19 2005 -->
- <!--x-from-r13: wxs ng jbysarg.bet (Xnfba Tevgpure) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] gcc-3.4.2 backwards-incompatibility? -->
- <li><em>date</em>: Thu Apr 28 20:29:19 2005</li>
- <li><em>from</em>: jkf at wolfnet.org (Jason Fritcher)</li>
- <li><em>in-reply-to</em>: <<a href="msg00750.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00750.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] gcc-3.4.2 backwards-incompatibility?</li>
I don't see it mentioned above, so I'll assume the following is the problem. ;)
To be more standards compliant, gcc 3+ enforces namespaces. The standard C++
code like that is all in the std namespace, so you'll either need to include a
'using namespace std' statement near the top, or prefix all the library function
references with std::. I'd go with the former. :)
--
Jason Fritcher
jkf at wolfnet.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00750" href="msg00750.html">[ale] gcc-3.4.2 backwards-incompatibility?</a></strong>
<ul><li><em>From:</em> Mills.J at ems-t.com (Mills, John M.)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00771.html">[ale] Importing NFS on a FedoraCore 3 system</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00773.html">[ale] Firewire Tape backup</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00751.html">[ale] gcc-3.4.2 backwards-incompatibility?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00755.html">[ale] 2U rack cases</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00772"><strong>Date</strong></a></li>
<li><a href="threads.html#00772"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>