1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

compiling c code with g++ option, unable to resolve warnings

Discussion in 'Meet and Greet' started by ashwinksk, Mar 25, 2011.

  1. ashwinksk

    ashwinksk New Member

    Joined:
    Mar 25, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi all,
    I am compiling my code with below mentioned option, i am getting some strange error,

    The warning what i am getting is
    And compiler option which i am using to compile is

    Code:
    g++  -c -g3 -m32 -ansi -fpermissive -pipe  -Wall -Wno-comment -Wcast-align -Wcast-qual
    and the code part is
    can any one tell me how can i solve this warnings :mad:
     

Share This Page