title: Can no longer generate a DLL moving from Windows XP to Windows 7
body: <p>I have some C++ code that, on 32 bit Windows XP, generates a DLL. Porting the project under 64 bit Windows 7, I only get the object files, but no DLL and no error messages.  </p>
  
  <p>Apart from the Windows version, the tools used in the two systems are roughly the same:  </p>
  
  <ul>
  <li>MinGW </li>
  <li>gcc 3.4.5 on WinXP, gcc 4.6.1 on Win7</li>
  <li>CodeBlocks 10.05</li>
  </ul>
  
  <p>The makefiles and CodeBlocks' config files are the same.</p>
  
  <p>The warnings I get from gcc on Windows XP are not relevant.
  These are the warnings I get from gcc on Windows 7, which do not seem to be relevant, either:</p>
  
  <pre><code>S:\include\CThread.h|58|warning: attribute ignored in declaration of 'class DFS::Infrastructure::CThread'|
  S:\include\CThread.h|58|warning: attribute for 'class DFS::Infrastructure::CThread' must follow the 'class' keyword|
  S:\sw\WRXLL\CExcelSpreadsheet.cpp||In member function 'void CExcelSpreadSheet::SetCellFormat()':|
  S:\sw\WRXLL\CExcelSpreadsheet.cpp|641|warning: deprecated conversion from string constant to 'CHAR*'|
  S:\include\CThread.h|58|warning: attribute ignored in declaration of 'class DFS::Infrastructure::CThread'|
  S:\include\CThread.h|58|warning: attribute for 'class DFS::Infrastructure::CThread' must follow the 'class' keyword|
  S:\include\CThread.h|58|warning: attribute ignored in declaration of 'class DFS::Infrastructure::CThread'|
  S:\include\CThread.h|58|warning: attribute for 'class DFS::Infrastructure::CThread' must follow the 'class' keyword|
  S:\sw\WRXLL\FunctionImpl.cpp||In function 'void RetrieveAllRuns()':|
  S:\sw\WRXLL\FunctionImpl.cpp|135|warning: unused variable 'BrakesHeaderFound'|
  S:\include\CThread.h|58|warning: attribute ignored in declaration of 'class DFS::Infrastructure::CThread'|
  S:\include\CThread.h|58|warning: attribute for 'class DFS::Infrastructure::CThread' must follow the 'class' keyword|
  S:\sw\WRXLL\FunctionDef.h|137|warning: missing braces around initializer for 'char [256]'|
  S:\sw\WRXLL\MenuDef.h|58|warning: missing braces around initializer for 'char [255]'|
  S:\sw\WRXLL\MenuDef.h|91|warning: missing braces around initializer for 'char [255]'|
  S:\include\CThread.h|58|warning: attribute ignored in declaration of 'class DFS::Infrastructure::CThread'|
  S:\include\CThread.h|58|warning: attribute for 'class DFS::Infrastructure::CThread' must follow the 'class' keyword|
  S:\sw\WRXLL\main.cpp||In function 'xloper* xlAddInManagerInfo(xloper*)':|
  S:\sw\WRXLL\main.cpp|247|warning: deprecated conversion from string constant to 'char*'|
  ||=== Build finished: 0 errors, 16 warnings ===|
  </code></pre>
  
  <p>What surprises me is that I am given no error at all about the fact that no DLL could have been generated (I did look for it on the whole hard disk, in case it was placed somewhere else).</p>
  
  <p>It is like if the linker was not called at all...</p>
  
  <p>Creating a separate, dummy project on Windows7 I got the DLL. So it is not the tools fault.</p>
  
  <p>Thank you for any hint!</p>