Known problems of FPC

From Free Pascal wiki
Jump to navigationJump to search

English (en) Español (es)

Problemas conocidos de FPC

Problemas cuándo el compilador está intalado en euna ruta que contiene nombres largos con espacios:
     The GNU Linker (which is used by FPC) for DOS and Windows doesn't support long file names so don't install the compiler in a directory which requires a long file name nor try to compiler sources in a directory with a long file name. Nevertheless the FPC run time library supports long file names so your programs compiled by FPC will support long file names. This problem applies only to the DOS and Windows version!!
  2.
     In Delphi mode, sets don't match the size of the real Delphi.
     Sets are always 4 (0..32 elements) or 32 bytes (33..256 elements).
  3.
     Line length of the documentation in plain text format is > 80 characters.
  4.
     The following Delphi functionality is as of yet not implemented:
         * Display interfaces (dispinterface) and the dispip index modifier
         * Packages and sharemem, and related DLL functionality
         * delegation with the implements keyword
         * The register calling convention pushes the arguments in the wrong order on the stack (the params left after the registers are filled)
  5.
     The tool which is used to create the plain text documentation from the TeX sources isn't able to create files with a max. line length of 80 chars.
  6.
     Known incompabilities with Delphi
         * Due to use of an external linker and out of multiplatform concerns, it is not possible to declare a function in an interface of an unit, and redeclare it as external in the implemention. An external function must be fully defined by the interface, and the interface only.
  7.
     Known bugs specific to Darwin/Mac OS X and Classic Mac OS
         * Passing floating point parameters to C routines with elipsis parameters (such as printf) does not yet work for the AIX ABI (which is used by all of the above OS'es).
         * Passing records by value to C routines does not yet work for records whose size is different from 1, 2 and 4 bytes.
         * Generating shared libraries is not yet supported
         * The currency type has some problems with values close to the upper and lower limits (because the double type is used for some conversions, whose precision is too small in those cases). 

Copyright Free Pa