Package: speech-tools
Version: 1:1.2.3-9.2libaqbanking
Severity: important
Tags: patch

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

A patch is below.


> Automatic build of speech-tools_1:1.2.3-9.2 on bigsur by sbuild/mips 1.94
...
> g++ -c -g -O3 -fPIC -fno-shared-data -Wall -Wno-non-template-friend 
> -DSUPPORT_EDITLINE -I../include slib.cc
> ../include/EST_String.h: In member function 'void 
> EST_String::make_updatable()':
> ../include/EST_String.h:255: error: no matching function for call to 
> 'make_updatable(EST_ChunkPtr&, int)'
> slib.cc: In function 'void gc_mark_and_sweep()':
> slib.cc:1088: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> make[2]: *** [slib.o] Error 1
[and other, similar errors later on]


--- ./include/ling_class/EST_Item.h~    2006-03-18 20:14:16.000000000 +0000
+++ ./include/ling_class/EST_Item.h     2006-03-18 20:15:33.000000000 +0000
@@ -79,6 +79,9 @@
 
 */
 
+class EST_Item;
+int same_item(const EST_Item *l1,const EST_Item *l2);
+
 class EST_Item 
 {
   private:
--- ./include/EST_String.h~     2006-03-18 20:07:41.000000000 +0000
+++ ./include/EST_String.h      2006-03-18 20:19:41.000000000 +0000
@@ -76,6 +76,11 @@
   * @version $Id: EST_String.h,v 1.2 2001/04/04 13:11:27 awb Exp $
   */
 
+class EST_String;
+EST_String operator + (const EST_String &a, const EST_String &b);
+EST_String operator + (const char *a, const EST_String &b);
+EST_String operator + (const EST_String &a, const char *b);
+
 class EST_String {
 
     /** For better libg++ compatibility. 
--- ./include/EST_Chunk.h~      2006-03-18 20:08:36.000000000 +0000
+++ ./include/EST_Chunk.h       2006-03-18 20:24:59.000000000 +0000
@@ -107,6 +107,15 @@
  /*                                                                      */
  /************************************************************************/
 
+typedef  int EST_chunk_size;
+
+EST_ChunkPtr chunk_allocate(int bytes);
+EST_ChunkPtr chunk_allocate(int bytes, const char *initial, int initial_len);
+EST_ChunkPtr chunk_allocate(int bytes, const EST_ChunkPtr &initial, int 
initial_start, int initial_len);
+
+void make_updatable(EST_ChunkPtr &shared, EST_chunk_size inuse);
+void make_updatable(EST_ChunkPtr &shared);
+
 class EST_Chunk  {
   public:
     typedef  unsigned short use_counter;
--- ./include/EST_Pathname.h~   2006-03-18 20:17:08.000000000 +0000
+++ ./include/EST_Pathname.h    2006-03-18 20:18:06.000000000 +0000
@@ -41,6 +41,11 @@
   * available as methods. Different implementations are provided for 
   * different systems.
   */
+
+class EST_Pathname;
+EST_Pathname operator + (const EST_Pathname p, const EST_Pathname addition);
+EST_Pathname operator + (const char *p, const EST_Pathname addition);
+
 class EST_Pathname : public EST_String {
 
 private:

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to