title: Deprecated conversion from string constant to char * error
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1524356/c-deprecated-conversion-from-string-constant-to-char">C++ deprecated conversion from string constant to ‘char*’</a>  </p>
  </blockquote>
  
  
  
  <p>I am having following code, though i didn't copy full code because it is huge. 
  Following code is in template class, and i am getting warning as below. Because of warning in template i am not able to instantiate it and getting "instantiated from here" error.</p>
  
  <blockquote>
    <p>warning: deprecated conversion from string constant to 'char*''</p>
  </blockquote>
  
  <pre><code>void ErrorMessageInRaphsodyCode(char* pcCompleteMessage, char* pcMessage, char* pcFileName, unsigned int RowNo)
  {
  //...
  }
  
  
  char cCompleteMessage[200];
  memset(cCompleteMessage, 0x00, sizeof(cCompleteMessage));
  char*cMessage = "add reorgenize failed";
  ErrorMessageInRaphsodyCode(cCompleteMessage, cMessage, "omcollec.h", __LINE__);
  </code></pre>
  
  <p>My question is what is best way to get rid of above warning ?</p>