Zitat von Graeme Geldenhuys <[email protected]>:

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



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

Reply via email to