public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* While Compilation getting error as expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘extern’
@ 2008-08-04  7:14 prabhat_singh
  2008-08-04  8:01 ` Ankur Maheshwari
  0 siblings, 1 reply; 3+ messages in thread
From: prabhat_singh @ 2008-08-04  7:14 UTC (permalink / raw)
  To: gcc-help


Hi,
I am using gcc (GCC) 4.2.1 (SUSE Linux).
SUSE 10.3

While compiling a .c file I get following error

Configuration.h:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘extern’

can anybody tell me ways to sort out such problems.

Thanks
Reply With Quote
-- 
View this message in context: http://www.nabble.com/While-Compilation-getting-error-as-expected-%E2%80%98%3D%E2%80%99%2C-%E2%80%98%2C%E2%80%99%2C-%E2%80%98-%E2%80%99%2C-%E2%80%98asm%E2%80%99-or-%E2%80%98__attribute__%E2%80%99-before-%E2%80%98extern%E2%80%99-tp18806672p18806672.html
Sent from the gcc - Help mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: While Compilation getting error as expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘extern’
  2008-08-04  7:14 While Compilation getting error as expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘extern’ prabhat_singh
@ 2008-08-04  8:01 ` Ankur Maheshwari
  2008-08-04  8:53   ` prabhat_singh
  0 siblings, 1 reply; 3+ messages in thread
From: Ankur Maheshwari @ 2008-08-04  8:01 UTC (permalink / raw)
  To: prabhat_singh; +Cc: gcc-help

Add Semicolon after your structure declaration.
- Ankur

prabhat_singh wrote:
> Hi,
> I am using gcc (GCC) 4.2.1 (SUSE Linux).
> SUSE 10.3
>
> While compiling a .c file I get following error
>
> Configuration.h:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘extern’
>
> can anybody tell me ways to sort out such problems.
>
> Thanks
> Reply With Quote
>   

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: While Compilation getting error as expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘extern’
  2008-08-04  8:01 ` Ankur Maheshwari
@ 2008-08-04  8:53   ` prabhat_singh
  0 siblings, 0 replies; 3+ messages in thread
From: prabhat_singh @ 2008-08-04  8:53 UTC (permalink / raw)
  To: gcc-help


currently I am only trying to compile my .c file with gcc -c file_name.c so I
don't think that parameter passing is required in this case.


Ankur Maheshwari wrote:
> 
> Add Semicolon after your structure declaration.
> - Ankur
> 
> prabhat_singh wrote:
>> Hi,
>> I am using gcc (GCC) 4.2.1 (SUSE Linux).
>> SUSE 10.3
>>
>> While compiling a .c file I get following error
>>
>> Configuration.h:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
>> ‘__attribute__’
>> before ‘extern’
>>
>> can anybody tell me ways to sort out such problems.
>>
>> Thanks
>> Reply With Quote
>>   
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/While-Compilation-getting-error-as-expected-%E2%80%98%3D%E2%80%99%2C-%E2%80%98%2C%E2%80%99%2C-%E2%80%98-%E2%80%99%2C-%E2%80%98asm%E2%80%99-or-%E2%80%98__attribute__%E2%80%99-before-%E2%80%98extern%E2%80%99-tp18806672p18807694.html
Sent from the gcc - Help mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-04  8:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-04  7:14 While Compilation getting error as expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘extern’ prabhat_singh
2008-08-04  8:01 ` Ankur Maheshwari
2008-08-04  8:53   ` prabhat_singh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).