From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bo Thorsen To: c958179@student.dtu.dk Cc: gcc@gcc.gnu.org Subject: Re: GCC 2.95.2 Date: Mon, 04 Dec 2000 02:05:00 -0000 Message-id: References: X-SW-Source: 2000-12/msg00068.html On Mon, 4 Dec 2000 c958179@student.dtu.dk wrote: > > I am using gcc-2.95.2 to compile a c++ program. The program has been > compiled and run with a egcs-1.1.2 compiler before.But when I try to > compile the same program with gcc-2.95.2 I get errors like: > > ANCI C++ forbids declaration 'xxxx' with no type. > and > field 'xxxx' has incomplete type. > > What is the meaning of these errors? > > Are there something wrong with the program or with the compiler? Send some source code along with questions like this. That makes it a lot easier to answer your questions. Bo. -- Bo Thorsen bo@sonofthor.dk Lahnsgade 31, st. DK-5000 Odense C Tlf: +45 66 11 83 85 Rule one of good programmers: anything You can do, I can do better Rule two of good programmers: anything I can do, You can do better The Programming Theorem: anything worth doing is worth doing over and over again