• EMX

    From Tommi Koivula@2:221/360 to All on Saturday, January 30, 2021 14:37:09

    Hi All,

    Pulled the newest source. Problems with "gcc version 3.3.5 (Bird Build 2014-10-26 18:53 (csd6))" on OS/2.

    ====================================================================== D:\husky\_src\hpt\make>make -f makefile.emx all
    Compiling ../src/link.c
    In file included from ../../huskylib/huskylib/compiler.h:1139,
    from ../../huskylib/huskylib/huskylib.h:34,
    from ../../smapi/smapi/msgapi.h:28,
    from ../src/link.c:58:
    .../../huskylib/huskylib/EMX.h:59:1: warning: "farread" redefined
    In file included from ../src/link.c:51:
    .../../smapi/huskylib/compiler.h:384:1: warning: this is the location of the previous definition
    In file included from ../../huskylib/huskylib/compiler.h:1139,
    from ../../huskylib/huskylib/huskylib.h:34,
    from ../../smapi/smapi/msgapi.h:28,
    from ../src/link.c:58:
    .../../huskylib/huskylib/EMX.h:60:1: warning: "farwrite" redefined
    In file included from ../src/link.c:51:
    .../../smapi/huskylib/compiler.h:385:1: warning: this is the location of the previous definition
    In file included from ../../huskylib/huskylib/compiler.h:1139,
    from ../../huskylib/huskylib/huskylib.h:34,
    from ../../smapi/smapi/msgapi.h:28,
    from ../src/link.c:58:
    .../../huskylib/huskylib/EMX.h:70:1: warning: "mysleep" redefined
    In file included from ../src/link.c:51:
    .../../smapi/huskylib/compiler.h:615:1: warning: this is the location of the previous definition
    .../src/link.c:281:17: warning: extra tokens at end of #else directive .../src/link.c: In function `linkArea':
    .../src/link.c:606: warning: control reaches end of non-void function .../src/link.c:240: warning: `msgsNum' might be used uninitialized in this function
    .../src/link.c: At top level:
    .../src/link.c:607: error: parse error before "else"
    make.exe: *** [link.o] Error 1 ======================================================================

    'Tommi

    --- Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From Michael Dukelsky@2:5020/1042 to Tommi Koivula on Saturday, January 30, 2021 18:18:48
    Hello Tommi,

    Saturday January 30 2021, Tommi Koivula wrote to All:

    Pulled the newest source. Problems with "gcc version 3.3.5 (Bird Build 2014-10-26 18:53 (csd6))" on OS/2.

    Please try this in hpt:

    diff --git a/src/link.c b/src/link.c
    index c085628..d6cd63c 100644
    -+- a/src/link.c
    +++ b/src/link.c
    @@ -278,7 +278,9 @@ int linkArea(s_area * area, int netMail)
    _grow_handles(msgsNum + 20);
    }

    -#else /* EMX */ {
    +#else
    + {
    + /* EMX */
    DosSetMaxFH(msgsNum + 20);
    }
    #endif

    and in huskylib

    diff --git a/huskylib/EMX.h b/huskylib/EMX.h
    index 8d9def8..facec0b 100644
    -+- a/huskylib/EMX.h
    +++ b/huskylib/EMX.h
    @@ -53,11 +53,11 @@
    # define cdecl
    # define pascal
    #if defined (__32BIT__)
    -#define near
    + #define near
    #undef far
    -#define far
    -#define farread(a, b, c) read(a, b, c)
    -#define farwrite(a, b, c) write(a, b, c)
    + #define far
    + #define farread(a, b, c) read(a, b, c)
    + #define farwrite(a, b, c) write(a, b, c)
    #endif

    # define mymkdir(a) mkdir((a), 0)


    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Moscow, Russia (2:5020/1042)
  • From Tommi Koivula@2:221/1 to Michael Dukelsky on Saturday, January 30, 2021 18:11:24

    30 Jan 21 18:18, Michael Dukelsky wrote to Tommi Koivula:

    Saturday January 30 2021, Tommi Koivula wrote to All:

    Pulled the newest source. Problems with "gcc version 3.3.5 (Bird
    Build 2014-10-26 18:53 (csd6))" on OS/2.

    Please try this in hpt:

    Compiles fine now. :)

    Thank You!

    'Tommi

    --- GoldED+/EMX 1.1.5-b20180707
    * Origin: rbb.fidonet.fi (2:221/1)
  • From Michael Dukelsky@2:5020/1042 to Tommi Koivula on Saturday, January 30, 2021 19:29:50
    Hello Tommi,

    Saturday January 30 2021, Tommi Koivula wrote to Michael Dukelsky:

    Pulled the newest source. Problems with "gcc version 3.3.5 (Bird
    Build 2014-10-26 18:53 (csd6))" on OS/2.

    Please try this in hpt:

    Compiles fine now. :)

    OK, then I push it to repository.

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Moscow, Russia (2:5020/1042)