This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 2.95.2
- To: c958179 at student dot dtu dot dk
- Subject: Re: GCC 2.95.2
- From: Bo Thorsen <bo at sonofthor dot dk>
- Date: Mon, 4 Dec 2000 11:05:12 +0100 (MET)
- Cc: gcc at gcc dot gnu dot org
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