Mail Archives: djgpp/1997/04/29/06:41:35
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 -