texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Qt TeXmacs-1.0.7.7, Qt-4.6.3 compilation error


From: Andrey G. Grozin
Subject: Re: [Texmacs-dev] Qt TeXmacs-1.0.7.7, Qt-4.6.3 compilation error
Date: Wed, 10 Nov 2010 16:41:18 +0600 (NOVT)
User-agent: Alpine 1.10 (LRH 962 2008-03-14)

On Mon, 8 Nov 2010, Gubinelli Massimiliano wrote:
Index: src/Plugins/Imlib2/imlib2.cpp
===================================================================
--- src/Plugins/Imlib2/imlib2.cpp       (revision 3586)
+++ src/Plugins/Imlib2/imlib2.cpp       (working copy)
@@ -15,6 +15,10 @@

#ifdef USE_IMLIB2

+#include <Imlib2.h>
+#include <stdio.h>
+#include <string.h>
+
/******************************************************************************
* Routines used from Imlib2
******************************************************************************/
Index: src/Plugins/Imlib2/imlib2.hpp
===================================================================
--- src/Plugins/Imlib2/imlib2.hpp       (revision 3586)
+++ src/Plugins/Imlib2/imlib2.hpp       (working copy)
@@ -23,10 +23,5 @@
                     double cx1, double cy1, double cx2, double cy2);
#endif

-#ifdef USE_IMLIB2
-#include <Imlib2.h>
-#include <stdio.h>
-#include <string.h>
-#endif // USE_IMLIB2

#endif // IMLIB2_H

Thanks. With this patch, TeXmacs-1.0.7.7 compiles.

When I start it, it segfaults immediately (no messages in the terminal window before segfault). OK, to debug it, I re-compiled it with CXXFLAGS="-O0 -g". And it works! The problem seems to be with my usual CXXFLAGS="-O2 -march=native -pipe". But 99.9% of software compile and run with this usual CXXFLAGS. What's so special about TeXmacs? My gcc is 4.4.5.

Andrey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]