Compiler Error C2376

'function' : redefinition; different based allocation

The specified function was already declared with a different based allocation.

The following is an example of this error:

int func();
int _based(_segname("S1")) func();
int _based(_segname("S2")) func();  // error