Skip to main content

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:

code:
g++ <stuff> | grep -v <error>
isn't fstream better option?


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs [SOLVED] Discard certain warnings on compile g++


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account