mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-09 06:31:47 +08:00
Bail out if preprocessor symbol Success is defined (bug #253).
This commit is contained in:
parent
4ecf67f5e4
commit
d9232a96aa
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user