title: Strange Eclipse C++ #define behaviour
body: <p><em>(A case of over relying on an IDE)</em></p>
  
  <p>I have some legacy C code that I compile as C++ for the purpose of Unit testing. The C source is C++ aware in that it conditionally <em>defines</em> based on environment.</p>
  
  <p>E.g. (<code>PRIVATE</code> resolves to <code>static</code>):</p>
  
  <pre><code>#if!defined __cplusplus
  #define PRIVATE1 PRIVATE
  #endif
  </code></pre>
  
  <p>...</p>
  
  <pre><code>PRIVATE1 const int some_var;
  </code></pre>
  
  <p>The problem is I just can't seem to find out what <code>PRIVATE1</code> resolves to or is in C++, the compiler complains of redefinition if I add a declaration but doesn't indicate where?</p>
  
  <p>I have searched my MinGW/gcc include path, the C++ ISO specification and the C++ books available to me has been to no avail.</p>
  
  <p><strong><em>Edit:</em></strong></p>
  
  <p>Sure I checked the command line and makefiles before posting.</p>