[M3devel] Utypes.asLong / Utypes.assignOffT

Neels Janosch Hofmeyr neels at elego.de
Mon Jan 28 14:40:12 CET 2008


Hi,

after some problems have been resolved, I still cannot figure out these 
errors:

===> suplib
--- building in LINUXLIBC6 ---

new source -> compiling StatBufOffT64.m3
"../src/StatBufOffT64.m3", line 40: unknown qualification '.' (asLong)
"../src/StatBufOffT64.m3", line 45: unknown qualification '.' (assignOffT)

They are trying to access the procedures
  Utypes.asLong
  Utypes.assignOffT

Apparently, Utypes.asLong(..) can simply be replaced by ORD(..). Is this 
correct??

Concerning assignOffT, the commit log speaks of a function called
    PROCEDURE expandAssign(VAR dest: off_t; src: long)
, but this function does not exist anywhere in the cm3 source tree (grep 
-r expandAssign yielded no results).


How do I fix this line in suplib/src/StatBufOffT64.m3 (ll.43-46)?

PROCEDURE SetStatSize(VAR st: struct_stat; size: CARDINAL) =
  BEGIN
    Utypes.assignOffT(st.st_size, size);
  END SetStatSize;

"../src/StatBufOffT64.m3", line 45: unknown qualification '.' (assignOffT)


Thanks

-- 
Neels Janosch Hofmeyr
Software Developer

neels at elego.de
Public Key: http://binarchy.net/neels/neels.hofmeyr.public.key.asc

elego Software Solutions GmbH           http://www.elegosoft.com
Gustav-Meyer-Allee 25, Gebäude 12       HRB 77719
13355 Berlin, Germany                   Amtsgericht Charlottenburg
Tel.: +49 30 23 45 86 96                Sitz der Gesellschaft: Berlin
Fax:  +49 30 23 45 86 95                Geschäftsführer: Olaf Wagner


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20080128/4fb88e8d/attachment-0001.sig>


More information about the M3devel mailing list