Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7552085
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T10:40:13+00:00 2026-05-30T10:40:13+00:00

I am compiling some legacy C code with the purpose of migrating it to

  • 0

I am compiling some legacy C code with the purpose of migrating it to Java.
I don’t want to fix the C code, I just want to run it, in order to compare numerical results.

I get this gcc 4.6.1 compilation error: expected void** but argument is of type char**
Written 20 years ago, this code did not care about pointer types, no big surprise.

QUESTION: How can I tell gcc to ignore these errors and compile anyway?
-fpermissive does not work.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T10:40:15+00:00Added an answer on May 30, 2026 at 10:40 am

    What version of gcc are you trying to compile with? gcc 3 supported a -traditional flag which would tell it to behave like a K&R C compiler, but this option isn’t included in gcc 4.

    You probably need to run gcc 3 somehow, like installing an OS that included it in a VM. I’ve read that RHEL 4 used gcc 3, you could try old FreeBSD versions, or it might be available as a package on newer OSes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm compiling some C# and VB code at run time using the CodeDomProvider, CompilerInfo,
I am getting the following warning when compiling some legacy C code on Ubuntu
I'm compiling some code which uses libcurl on a Debian Linux system. My dev
I'm working on re-compiling some Pro*C code that no one currently at my company
I generate some code using CXF from a WSDL-file. When compiling the code with
I was trying to speed up some code, and then I tried compiling a
Greetings, SO. I have some code which I've made attempts at compiling using gcc,
I'm working with some legacy code that has an import like so: #import C:\Program
I have the following function from some legacy code that I am maintaining. long
I've been tasked with maintaing some legacy fortran code, and I'm having trouble getting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.