Original Post
Ok, this is probably just obvious to everyone but why does
inline float fmax(float A, float B)
{
return (A > B ? A : B);
}
generate an ''Unresolved External'' linker error when
float fmax(float A, float B)
{
return (A > B ? A : B);
}
does not !
In each case, the header file contains the appropriate prototype and the call is being made from a different unit.
Stephen