Recent

Author Topic: Illegal Unit name Printers?  (Read 4625 times)

LA.Center

  • Full Member
  • ***
  • Posts: 244
    • LA.Center
Illegal Unit name Printers?
« on: December 13, 2011, 03:47:34 am »
I started to get a "illegal unit name Printers" error, anyone had this before? can't compile anymore on Ubuntu with Laz 0.9.30.2

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Illegal Unit name Printers?
« Reply #1 on: December 13, 2011, 07:12:51 am »
You've got to search either your project or lazarus installation, the error happens when you have a unit file named "printers" (extension doesn't matter), but the corresponding identifier after unit keyword is not "printers".

LA.Center

  • Full Member
  • ***
  • Posts: 244
    • LA.Center
Re: Illegal Unit name Printers?
« Reply #2 on: December 13, 2011, 09:06:12 am »
Thats exactly right, I use Printer4Lazarus, PrinterDlgs which uses the Printers unit, which is s unit under laz/components/printers.

So what is going on, why is this unit illegal?

LA.Center

  • Full Member
  • ***
  • Posts: 244
    • LA.Center
Re: Illegal Unit name Printers?
« Reply #3 on: December 13, 2011, 09:44:11 am »
now it says "illegal unit Calendar", thats so weird, please help I cant compile anymore on linux and macosx.

Am I missing something?

 

TinyPortal © 2005-2018