Recent

Author Topic: Unit Exist twice. Which one is good?  (Read 221 times)

AL

  • Jr. Member
  • **
  • Posts: 95
Unit Exist twice. Which one is good?
« on: January 27, 2020, 07:33:41 pm »
The compiler give me a warning about double ppu.
Which one is good?  How to solve this.
This is when cross-compiling Win10 to Darwin.

Thanks

HINT: using config file C:\Lazarus\fpc\bin\x86_64-win64\fpc.cfg
WARNING: ppu exists twice: C:\Lazarus\fpc\units\x86_64-darwin\univint\Dialogs.ppu, C:\Lazarus\fpc\units\x86_64-darwin\fv\dialogs.ppu
WARNING: ppu exists twice: C:\Lazarus\fpc\units\x86_64-darwin\univint\Menus.ppu, C:\Lazarus\fpc\units\x86_64-darwin\fv\menus.ppu
WARNING: ppu exists twice: C:\Lazarus\fpc\units\x86_64-darwin\fv\dialogs.ppu, C:\Lazarus\lazarus\lcl\units\x86_64-darwin\dialogs.ppu
WARNING: ppu exists twice: C:\Lazarus\fpc\units\x86_64-darwin\fv\menus.ppu, C:\Lazarus\lazarus\lcl\units\x86_64-darwin\menus.ppu
WARNING: ppu exists twice: C:\Lazarus\fpc\units\x86_64-darwin\univint\Controls.ppu, C:\Lazarus\lazarus\lcl\units\x86_64-darwin\controls.ppu
WARNING: ppu exists twice: C:\Lazarus\fpc\units\x86_64-darwin\univint\Dialogs.ppu, C:\Lazarus\lazarus\lcl\units\x86_64-darwin\dialogs.ppu
WARNING: ppu exists twice: C:\Lazarus\fpc\units\x86_64-darwin\univint\Menus.ppu, C:\Lazarus\lazarus\lcl\units\x86_64-darwin\menus.ppu

Laz 2.1.0, fpc 3.3.1, Win10
Laz 2.1.0, fpc3.3.1, Mac OS Mojave running on VMWare

Leledumbo

  • Hero Member
  • *****
  • Posts: 8143
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Unit Exist twice. Which one is good?
« Reply #1 on: January 29, 2020, 07:07:09 am »
fv is Free Vision, they do have colliding unit names with univint package. Unlikely you will be using the former when you code in Lazarus.