Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Studio Installation and Setup.
  • Page:
  • 1

TOPIC:

Danger in symdef.pas line 5290? 13 years 7 months ago #921

  • o
  • o's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
Hi everybody.

When compiling CodeTyphon on WinXP, sometimes appears this message, buried under tons of compiler output logs:

symdef.pas(5290,10) Warning: User defined: : this is completely wrong on so many
levels...


It seems that class TImplementedInterface will crash on destroy events unless it is instanced no more than ONE TIME during application lifetime, because it shares the same data between all instances (it just duplicates the pointers to data, not the data itself). Or perhaps the class takes into account that only the last instance should free its resources. Or perhaps its "getcopy" method is never used...

Should we worry about it?

thnx

Please Log in or Create an account to join the conversation.

Last edit: by o.

Re: Danger in symdef.pas line 5290? 13 years 7 months ago #922

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
No Sir
it's freepascal SVN version.
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1