title: Unable to create an array of wchar_t
body: <p>In my code I have an array of wchar_t:</p>
  
  <pre><code>wchar_t paths [6] = {L"C:\\Program Files\\SomeAppsSuiteFolder1", L"C:\\Program Files\\SomeAppsSuiteFolder2", L"C:\\Program Files (x86)\\SomeAppsSuiteFolder1", L"C:\\Program Files (x86)\\SomeAppsSuiteFolder2", L"C:\\SomeAppsSuiteFolder1", L"C:\\SomeAppsSuiteFolder2"};
  </code></pre>
  
  <p>Later on I use the array in <code>for</code> loop. The problem is, that for this line I get following errors:</p>
  
  <pre><code>error: too many initializers for 'wchar_t [6]'
  error: initializer-string for array of chars is too long [-fpermissive]
  </code></pre>
  
  <p>What's more, in <code>for</code> loop I have <code>if</code> conditional like this one:</p>
  
  <pre><code>if(GetFileAttributesW(paths[i])!=INVALID_FILE_ATTRIBUTES) {...}
  </code></pre>
  
  <p>And, again, I get an error here:</p>
  
  <pre><code>error: invalid conversion from 'wchar_t' to 'LPCWSTR {aka const wchar_t*}' [-fpermissive]
  </code></pre>
  
  <p>Strange enough, similar code used to compile correctly some months ago... What's the problem?</p>