Missing directives in Firebird.pas
----------------------------------

                 Key: CORE-5765
                 URL: http://tracker.firebirdsql.org/browse/CORE-5765
             Project: Firebird Core
          Issue Type: Bug
          Components: API / Client Library
    Affects Versions: 3.0.3
         Environment: Free pascal Compiler
            Reporter: Tony Whyman
            Priority: Minor


In order to compile and use with FPC, the Firebird.pas file requires the 
following directives to be placed at the top of the file:

{$IFDEF FPC}
{$mode delphi}
{$OBJECTCHECKS OFF}
{$ENDIF}

If mode delphi is not specified then it will not compile unless this mode is 
specified on the command line. 

If Objectchecks off is not specified then if the using program is compiled with 
the -CR debugging switch (Verify object method call validity) then a run-time 
error is reported whenever an attempt is made to call a Firebird 3 API method.

The Firebird.pas file in the source code distribution needs to be updated to 
include the above directives.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to