AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  C compiler on pSeries

    Posted Fri July 07, 2006 04:45 AM

    Originally posted by: SystemAdmin


    Hi everybody,

    I have a C compiler (C for AIX Compiler, Version 6) on my IBM server (AIX V5.2).
    I would like to know if this complier is ANSI ?
    Can anyone help me ?

    Thanks in advance,
    #AIX-Forum


  • 2.  Re: C compiler on pSeries

    Posted Fri July 07, 2006 06:37 AM

    Originally posted by: SystemAdmin


    Yes, it is.

    using -qlanglvl=ansi will put it in ANSI C98 compliance mode
    #AIX-Forum


  • 3.  Re: C compiler on pSeries

    Posted Fri July 07, 2006 06:39 AM

    Originally posted by: SystemAdmin


    Or even easier, use the c89 alias for the compiler which does this automatically
    :)
    #AIX-Forum


  • 4.  Re: C compiler on pSeries

    Posted Fri July 07, 2006 09:30 AM

    Originally posted by: SystemAdmin


    Ok! That's fine. Thanks a lot!
    #AIX-Forum