Other Parts Discussed in Thread: HALCOGEN
Tool/software:
Hello,
I changed the project compiler from ARM v20.2.0.LTS to Clang v4.0.1.LTS. After a lot of problems are resolved, the compiler gives some warnings. Could you suggsest a method to resolve the warnings?
Warning Type 1: "argument unused during compilation" for all asm files. Note: Other project files are compiled without warning. v20.2.0.LTS compiler do not give these warnings.
One of Console Outputs:
Building file: "../Src/sys_core.asm"
Invoking: Arm Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-armllvm_4.0.1.LTS/bin/tiarmclang.exe" -c -march=armv7r -mcpu=cortex-r4 -mfloat-abi=hard -mfpu=vfpv3-d16 -mbig-endian -marm -O0 -I"C:/Users/.../Project_Folder" -I"C:/Users/.../Project_Folder/Src" -I"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-armllvm_4.0.1.LTS/include" -gdwarf-3 -Werror=ti-pragmas -Werror=ti-macros -Werror=ti-intrinsics -fno-short-wchar -fcommon -xti-asm -o"Src/sys_core.o" "../Src/sys_core.asm"
tiarmclang: warning: argument unused during compilation: '-O0' [-Wunused-command-line-argument]
tiarmclang: warning: argument unused during compilation: '-I C:/Users/.../Project_Folder' [-Wunused-command-line-argument]
tiarmclang: warning: argument unused during compilation: '-I C:/Users/.../Project_Folder/Src' [-Wunused-command-line-argument]
tiarmclang: warning: argument unused during compilation: '-I C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-armllvm_4.0.1.LTS/include' [-Wunused-command-line-argument]
tiarmclang: warning: argument unused during compilation: '-gdwarf-3' [-Wunused-command-line-argument]
tiarmclang: warning: argument unused during compilation: '-Werror=ti-pragmas' [-Wunused-command-line-argument]
tiarmclang: warning: argument unused during compilation: '-Werror=ti-macros' [-Wunused-command-line-argument]
tiarmclang: warning: argument unused during compilation: '-Werror=ti-intrinsics' [-Wunused-command-line-argument]
tiarmclang: warning: argument unused during compilation: '-fno-short-wchar' [-Wunused-command-line-argument]
tiarmclang: warning: argument unused during compilation: '-fcommon' [-Wunused-command-line-argument]
Finished building: "../Src/sys_core.asm"
Warning Type 2: warning #10247-D: creating output section ".rodata" without a SECTIONS specification. Note: v20.2.0.LTS compiler do not give these warnings.
Thanks in advance.
Best Regards