On 30/04/2011 01:57, Antônio wrote: >> Check in the "project options" linking: The option "-WG" should *not* be checked. > Solved, thanks. By default the switch is maintained correctly by Lazarus. But as soon as you checked "use this compiler options as default for new projects" (while the switch was on), it will always be on, even for new console apps.