texmacs-dev
[Top][All Lists]
Advanced

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

Re: [Texmacs-dev] GCC-3.2 segfault and compilation fixes


From: Igor V. Kovalenko
Subject: Re: [Texmacs-dev] GCC-3.2 segfault and compilation fixes
Date: Thu, 10 Jul 2003 19:53:10 +0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030611

David Allouche wrote:
On Thu, Jul 10, 2003 at 02:35:59PM +0400, Igor V. Kovalenko wrote:

David Allouche wrote:

On Wed, Jul 09, 2003 at 10:31:40AM +0200, David Allouche wrote:

On Wed, Jul 09, 2003 at 10:29:36AM +0400, Igor V. Kovalenko wrote:


-       $(call cxx_incl,$(data_incl),-I$(tmsrc)/include)
+       $(call cxx_incl,$(data_incl) -I$(tmsrc)/include)

This is obviously a correct fix for a typo introduced in 1.0.1.16.

Correction: the _really_ correct fix is using the cxx_incl_sys
function (which does take two parameters) instead of cxx_incl.

Actually I've tried this. My first assumption was _sys part
is missing from name. This doesn't work for some reason during
compilation. Presented fix just works for me.


Weird... I would like if you could reproduce the problem and post the
error log here.


Doing the following with TeXmacs-1.0.1.16:

 $(data_obj): Objects/%.o: %.cpp
-       $(call cxx_incl,$(data_incl),-I$(tmsrc)/include)
+       $(call cxx_incl_sys,$(data_incl),-I$(tmsrc)/include)

dies with:

-----------
g++ -I./System -I./System/Boot -I./System/Classes -I./System/Files 
-I./System/Connect -I./System/Misc -I./Classes/Abstract -I./Cla
sses/Atomic -I./Classes/Compound -I./Data/Drd -I./Data/String -I./Data/Tree 
-I./Data/Convert -I./Guile -I./Resource -I./Window -Wa
ll -Wno-return-type -O3 -fexpensive-optimizations -fno-default-inline 
-fno-inline -fno-rtti -fno-exceptions -c ./Resource/Converte
rs/converter.cpp -o Objects/converter.o
Data/Convert/Connect/connection.cpp:18:21: input.hpp: No such file or directory
Data/Convert/Connect/connection.cpp:45: 'texmacs_input' is used as a type, but
   is not defined as a type.
Data/Convert/Connect/connection.cpp: In constructor
   `connection_rep::connection_rep(string, string, pipe_link)':
Data/Convert/Connect/connection.cpp:64: class `connection_rep' does not have
   any field named `tm_in'
Data/Convert/Connect/connection.cpp: In member function `string
   connection_rep::start()':
Data/Convert/Connect/connection.cpp:71: `tm_in' undeclared (first use this
   function)
Data/Convert/Connect/connection.cpp:71: (Each undeclared identifier is reported
   only once for each function it appears in.)
Data/Convert/Connect/connection.cpp:71: `texmacs_input' undeclared (first use
   this function)
Data/Convert/Connect/connection.cpp: In function `string
   connection_start(string, string, bool)':
Data/Convert/Connect/connection.cpp:183: `struct connection_rep' has no member
   named `tm_in'
Data/Convert/Connect/connection.cpp: In function `void connection_write(string,
   string, tree)':
Data/Convert/Connect/connection.cpp:219: `struct connection_rep' has no member
   named `tm_in'
Data/Convert/Connect/connection.cpp: In function `tree connection_read(string,
   string, int, string)':
Data/Convert/Connect/connection.cpp:240: `struct connection_rep' has no member
   named `tm_in'
Data/Convert/Connect/connection.cpp: In function `tree connection_eval(string,
   string, string)':
Data/Convert/Connect/connection.cpp:334: `struct connection_rep' has no member
   named `tm_in'
Data/Convert/Connect/connection.cpp: In function `void connection_exec(string,
   string, string)':
Data/Convert/Connect/connection.cpp:345: `struct connection_rep' has no member
   named `tm_in'
make[1]: *** [Objects/connection.o] Error 1





reply via email to

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