WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline bmarkus

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

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

Offline curaga

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

Offline ^thehatsrule^

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