| To: | John Hsu <jonhsu@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: extern "C" problem |
| From: | Chandrasekhar Murthy <murthy@xxxxxxx> |
| Date: | Wed, 07 Feb 2001 15:21:57 -0800 |
| Cc: | pro64-support@xxxxxxxxxxx |
| References: | <3A81C761.17A3960E@tensilica.com> |
| Sender: | owner-pro64-support@xxxxxxxxxxx |
John Hsu wrote:
>
> Hi,
>
> I'm having a problem where the Pro64 front end is rejecting the
> following test case. I believe the extern "C" qualifier can be applied
> to a single declaration without the use of braces, so this should be a
> legal C++ file.
>
> extern "C"
> struct mutex_t
> {
> int sem;
> };
>
> > sgiCC -c test.cc
> test.cc:4: storage class specified for field `sem'
This appears to be a problem with g++.
You might want to report it to
http://gcc.gnu.org/bugs.html
Murthy
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | extern "C" problem, John Hsu |
|---|---|
| Next by Date: | debugging problem, John Hsu |
| Previous by Thread: | extern "C" problem, John Hsu |
| Next by Thread: | debugging problem, John Hsu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |