title: Extern unnamed struct object definition
body: <p>I got a global object of type "unnamed-struct" and i'm trying to define it. I don't want to pollute my global namespace with such useless type (it will be used only once).</p>
  
  <p><strong>Global.h</strong></p>
  
  <pre><code>extern struct {
  
      int x;
  
  } A;
  </code></pre>
  
  <p>Is there any correct way to define such object?<br>
  I was trying this:</p>
  
  <p><strong>Global.cpp</strong></p>
  
  <pre><code>struct {
  
      int x;
  
  } A = { 0 };
  </code></pre>
  
  <p>But VS2012 throws "error C2371: 'A' : redefinition; different basic types". Thanks.</p>