Got an Error while build the Light Bulb Example code

Hey, Varshil here,

I got an error while build the Light Bulb example code of Matter SDK.

When I am builds that code without any changes at that time builds successfully work.

But I added Matter temperature Sensor (0x0302) and in that add On Off cluster and generate in ZAP Generated folder of Light Bulb with the help of ZAP-Tool.

I got a Below Error.

------> Below is the logs of Terminal when I am building Light Bulb Example code.

In file included from C:\ncs\v2.4.0\modules\lib\matter\src\app\util\config.h:31,
                 from C:\ncs\v2.4.0\modules\lib\matter\src\app\util\af.h:23,
                 from C:\ncs\v2.4.0\modules\lib\matter\src\app\util\common.h:21,
                 from C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:18:
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:217:29: error: exponent has no digits
  217 | #define ATTRIBUTE_MAX_SIZE (16ERROR: DeviceTypeList, invalid size, arrayERROR: ServerList, invalid size, arrayERROR: ClientList, invalid size, arrayERROR: PartsList, invalid size, array422224222242)
      |                             ^~~~~~~
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:50:6: note: in expansion of macro 'ATTRIBUTE_MAX_SIZE'
   50 | #if (ATTRIBUTE_MAX_SIZE == 0)
      |      ^~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:217:36: error:  ':' without preceding '?'
  217 | #define ATTRIBUTE_MAX_SIZE (16ERROR: DeviceTypeList, invalid size, arrayERROR: ServerList, invalid size, arrayERROR: ClientList, invalid size, arrayERROR: PartsList, invalid size, array422224222242)
      |                                    ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:50:6: note: in expansion of macro 'ATTRIBUTE_MAX_SIZE'
   50 | #if (ATTRIBUTE_MAX_SIZE == 0)
      |      ^~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:217:29: error: exponent has no digits
  217 | #define ATTRIBUTE_MAX_SIZE (16ERROR: DeviceTypeList, invalid size, arrayERROR: ServerList, invalid size, arrayERROR: ClientList, invalid size, arrayERROR: PartsList, invalid size, array422224222242)
      |                             ^~~~~~~
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:53:31: note: in expansion of macro 'ATTRIBUTE_MAX_SIZE'
   53 | #define ACTUAL_ATTRIBUTE_SIZE ATTRIBUTE_MAX_SIZE
      |                               ^~~~~~~~~~~~~~~~~~
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:56:23: note: in expansion of macro 'ACTUAL_ATTRIBUTE_SIZE'
   56 | uint8_t attributeData[ACTUAL_ATTRIBUTE_SIZE];
      |                       ^~~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:160:22: error: exponent has no digits
  160 |       .clusterSize = 0ERROR: DeviceTypeList, invalid size, arrayERROR: ServerList, invalid size, arrayERROR: ClientList, invalid size, arrayERROR: PartsList, invalid size, array42, \
      |                      ^~~~~~
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:104:54: note: in expansion of macro 'GENERATED_CLUSTERS'
  104 | constexpr const EmberAfCluster generatedClusters[] = GENERATED_CLUSTERS;
      |                                                      ^~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:202:30: error: exponent has no digits
  202 |   { ZAP_CLUSTER_INDEX(0), 5, 160ERROR: DeviceTypeList, invalid size, arrayERROR: ServerList, invalid size, arrayERROR: ClientList, invalid size, arrayERROR: PartsList, invalid size, array421212 }, \
      |                              ^~~~~~~~
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:107:71: note: in expansion of macro 'GENERATED_ENDPOINT_TYPES'
  107 | constexpr const EmberAfEndpointType generatedEmberAfEndpointTypes[] = GENERATED_ENDPOINT_TYPES;
      |                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:217:36: error: expected ')' before ':' token
  217 | #define ATTRIBUTE_MAX_SIZE (16ERROR: DeviceTypeList, invalid size, arrayERROR: ServerList, invalid size, arrayERROR: ClientList, invalid size, arrayERROR: PartsList, invalid size, array422224222242)
      |                            ~       ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:53:31: note: in expansion of macro 'ATTRIBUTE_MAX_SIZE'
   53 | #define ACTUAL_ATTRIBUTE_SIZE ATTRIBUTE_MAX_SIZE
      |                               ^~~~~~~~~~~~~~~~~~
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:56:23: note: in expansion of macro 'ACTUAL_ATTRIBUTE_SIZE'
   56 | uint8_t attributeData[ACTUAL_ATTRIBUTE_SIZE];
      |                       ^~~~~~~~~~~~~~~~~~~~~
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:56:45: error: expected ']' before ';' token
   56 | uint8_t attributeData[ACTUAL_ATTRIBUTE_SIZE];
      |                                             ^
      |                                             ]
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:65:45: error: 'DeviceTypeList' was not declared in this scope; did you mean 'chip::app::Clusters::Descriptor::Attributes::DeviceTypeList'?
   65 |   { ZAP_EMPTY_DEFAULT(), 0x00000000, ERROR: DeviceTypeList, invalid size, array, ZAP_TYPE(ARRAY), 0 }, /* DeviceTypeList */  \
      |                                             ^~~~~~~~~~~~~~
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:65:45: note: maximum limit of 1000 namespaces searched for 'DeviceTypeList'
   65 |   { ZAP_EMPTY_DEFAULT(), 0x00000000, ERROR: DeviceTypeList, invalid size, array, ZAP_TYPE(ARRAY), 0 }, /* DeviceTypeList */  \
      |                                             ^~~~~~~~~~~~~~
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
In file included from C:\ncs\v2.4.0\modules\lib\matter\zzz_generated\app-common\app-common\zap-generated\cluster-objects.h:23,
                 from C:\ncs\v2.4.0\modules\lib\matter\src\include\platform\ConfigurationManager.h:34,
                 from C:\ncs\v2.4.0\modules\lib\matter\src\include\platform\CHIPDeviceLayer.h:27,
                 from C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.h:26,
                 from C:\ncs\v2.4.0\modules\lib\matter\src\app\util\common.h:22:
