From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12333 invoked by alias); 29 Jul 2002 02:30:17 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 12308 invoked from network); 29 Jul 2002 02:30:13 -0000 Received: from unknown (HELO fencepost.gnu.org) (199.232.76.164) by sources.redhat.com with SMTP; 29 Jul 2002 02:30:13 -0000 Received: from f152.sea1.hotmail.com ([207.68.163.152] helo=hotmail.com) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17Z0IX-0004p0-00 for ; Sun, 28 Jul 2002 22:30:13 -0400 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 28 Jul 2002 19:30:12 -0700 Received: from 207.173.124.69 by sea1fd.sea1.hotmail.msn.com with HTTP; Mon, 29 Jul 2002 02:30:11 GMT X-Originating-IP: [207.173.124.69] From: "Hermione Granger" To: gcc@gnu.org Bcc: Subject: I need help Date: Mon, 29 Jul 2002 06:53:00 -0000 Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_654e_7f41_2810" Message-ID: X-OriginalArrivalTime: 29 Jul 2002 02:30:12.0123 (UTC) FILETIME=[DD5F16B0:01C236A7] X-SW-Source: 2002-07/txt/msg01357.txt.bz2 This is a multi-part message in MIME format. ------=_NextPart_000_654e_7f41_2810 Content-Type: text/plain; format=flowed Content-length: 479 Dear GNU/GCC, My C++ source file is attached. The error I am getting is: [xxxxx@xxxxxxxxx xxxxx]$ gcc -c test.cpp test.cpp: In function `void set_num (long unsigned int *)': test.cpp:5: incompatible types in assignment of `long unsigned int *' to `long unsigned int[1000]' [xxxxx@xxxxxxxxx xxxxx]$ Please tell me what I am doing wrong. _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com ------=_NextPart_000_654e_7f41_2810 Content-Type: application/octet-stream; name="test.cpp" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="test.cpp" Content-length: 244 dm9pZCBzZXRfbnVtICggdW5zaWduZWQgbG9uZyBzZXRfdG8gWyAxMDAwIF0g KQ0Kew0KICB1bnNpZ25lZCBsb25nIHNldF90bzIgWyAxMDAwIF07DQogIHVu c2lnbmVkIGxvbmcgdG1wIFsgMTAwMCBdOw0KICBzZXRfdG8yID0gc2V0X3Rv Ow0KDQogIHRtcCA9IHNldF90bzI7DQoNCiAgcmV0dXJuOw0KDQp9DQoNCg== ------=_NextPart_000_654e_7f41_2810--