mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Bail out if preprocessor symbol Success is defined (bug #253).
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user