This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SES v4.42 + ZigBee SDK 4.0.0 Compiler Warning

I just upgraded to SES 4.42 from 4.30a and I'm getting the following compiler warning for file zigbee_cli_cmd_ado.c "Taking address of packed member of struct zb_af_simple_decs_1_1_s may result in an unaligned pointer value [-Waddress-of-packed-member]

Is this something that I should be concerned about?

Thanks

Parents
  • Hi,

    I don't think this is something to worried about. In general you can see the list of the toolchain used for testing and verification of the examples in the release notes of the SDK. For SDK v.4.0.0 was tested and verified using SES v4.18. The newest version of SES probably have a slightly different compiler so that's why you can see some new warnings that weren't catch before with the older version. I recommend using the same version of SES that was used for the test and verification of the SDK you are working with.

    Best regards,

    Marjeris

Reply
  • Hi,

    I don't think this is something to worried about. In general you can see the list of the toolchain used for testing and verification of the examples in the release notes of the SDK. For SDK v.4.0.0 was tested and verified using SES v4.18. The newest version of SES probably have a slightly different compiler so that's why you can see some new warnings that weren't catch before with the older version. I recommend using the same version of SES that was used for the test and verification of the SDK you are working with.

    Best regards,

    Marjeris

Children
No Data
Related