title: Expected an expression error
body: <p>I have following C++ code and running PC lint on code.</p>
  
  <p>Question 1:</p>
  
  <pre><code>#if !WIN32
  #define ULONG_MAX 0xffffffff
  #endif
  </code></pre>
  
  <p>Above code is throwing an lint error as follows</p>
  
  <blockquote>
    <p>Error 26: Expected an expression, found 'WIN32'<br>
    Error 30: Expected an integer constant</p>
  </blockquote>
  
  <p>How to fix above error?</p>
  
  <p>Question 2:</p>
  
  <pre><code>const char CompanyName[] = "mycompany"; 
  </code></pre>
  
  <blockquote>
    <p>Error: Note 960: Violates MISRA Required Rule 8.5, no object/function definitions in header files</p>
  </blockquote>
  
  <p>How to fix above error?</p>
  
  <p>Question 3:</p>
  
  <pre><code>unsigned long m_ClientThreadId; 
  m_ClientThreadId        = 0;
  </code></pre>
  
  <blockquote>
    <p>Note 960: Violates MISRA Required Rule 10.1, Implicit conversion changes signedness</p>
  </blockquote>
  
  <p>How to fix above error?</p>