title: c++ - non-trivial designated initializers not supported
body: <p>I am rebuilding a library with and found this error in this section of the code:</p>
  
  <pre><code>enum fix_version {
      FIX_4_0,
      FIX_4_1,
      FIX_4_2,
      FIX_4_3,
      FIX_4_4,
      FIX_5_0,
      FIXT_1_1,
  };
  
  static const char *begin_strings[] = {
          [FIXT_1_1]  = "FIXT.1.1",
          [FIX_4_4]   = "FIX.4.4",
          [FIX_4_3]   = "FIX.4.3",
          [FIX_4_2]   = "FIX.4.2",
          [FIX_4_1]   = "FIX.4.1",
          [FIX_4_0]   = "FIX.4.0",
  };
  </code></pre>
  
  <p>The error I receive is: <code>sorry, unimplemented: non-trivial designated initializers not supported</code>. I have seen other examples of this error, but those are initializers from another <code>struct</code> and this one is from a simple <code>char</code>, so how can I solve this? The code comes from <code>.c</code> files and I am compiling it in <code>c++</code> through <code>cmake</code>.</p>
  
  <p>Thank you in advance.</p>