Menu

#61 Mode switch "DELPHI" not allowed here

SVN
closed
nobody
None
5
2022-01-12
2022-01-11
No

Hello Synapse Community

When using the units
blcksock, synautil, synsock, ssl_openssl, ssl_openssl_lib
in my project (from r244) I have the following problem.
compiling with Lazarus (Windows) give the following error:
synafpc.pas(52,4) Error: Mode switch "DELPHI" not allowed here

It is possible to remove line 49 ( {$INCLUDE 'jedi.inc'} ), then the project compiles.

Discussion

  • Geby

    Geby - 2022-01-12
    • status: open --> closed
     
  • Geby

    Geby - 2022-01-12

    It is not posible, becuse jedi.inc is mandatory for all conditionals. I just forgot remove this directove, because it is part of jedi.inc. Not need "mode delphi" here again.

    Fixed in r245. Thanks.

     

Log in to post a comment.

MongoDB Logo MongoDB