This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
field 'fucntion_name 'declared as a function
- From: "syam prasad" <nagabhairu dot syam at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 20 Jul 2007 11:18:12 +0530
- Subject: 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