• Make error in hpt

    From Sean Rima@2:263/1.1 to All on Thursday, March 25, 2021 14:06:48

    Hello everybody!


    Getting this error:

    gcc -Ih -I/usr/local/include -c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC -Wall -DUSE_HPTZIP -DUNIX src/fcommon.c
    gcc -Ih -I/usr/local/include -c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC -Wall -DUSE_HPTZIP -DUNIX src/hpt.c
    gcc -Ih -I/usr/local/include -c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC -Wall -DUSE_HPTZIP -DUNIX src/pktread.c
    gcc -Ih -I/usr/local/include -c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC -Wall -DUSE_HPTZIP -DUNIX src/global.c
    gcc -Ih -I/usr/local/include -c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC -Wall -DUSE_HPTZIP -DUNIX src/toss.c
    src/toss.c: In function ‘putMsgInArea’:
    src/toss.c:325:49: error: lvalue required as unary ‘&’ operand
    &((unsigned int)textLength));
    ^
    make: *** [makefile.inc:28: toss.o] Error 1

    What have I missed

    Sean


    --- GoldED+/OSX 1.1.5-b20180707
    * Origin: A Pointless Point in Connemara (2:263/1.1)
  • From Michael Dukelsky@2:5020/1042 to Sean Rima on Thursday, March 25, 2021 18:08:48
    Hello Sean,

    Thursday March 25 2021, Sean Rima wrote to All:

    -fPIC -Wall -DUSE_HPTZIP -DUNIX src/toss.c src/toss.c: In function ‘putMsgInArea’: src/toss.c:325:49: error: lvalue required as unary ‘&’ operand
    &((unsigned int)textLength));
    ^
    make: *** [makefile.inc:28: toss.o] Error 1

    Fixed.

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Moscow, Russia (2:5020/1042)
  • From Sean Rima@2:222/2 to Michael Dukelsky on Thursday, March 25, 2021 19:34:56
    Michael,

    Hello Sean,
    Thursday March 25 2021, Sean Rima wrote to All:
    -fPIC -Wall -DUSE_HPTZIP -DUNIX src/toss.c src/toss.c: In function
    CputMsgInAreaC: src/toss.c:325:49: error: lvalue required as unary
    C&C operand
    &((unsigned
    int)textLength));
    ^
    make: *** [makefile.inc:28: toss.o] Error 1
    Fixed.

    I accidentally deleted the message on my own system. But thank you

    Sean

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: BCG-Box 4 (2:222/2)