How to call a function in a namespace with asm
Posted: Thu Jan 17, 2008 12:23 pm
I've got an header:
a source file:
and an nasm source file:
During the compilation process, nasm exit with:
line 33 (extern idt::undefinedHandler): error: no special symbol features supported here
line 138 (CALL idt::undefinedHandler): error: expression syntax error
How can I call a function in a namespace from an asm file?
Code: Select all
namespace idt {
void undefinedHandler();
};
Code: Select all
void idt::undefindedHandler() {
...
}
Code: Select all
extern idt::undefinedHandler
...
CALL idt::undefinedHandler
...
line 33 (extern idt::undefinedHandler): error: no special symbol features supported here
line 138 (CALL idt::undefinedHandler): error: expression syntax error
How can I call a function in a namespace from an asm file?