1999Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] [TECHNICAL]  How to generate pre&#45;processor output (template problem). -->
<!--X-From-R13: Uert [vyyre <tzvyyreNpynffvp&#45;tnzrf.pbz> -->
<!--X-Date: Fri, 28 May 1999 17:50:38 &#45;0700 -->
<!--X-Message-Id: 374F1875.99823821@classic&#45;games.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 374E16BC.46930065#cyberhighway,net -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] [TECHNICAL]  How to generate pre-processor outpu</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:gmiller#classic-games,com">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00340.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00342.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00362.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00345.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00341">Author</A>
&nbsp;|&nbsp;<A HREF="#00341">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00341">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] [TECHNICAL]  How to generate pre-processor output (template problem).</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev] [TECHNICAL]  How to generate pre-processor output (template problem).</LI>
<LI><em>From</em>: Greg Miller &lt;<A HREF="mailto:gmiller#classic-games,com">gmiller#classic-games,com</A>&gt;</LI>
<LI><em>Date</em>: Fri, 28 May 1999 17:28:05 -0500</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#kanga,nu</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
Ben Greear wrote:
&gt; 
&gt; I added a cute little templated array class, and everything works like 

How does it differ from the standard C++ vector template? (I'm being
lazy and asking, since I haven't had a chance to look at the latest scry
release)

&gt; a missing symbol (*puke*).  To add to the fun, its mangled so badly I haven't a
&gt; real clue what it really is supposed to be.  Also, I have neither root nor the
&gt; permission to install a new compiler or any other useful software
&gt; on the BSD box.

If you have access to a similar machine, you could compile it with egcs
and transfer the binary to the machine you run it on.

&gt; So the question is, anyone know how to get the compiler to spit out the
&gt; pre-processed code so I can take a look at what line it's complaining about?

I don't have 2.7.x on hand, but with egcs-1.1.2 on my NT box, "g++
--help" indicates that the "-E" option should run only the preprocessor
stage and "-save-temps" should run a full compile while leaving
temporary files on disk. A quick test seems to indicate that -E will get
you preprocessor output dumped to stdout, so that should be what you're
looking for.
-- 
<A  HREF="http://www.classic-games.com/">http://www.classic-games.com/</A>
President Clinton was acquitted; then again, so was O. J. Simpson.
*** NEWBIES: Limit signatures to four lines! No HTML mail or posts! ***



_______________________________________________
MUD-Dev maillist  -  MUD-Dev#kanga,nu
<A  HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A>


</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00345" HREF="msg00345.html">Re: [MUD-Dev] [TECHNICAL]  How to generate pre-processor output (template problem).</A></strong>
<ul compact><li><em>From:</em> Ben Greear &lt;greear#cyberhighway,net&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00331" HREF="msg00331.html">[MUD-Dev] [TECHNICAL]  How to generate pre-processor output (template problem).</A></STRONG>
<UL><LI><EM>From:</EM> Ben Greear &lt;greear#cyberhighway,net&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00340.html">Re: [MUD-Dev] Text Parsing</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00342.html">Re: [MUD-Dev] Text Parsing</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00362.html">Re: [MUD-Dev] [TECHNICAL] [SOLVED] (template problem).</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00345.html">Re: [MUD-Dev] [TECHNICAL]  How to generate pre-processor output (template problem).</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00341"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00341"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><strong><A NAME="00335" HREF="msg00335.html">[MUD-Dev] Searching the archives</A></strong>, 
claw <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Fri 28 May 1999, 06:10 GMT
<LI><strong><A NAME="00331" HREF="msg00331.html">[MUD-Dev] [TECHNICAL]  How to generate pre-processor output (template problem).</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Fri 28 May 1999, 04:45 GMT
<UL>
<LI><strong><A NAME="00332" HREF="msg00332.html">Re: [MUD-Dev] [TECHNICAL]  How to generate pre-processor output (template problem).</A></strong>, 
bruce <a href="mailto:bruce#puremagic,com">bruce#puremagic,com</a>, Fri 28 May 1999, 04:55 GMT
<UL>
<LI><strong><A NAME="00362" HREF="msg00362.html">Re: [MUD-Dev] [TECHNICAL] [SOLVED] (template problem).</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Tue 01 Jun 1999, 00:05 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00341" HREF="msg00341.html">Re: [MUD-Dev] [TECHNICAL]  How to generate pre-processor output (template problem).</A></strong>, 
Greg Miller <a href="mailto:gmiller#classic-games,com">gmiller#classic-games,com</a>, Sat 29 May 1999, 00:50 GMT
<UL>
<LI><strong><A NAME="00345" HREF="msg00345.html">Re: [MUD-Dev] [TECHNICAL]  How to generate pre-processor output (template problem).</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Sat 29 May 1999, 01:47 GMT
<UL>
<LI><strong><A NAME="00347" HREF="msg00347.html">Re: [MUD-Dev] [TECHNICAL]  How to generate pre-processor output (template problem).</A></strong>, 
Greg Miller <a href="mailto:gmiller#classic-games,com">gmiller#classic-games,com</a>, Sat 29 May 1999, 03:42 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00346" HREF="msg00346.html">Re: [MUD-Dev] [TECHNICAL]  How to generate pre-processor output (template problem).</A></strong>, 
Oliver Jowett <a href="mailto:icecube#ihug,co.nz">icecube#ihug,co.nz</a>, Sat 29 May 1999, 02:40 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00328" HREF="msg00328.html">[MUD-Dev] ScryMUD 1.9.3 released.</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Fri 28 May 1999, 00:54 GMT
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>