help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ANSI C++ forbids declaration 'xxxxxx' with no type


From: Paul Pluzhnikov
Subject: Re: ANSI C++ forbids declaration 'xxxxxx' with no type
Date: 05 Feb 2005 10:01:41 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)

"Anon" <anon@anon.com> writes:

> Hi, I am getting the error in the subject line during compilation of some 
> code I have downloaded. I am getting it 122 times during the make. Before 
> undertaking the substantial task of modifying the code, I write to ask 
> whether there is a simple command line option or other approach to "turn it 
> off"/force it to compile. 

There might be, but it's difficult to tell without knowing which
code construct causes the problem. Post a samlple.

Also, are you sure the code you are trying to compile is C++?
Perhaps it is "plain C" of the K&R variety, in which case it should
be compiled with 'gcc', not 'g++' ?

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]