Tiny Core Linux

Off-Topic => Off-Topic - Tiny Core Lounge => Topic started by: bmarkus on August 03, 2010, 02:18:05 PM

Title: How to compile ancient C source?
Post by: bmarkus on August 03, 2010, 02:18:05 PM
Not TC related issue, but current TC development environment is involved.

Trying to compile a C source dated back to 2003 getting compiler errors like 'ISO C++ forbids declaration of 'xxx' with no type', etc. Is it possible to turn off such strict checking? If not necessary wouldn't spend time on fixing the source.
Title: Re: How to compile ancient C source?
Post by: curaga on August 03, 2010, 03:12:34 PM
Try to build with gcc 3.
Title: Re: How to compile ancient C source?
Post by: ^thehatsrule^ on August 05, 2010, 02:09:28 PM
Or you could try passing in a compatible standard with -std=