Bail out if preprocessor symbol Success is defined (bug #253).

This commit is contained in:
Jitse Niesen 2011-05-04 14:28:01 +01:00
parent 4ecf67f5e4
commit d9232a96aa

View File

@ -371,6 +371,10 @@ enum QRPreconditioners {
FullPivHouseholderQRPreconditioner FullPivHouseholderQRPreconditioner
}; };
#ifdef Success
#error The preprocessor symbol 'Success' is defined, possibly by the X11 header file X.h
#endif
/** \ingroups enums /** \ingroups enums
* Enum for reporting the status of a computation. */ * Enum for reporting the status of a computation. */
enum ComputationInfo { enum ComputationInfo {