WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to compile ancient C source?  (Read 2296 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
How to compile ancient C source?
« 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.
« Last Edit: August 03, 2010, 11:19:43 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: How to compile ancient C source?
« Reply #1 on: August 03, 2010, 12:12:34 PM »
Try to build with gcc 3.
The only barriers that can stop you are the ones you create yourself.

Offline ^thehatsrule^

  • Administrator
  • Hero Member
  • *****
  • Posts: 1726
Re: How to compile ancient C source?
« Reply #2 on: August 05, 2010, 11:09:28 AM »
Or you could try passing in a compatible standard with -std=