From: prabhat_singh <prabhat.singh@in2m.com>
To: gcc-help@gcc.gnu.org
Subject: Re: While Compilation getting error as expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘extern’
Date: Mon, 04 Aug 2008 08:53:00 -0000 [thread overview]
Message-ID: <18807694.post@talk.nabble.com> (raw)
In-Reply-To: <4896B4F0.70905@procsys.com>
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.
prev parent reply other threads:[~2008-08-04 8:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-04 7:14 prabhat_singh
2008-08-04 8:01 ` Ankur Maheshwari
2008-08-04 8:53 ` prabhat_singh [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18807694.post@talk.nabble.com \
--to=prabhat.singh@in2m.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).