title: 'operator new': redefinition, different linkage (using _dllspec on redefined new operator)
body: <p>I am using __declspec(dllimport/export) on a debug version of new as such:</p>
  
  <pre><code>#ifdef _DEBUG
   DECLSPECCORE extern   void* operator new(unsigned int size, const char* file, int line);
   extern void* operator new[](unsigned int size, const char* file, int line);
   extern void operator delete(void* address, const char* file, int line);
   extern void operator delete[](void* address, const char* file, int line);
   extern void Delete(void* address);
  
  #define LUDO_NEW new(__FILE__, __LINE__)
  #define LUDO_DELETE delete
  
  #endif
  </code></pre>
  
  <p>This is causing me to get </p>
  
  <blockquote>
    <p>error C2375: 'operator new':
    redefinition; different linkage.</p>
  </blockquote>
  
  <p>Why is this and how can you fix it? This is the only project that I am compiling right now.</p>