8

warning: type qualifiers ignored on function return type in gcc 4.1.2

view full story
linux-howto

http://stackoverflow.com – I am using gcc 4.1.2 on Linux, and I encountered the following warning: warning: type qualifiers ignored on function return type I tried to use "-Wno-ignored-qualifiers" to get rid of this warning but it seems not supported: cc1: error: unrecognized command line option "-Wno-ignored-qualifiers" Is there a way to disable such warnings in gcc 4.1.2? Thanks a lot. (HowTos)