Thread

  1. The use of macros for heap_getattr.

    Billy G. Allie <bill.allie@mug.org> — 1998-02-09T06:57:54Z

    The compiler I'm using breaks while compiling aclchk.c, in particular, when 
    processing the heap_getattr macro.  Yes, I know that it may compile with gcc 
    (may, because I have not tried it yet), but I would rather not have to rely on 
    gcc.  Would it be possible to include the non-macro version as a static 
    function in the appropiate header file?  This would allow the compiler to 
    in-line the function if it would provide a speed increase.
    
    -- 
    ____       | Billy G. Allie    | Domain....: Bill.Allie@mug.org
    |  /|      | 7436 Hartwell     | Compuserve: 76337,2061
    |-/-|----- | Dearborn, MI 48126| MSN.......: B_G_Allie@email.msn.com
    |/  |LLIE  | (313) 582-1540    | 
    
    
    
    
  2. Re: [HACKERS] The use of macros for heap_getattr.

    Bruce Momjian <maillist@candle.pha.pa.us> — 1998-02-09T15:50:56Z

    > 
    > The compiler I'm using breaks while compiling aclchk.c, in particular, when 
    > processing the heap_getattr macro.  Yes, I know that it may compile with gcc 
    > (may, because I have not tried it yet), but I would rather not have to rely on 
    > gcc.  Would it be possible to include the non-macro version as a static 
    > function in the appropiate header file?  This would allow the compiler to 
    > in-line the function if it would provide a speed increase.
    
    Send me the error, and try and determine what makes it break.  I will
    try to change it so your compiler will work.  I used no gcc-specific
    stuff in there that I know of.  Also, try removing stuff until it
    compiles so I can know what it exactly does not like.
    
    -- 
    Bruce Momjian
    maillist@candle.pha.pa.us