From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Wed, 24 Apr 2013 17:50:39 +0400 From: Vitaly Lipatov To: Organization: Etersoft In-Reply-To: <5177B395.6020800@kemsu.ru> References: <5177B395.6020800@kemsu.ru> Message-ID: X-Sender: lav@etersoft.ru User-Agent: Roundcube Webmail/0.7.1 Subject: Re: [devel] mallinfo X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Apr 2013 13:50:46 -0000 Archived-At: List-Archive: List-Post: REAL =D0=BF=D0=B8=D1=81=D0=B0=D0=BB 2013-04-24 14:27: > =D0=9F=D1=80=D0=B8=D0=B2=D0=B5=D1=82! > > =D0=98=D0=BC=D0=B5=D0=B5=D1=82=D1=81=D1=8F =D1=82=D0=B0=D0=BA=D0=BE=D0=B9= =D0=BA=D0=BE=D0=B4: > > static struct mallinfo minfo; > > =D0=9A=D0=BE=D0=BC=D0=BF=D0=B8=D0=BB=D1=8F=D1=82=D0=BE=D1=80 =D0=BD=D0=B0= =D1=8D=D1=82=D0=BE =D1=80=D1=83=D0=B3=D0=B0=D0=B5=D1=82=D1=81=D1=8F: > > error: aggregate 'mallinfo minfo' has incomplete type and cannot be=20 > defined > > mallinfo =D0=BE=D0=B1=D1=8A=D1=8F=D0=B2=D0=BB=D0=B5=D0=BD =D0=B2 malloc= =2Eh, #include =D0=B2 =D0=BD=D0=B0=D0=BB=D0=B8=D1=87=D0=B8=D0=B8= =2E > > =D0=9F=D0=BE=D0=BC=D0=BE=D0=B3=D0=B8=D1=82=D0=B5 =D1=80=D0=B0=D0=B7=D0=BE= =D0=B1=D1=80=D0=B0=D1=82=D1=8C=D1=81=D1=8F, =D0=BF=D0=BE=D0=B6=D0=B0=D0=BB= =D1=83=D0=B9=D1=81=D1=82=D0=B0, =D0=B0 =D1=82=D0=BE =D1=8F =D1=87=D1=82=D0= =BE-=D1=82=D0=BE =D0=BD=D0=B5 =D0=B4=D0=BE=D0=B3=D0=BE=D0=BD=D1=8F=D1=8E, = =D1=87=D1=82=D0=BE =D0=B2=D1=81=D1=91 > =D1=8D=D1=82=D0=BE =D0=B7=D0=BD=D0=B0=D1=87=D0=B8=D1=82. =D0=91=D0=B5=D0=B7 =D0=BF=D1=80=D0=BE=D0=B1=D0=BB=D0=B5=D0=BC =D1=81=D0=BE= =D0=B1=D0=B8=D1=80=D0=B0=D0=B5=D1=82=D1=81=D1=8F =D1=81=D0=BB=D0=B5=D0=B4= =D1=83=D1=8E=D1=89=D0=B5=D0=B5: $ cat test.c #include static struct mallinfo minfo; int main() { } =D0=9A=D0=B0=D0=BA =D0=B2=D0=BE=D1=81=D0=BF=D1=80=D0=BE=D0=B8=D0=B7=D0=B2= =D0=B5=D1=81=D1=82=D0=B8? --=20 =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=92=D0=B8=D1=82=D0=B0=D0=BB=D0=B8=D0=B9 =D0=9B=D0=B8=D0=BF=D0=B0=D1=82= =D0=BE=D0=B2, Etersoft