On 2012-08-30 21:00, Steven Schveighoffer wrote:

I don't think the problem is solvable with CPP, because it's not always
possible to know how it's included.

For example, if I have a file x.h which does:

#ifdef A
#define B
#endif

And I edit x.h, how does it know the original source file which includes
x.h does or doesn't define A before including x.h?  That is the issue I
was having.

Oh, yeah, that would be a bit complicated :)

--
/Jacob Carlborg

Reply via email to