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 c/11921] New: two types specified in one empty declaration


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


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