#pragma for defined class

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

 



Hi,
I'm having some issues with a setup with alot of include files in a
C++ project.  In trying to debug it, I want to try and print out
whether or not classes have been defined in header files yet.

Here's the idea:


class Point
{

};


#ifndef Point
	#error Point
#endif


clearly this doesn't work, becaus ePoint is a class and not a #define.
Is there a command that can pick up on whether a class has been
defined?

thanks,
wes

[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