Compiling 10 year old code

Mahmood Naderan nt_mahmood@yahoo.com
Sun Apr 3 17:58:00 GMT 2011


>When I compile, it throws many errors.

Hi,
Recently I have ported one of my aplications from 4.3 to 4.4 and above.
For some errors, a simple "include" was the solution. Although not all problem 
was so simple like that, finally I ported the code to new gcc. So I recommend 
you to try...

 
// Naderan *Mahmood;



----- Original Message ----
From: H.S.Rai <hardeep.rai@gmail.com>
To: gcc-help@gcc.gnu.org
Sent: Sun, April 3, 2011 10:25:52 AM
Subject: Compiling 10 year old code

There are certain good old packages, which I want to use now (like
http://felt.sourceforge.net/ ). When I compile, it throws many errors.

Is there any option / switch which I can use with latest compiler to
request compiler to understand old code, as I believe installing old
compiler may not be possible on current Linux distribution.

Alternatively, is there any script / converter which convert old
version code to new one, so that modern compiler can compile it.
Manual conversion will be painful as size of program is huge.

-- 
H.S.Rai



More information about the Gcc-help mailing list