Re: While Compilation getting error as expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘extern’

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux