Sender: salvador AT delorie DOT com Message-ID: <39C61A50.10A6B2D9@inti.gov.ar> Date: Mon, 18 Sep 2000 10:36:16 -0300 From: salvador Organization: INTI X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17 i686) X-Accept-Language: es-AR, en, es MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: compile errors in rhide References: <39BF7A7D DOT 5897 DOT 34A8F2 AT localhost> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Joshua Masiku wrote: > I am using djgpp 2.95 and allegro 3.0 when I compile a program I've > written it tells me ansi C++ doesn't allow this or the other but I've > adhered to strict ansi C++ and I don't understand why it doesn't > work. are there some flags I need to set to get this thing to work. I > ve declared my variables in the right scope but I get lots of errror > messages saying "ansi C++ doesn't allow declaration without type" > where my variables are initialised. Eithout code I can't say much, but here is my guess: ANSI C++ says the following code is invalid: const XXXX=1; You *must* provide a type, like this: const int XXXX=1; SET -- Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: set-soft AT bigfoot DOT com set AT computer DOT org set AT ieee DOT org Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013