title: __attribute__((weak)) for typedefs
body: <p>With <code>__attribute__((weak))</code> I can declare a function which will be overridden by a function with the same name, but without <code>__attribute__((weak))</code> parameter. Is there a way to do something similar with <code>typedefs</code>in C? For example, I would declare a "weak" typedef in my template library:</p>
  
  <pre><code>my_weak typedef int myType_t;
  </code></pre>
  
  <p>Then in a new file i do:</p>
  
  <pre><code>typedef float myType_t
  </code></pre>
  
  <p>So <code>myType_t</code> is a float, not an int. I would appreciate all help.</p>