The two keywords static and inline are not compatible when applied to a
standalone function, a function not part of a class or structure.
static means that a copy of the function exists but its name is not placed
on the public name list so it is not visible to anything in other source
files.
inline means that the function does not exist. In each place where a call
to that function is encountered in source code the compiler inserts machine
code to do its task.
Note that when compiled in debug mode, the option to not inline functions
identified with the inline keyword is normally enabled. This is necessary
in debug mode so that there is an address for the function so you can step
through it when debugging.
. Ed
Post by davidhmmm. I think that my problem is that BCB 5.5
doesn't seem to accept BOTH 'static' and 'inline'
on the same function.
I realise that my problem is that I am trying to
merge code from 2007 with code from 1997 using a
mixture of tools from 1997-2007.
Got the help file replacement, thanks.