C18003: _linear pointer to object in non-LINEAR CONST_SEG [Object addresses extended]

[WARNING

Description

A linear pointer is initialized with the address of an object defined in a segment that is not qualified with __LINEAR_SEG.

Example
  #pragma CONST_SEG my_const_seg

  
  const int i;

  
  const int * __linear p = &i; //C18003 occurs here.