L
Lynn McGuire
Is there anyway to force code to be inline other than making that
code a macro ? We have about 100 lines of code that is duplicated
using a macro in about a dozen places. We would rather make this
code inline but inline seems that it would probably make this code
into a function.
I do know about the MS __forceinline command. However, we use
three compilers for this code, VC++ 2003, Open Watcom 1.5 and
gcc 2.95 (on a FreeBSD box).
Thanks,
Lynn McGuire
code a macro ? We have about 100 lines of code that is duplicated
using a macro in about a dozen places. We would rather make this
code inline but inline seems that it would probably make this code
into a function.
I do know about the MS __forceinline command. However, we use
three compilers for this code, VC++ 2003, Open Watcom 1.5 and
gcc 2.95 (on a FreeBSD box).
Thanks,
Lynn McGuire