This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/27525] New: none of the tokens is a parameter I have given (should give warning?)


#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.


-- 
           Summary: none of the tokens is a parameter I have given (should
                    give warning?)
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: de_lupus at pandora dot be


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27525


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]