K
Kenny McCormack
Suppose I include a declaration of a function, like:
int foo(void);
in my code, but do neither of the following:
1) Call foo()
2) link in a library that supplies foo()
My testing indicates that this is fine, but I'm curious what the standards
jockeys have to say.
BTW, this problem arises when you must include an include file that defines
some stuff you need, but also contains declarations for functions you don't
have (i.e., don't have the libs for).
--
But the Bush apologists hope that you won't remember all that. And they
also have a theory, which I've been hearing more and more - namely,
that President Obama, though not yet in office or even elected, caused the
2008 slump. You see, people were worried in advance about his future
policies, and that's what caused the economy to tank. Seriously.
(Paul Krugman - Addicted to Bush)
int foo(void);
in my code, but do neither of the following:
1) Call foo()
2) link in a library that supplies foo()
My testing indicates that this is fine, but I'm curious what the standards
jockeys have to say.
BTW, this problem arises when you must include an include file that defines
some stuff you need, but also contains declarations for functions you don't
have (i.e., don't have the libs for).
--
But the Bush apologists hope that you won't remember all that. And they
also have a theory, which I've been hearing more and more - namely,
that President Obama, though not yet in office or even elected, caused the
2008 slump. You see, people were worried in advance about his future
policies, and that's what caused the economy to tank. Seriously.
(Paul Krugman - Addicted to Bush)