1 Reply Latest reply on Nov 29, 2019 10:28 AM by user_1669321

    Disable a specific warning with ARM GCC

    user_1669321

      Hi,

       

      I'd like to disable a single warning that I get in a header file. I have trouble finding it in the GCC documentation. Is there a way to do it?

       

      I'm using the Protothread library, and I get a warning in one of the header files (pt.h). Here's the warning:

       

      "variable 'PT_YIELD_FLAG' set but not used [-Wunused-but-set-variable]"

       

      Thanks,

      Fred