[Lazarus] Application refuses to create console in Win32

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon Aug 3 19:39:34 CEST 2009


Zitat von Graeme Geldenhuys <graemeg at opensoft.homeip.net>:

> Hi,
>
> Last night I found something string with Lazarus 0.9.27. I compile  
> or 'build all' my project. Lazarus reports that the project compiled  
> successfully, yet the project wasn't compiled.
>
> I even added a compiler error in my code and did a build all and yet  
> Lazarus still said everything compiled successfully. And yes, all  
> required files (including the one I was editing) are in the Project  
> Inspector - added to the project.
>
> Strangely enough, other projects compiled just fine and reported  
> compiler errors when I created them. It was only this one project  
> that was giving me grief! :-(
>
> In the end I found the problem. In "Project > Compiler Options >  
> Compilation tab" all the checkboxes were unchecked. Checking  
> "Compile", "Build" and "Run" in all three categories, and then my  
> project truly compiled as expected. Problem solved! :-)
>
> But what is the point of being able to uncheck all those options in  
> the Compilation tab, and then Lazarus falsely reporting that  
> everything compiled successfully?
>
> I think Lazarus should rather report something different in the  
> message window, or not allow the user to check all the checkboxes in  
> the Compilation tab.
>
> Your thoughts?

I added a warning.

Mattias






More information about the Lazarus mailing list