Re: Why is this not a modifiable lvalue.

Discussion in 'C Programming' started by Martin Ambuhl, Jun 27, 2003.

  1. "David Crayford" <> wrote (28 Jun 2003) in
    news:aTUKa.2045$ / comp.lang.c:

    > I ported some code which compiles ok on my PC using GCC but fails
    > using the mainframe OS/390
    > and z/OS compilers.


    And *my* version of gcc reports
    warning: ISO C forbids use of cast expressions as lvalues

    Apparently you use the appropriate diagnostic level with the
    OS/390 and z/OS compilers, but not with gcc/


    --
    Martin Ambuhl
    Returning soon to the
    Fourth Largest City in America
    Martin Ambuhl, Jun 27, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Simon Biber

    Re: Why is this not a modifiable lvalue.

    Simon Biber, Jun 27, 2003, in forum: C Programming
    Replies:
    0
    Views:
    2,354
    Simon Biber
    Jun 27, 2003
  2. Dan Pop

    Re: Why is this not a modifiable lvalue.

    Dan Pop, Jun 27, 2003, in forum: C Programming
    Replies:
    6
    Views:
    4,916
    Dan Pop
    Jun 30, 2003
  3. Micah Cowan

    Re: Why is this not a modifiable lvalue.

    Micah Cowan, Jun 28, 2003, in forum: C Programming
    Replies:
    1
    Views:
    761
    CBFalconer
    Jun 28, 2003
  4. Mr. SweatyFinger
    Replies:
    2
    Views:
    1,843
    Smokey Grindel
    Dec 2, 2006
  5. Kavya

    lvalue -modifiable and non-modifiable

    Kavya, Nov 6, 2006, in forum: C Programming
    Replies:
    3
    Views:
    436
    Keith Thompson
    Nov 6, 2006
Loading...

Share This Page