Compiler Error C2376

'function' : redefinition; different based allocation

The function is already declared with a different based allocation.