This is the mail archive of the gcc-help@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]

field 'fucntion_name 'declared as a function


Hi,


I installed gcc version 3.4.4 on my windows XP PC. The problem I am facing is with function declaration. I declared 'indicator_alternator_main' as a fucntion and called it through function pointer. While compiling it is giving error as

indicator_alternator_main.c:117: error: field
`indicator_alternator_main' declared as a function
indicator_alternator_main.c:117: warning: no semicolon at end of struct or union
indicator_alternator_main.c:117: error: parse error before '{' token
indicator_alternator_main.c:128: error: parse error before '->' token

Please help me in resolving this problem.

Regards,
Syam


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