Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Strange bug in FPC 3.0.2 IDE (Developers)

posted by Laaca(R) Homepage, Czech republic, 11.10.2017, 22:47

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:

Back to the forum
Board view  Mix view
15188 Postings in 1365 Threads, 250 registered users, 16 users online (0 registered, 16 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum