This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GCC 2.95.2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]