Yaron 60 Posted July 25 I know this is touching on archeology, but Yes, I'm still using Delphi 7 to develop Zoom Player, transitioning is hard. Take this post as semi-comical, I'm not really complaining, just sharing the joy. However, if you can think of something I haven't, that would be cool of you. This issue is pretty much cosmetic, but check this out: https://imgur.com/a/QA1l8iX A warning about return value of a function where the first line of the function sets the return function. Any ideas? I have another amusing case where a unit's source code and debug points don't match, Zoom Player's Options dialog. You're probably thinking to yourself "He's lazy, this is a common issue, he probably pasted some unicode character into the code" or "One of the text lines is using a linux style LF instead of Window's CRLF", but no, I tested for this thoroughly. My suspicion? Zoom Player's options dialog is over 19K lines of code and contains 2279 components. I guess back in the days of 2002, this sort of component use was unexpected. Share this post Link to post
corneliusdavid 251 Posted July 25 (edited) Try exiting Delphi, removing temp files like .dsk, .ddp, .dcu, and others, then restart Delphi and do a build-all. I've found that helps the source/debug line alignments. As for the function value return warning--I dunno! Edited July 25 by corneliusdavid 1 Share this post Link to post
David Heffernan 2454 Posted July 25 Why do you care about the warnings? We know that D7 gets them wrong. Just ignore them. Share this post Link to post
Yaron 60 Posted July 27 On 7/25/2025 at 11:15 PM, David Heffernan said: Why do you care about the warnings? We know that D7 gets them wrong. Just ignore them. I don't really care, I just found it funny in this particular context where the first function line sets the result value and D7 warns it's not set. Share this post Link to post
Yaron 60 Posted July 27 On 7/25/2025 at 4:16 PM, corneliusdavid said: Try exiting Delphi, removing temp files like .dsk, .ddp, .dcu, and others, then restart Delphi and do a build-all. I've found that helps the source/debug line alignments. As for the function value return warning--I dunno! I tried, unfortunately it didn't help. It's actually very strange in how it presents itself, it's not that it's out of sync, it's not showing debug points on the first 7000 lines of code and then the next 12000 lines seem to synch correctly. Share this post Link to post
David Heffernan 2454 Posted July 28 On 7/27/2025 at 1:37 PM, Yaron said: I don't really care, I just found it funny in this particular context where the first function line sets the result value and D7 warns it's not set. OK, given that this was posted in General Help, I just assumed you were looking for help, rather than sharing something humorous. Share this post Link to post
Yaron 60 Posted July 28 I did write "gaffs" and if there was an actual solution that would have been very welcome, but I assumed than there may not be one. I actually didn't find a better forum section to post this. Share this post Link to post