Menu
Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
Table of "safe" methods to suppress "unused parameter" warnings?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Javier Lopez, post: 5151581"] (gcc 4.6.3 and 4.7.2 tested, they did the same thing) typeof is a GNU C extension, so enabling c99 disables GNU extensions see [URL]http://gcc.gnu.org/onlinedocs/gcc/Typeof.html[/URL] This goes away if you forward-declare the functions. See above You should be using (void)x regardless the compiler as any of them accept it and can optimize that out. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Table of "safe" methods to suppress "unused parameter" warnings?
Top