'used' attribute Appears Ineffective
Hello,
According to the manual , "This attribute, attached to a variable with static storage, means that the variable must be emitted even if it appears that the variable is not referenced."
In the following code, unreferenced_variable is always discarded:
static uint8_t unreferenced_variable __attribute__((used));There's no warning from the compiler.
- Is 'used' supported in principle please?
- Is there a problem with the syntax?
