Hi Dominique, I've attached a small project I developed a while back when we were tracking down bugs in the CUPS printer units. Its doesn't need Printer4Lazarus and it compiles fine with the 20071019 snapshot.
Thanks. -Phil -----Original Message----- From: Dominique Louis [mailto:[EMAIL PROTECTED] Sent: Sun 10/21/2007 7:41 AM To: [email protected] Subject: Re: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot... Hi Jesus et al, I grabbed last night's snapshot and the error still persists. Can someone please explain why I need Printer4Lazarus in my Mac OS X project, especially if I am using Printers and PrinterDlg? Also if I remove the reference to Printer4Lazarus, it still comes up with the same error. As I mentioned earlier, this implies that the carbonprinters_h.inc is being reference elsewhere. Thanks, Dominique. Jesus Reyes wrote: > --- Dominique Louis <[EMAIL PROTECTED]> escribió: > >> Hi all, >> this is possibly a silly error on my part. I have just updated >> to the >> latest snapshot version of Lazarus/FPC. When I try and compile my >> Mac OS >> X project the unit carbonprinters_h.inc is opened and the >> TCarbonPrinter >> class is highlighted and the console window error message is : >> "carbonprinters_h.inc(7,3 Fatal : Syntax Error, 'IMPLEMENTATION' >> expected but identifier TCarbonPrinter found" >> >> this include file is definitely missing an implementation section. >> > > The problem should be fixed in svn. The printer carbon specific > implementation is empty though. > >> Btw, what does {%MainUnit ../osprinters.pp} imply? When I looked in >> that >> directory all I found was osprinters.pas not osprinters.pp. >> > > AFAIK, {%Mainunit *} is a hint for the lazarus codetools to find the > unit that includes the current inc file. Should be fixed by now also. > >> FPC compiler is listed as 2.2.1 and the Lazarus editor is listed as >> >> v0.9.23 beta. >> >> Dominique. > > Jesus Reyes A. _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
<<winmail.dat>>
