Menu

#135 compilation of csl-reduce fails both in Mac OS X Catalina and Windows 10

None
closed
None
5
2021-05-10
2021-05-02
No

The compilation of csl-reduce fails both in Mac OS X Catalina (Xcode 12.4 compilers) and Windows 10 (cygwin 64 compilers) with the following error message

------------------ from cslbuildlog.log ------------------

~/sw/reduce-algebra/5774/trunk/csl/cslbase/cslread.cpp:3059:42: error: use of undeclared identifier 'Addr'
{ cout << "bad synonym stream " << Addr(f1) << "\n";


The problem first appeared in revision 5770 when the procedure 'read_action_synonym' was modified. Revision 5769 compiles without problems.

Related

Bugs: #135

Discussion

  • Arthur Norman

    Arthur Norman - 2021-05-02

    The relevant section should read

     {
    

    if defined CONSERVATIVE && defined DEBUG

         cout << "bad synonym stream " << Addr(f1) << "\n";
         cout << "header = " << std::hex << vechdr(f1) << std::dec << "\n";
         simple_print(stream_type(f));
         simple_print(stream_write_data(f));
    

    endif

         return aerror("bad synonym stream");
     }
    

    and the bit you see in there was debugging code I put in but her - in an
    original checkin that captured it - I had faile dto guard it with the
    proper #ifdef. I had fixed that in my own set of files but had been
    waiting until more changes were stable before doing a checkin, but I have
    now uploaded a version that I hope will treat you better - revision 5777.
    Apologies.

    YOu can perhaps imagine that I had hit that call to aerror and added in a
    bit more code to try to see just what was happening...

    Arthur

    On Sun, 2 May 2021, Marco Ferraris wrote:


    ** [bugs:#135] compilation of csl-reduce fails both in Mac OS X Catalina and Windows 10 **

    Status: open
    Group:
    Created: Sun May 02, 2021 07:00 PM UTC by Marco Ferraris
    Last Updated: Sun May 02, 2021 07:00 PM UTC
    Owner: nobody

    The compilation of csl-reduce fails both in Mac OS X Catalina (Xcode 12.4 compilers) and Windows 10 (cygwin 64 compilers) with the following error message

    ------------------ from cslbuildlog.log ------------------

    ~/sw/reduce-algebra/5774/trunk/csl/cslbase/cslread.cpp:3059:42: error: use of undeclared identifier 'Addr'
    { cout << "bad synonym stream " << Addr(f1) << "\n";


    The problem first appeared in revision 5770 when the procedure 'read_action_synonym' was modified. Revision 5769 compiles without problems.


    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/reduce-algebra/bugs/135/

    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

     

    Related

    Bugs: #135

    • Marco Ferraris

      Marco Ferraris - 2021-05-03

      Hi Arthur,

      the compilation now works fine both in macOS Catalina and Windows 10.

      Best Regards
      Marco

      Il giorno 2 mag 2021, alle ore 22:32, Arthur Norman arthurcnorman@users.sourceforge.net ha scritto:

      The relevant section should read

      {
      if defined CONSERVATIVE && defined DEBUG

       cout << "bad synonym stream " << Addr(f1) << "\n";
       cout << "header = " << std::hex << vechdr(f1) << std::dec << "\n";
       simple_print(stream_type(f));
       simple_print(stream_write_data(f));
      

      endif

       return aerror("bad synonym stream");
      

      }
      and the bit you see in there was debugging code I put in but her - in an
      original checkin that captured it - I had faile dto guard it with the
      proper #ifdef. I had fixed that in my own set of files but had been
      waiting until more changes were stable before doing a checkin, but I have
      now uploaded a version that I hope will treat you better - revision 5777.
      Apologies.

      YOu can perhaps imagine that I had hit that call to aerror and added in a
      bit more code to try to see just what was happening...

      Arthur

      On Sun, 2 May 2021, Marco Ferraris wrote:

      [bugs:#135] https://sourceforge.net/p/reduce-algebra/bugs/135/ compilation of csl-reduce fails both in Mac OS X Catalina and Windows 10

      Status: open
      Group:
      Created: Sun May 02, 2021 07:00 PM UTC by Marco Ferraris
      Last Updated: Sun May 02, 2021 07:00 PM UTC
      Owner: nobody

      The compilation of csl-reduce fails both in Mac OS X Catalina (Xcode 12.4 compilers) and Windows 10 (cygwin 64 compilers) with the following error message

      ------------------ from cslbuildlog.log ------------------

      ~/sw/reduce-algebra/5774/trunk/csl/cslbase/cslread.cpp:3059:42: error: use of undeclared identifier 'Addr'
      { cout << "bad synonym stream " << Addr(f1) << "\n";

      The problem first appeared in revision 5770 when the procedure 'read_action_synonym' was modified. Revision 5769 compiles without problems.

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/reduce-algebra/bugs/135/ https://sourceforge.net/p/reduce-algebra/bugs/135/
      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions/
      [bugs:#135] https://sourceforge.net/p/reduce-algebra/bugs/135/ compilation of csl-reduce fails both in Mac OS X Catalina and Windows 10

      Status: open
      Group:
      Created: Sun May 02, 2021 07:00 PM UTC by Marco Ferraris
      Last Updated: Sun May 02, 2021 07:00 PM UTC
      Owner: nobody

      The compilation of csl-reduce fails both in Mac OS X Catalina (Xcode 12.4 compilers) and Windows 10 (cygwin 64 compilers) with the following error message

      ------------------ from cslbuildlog.log ------------------

      ~/sw/reduce-algebra/5774/trunk/csl/cslbase/cslread.cpp:3059:42: error: use of undeclared identifier 'Addr'
      { cout << "bad synonym stream " << Addr(f1) << "\n";

      The problem first appeared in revision 5770 when the procedure 'read_action_synonym' was modified. Revision 5769 compiles without problems.

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/reduce-algebra/bugs/135/ https://sourceforge.net/p/reduce-algebra/bugs/135/
      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #135

  • Rainer Schöpf

    Rainer Schöpf - 2021-05-10
    • status: open --> closed
    • assigned_to: Arthur Norman
    • Group: -->
     
  • Rainer Schöpf

    Rainer Schöpf - 2021-05-10

    Error corrected in sources.

     

Log in to post a comment.

MongoDB Logo MongoDB