#define ABC(restriction, setting, Feature) \ if ((restriction)[XY_FTR_##Feature##].AcStatusRestrictions == OFF) \ { \ int Index; \ for (Index = 0; Index < N; ++Index) \ { \ (setting)->EnabledFeatures[POLICY_AC][Index].##Feature## = 0; \ } \ }
ABC(pD->PTable, setting,PSR);
error(clang): pasting formed '.PSR', an invalid preprocessing token [-Winvalid-token-paste]
#define ABC(restriction, setting, Feature) \ if ((restriction)[XY_FTR_##Feature].AcStatusRestrictions == OFF) \ { \ int Index; \ for (Index = 0; Index < N; ++Index) \ { \ (setting)->EnabledFeatures[POLICY_AC][Index].##Feature = 0; \ } \ }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)