delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/29/06:41:35

From: thibedek AT WPI DOT EDU (Kevin Patrick Thibedeau)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: I did it
Date: 29 Apr 1997 05:59:40 GMT
Organization: Worcester Polytechnic Institute
Lines: 18
Message-ID: <5k42oc$2if$1@bigboote.WPI.EDU>
References: <3365289E DOT 25 AT pacbell DOT net>
NNTP-Posting-Host: ernie.wpi.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

You most likely used C++ coding conventions.  For instance many Turbo C
programmers are laxed into thinking that "//" is a valid comment in C
which it isn't.  Gcc will generally barf on all C++ code (although it does
support "inline" and a few others if strict ANSI compatability isn't
specified.) There are probably some other C++isms that you have mixed into
your code.  Post your code so we can see what's exactly wrong with it.

adamk AT pacbell DOT net wrote:
: Thanks to everyone, I have compiled my first little program called
: Hello.cc. I must have typed hello.exe 1000 times. The only problem I had
: was gcc didnt seem to work. So I used gxx. Gcc gave me alot of error
: mesages and I thought I would take a chance and us gxx. It worked, and
: all I want to know is why it didnt work with gcc.

-- 
Kevin Thibedeau-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
_ DOT - DOT _ DOT - DOT _ DOT - DOT _ DOT -thibedek AT wpi DOT edu DOT _ DOT - DOT _ DOT - DOT _ DOT - DOT _ DOT - DOT _ DOT - DOT _ DOT - DOT _ DOT - DOT _ DOT - DOT _ DOT - DOT _ DOT - DOT _ DOT - DOT _
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019