Strange bug in FPC 3.0.2 IDE (Developers)
After decades I changed the primary development tool from FPC 1.0.10 into actual version of FPC.
I still can switch info 1.0.10 but as a default compiler and FPC environment I have now 3.0.2.
It is now usably and using it is not pain.
However I very suffer by one bug in IDE which is 100% reproducible but not trivial to strip into minimal example so I hesitate to upload into bug tracker.
So it is why I write it here - maybe somebody helps me.
1) It occurs only if the used units are not all in the same directory but in more directories
2) Lets have this situation
in C:/PAS/PROJECT we have: Main.PAS<--Gui.PAS
.....................................................^
.................................................../
................................................./
.............................................../
in C:/PAS/LIB we have GraphLib.PAS<--Fonts.PAS
3) In GraphLib.PAS we have procedure "LoadFonts" which calls procedure "Dekomprimuj" from Fonts.PAS
NOW IS STILL EVERYTHING ALL RIGHT AND EVERYTHING COMPILES __BUT__
4) I am in directory C:/PAS/PROJECT and in IDE I have loaded Main.PAS.
Still OK.
5) Now I from IDE open also some file from directory C:/PAS/LIB.
Does not matter if it is GraphLib.PAS, Gui.PAS or any other file
AND EVIL THING HAPPEN
6) After loading the file is no longer possible the compilation.
IDE complains that in Fonts.PAS is no prodedure "Dekomprimujs".
What the hell? I have defined the procedure Dekomprimuj, not Dekomprimujs
In my case is the problem always in misunderstanding the names "Dekomprimuj" and "Dekoprimujs". Where the letter "s" comes from?
---
DOS-u-akbar!
Complete thread:
- Strange bug in FPC 3.0.2 IDE - Laaca, 11.10.2017, 22:47 (Developers)
- Strange bug in FPC 3.0.2 IDE - marcov, 12.10.2017, 13:23
- Strange bug in FPC 3.0.2 IDE - Laaca, 31.12.2017, 23:14
- Strange bug in FPC 3.0.2 IDE - marcov, 12.10.2017, 13:23