public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Venkatesh, Vangal" <vangal.venkatesh@intel.com>
To: "'Paolo Carlini'" <pcarlini@unitus.it>
Cc: gcc-help@gcc.gnu.org
Subject: RE: g++ in 3.0.2
Date: Wed, 07 Nov 2001 06:46:00 -0000	[thread overview]
Message-ID: <B9ECACBD6885D5119ADC00508B68C1EA014D2FD4@orsmsx107.jf.intel.com> (raw)
Message-ID: <20011107064600.T4G7-CXUadne_OJAktAk2RbRW_CAEhrbLHzAOt4DEhk@z> (raw)

Paolo,
      I have figured out the problem. gcc 2.96 will compile this file ok but
not 3.0.2 as main has to return an int.

#include <iostream.h>

void main(){
   cout << "Hello World" << endl;
}

Thanks,
Vangal

             reply	other threads:[~2001-11-17  3:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-07  5:31 Venkatesh, Vangal [this message]
2001-11-07  6:46 ` Venkatesh, Vangal
  -- strict thread matches above, loose matches on Subject: below --
2001-11-07  5:28 Peter Kurpis
2001-11-07  0:21 Paolo Carlini
2001-11-06 23:20 Venkatesh, Vangal
2001-11-07  5:58 ` Venkatesh, Vangal

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=B9ECACBD6885D5119ADC00508B68C1EA014D2FD4@orsmsx107.jf.intel.com \
    --to=vangal.venkatesh@intel.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=pcarlini@unitus.it \
    /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).