From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1900 invoked by alias); 2 Sep 2017 10:55:51 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 1891 invoked by uid 89); 2 Sep 2017 10:55:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:1888, HX-Received:Sat, HContent-Transfer-Encoding:8bit X-HELO: mail-wm0-f51.google.com Received: from mail-wm0-f51.google.com (HELO mail-wm0-f51.google.com) (74.125.82.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 02 Sep 2017 10:55:45 +0000 Received: by mail-wm0-f51.google.com with SMTP id 137so5374088wmj.1 for ; Sat, 02 Sep 2017 03:55:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=E62MIzdvyrhsn5jfV8uYbhS/i6YSmts2AtG09JI75+g=; b=sZ2ZUBZEyck+Kn6MVy3EQHQJ9wowFtLb8QwIlOvyHRzeFKym1g0FSSsqC6vxzNQ+EQ DLGXzy6OA+ph7SonNCLGaE4/CJEvyGzMfUq7qF4xPim08LdoHz760Giepq+cK9eIuzGa bZtCApNQZyz/hu57qVzpZfmgnqc1NpJONSFJPqfLkrrsX30J0zOr6YAUDH9JQtJWLjEC rlqCHkCUz8HtMZYj5JePq17K1JJUkkRiyQ2j+p+uUlaQISCGR1wEbAn9aFRyJNAMmu7N o3npzPVdI7VvA2WjT/jEhmeJjZ8GKmeWfxkGHJwIf+Fzu87b8crHydx6ZdhsysfUgs2u DIfA== X-Gm-Message-State: AHPjjUj4Bob0C1fjRjf1WjugkEO40B/iWZmYzM2iol472hshrIeCv4x7 0Ol5QvIXOE8ugjnR X-Google-Smtp-Source: ADKCNb6bMBQ1Qg2nwwhszv4CEr6lVk5l140wbbsng4m6xaaqeUqx7+1HqyORHbYBEPuc0trlqbXBrw== X-Received: by 10.80.163.184 with SMTP id s53mr749381edb.189.1504349743551; Sat, 02 Sep 2017 03:55:43 -0700 (PDT) Received: from ?IPv6:2003:cc:9bd4:1601:900c:3453:5d8:3a4a? (p200300CC9BD41601900C345305D83A4A.dip0.t-ipconnect.de. [2003:cc:9bd4:1601:900c:3453:5d8:3a4a]) by smtp.googlemail.com with ESMTPSA id i62sm991841edd.75.2017.09.02.03.55.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Sep 2017 03:55:42 -0700 (PDT) To: "cygwin@cygwin.com" From: Marco Atzeri Subject: putchar and putchar_unlocked have different scope ? Message-ID: Date: Sat, 02 Sep 2017 10:55:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2017-09/txt/msg00041.txt.bz2 Trying to build gcc-6.3.0-2 with its source package on cygwin 2.9.0-0.2 x86_64-pc-cygwin-g++ -std=gnu++98 -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I/cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-2.src/gcc-6.3.0-2.x86_64/src/gcc-6.3.0/gcc -I/cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-2.src/gcc-6.3.0-2.x86_64/src/gcc-6.3.0/gcc/build -I/cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-2.src/gcc-6.3.0-2.x86_64/src/gcc-6.3.0/gcc/../include -I/cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-2.src/gcc-6.3.0-2.x86_64/src/gcc-6.3.0/gcc/../libcpp/include \ -o build/genchecksum.o /cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-2.src/gcc-6.3.0-2.x86_64/src/gcc-6.3.0/gcc/genchecksum.c echo " return Relocate_Path (S0, S2);" >>tmp-sdefault.adb echo " end Object_Dir_Default_Name;" >>tmp-sdefault.adb echo " function Target_Name return String_Ptr is" >>tmp-sdefault.adb In file included from /cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-2.src/gcc-6.3.0-2.x86_64/src/gcc-6.3.0/gcc/system.h:46:0, from /cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-2.src/gcc-6.3.0-2.x86_64/src/gcc-6.3.0/gcc/gengenrtl.c:22: /cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-2.src/gcc-6.3.0-2.x86_64/src/gcc-6.3.0/gcc/gengenrtl.c: In function ‘void genheader()’: /cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-2.src/gcc-6.3.0-2.x86_64/src/gcc-6.3.0/gcc/system.h:87:22: error: ‘_putchar_unlocked’ was not declared in this scope # define putchar(C) putchar_unlocked (C) ^ /cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-2.src/gcc-6.3.0-2.x86_64/src/gcc-6.3.0/gcc/gengenrtl.c:298:3: note: in expansion of macro ‘putchar’ putchar ('\n'); ^~~~~~~ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple