SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: rowbearto on June 10, 2021, 08:35:08 pm

Title: push-tag-filter-overloads is filtering something it shouldn't
Post by: rowbearto on June 10, 2021, 08:35:08 pm
Look on support for tagissue.tgz

2 issues:

1) push-tag-filter-overloads is filtering something it shouldn't
2) push-tag and push-tag-filter-overloads is picking up a #define that shouldn't be there because it is in an #ifdef where something isn't defined

EDIT: I found if I add to my unxcpp.h file:

#undef portUSING_MPU_WRAPPERS

That both issues #1 and #2 are solved.

I don't understand why adding that #undef is necessary to solve #1.

For #2, I suppose if I don't put a #define into unxcpp.h then you don't know if it is defined or undefined so you consider everything inside of #if statements as tagable. So this seems a reasonable explanation for #2.

But I don't understand why I needed to #undef to solve #1.
Title: Re: push-tag-filter-overloads is filtering something it shouldn't
Post by: Dennis on June 11, 2021, 02:45:21 pm
Your analysis of #2 is correct.  I'll get your sample and look into what is happening with case #1.