Skip to contentSkip to conversation

#asm directives

DISCUSSION Tom McCabe 2 participants 2 messages May 6, 2006 – May 7, 2006

lore
Share & tools
lore

Tom McCabe

author
#0 lore raw

Doing "make dep" creates a flood of "error: invalid preprocessing directive #asm" messages. Apparently, preprocessing is done with GCC (options defined in elks/Makefile-rules)- is there some sort of definition file that has to be included?

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

#1 lore raw
Quoted 6 lines · Tom McCabe

Doing "make dep" creates a flood of "error: invalid preprocessing directive #asm" messages. Apparently, preprocessing is done with GCC (options defined in elks/Makefile-rules)- is there some sort of definition file that has to be included?

Quoted 8 lines

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Sorry, nope. #asm is a preprocessor directive, like #pragma or #define. It just happens to not be one that gpp (GNU PreProcessor) supports

Signature · 2 lines
The real problem with C++ for kernel modules is: the language just sucks.
	-- Linus Torvalds