As I understand 2 potential issues could be here
-
‘a’ maynot be visible to the second ‘{ }’ block containing std::cout
-
Asking for extern “C” linkage for a stack variable, implying there is some C code which needs to see this stack variable
------- Original Message -------
Sender : Arji Cotarjicot@gmail.com
Title : [cfe-dev] Why this extern “C” fails ?