Recent

Author Topic: {$M } - IDE bug?  (Read 2622 times)

pik33

  • Jr. Member
  • **
  • Posts: 78
{$M } - IDE bug?
« on: November 10, 2014, 05:44:52 pm »
I need some big local tables, so I added at the start of the unit (64-bit version)

{$M 128000000,128000000}

The program compiles and run ok. Then, when I want to add a button, I got error message.

Then I can add this button, but I cannot add a method for it until I remove this $M:

"The component editor of class "TDefaultComponentEditor" has created the error: "Unable to find method. Please fix the error shown in the message window, which is normally below the source editor."

After a method is added I can add the $M again and then compile the program.

Is it a known bug or I have to report it on the bug tracker?
« Last Edit: November 10, 2014, 05:50:12 pm by pik33 »

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: {$M } - IDE bug?
« Reply #1 on: November 10, 2014, 07:02:18 pm »
Probably the codetools are getting confused between {$M+} (for RTTI information production) and the {$M stack, heap} directive.
I suggest you concoct the smallest program you can devise that demonstrates the error you are getting and submit a bug report.

 

TinyPortal © 2005-2018