Hi Alex,
A function add "static" can only used in the definition source file , can't detected on other files.
So there is warning that in AD1.h and AD2.h.
And I was just wondering , why statement it in header files? Do you want to use it in other files?
If yes, please delete "static".
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------