Bug 27525 - none of the tokens is a parameter I have given (should give warning?)
Summary: none of the tokens is a parameter I have given (should give warning?)
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: preprocessor (show other bugs)
Version: unknown
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-09 19:25 UTC by Kristof Vansant
Modified: 2006-05-09 19:27 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kristof Vansant 2006-05-09 19:25:57 UTC
#define GCONF_IS_EDITOR_WINDOW_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((obj), GCONF_TYPE_EDITOR_WINDOW))

is it possible to detect a programming error like this?

precompiler could detect that klass is nowhere used and give an warning.
Comment 1 Andrew Pinski 2006-05-09 19:27:35 UTC
No there is no way and should be no way really.  This is what debugging is about, fixing your own problems.