Recent

Author Topic: Duplicate jedi.inc warning  (Read 537 times)

cpicanco

  • Hero Member
  • *****
  • Posts: 655
  • Behavioral Scientist and Programmer
    • Portfolio
Duplicate jedi.inc warning
« on: July 16, 2024, 08:47:04 pm »
I know, I know, it is "just" a warning...

I getting this duplicate file warning because SDL2-for-Pascal bindings and Synaser 40.1 package have their own versions of jedi.inc. So, how would you solve this warning?
Be mindful and excellent with each other.
https://github.com/cpicanco/

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11944
  • FPC developer.
Re: Duplicate jedi.inc warning
« Reply #1 on: July 16, 2024, 08:53:43 pm »
Make sure there is only one :-)

In theory you could also compile everything with -Ur, but that can cause problems with automated recompilation

cpicanco

  • Hero Member
  • *****
  • Posts: 655
  • Behavioral Scientist and Programmer
    • Portfolio
Re: Duplicate jedi.inc warning
« Reply #2 on: July 16, 2024, 09:23:27 pm »
Make sure there is only one :-)

That was my first thought too. My first test was simply deleting one of them. And it worked, but then I thought, "Deleting a Jedi will put me on the dark side of the Force." Hence, I don't want to change anything inside the dependencies folder. So, I thought there might be something I could do to control the visibility of each dependency.

In theory you could also compile everything with -Ur, but that can cause problems with automated recompilation

I am still trying to figure out how to use -Ur to solve this problem. Can you elaborate a little bit more (If you think it really worth it going through this path.)
Be mindful and excellent with each other.
https://github.com/cpicanco/

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11944
  • FPC developer.
Re: Duplicate jedi.inc warning
« Reply #3 on: July 16, 2024, 09:32:55 pm »
I am still trying to figure out how to use -Ur to solve this problem. Can you elaborate a little bit more (If you think it really worth it going through this path.)

No I don't think is worth it.  Combine Jedi with Highlander: There can only be one Jedi!

 

TinyPortal © 2005-2018