AnsweredAssumed Answered

Enum declaration

Question asked by Corominas Marc on Jan 22, 2020
Latest reply on Jan 22, 2020 by Edward Karpicz

Dear all,

I am struggling with enum declaration in header file and I want make it global in order to use in two different C files.

 

While if I declare it in main.c there is no problem:

 

 

If I want to move it to derivate.h, some issue arise and I do not know how to make it extern:

 

 

I would appreciate your help.

 

BR,

 

Marc

Outcomes