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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice