Recent

Author Topic: Identifier not found "__front_type__"  (Read 16871 times)

Almindor

  • Sr. Member
  • ****
  • Posts: 412
    • http://www.astarot.tk
Re: Identifier not found "__front_type__"
« Reply #15 on: March 23, 2009, 05:53:27 pm »
Hmm I guess there's some conflict with 3rd party components then. Might be nice to find out which.

Yeah I'm the main developer of lNet, feel free to email me any questions you might have.

bughunter2

  • Newbie
  • Posts: 1
    • http://purl.org/net/bughunter2
Re: Identifier not found "__front_type__"
« Reply #16 on: December 19, 2011, 11:58:45 pm »
For me, adding '{$MACRO ON}' helped. Like so:

Snippet from 'lsmtp.pp':
Code: [Select]
  { TLSMTPStatusFront }
  {$MACRO ON}
  {$DEFINE __front_type__  :=  TLSMTPStatusRec}
  {$i lcontainersh.inc}
  TLSMTPStatusFront = TLFront;

This is the patch (on Unices, apply with `patch < macro_on.patch`):
Code: [Select]
--- lsmtp.pp.orig 2011-12-19 23:54:01.621044895 +0100
+++ lsmtp.pp 2011-12-19 23:49:24.436040073 +0100
@@ -47,6 +47,7 @@
   end;
   
   { TLSMTPStatusFront }
+  {$MACRO ON}
   {$DEFINE __front_type__  :=  TLSMTPStatusRec}
   {$i lcontainersh.inc}
   TLSMTPStatusFront = TLFront;

 

TinyPortal © 2005-2018