How to remove an Assembler message (warning) in inlined ASM using GCC
Posted on 2003-11-10
I am writing some codes which interface to x86 ASM subroutines from withing C++ source files. The interface in the C++ source files is in C++. The inline sequence has the purpose of calling a function based on a function-pointer technique used in the C++ language. THe program runs well and I am satisfied with the code-technical aspects of the solution. However, there are some unwanted assembler warnings issued by the compiler.
The following message text is issued:
Assembler Messages: Warning: indirect call without '*'
This warning pops up at each usage of the inline sequence.
What does this warning mean? Is it really harmless, as I assume? How can I find any ways to eliminate this warning?
Thank you very much.