
23 Nov
2006
23 Nov
'06
9:37 a.m.
Martin Wille wrote:
If using an exit code is not viable then we also could do something along this: int main() { std::cout << "<platform_unsupported/>\n"; return EXIT_FAILURE; }
Or static_assert(platform_unupported) or even #error "<platform_unsupported/>"
The trouble is these aren't traditional configure tests, what we really want is "Does this compile, link and run? Yes: OK we have the feature, No: it's not usable." So we can't fix the errors in advance :-( John.