Menu

#76 Zeos 7.1-patches does not compile

7.1.2-Stable
closed
None
2014-06-13
2014-06-12
No

Linux Mint 17, Lazarus 1.3 (trunk), fpc 2.6.4
Zeos 7.1-patches branch - the compilation breaks with message:

ZCompatibility.pas(76,44) Error: Duplicate identifier "LCONVENCODING"

Indeed, the same unit LConvEncoding is listed twice in uses list of ZCompatibility - lines 61 and 76 in (zeos_dir)/src/core/ZCompatibility.pas

In Windows this problem doesn't happen, because it is enclosed in {$IFDEF WITH_LCONVENCODING}, which seems to be defined in Linux, but not in Windows.

Discussion

  • Zoran Vučenović

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -3,6 +3,6 @@
    
     ZCompatibility.pas(76,44) Error: Duplicate identifier "LCONVENCODING"
    
    -Indeed, the same unit LConvEncoding is listed twice in uses list of ZCompatibility - lines 61 and 76 in <zeos_dir>/src/core/ZCompatibility.pas
    +Indeed, the same unit LConvEncoding is listed twice in uses list of ZCompatibility - lines 61 and 76 in (zeos_dir)/src/core/ZCompatibility.pas
    
    -In Windows this problem doesn't happen, because it is enclosed in {$IFDEF WITH_LCONVENCODING}, which seems to be defined in Lunux, but not in Windows.
    +In Windows this problem doesn't happen, because it is enclosed in {$IFDEF WITH_LCONVENCODING}, which seems to be defined in Linux, but not in Windows.
    
     
  • Mark Daems

    Mark Daems - 2014-06-12

    Can you check if this is fixed now? Rev 3139.

     
  • Zoran Vučenović

    Yes, fixed now, thank you, Mark.

     
  • Mark Daems

    Mark Daems - 2014-06-13
    • status: open --> closed
    • assigned_to: Mark Daems
     

Log in to post a comment.