Warning can be ignored, do you have any problem with run time execution? do you get any run time errors?
In order to ignore the warnings, for example with GCC[https://stackoverflow.com/questions/1452671/disable-all-gcc-warnings] you can disable warning using -wno-xxx which xxx is the warning source.