Open kerautret opened 8 years ago
weird..
Is there any other information ? I am even surprised that I include Qt in testSetFunctions !!
it comes from the qmetatype.h which belongs to the QTCore group, here is the qt part mentioned with the "constant expression expected":
But why QT is included after SetFunctions ? And I remember putting operator| into namespace DGtal::functions.
It comes from the common.h ... (due to DrawableWithViewer3D)
(visible in testSetFunction)
C:\Qt\5.4\msvc2013_opengl\include\QtCore/qmetatype.h(907): error C2057: expression constante attendue C:\Qt\5.4\msvc2013_opengl\include\QtCore/qmetatype.h(917): note: voir la référence à l'instanciation de la classe modèle 'QtMetaTypePrivate::CapabilitiesImpl<QList,std::random_access_iterator_tag>' en cours de compilation
C:\Qt\5.4\msvc2013_opengl\include\QtCore/qmetatype.h(988): note: voir la référence à l'instanciation de la classe modèle 'QtMetaTypePrivate::ContainerAPI' en cours de compilation
with
[
T=QVariantList
]
C:\Qt\5.4\msvc2013_opengl\include\QtCore/qvariant.h(714): note: voir la référence à l'instanciation de la fonction modèle 'QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl(const T *)' en cours de compilation
with
[
T=QVariantList
]