[Lazarus] Warning regarding a source file containing non printed chars

ik idokan at gmail.com
Fri Mar 7 08:50:14 CET 2008

On Thu, 6 Mar 2008 13:16:35 +0200
"Graeme Geldenhuys" <graemeg.lists at gmail.com> wrote:

> On 06/03/2008, Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:
> >
> >  > The problem is that I have two packages that have the same unit
> >  > name, and every time I recompile Lazarus, it complains and I
> >  > have to click 'Ignore All'.  See attached screenshot of the
> >  > error.
> >
> > This message has nothing to do with 'Available Packages'.
> OK, I found the packagefiles.xml file which contains an extensive list
> of available packages. I deleted it from there, including some old
> versions of existing packages which don't exist anymore.
> I rebuilt Lazarus and still got the error. :-)  The duplicate .ppu
> file will still lying around. I now see what you meant. So deleted all
> tiOPF's *.ppu and *.o and rebuilt Lazarus again. This time everything
> went through fine - no errors popped up.

How can the message be improved?
It showed you the full filenames of the offending ppu's. Instead of
checking if these ppu's are supposed to be there, you still thought
that the error was a package that was already uninstalled.

> I still think it would be handy to unregister a package with Lazarus.
> eg: A popup menu on the Available Packages list that says 'unregister'
> and it removes it from the packagfiles.xml file.  Maybe even a
> 'cleanup' option which will look if the package still exists on the
> hard drive and if not, remove it from the packagefiles.xml file.

Good idea.
Please make a feature request.
> I deleted some old and non-existing packages from my .xml file and the
> size went from 17k down to 7k. A lot of junk entries are now removed.


More information about the Lazarus mailing list