C:\ncs\v2.4.0\modules\lib\matter\zzz_generated\app-common\app-common\zap-generated\ids\Attributes.h:457:11: note: 'chip::app::Clusters::Descriptor::Attributes::DeviceTypeList' declared here
  457 | namespace DeviceTypeList {
      |           ^~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:65:61: error: 'invalid' was not declared in this scope
   65 |   { ZAP_EMPTY_DEFAULT(), 0x00000000, ERROR: DeviceTypeList, invalid size, array, ZAP_TYPE(ARRAY), 0 }, /* DeviceTypeList */  \
      |                                                             ^~~~~~~
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:65:61: note: maximum limit of 1000 namespaces searched for 'invalid'
   65 |   { ZAP_EMPTY_DEFAULT(), 0x00000000, ERROR: DeviceTypeList, invalid size, array, ZAP_TYPE(ARRAY), 0 }, /* DeviceTypeList */  \
      |                                                             ^~~~~~~
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:65:69: error: expected '}' before 'size'
   65 |   { ZAP_EMPTY_DEFAULT(), 0x00000000, ERROR: DeviceTypeList, invalid size, array, ZAP_TYPE(ARRAY), 0 }, /* DeviceTypeList */  \
      |   ~                                                                 ^~~~
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:65:69: error: expected '}' before 'size'
   65 |   { ZAP_EMPTY_DEFAULT(), 0x00000000, ERROR: DeviceTypeList, invalid size, array, ZAP_TYPE(ARRAY), 0 }, /* DeviceTypeList */  \
      |                                                                     ^~~~
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:51:30: note: to match this '{'
   51 | #define GENERATED_ATTRIBUTES { \
      |                              ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:65:69: error: 'const EmberAfAttributeMetadata' has no non-static data member named 'ERROR'
   65 |   { ZAP_EMPTY_DEFAULT(), 0x00000000, ERROR: DeviceTypeList, invalid size, array, ZAP_TYPE(ARRAY), 0 }, /* DeviceTypeList */  \
      |                                                                     ^~~~
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:65:102: error: expected unqualified-id before ',' token
   65 |   { ZAP_EMPTY_DEFAULT(), 0x00000000, ERROR: DeviceTypeList, invalid size, array, ZAP_TYPE(ARRAY), 0 }, /* DeviceTypeList */  \
      |                                                                                                      ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:66:3: error: expected unqualified-id before '{' token
   66 |   { ZAP_EMPTY_DEFAULT(), 0x00000001, ERROR: ServerList, invalid size, array, ZAP_TYPE(ARRAY), 0 }, /* ServerList */  \
      |   ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:66:98: error: expected unqualified-id before ',' token
   66 |   { ZAP_EMPTY_DEFAULT(), 0x00000001, ERROR: ServerList, invalid size, array, ZAP_TYPE(ARRAY), 0 }, /* ServerList */  \
      |                                                                                                  ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:67:3: error: expected unqualified-id before '{' token
   67 |   { ZAP_EMPTY_DEFAULT(), 0x00000002, ERROR: ClientList, invalid size, array, ZAP_TYPE(ARRAY), 0 }, /* ClientList */  \
      |   ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:67:98: error: expected unqualified-id before ',' token
   67 |   { ZAP_EMPTY_DEFAULT(), 0x00000002, ERROR: ClientList, invalid size, array, ZAP_TYPE(ARRAY), 0 }, /* ClientList */  \
      |                                                                                                  ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:68:3: error: expected unqualified-id before '{' token
   68 |   { ZAP_EMPTY_DEFAULT(), 0x00000003, ERROR: PartsList, invalid size, array, ZAP_TYPE(ARRAY), 0 }, /* PartsList */  \
      |   ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:68:97: error: expected unqualified-id before ',' token
   68 |   { ZAP_EMPTY_DEFAULT(), 0x00000003, ERROR: PartsList, invalid size, array, ZAP_TYPE(ARRAY), 0 }, /* PartsList */  \
      |                                                                                                 ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:69:3: error: expected unqualified-id before '{' token
   69 |   { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */  \
      |   ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:69:66: error: expected unqualified-id before ',' token
   69 |   { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */  \
      |                                                                  ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:70:3: error: expected unqualified-id before '{' token
   70 |   { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */  \
      |   ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:70:64: error: expected unqualified-id before ',' token
   70 |   { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */  \
      |                                                                ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:73:3: error: expected unqualified-id before '{' token
   73 |   { ZAP_EMPTY_DEFAULT(), 0x00000000, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MeasuredValue */  \
      |   ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:73:89: error: expected unqualified-id before ',' token
   73 |   { ZAP_EMPTY_DEFAULT(), 0x00000000, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MeasuredValue */  \
      |                                                                                         ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:74:3: error: expected unqualified-id before '{' token
   74 |   { ZAP_SIMPLE_DEFAULT(0x8000), 0x00000001, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MinMeasuredValue */  \
      |   ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:74:96: error: expected unqualified-id before ',' token
   74 |   { ZAP_SIMPLE_DEFAULT(0x8000), 0x00000001, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MinMeasuredValue */  \
      |                                                                                                ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:75:3: error: expected unqualified-id before '{' token
   75 |   { ZAP_SIMPLE_DEFAULT(0x8000), 0x00000002, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MaxMeasuredValue */  \
      |   ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:75:96: error: expected unqualified-id before ',' token
   75 |   { ZAP_SIMPLE_DEFAULT(0x8000), 0x00000002, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MaxMeasuredValue */  \
      |                                                                                                ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:76:3: error: expected unqualified-id before '{' token
   76 |   { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */  \
      |   ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:76:66: error: expected unqualified-id before ',' token
   76 |   { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */  \
      |                                                                  ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:77:3: error: expected unqualified-id before '{' token
   77 |   { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */  \
      |   ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:77:64: error: expected unqualified-id before ',' token
   77 |   { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */  \
      |                                                                ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:80:3: error: expected unqualified-id before '{' token
   80 |   { ZAP_EMPTY_DEFAULT(), 0x00000000, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MeasuredValue */  \
      |   ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:80:89: error: expected unqualified-id before ',' token
   80 |   { ZAP_EMPTY_DEFAULT(), 0x00000000, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MeasuredValue */  \
      |                                                                                         ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:81:3: error: expected unqualified-id before '{' token
   81 |   { ZAP_EMPTY_DEFAULT(), 0x00000001, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MinMeasuredValue */  \
      |   ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:81:89: error: expected unqualified-id before ',' token
   81 |   { ZAP_EMPTY_DEFAULT(), 0x00000001, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MinMeasuredValue */  \
      |                                                                                         ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:82:3: error: expected unqualified-id before '{' token
   82 |   { ZAP_EMPTY_DEFAULT(), 0x00000002, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MaxMeasuredValue */  \
      |   ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:82:89: error: expected unqualified-id before ',' token
   82 |   { ZAP_EMPTY_DEFAULT(), 0x00000002, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MaxMeasuredValue */  \
      |                                                                                         ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:83:3: error: expected unqualified-id before '{' token
   83 |   { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */  \
      |   ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:83:66: error: expected unqualified-id before ',' token
   83 |   { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */  \
      |                                                                  ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:84:3: error: expected unqualified-id before '{' token
   84 |   { ZAP_SIMPLE_DEFAULT(3), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */  \
      |   ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:84:64: error: expected unqualified-id before ',' token
   84 |   { ZAP_SIMPLE_DEFAULT(3), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */  \
      |                                                                ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:85:1: error: expected unqualified-id before '}' token
   85 | }
      | ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:85:1: error: expected declaration before '}' token
   85 | }
      | ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:101:66: note: in expansion of macro 'GENERATED_ATTRIBUTES'
  101 | constexpr const EmberAfAttributeMetadata generatedAttributes[] = GENERATED_ATTRIBUTES;
      |                                                                  ^~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:160:28: error: expected '}' before ':' token
  160 |       .clusterSize = 0ERROR: DeviceTypeList, invalid size, arrayERROR: ServerList, invalid size, arrayERROR: ClientList, invalid size, arrayERROR: PartsList, invalid size, array42, \
      |                            ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:104:54: note: in expansion of macro 'GENERATED_CLUSTERS'
  104 | constexpr const EmberAfCluster generatedClusters[] = GENERATED_CLUSTERS;
      |                                                      ^~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:155:3: note: to match this '{'
  155 |   { \
      |   ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:104:54: note: in expansion of macro 'GENERATED_CLUSTERS'
  104 | constexpr const EmberAfCluster generatedClusters[] = GENERATED_CLUSTERS;
      |                                                      ^~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:160:28: error: expected '}' before ':' token
  160 |       .clusterSize = 0ERROR: DeviceTypeList, invalid size, arrayERROR: ServerList, invalid size, arrayERROR: ClientList, invalid size, arrayERROR: PartsList, invalid size, array42, \
      |                            ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:104:54: note: in expansion of macro 'GENERATED_CLUSTERS'
  104 | constexpr const EmberAfCluster generatedClusters[] = GENERATED_CLUSTERS;
      |                                                      ^~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:128:28: note: to match this '{'
  128 | #define GENERATED_CLUSTERS { \
      |                            ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:104:54: note: in expansion of macro 'GENERATED_CLUSTERS'
  104 | constexpr const EmberAfCluster generatedClusters[] = GENERATED_CLUSTERS;
      |                                                      ^~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:167:5: error: expected declaration before '}' token
  167 |     },\
      |     ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:104:54: note: in expansion of macro 'GENERATED_CLUSTERS'
  104 | constexpr const EmberAfCluster generatedClusters[] = GENERATED_CLUSTERS;
      |                                                      ^~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:167:6: error: expected unqualified-id before ',' token
  167 |     },\
      |      ^~
  168 |   { \
      |       
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:167:6: note: in definition of macro 'GENERATED_CLUSTERS'
  167 |     },\
      |      ^~
  168 |   { \
      |       
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:168:3: error: expected unqualified-id before '{' token
  168 |   { \
      |   ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:104:54: note: in expansion of macro 'GENERATED_CLUSTERS'
  104 | constexpr const EmberAfCluster generatedClusters[] = GENERATED_CLUSTERS;
      |                                                      ^~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:180:6: error: expected unqualified-id before ',' token
  180 |     },\
      |      ^~
  181 |   { \
      |       
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:180:6: note: in definition of macro 'GENERATED_CLUSTERS'
  180 |     },\
      |      ^~
  181 |   { \
      |       
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:181:3: error: expected unqualified-id before '{' token
  181 |   { \
      |   ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:104:54: note: in expansion of macro 'GENERATED_CLUSTERS'
  104 | constexpr const EmberAfCluster generatedClusters[] = GENERATED_CLUSTERS;
      |                                                      ^~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:193:6: error: expected unqualified-id before ',' token
  193 |     },\
      |      ^~
  194 | }
      |       
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:193:6: note: in definition of macro 'GENERATED_CLUSTERS'
  193 |     },\
      |      ^~
  194 | }
      |       
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:194:1: error: expected unqualified-id before '}' token
  194 | }
      | ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:104:54: note: in expansion of macro 'GENERATED_CLUSTERS'
  104 | constexpr const EmberAfCluster generatedClusters[] = GENERATED_CLUSTERS;
      |                                                      ^~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:194:1: error: expected declaration before '}' token
  194 | }
      | ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:104:54: note: in expansion of macro 'GENERATED_CLUSTERS'
  104 | constexpr const EmberAfCluster generatedClusters[] = GENERATED_CLUSTERS;
      |                                                      ^~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:202:38: error: expected '}' before ':' token
  202 |   { ZAP_CLUSTER_INDEX(0), 5, 160ERROR: DeviceTypeList, invalid size, arrayERROR: ServerList, invalid size, arrayERROR: ClientList, invalid size, arrayERROR: PartsList, invalid size, array421212 }, \
      |   ~                                  ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:107:71: note: in expansion of macro 'GENERATED_ENDPOINT_TYPES'
  107 | constexpr const EmberAfEndpointType generatedEmberAfEndpointTypes[] = GENERATED_ENDPOINT_TYPES;
      |                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:202:38: error: expected '}' before ':' token
  202 |   { ZAP_CLUSTER_INDEX(0), 5, 160ERROR: DeviceTypeList, invalid size, arrayERROR: ServerList, invalid size, arrayERROR: ClientList, invalid size, arrayERROR: PartsList, invalid size, array421212 }, \
      |                                      ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:107:71: note: in expansion of macro 'GENERATED_ENDPOINT_TYPES'
  107 | constexpr const EmberAfEndpointType generatedEmberAfEndpointTypes[] = GENERATED_ENDPOINT_TYPES;
      |                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:201:34: note: to match this '{'
  201 | #define GENERATED_ENDPOINT_TYPES { \
      |                                  ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:107:71: note: in expansion of macro 'GENERATED_ENDPOINT_TYPES'
  107 | constexpr const EmberAfEndpointType generatedEmberAfEndpointTypes[] = GENERATED_ENDPOINT_TYPES;
      |                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:202:195: error: expected declaration before '}' token
  202 |   { ZAP_CLUSTER_INDEX(0), 5, 160ERROR: DeviceTypeList, invalid size, arrayERROR: ServerList, invalid size, arrayERROR: ClientList, invalid size, arrayERROR: PartsList, invalid size, array421212 }, \
      |                                                                                                                                                                                                   ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:107:71: note: in expansion of macro 'GENERATED_ENDPOINT_TYPES'
  107 | constexpr const EmberAfEndpointType generatedEmberAfEndpointTypes[] = GENERATED_ENDPOINT_TYPES;
      |                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:202:196: error: expected unqualified-id before ',' token
  202 |   { ZAP_CLUSTER_INDEX(0), 5, 160ERROR: DeviceTypeList, invalid size, arrayERROR: ServerList, invalid size, arrayERROR: ClientList, invalid size, arrayERROR: PartsList, invalid size, array421212 }, \
      |                                                                                                                                                                                                    ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:107:71: note: in expansion of macro 'GENERATED_ENDPOINT_TYPES'
  107 | constexpr const EmberAfEndpointType generatedEmberAfEndpointTypes[] = GENERATED_ENDPOINT_TYPES;
      |                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:203:1: error: expected unqualified-id before '}' token
  203 | }
      | ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:107:71: note: in expansion of macro 'GENERATED_ENDPOINT_TYPES'
  107 | constexpr const EmberAfEndpointType generatedEmberAfEndpointTypes[] = GENERATED_ENDPOINT_TYPES;
      |                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~
c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:203:1: error: expected declaration before '}' token
  203 | }
      | ^
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:107:71: note: in expansion of macro 'GENERATED_ENDPOINT_TYPES'
  107 | constexpr const EmberAfEndpointType generatedEmberAfEndpointTypes[] = GENERATED_ENDPOINT_TYPES;
      |                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~
C:\ncs\v2.4.0\modules\lib\matter\src\app\util\attribute-storage.cpp:122:1: error: expected declaration before '}' token
  122 | } // anonymous namespace
      | ^
[698/742] Building CXX object CMakeFiles/app.dir/C_/ncs/v2.4.0/modules/lib/matter/src/app/util/attribute-table.cpp.obj
[699/742] Building CXX object CMakeFiles/app.dir/C_/ncs/v2.4.0/modules/lib/matter/src/app/server/CommissioningWindowManager.cpp.obj
[700/742] Building CXX object CMakeFiles/app.dir/C_/ncs/v2.4.0/modules/lib/matter/src/app/util/ember-print.cpp.obj
[701/742] Building CXX object CMakeFiles/app.dir/C_/ncs/v2.4.0/modules/lib/matter/src/app/util/util.cpp.obj
[702/742] Building CXX object CMakeFiles/app.dir/C_/ncs/v2.4.0/modules/lib/matter/src/app/util/DataModelHandler.cpp.obj
[703/742] Building CXX object CMakeFiles/app.dir/C_/ncs/v2.4.0/modules/lib/matter/src/app/util/message.cpp.obj
[704/742] Building CXX object CMakeFiles/app.dir/C_/ncs/v2.4.0/modules/lib/matter/src/app/util/generic-callback-stubs.cpp.obj
[705/742] Building CXX object CMakeFiles/app.dir/C_/ncs/v2.4.0/modules/lib/matter/src/app/util/ember-compatibility-functions.cpp.obj
[706/742] Building CXX object CMakeFiles/app.dir/C_/ncs/v2.4.0/modules/lib/matter/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.cpp.obj
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\31f4403e35\opt\bin\cmake.EXE' --build 'c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\MatterFinalBuild'

Please urgently need to solve this issue and your little bit of help will be very appreciated.

Thank You,

Varshil

Parents Reply
  • I'm running into a similar issue, and I have some additional context that may be of value. If you look in  's output, at the top it shows this error:


    c:\ncs\v2.4.0\nrf\samples\matter\DHT11_Matter_Varshil\src\zap-generated\endpoint_config.h:217:29: error: exponent has no digits
      217 | #define ATTRIBUTE_MAX_SIZE (16ERROR: DeviceTypeList, invalid size, arrayERROR: ServerList, invalid size, arrayERROR: ClientList, invalid size, arrayERROR: PartsList, invalid size, array422224222242)
          |    


    Looking in my code, where I have that define, I have something similar. Comparing that to  's file we see:

    // Total size of attribute storage
    #define ATTRIBUTE_MAX_SIZE (197)
    

    In fact, in my file I see other files with this those kinds of ERROR texts. I assume that's why it's not building, but I'm not sure why those are there. I've been having issues getting the zap tool to work on my Mac, so I added the clusters using my windows PC. Then, instead of using the python command like it suggests, I clicked the "Generate" button.

    For the both of you, what operating systems are you on, and did you use the python script to generate the files?

Children
Related