bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] svn 863 make warning/error


From: enztec
Subject: Re: [Bug-apl] svn 863 make warning/error
Date: Tue, 31 Jan 2017 15:28:29 -0700

Symbol.cc: In constructor 'Symbol::Symbol(ID::Id)':
Symbol.cc:53: error: no match for call to '(UCS_string) (const UCS_string&)'
make[3]: *** [apl-Symbol.o] Error 1


On Tue, 31 Jan 2017 23:16:47 +0100
Juergen Sauermann <address@hidden> wrote:

> Hi,
> 
> interestingly that file is OK. Can you please do one more test for today (it's
> getting late here and I will continue tomorrow):
> 
> 1. in Id.cc at line 78:
> -----------------------------
> 
> const UCS_string &
> ID::get_name(Id id)
> {
> const void * result =
>     bsearch(&id, id2ucs, sizeof(id2ucs) / sizeof(Id_name),
>             sizeof(Id_name), Id_name::compare);
> 
>    Assert(result);          // ← new line
>    if (result == 0)   return id2ucs[0].ucs_name;
>    return ((const Id_name *)result)->ucs_name;
> }
> 
> 2. and at Symbol.cc line 43:
> ---------------------------------------
> 
> Symbol::Symbol(ID::Id id)
>    : NamedObject(id),
>      next(0),
>      name(ID::get_name(id)),
>      monitor_callback(0)
> {
> Q(name)
> Q(name(ID::get_name(id)))   // ← new line
> Q(name.size())              // ← another new line
>    push();
> }
> 
> /// Jürgen
> 
> 
> On 01/31/2017 10:59 PM, address@hidden wrote:
> 
> attached
> 
> 
> On Tue, 31 Jan 2017 22:52:48 +0100
> Juergen Sauermann <address@hidden> wrote:
> 
> apl-Id.o
> 



reply via email to

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