From: Vitaly Lipatov <lav@etersoft.ru>
To: <devel@lists.altlinux.org>
Subject: Re: [devel] mallinfo
Date: Wed, 24 Apr 2013 17:50:39 +0400
Message-ID: <fc30f4c2b01895ba1e565fb4b2efa901@office.etersoft.ru> (raw)
In-Reply-To: <5177B395.6020800@kemsu.ru>
REAL писал 2013-04-24 14:27:
> Привет!
>
> Имеется такой код:
>
> static struct mallinfo minfo;
>
> Компилятор на это ругается:
>
> error: aggregate 'mallinfo minfo' has incomplete type and cannot be
> defined
>
> mallinfo объявлен в malloc.h, #include <malloc.h> в наличии.
>
> Помогите разобраться, пожалуйста, а то я что-то не догоняю, что всё
> это значит.
Без проблем собирается следующее:
$ cat test.c
#include <malloc.h>
static struct mallinfo minfo;
int main()
{
}
Как воспроизвести?
--
С уважением,
Виталий Липатов,
Etersoft
next prev parent reply other threads:[~2013-04-24 13:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-24 10:27 REAL
2013-04-24 13:50 ` Vitaly Lipatov [this message]
2013-04-25 2:30 ` REAL
2013-04-25 3:02 ` Dmitry V. Levin
2013-04-25 3:26 ` REAL
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=fc30f4c2b01895ba1e565fb4b2efa901@office.etersoft.ru \
--to=lav@etersoft.ru \
--cc=devel@lists.altlinux.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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git