public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: "Lassi A. Tuura" <lassi.tuura@cern.ch> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: c++/2474 Date: Thu, 26 Apr 2001 06:36:00 -0000 [thread overview] Message-ID: <20010426133602.660.qmail@sourceware.cygnus.com> (raw) The following reply was made to PR c++/2474; it has been noted by GNATS. From: "Lassi A. Tuura" <lassi.tuura@cern.ch> To: nathan@gcc.gnu.org Cc: gcc-gnats@gcc.gnu.org Subject: Re: c++/2474 Date: Thu, 26 Apr 2001 15:27:26 +0200 This is a multi-part message in MIME format. --------------25DF88F96FD59A4BF698B99B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > the submitted code consisted only of a comment and #include<stdio.h> > please provide preprocessed source code. My apologies! Obviously uploading the file from my browser didn't work too well or I did something silly... I've attached the file to this mail, hopefully that will come across better. If you have any further problems, please let me know! //lat -- The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. --George Bernard Shaw --------------25DF88F96FD59A4BF698B99B Content-Type: text/plain; charset=us-ascii; name="dtor.cxx" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dtor.cxx" // c++ dtor.cxx && ./a.out #include <stdio.h> struct X { X (void) { printf("X::X\n"); } ~X (void) { printf("X::~X\n"); } }; X &f (void) { printf ("f()\n"); static X x; return x; } struct Y { Y (void) { printf("Y::Y\n"); f(); } ~Y (void) { printf("Y::~Y\n"); } }; Y y; int main (int, char **) { fprintf(stdout, "main\n"); return 0; } --------------25DF88F96FD59A4BF698B99B--
next reply other threads:[~2001-04-26 6:36 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-04-26 6:36 Lassi A. Tuura [this message] -- strict thread matches above, loose matches on Subject: below -- 2001-05-04 5:46 c++/2474 nathan 2001-04-25 4:56 c++/2474 nathan
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=20010426133602.660.qmail@sourceware.cygnus.com \ --to=lassi.tuura@cern.ch \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@gcc.gnu.org \ /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: linkBe 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).