#pragma for defined class

Wesley Smith wesley.hoke@gmail.com
Wed Sep 6 18:28:00 GMT 2006

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

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


More information about the Gcc-help mailing list