C3801: Segment already used with different attributes

[WARNING]

Description

A segment was used several times with different attributes.

Example
  #pragma DATA_SEG FAR AA

  
  ..

  
  #pragma DATA_SEG NEAR BB

  
  ..

  
Tips

Use the same attributes with one segment. Keep variables of the same segment together to avoid inconsistencies.