Recent

Author Topic: lazbuild + hints and warnings  (Read 1002 times)

Grahame Grieve

  • Full Member
  • ***
  • Posts: 185
lazbuild + hints and warnings
« on: October 08, 2021, 01:59:28 am »
I want to see hints and warnings when I compile my projects in the IDE. but when I build them using lazbuild in a CI build, for example, I just don't want to see them. Is there a way I can see hints and warnings in the IDE but not lazbuild?

dbannon

  • Hero Member
  • *****
  • Posts: 1583
    • tomboy-ng, a rewrite of the classic Tomboy
Re: lazbuild + hints and warnings
« Reply #1 on: October 08, 2021, 02:12:01 am »
What I do Graham, in the IDE, for each project, debug mode has all the warnings displayed, release mode does not. That information is saved in with the project and, normally, when building with Lazbuild, its for release. So, no warnings.

Davo
Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng

Grahame Grieve

  • Full Member
  • ***
  • Posts: 185
Re: lazbuild + hints and warnings
« Reply #2 on: October 08, 2021, 03:08:44 am »
Thanks. I'll think about that but the CI build builds debug versions and runs the tests. I don't know whether the tests pass in release build.

 

TinyPortal © 2005-2018