X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 49A9C3858C1F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=b9+8v/xj9CcoVd1z510ag1c4YVZtQ6wShLlKFsnBwwo=; b=lmEDRFAguwp3Wpivc9/0zJcHfyB3hMYaqb/0msZ3oh8B+TDDCcnhcNwGXmn0J0VvlV N9K2AG6DwdJ8/EWG9KTEilo5FYuQnl0yJUdOada+weiaELASfdBCAS4EdAI4mrxVjjS7 LKNkcCbr1xAl/uK2Mzw4AxYfeq62ueXlddApqjGyFThSTe+iL3P6E39hZN/7chmS4cpa 5j31O8QlPxhjcUJw2UoC52Af2rZWJrADoE1Z01i/s0wLa0r4aOOLtRy0NzSSjaVxgIx3 GpNwO+rPK7eZo94RDe99jNyIcuTfr74KD18jTf7GyNmFNry5Ue+5UXgEvVYRaz4/SVaI IkAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=b9+8v/xj9CcoVd1z510ag1c4YVZtQ6wShLlKFsnBwwo=; b=EPu8GCiT9yuEoeCWYqN01i2ekk5MBIkNOmqYxmGvkAbR2f1mOgNxrT+H28G0SaHw9y C3f/68+wdFU5Z9f7+9Uxd7KaGhEMVY5cwt7DWbGSFYUwQV1x6ZGyOHynm6xh3GxJyBOh LYvBU9QGgdBcONzl1A47f28zqA6Ef84SIzIOwQyszj7irU+5x65/9nN9q8OZnFp78cuy Imc1ifYOu79EEaSzhJbpWbf8hPFxII56OTmeHBTgEq8iQPNsXXzvBeo3wTXx3OuH0/0R yzHq3yPYTaQnMqjkLLtPXpgF49MBdjFAX+0y917mqXTdqR9JCfya6g1qXuP5fUxTyyQ8 ym9g== X-Gm-Message-State: AOAM531sQhCrcw+4E6ANTP0c0wHIqxy4hzqX6BLDanD2SELpgc8DtynD Vfam301/bYWs/pxDfLPt6Cj/zJIEXS6GES5BBGG0ACl9PtM= X-Google-Smtp-Source: ABdhPJxbBw76AFDXTRQGg4S/JaBZGK8QJckkoMHBqiJ0RsrOAl4vQD+p93l0lqHcIMRGgDlPRMch5wpFH4FRK6vSsH0= X-Received: by 2002:a5b:bd1:: with SMTP id c17mr25605989ybr.515.1643659452765; Mon, 31 Jan 2022 12:04:12 -0800 (PST) MIME-Version: 1.0 From: Sam Darwin Date: Mon, 31 Jan 2022 14:04:01 -0600 Message-ID: Subject: gnu gcc search path To: cygwin AT cygwin DOT com X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" Hi, Regarding https://cygwin.com/packages/summary/gcc-g++.html This is a (perhaps) esoteric question about how gnu gcc should operate. It says at https://gcc.gnu.org/onlinedocs/cpp/Search-Path.html "By default, the preprocessor looks for header files included by the quote form of the directive #include "file" first relative to the directory of the current file," When building boost C++ libraries on an earlier version of cygwin this used to work fine. Now, updating to a newer cygwin version on Appveyor, "APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019" , it has broken.. Errors appear such as "fatal error: zutil.h: No such file or directory 8 | #include "zutil.h" compilation terminated." "No such file or directory." What do you think? It can't find the header file, which happens to be in the same directory, the current directory. It seems like a bug, however, if it's intended behavior, and the current directory has been removed from the search path, then could a command-line flag be provided to optionally re-enable the previous functionality? -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple