diff --git a/Eigen/src/Core/util/Constants.h b/Eigen/src/Core/util/Constants.h index 2c7a444b7..de7809375 100644 --- a/Eigen/src/Core/util/Constants.h +++ b/Eigen/src/Core/util/Constants.h @@ -367,6 +367,10 @@ enum QRPreconditioners { FullPivHouseholderQRPreconditioner }; +#ifdef Success +#error The preprocessor symbol 'Success' is defined, possibly by the X11 header file X.h +#endif + /** \ingroups enums * Enum for reporting the status of a computation. */ enum ComputationInfo {