# Inline expansion used during instrumentation (NM2002)

0 Likes

## Problem:

Since we updated to Version 5.03 we get the error message "NM2002: inline expansion (/Ob) used during instrumentation". Instrumenting our project with the previous version of BC we didn't get this error. What's the difference ?

## Resolution:

You cannot use inline expansion with BoundsChecker. If you are using inline expansion in any way, you will get this message. Use /Od (all optimizations disabled) when building with BoundsChecker.

Old KB# 12184
Comment List
Related Discussions
Recommended