|
From: | Andrey G. Grozin |
Subject: | Re: [Texmacs-dev] Qt TeXmacs-1.0.7.7, Qt-4.6.3 compilation error |
Date: | Mon, 8 Nov 2010 20:21:56 +0600 (NOVT) |
User-agent: | Alpine 1.10 (LRH 962 2008-03-14) |
On Mon, 8 Nov 2010, Sam Liddicott wrote:
On 08/11/10 12:35, Andrey G. Grozin wrote:On Mon, 8 Nov 2010, Sam Liddicott wrote:I've been using --enable-qt on linux without problems until recently.Does /usr/inlude/X11/X.h on your system #define CursorShape to be 0?yes#define CursorShape 0 /* largest size that can be displayed */
Then I cannot understand how it was possible to compile image_files.cpp on your system.
It #includes "Imlib2/imlib2.hpp" which #includes <Imlib2.h> which #includes <X11/Xlib.h> which #includes <X11/X.h>.
Now CursorShape is #defined to be 0.Then it #includes "Qt/qt_utilities.hpp" which #includes <QRect> which #includes <QtCore/qsize.h> which #includes <QtCore/qnamespace.h>.
Its line 1220 (and following) is enum CursorShape { ... } which becomes enum 0 { ... }The relevant files have this form at least in TeXmacs-1.0.7.5, 1.0.7.6, 1.0.7.7 (I don't have older sources at hand). And all 3 versions don't compile on my sustem, and should not compile on your system, too. If they compile, there is some miracle which I don't understand.
Andrey
[Prev in Thread] | Current Thread | [Next in Thread] |