[Bug c/11921] New: two types specified in one empty declaration

tsmitha at hotmail dot com gcc-bugzilla@gcc.gnu.org
Thu Aug 14 13:50:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: two types specified in one empty declaration
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tsmitha at hotmail dot com
                CC: gcc-bugs at gcc dot gnu dot org

Hello,

 I am working on Red Hat 9, the kernel version is 2.4.20-8 and gcc version is 
3.2.2 . I am trying to write a program for using hooks in the kernel. Getting 
the following error in the file hook.h "two types specified in one empty 
declaration" . This error occures at the structure definitions of hook_rec_s 
and hook_head_s. Getting another error while using the HOOK macro. It 
says "called object is not a function". I found an appropriate reply but it 
talks about unsuccessfull "make modules". Is it the only reason for the 
occurence of the error? Please excuse me if have written nonsense. Im just a 
beginner and Im really worried about these errors. Hope there's somebody out 
there who can bail me out of these errors.

Thanking you,
Smitha



More information about the Gcc-bugs mailing list