Compiler Error C2195

'identifier' : is a data segment

A segment name was used with the code_seg pragma after it had already been used with the data_seg pragma.

The following is an example of this error:

#pragma data_seg("MYDATA")
#pragma code_seg("MYDATA")   // error