From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31490 invoked by alias); 25 Mar 2012 12:16:56 -0000 Received: (qmail 31469 invoked by uid 22791); 25 Mar 2012 12:16:51 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-pb0-f41.google.com (HELO mail-pb0-f41.google.com) (209.85.160.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 25 Mar 2012 12:16:38 +0000 Received: by pbcup15 with SMTP id up15so5037593pbc.0 for ; Sun, 25 Mar 2012 05:16:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.229.169 with SMTP id sr9mr44242628pbc.164.1332677797952; Sun, 25 Mar 2012 05:16:37 -0700 (PDT) Received: by 10.68.63.226 with HTTP; Sun, 25 Mar 2012 05:16:37 -0700 (PDT) Date: Sun, 25 Mar 2012 12:16:00 -0000 Message-ID: Subject: [Build Error] return type defaults to 'int' From: Zhihua Che To: gdb@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-03/txt/msg00068.txt.bz2 Hi, everyone I'm building gdb using git repository and maybe find a bug. After configure, several .c files are generated under /gdb, such as c-exp.c cp-name-parser.c, but they are all not complying with c grammar. Precisely, the functions in them miss a return value, like the below main() { return 0;} my code version is c338d4bceb084a629b479e1ac36ab2b42737e1c2.