Difference between revisions of "Known problems of FPC"

From Free Pascal wiki
Jump to navigationJump to search
Line 4: Line 4:
 
*Problemas cuándo el compilador está instalado en en una ruta que contiene '''nombres largos''':
 
*Problemas cuándo el compilador está instalado en en una ruta que contiene '''nombres largos''':
 
:El enlazador GNU (el que utiliza FPC) para DOS y windows no soporta nombres largos, por tanto no instales el compilador en un directorio bajo una ruta que incluya nombres largos y no compiles fuentes que estén ubicadas en rutas semejantes. No obstante lo anterior, la librería en tiempo de ejecución si soporta nombres largos y por tanto los programas compilados podrán hacer uso de ellos. ¡¡Este problema se produce únicamente en la versión DOS y windows!!
 
:El enlazador GNU (el que utiliza FPC) para DOS y windows no soporta nombres largos, por tanto no instales el compilador en un directorio bajo una ruta que incluya nombres largos y no compiles fuentes que estén ubicadas en rutas semejantes. No obstante lo anterior, la librería en tiempo de ejecución si soporta nombres largos y por tanto los programas compilados podrán hacer uso de ellos. ¡¡Este problema se produce únicamente en la versión DOS y windows!!
2.
+
* En modo Delphi, los conjuntos no coinciden en tamaño con los de Delphi. Las enumraciones tiene siempre 4 (0..32 elementos) o 32 octetos ((33..256 elementos).
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.
 
3.
 
Line length of the documentation in plain text format is > 80 characters.
 
Line length of the documentation in plain text format is > 80 characters.
Line 26: Line 24:
 
* Generating shared libraries is not yet supported
 
* 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).
 
* 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).
 +
==Fuente==
 +
[http://www.freepascal.org/probs.html Problemas conocidos]

Revision as of 14:03, 16 June 2008

English (en) Español (es)

Problemas conocidos de FPC

  • Problemas cuándo el compilador está instalado en en una ruta que contiene nombres largos:
El enlazador GNU (el que utiliza FPC) para DOS y windows no soporta nombres largos, por tanto no instales el compilador en un directorio bajo una ruta que incluya nombres largos y no compiles fuentes que estén ubicadas en rutas semejantes. No obstante lo anterior, la librería en tiempo de ejecución si soporta nombres largos y por tanto los programas compilados podrán hacer uso de ellos. ¡¡Este problema se produce únicamente en la versión DOS y windows!!
  • En modo Delphi, los conjuntos no coinciden en tamaño con los de Delphi. Las enumraciones tiene siempre 4 (0..32 elementos) o 32 octetos ((33..256 elementos).

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).

Fuente

Problemas conocidos