From: Fabian Cenedese <Cenedese@indel.ch>
To: MSX to GCC <gcc-help@gcc.gnu.org>
Subject: Re: gcc4.1.0: error: object missing in reference to
Date: Tue, 05 Dec 2006 16:44:00 -0000 [thread overview]
Message-ID: <5.2.0.9.1.20061205174119.01858ae0@NT_SERVER> (raw)
In-Reply-To: <B4E0038C-BCEC-41E8-A4CD-46788F15153E@easesoftware.com>
>>I don't have a link, but I can cite the standard which states what is
>>acceptable for the sizeof operator:
>>ISO 14882 section 5.3.3
>
>I see... So I could do this:
>
>struct foo
>{
> typedef char buf_type[1024];
> buf_type buf;
>};
>
>int main()
>{
> cout << sizeof(foo::buf_type) << endl;
>}
That may be usefull as well. Thanks.
bye Fabi
next prev parent reply other threads:[~2006-12-05 16:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-05 9:52 Fabian Cenedese
2006-12-05 13:19 ` John Love-Jensen
2006-12-05 13:40 ` Fabian Cenedese
2006-12-05 13:57 ` John Love-Jensen
2006-12-05 15:30 ` Fabian Cenedese
2006-12-05 15:52 ` John Love-Jensen
2006-12-05 16:27 ` Perry Smith
2006-12-05 16:44 ` Fabian Cenedese [this message]
2006-12-05 20:10 ` John Love-Jensen
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=5.2.0.9.1.20061205174119.01858ae0@NT_SERVER \
--to=cenedese@indel.ch \
--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).