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

  • SEARCH
  • Home
  • 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 6560195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:25:43+00:00 2026-05-25T13:25:43+00:00

See I have made a library which has several .h & several .c files.

  • 0

See I have made a library which has several .h & several .c files.

Now under some circumstances I have not removed a warning that says

warning: implicit declaration of function ‘getHandle’

Now I want to ask you, does this cause any problem in the binary of my library?

Will it negatively affect the execution of my library on embedded platforms or anywhere else?

  • 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-25T13:25:44+00:00Added an answer on May 25, 2026 at 1:25 pm

    In such a case the compiler cannot verify that the usage of getHandle is proper – that is, whether the return value and the arguments are of the right type and count. It will just accept the way you call it without any explicit statement that this is the right way.

    Adding a prototype of the function is a way to tell the compiler that this is the intended usage of the function and it will be a compile-time error not to comply to that.

    It may cause some nasty bugs in case there is a mismatch between the way it’s called and the way the function expects its arguments. The most likely effect will be a corruption of the stack.

    If there isn’t a mismatch, it won’t make any difference at runtime.

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

Sidebar

Related Questions

my friend has made a really helpful class library which I use all the
I would like to trace calls to some 3rd party library which are made
I am writing a utility library which is made up of several Packages. The
I have made a program in c and wanted to see, how much memory
I have a button as made for you to see here . Looks fine,right?
I see an application have used Log.info = some info where are these logs
I have a library A, which depends on the libraries B and C. I
In Linux, I have a shared library I made that uses pthreads and a
I have data in which each participant made 3 judgments on each of 9
I am trying to understand how Mach-o files work, and have made a good

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.