diff options
author | 2011-05-04 14:28:45 +0100 | |
---|---|---|
committer | 2011-05-04 14:28:45 +0100 | |
commit | 012419166e32a83798db3424462c1b36db4c7807 (patch) | |
tree | 9a71c52064a9d66a9e1c1f74dc06443aca8d66f7 /Eigen/src | |
parent | 781e75cbd74a5a2e4f5bd816589e9847013e36ec (diff) |
Bail out if preprocessor symbol Success is defined (bug #253).
Diffstat (limited to 'Eigen/src')
-rw-r--r-- | Eigen/src/Core/util/Constants.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 { |