Re: [cc65] Another wish: Unsized Arrays in Structures

Date view Thread view Subject view

From: Groepaz (groepaz_at_gmx.net)
Date: 2003-01-28 10:42:03


On Tuesday 28 January 2003 10:30, Ullrich von Bassewitz wrote:
> Hi!
>
> On Sat, Jan 25, 2003 at 12:52:38AM +0100, Christian Krüger wrote:
> > that was what I tried to say: It's Microsoft, but it's very usefull
> > (on 'small machines')!
> > The compatibility issue: It's the same with 'fastcall', very usefull,
> > saves code & cycles, not compatible and so disabled in 'strict ANSI' -
> > so why not having something like that again...? ;-)
>
> __fastcall__ does something that is not doable with standard C. The
> question is if the requested feature is something that cannot be done in
> any way using standard C. If so, then it's comparable to __fastcall__.

i wouldnt rate __fastcall__ "incompatible" in that respect though, since a 
simple "#define __fastcall__" at the top of your program (or even on 
commandline to your compiler) will let you compile this on any 
standard-complient compiler - something that can NOT be done with that array 
thing.

-- 
          ___ ___ .___________________ .___________ _______.
    c=64 /   |   \|   \__    ___/     \ \_   _____/ \      \ [groepaz]
     gb /    '    \   | |    | /  \ /  \ |    __)_  /   |   \ gp32
    cgb \    .    /   | |    |/    '    \|        \/    |    \ psx
     gba \___|_  /|___| |____|\____|__  /_______  /\____|__  / dc
          -----\/-----'---------------\/--------\/---------\/
       http://www.hitmen-console.org    Hitmen WWW Headquarters
       http://fly.to/hitmen-groepaz     my personal playground
       http://rr.c64.org/silversurfer   home of the RR debugger
       ftp.musoftware.de/pub/groepaz    cc65 dump site

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-01-28 10:40:40 CET