Mail Archives: djgpp/1998/09/12/16:37:41
Aron Faegre wrote:
>
> I don't understand why I am getting a lot of errors using gcc where I
> didn't get any when compiling this program under borland turbo c++.
> Every time I use a variable outside of function main() it gives the
> error: 'variable' undefined. You will see from the list of errors every
> time I use the struct square it also gives me more errors. I'm trying
> to figure out what's wrong.
Post the source, please. It's nearly impossible to diagnose the problem
without it.
One thing: Check for occurences of `far', `near' or `huge' in your
source. GCC doesn't support them. Read FAQ chapter 17 for all the
details, and solutions.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -