siemens / CtrlppCheck

GNU General Public License v3.0
14 stars 11 forks source link

Const dyn_int #63

Closed maxChevSOL closed 1 year ago

maxChevSOL commented 1 year ago

Describe the bug The program either does not recognize the ability to make local array const, or it does print the false error message, when the contents of the dyn_int are constants that are defined in another file, that it cannot link.

To Reproduce Steps to reproduce the behavior:

  1. Open any library/script. Define a const dyn_int and a dyn_int with constants within it, that are declared in another file.
  2. Run Ctrlpp Check
  3. Click on the Error Tab. There will be two warning. in the first case because of the const qualifier, in the second case because of the unrecognized constants.

Expected behavior Defining a dyn_int as const should be allowed. If a constant goes unrecognized by the program and belongs to a dyn_int, the warning message should be very clear about the real cause of the error and distinct from the first case (const dyn_int).

dhoegerlETM commented 1 year ago

Duplicate with #5