R
ranjeet.gupta
warning C4013: 'localData' undefined; assuming extern returning int
What the above warning exactly mean ?
What the above warning exactly mean ?
warning C4013: 'localData' undefined; assuming extern returning int
What the above warning exactly mean ?
you used the variable localData without declaring it first.warning C4013: 'localData' undefined; assuming extern returning int
What the above warning exactly mean ?
warning C4013: 'localData' undefined; assuming extern returning int
What the above warning exactly mean ?
warning C4013: 'localData' undefined; assuming extern returning int
What the above warning exactly mean ?
Jack said:This means that the compiler sees what it thinks is a function call,
but it does not have a prototype or declaration in scope. By the
rules of C before 1999, it must assume that there is a function by
that name that returns an int, taking arguments of the type you used
in the call after the default promotions.
In the C standard as of 1999, it is not legal to call a function
without a declaration in scope.
^^^^^^^^^Thanks Jack, I was able to remove my warning, While going through
your mail. ^^^^^^^^^^^^^^^^^^^
Netocrat said:^^^^^^^^^
I hope for Jack's case that this isn't what you meant to say (but if
it is, at least it's on the public record!).
^^^^^^^^^
I hope for Jack's case that this isn't what you meant to say (but if it
is, at least it's on the public record!).
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.