Welcome, Guest
Username: Password: Remember me
CodeTyphon MS Windows (Win7, Win8.x, Win10 and Win11) OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Strange compilation error 1 year 2 months ago #18102

  • Roman
  • Roman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 110
  • Thank you received: 0
From time to time an error occurs in completely innocent code:

 
 

And if you just run the compilation again, the error does not occur again.
Sometimes there is a message about an internal compiler exception, sometimes without this message...
What it is?
Attachments:

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

Last edit: by Roman.

Strange compilation error 1 year 2 months ago #18107

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1132
  • Thank you received: 170
Please, more info for your source
PilotLogic Core Programmer

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

Strange compilation error 9 months 2 weeks ago #18330

  • Roman
  • Roman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 110
  • Thank you received: 0
In version 8 CT, a number of old problems remained, and new ones emerged (perhaps they were already there before, but I noticed them only now):
1. When many (more than 10) module files and *.inc files are open, the IDE sometimes confuses the binding of forms to sources. Those. The tab of a module with a form does not have a shortcut at the bottom for the form editor, but such a shortcut appears for a module without a form.
2. The compiler sometimes aborts compilation with an internal exception message. This most often happens when running with debugging. But if, after this error, you simply build the project, everything will come together, after which you can run it with debugging.
3. The problem I described remains: sometimes compilation unpredictably stops with a strange error, but restarting the project build completes successfully.

Unfortunately, I can’t give specific examples or demonstrate the source code of my project, but believe me, the problems described really exist!

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

Strange compilation error 5 months 4 days ago #18546

  • Roman
  • Roman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 110
  • Thank you received: 0
The latest version of СT is 8.40, all the problems described in the first topic remain. All my projects have a large number of source files, I have not encountered this problem on single-file projects.

Additionally, I discovered that starting with version 8, very often, almost always, when Ctrl-Click on an identifier, a completely different place opens where this identifier is described, but if you immediately repeat the attempt, you get to the right place. This is especially true for definitions made in *.inс files.

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

  • Page:
  • 1