On Sun, 29 Jan 2012 12:31:51 -0200
Antônio <[email protected]> wrote:

> program project1;
> 
> {$mode objfpc}{$H+}
> 
> uses
>   {$IFDEF UNIX}{$IFDEF UseCThreads}
>   cthreads,
>   {$ENDIF}{$ENDIF}
>   Classes
>   { you can add units after this };
> 
> begin
>   WriteLn('Hello World');
>   ReadLn();
> end.
> 
> Any problem? Am I missing something?

Please check Project options / Compiler options / Linking / Target OS
specif options.
Make sure the -WG is not checked.

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to