|
From: | Gubinelli Massimiliano |
Subject: | Re: [Texmacs-dev] Qt TeXmacs-1.0.7.7, Qt-4.6.3 compilation error |
Date: | Wed, 10 Nov 2010 12:14:36 +0100 |
On 10 nov. 10, at 11:41, Andrey G. Grozin wrote:
On Mon, 8 Nov 2010, Gubinelli Massimiliano wrote:Index: src/Plugins/Imlib2/imlib2.cpp =================================================================== --- src/Plugins/Imlib2/imlib2.cpp (revision 3586)
[.....]
ude <stdio.h> -#include <string.h> -#endif // USE_IMLIB2 #endif // IMLIB2_HThanks. 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.
I committed the patch. Which is the flag causing troubles? max
[Prev in Thread] | Current Thread | [Next in Thread] |