|
Hi, I'm trying to compile a library originally written for Delphi with the latest fpc from SVN. I found that the library compiled with fpc 2.0.2 (and compiles also with Delphi) but fails with fpc from SVN. Here's a same code that should generate the problem: library X; procedure P; cdecl; export; begin end; exports P; end. fails with the message: "Asm: Duplicate label P". If I delete the export clause from the procedure declaration then it compiles without problems. This is just a compatibility issue because the export clause is deprecated in Delphi and not needed to have P exported by the library. Thanks, EB |
