title: DirectX::XMMATRIX error C2719: __declspec(align('16')) won't be aligned
body: <p>Ok so im working on my own DirectX framework all tutorials about making a DirectX framework are old and use deprecated stuff so i just made my own one , though i took somethings from the old tutorials and updated them to work with the new Windows 8.1 SDK
  and here comes The problem , i get errors with <code>XMMATRIX</code> the original code uses <code>D3DXMATRIX</code></p>
  
  <pre><code>(33): error C2719: 'unnamed-parameter': formal parameter with __declspec(align('16')) won't be aligned
  (40): error C2719: 'unnamed-parameter': formal parameter with __declspec(align('16')) won't be aligned
  (42): error C2719: 'worldMatrix': formal parameter with __declspec(align('16')) won't be aligned
  (42): error C2719: 'viewMatrix': formal parameter with __declspec(align('16')) won't be aligned
  (42): error C2719: 'projectionMatrix': formal parameter with __declspec(align('16')) won't be aligned
  </code></pre>
  
  <p>this is Line 33 from S_SHADER.h :</p>
  
  <pre><code>bool Render(ID3D11DeviceContext*, int, XMMATRIX, XMMATRIX, XMMATRIX);
  </code></pre>
  
  <p>this is line 40 from S_SHADER.h :</p>
  
  <pre><code>bool SetSHaderParameters(ID3D11DeviceContext*, XMMATRIX, XMMATRIX, XMMATRIX);
  </code></pre>
  
  <p>and this is line 42 from S_SHADER.cpp :</p>
  
  <pre><code>41 - bool S_SHADER::Render(ID3D11DeviceContext* deviceContext, int indexCount, DirectX::XMMATRIX worldMatrix,  DirectX::XMMATRIX viewMatrix, DirectX::XMMATRIX projectionMatrix)
  42 - {
  </code></pre>
  
  <p>actually 41 has all the code and 42 has only the open brackets , anyways what am i doing wrong ?</p>
  
  <p><strong>EDIT :</strong>
  dont think this will help but
  i have a windows 7 64 bit computer with visual studio 2013</p>