Thread: Discard certain warnings on compile g++
i have been programming in c++, , have been reading files. unfortunately, every read command give it, gives me warning "ignoring return value of 'int fscanf'"...
has worked fine, discard particular warnings (ie. not print them out upon compile).
wondering if there way change settings g++ ignore particular warning.
if not, possible pipe grep -v option (inverse) don't display lines?
i imagine can block that, but:
isn't fstream better option?code:g++ <stuff> | grep -v <error>
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs [SOLVED] Discard certain warnings on compile g++
Ubuntu
Comments
Post a Comment