> I haven't been able to figure out a way #if (or any other preprocessor
> shenanigans) would work since preprocessor directives aren't recognized
> in macros (according to the internet) so you can't have an #error in
> there, much less the check that would decide whether or not to use it.
Oh, you're absolutely right.  I guess I was trying to be too clever.
We could try a trick like Boost's StaticAssert.

  Nate
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to