From: hjl@lucon.org (H.J. Lu)
To: mlawson@drfmc.ceng.cea.fr (Max Lawson)
Cc: egcs@cygnus.com
Subject: Re: 970929 snapshot: a ghost in g++ !-)
Date: Fri, 03 Oct 1997 08:04:00 -0000 [thread overview]
Message-ID: <m0xH9H8-0004eeC@ocean.lucon.org> (raw)
In-Reply-To: <9710031253.AA07416@drfmc.ceng.cea.fr>
>
> Hi !
>
> There still is a problem between the order used
> to include the "string" and "stl"-files. In the
> following test-program, the apparition takes place
> in the <stdexcept> file.
>
> Enjoy, Max
>
> P.S. Thanx for the GREAT job
>
> >> cat z.cc
> #include <iostream.h>
> #ifdef __ghost
> #include <vector>
> #include <string>
> #else
> #include <string>
> #include <vector>
> #endif
>
> int main()
> {
> string s("a_string");
> vector<double> v(3,-1.0);
> cout << "a string: \"" << s << "\" followed by a vector element: "
> << v[0] << endl;
>
> return 1;
> }
>
> >> g++ -v -D__ghost -g z.cc
> Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.11/specs
It is fine on my linux/x86/libc 5.
H.J.
next prev parent reply other threads:[~1997-10-03 8:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-03 5:54 Max Lawson
1997-10-03 8:04 ` H.J. Lu [this message]
1997-10-03 8:51 Max Lawson
1997-10-04 9:44 Max Lawson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m0xH9H8-0004eeC@ocean.lucon.org \
--to=hjl@lucon.org \
--cc=egcs@cygnus.com \
--cc=mlawson@drfmc.ceng.cea.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).