If no build errors are shown at project build, then the warnings likely to be false alarms from the Code Analysis (Codan) feature of CDT editor.
Codan checks for ANSI-C syntax rules; however, compiler dependent expressions, such as inline assembler descriptions or predefined symbols which are not declared in header files, can be warned.
When the build successful,Provided that the build is successful, you can disregard those warnings. Revision of your codes is not necessary.
You could suppress Codan warnings by enclosing inline assembler lines in the #ifndef __CDT_PARSER__ block, as stated in the following FAQ page.