It looks like you are using the branch master of GDC. To use gcc 4.7.1 you should use the branch gdc-4.7. You can download it here: https://github.com/D-Programming-GDC/GDC/tree/gdc-4.7 Or clone it with: git clone -b gdc-4.7 git://github.com/D-Programming-GDC/GDC.git The master branch of GDC only works with recent gcc 4.8 snapshots.