Gcc not finding macros?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm not sure if this is a way GCC is reading the file or the way I'm
initializing it. Example follows:

#define SUM( Name, Type, Info, Size, Min, Max, Default, Address ) (E)##Info,
	E SimpleTab[] = {
	TABLE
	};
	E InfoTab[] = {
	SMALL_TABLE
	};
	E SearchTab[] = {
	BIG_TABLE
	};
#undef SUM


The header file compiles perfect. I get the error "pasting ')' and '(' does
not give a valid preprocessing token" Any ideas are greatly appreciated.
-- 
View this message in context: http://www.nabble.com/Gcc-not-finding-macros--tf2827288.html#a7892246
Sent from the gcc - Help mailing list archive at Nabble.com.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux