Re: gcc4.1.0: error: object missing in reference to

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

 



>>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



[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