Tiny Core Linux

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

Title: How to compile ancient C source?
Post by: bmarkus on August 03, 2010, 11:18:05 AM
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, 12:12:34 PM
Try to build with gcc 3.
Title: Re: How to compile ancient C source?
Post by: ^thehatsrule^ on August 05, 2010, 11:09:28 AM
Or you could try passing in a compatible standard with -std=