With the new Phobos library shipped with 0.178 scope is already used as a function. I changed the scope variables and parameters to pagesscope in the following files: custom/styledtext.d printing/printerdata.d printing/printdialog.d All seems to work fine again now! Regards, Sjoerd