GCC doesn't find relative includes when passed paths using backward-slashes

2023-01-15 Thread Alexander Grund via Cygwin
Hi, consider the following MWE: |$ touch bar/foo.h $ cat bar/main.cpp #include "foo.h" int main(){} With this most simple setup calling GCC with `g++ "bar\main.cpp"` results in GCC failing to find the include file. However using `g++ "bar/main.cpp"` works as expected. | |So the compiler does f

Re: GCC doesn't find relative includes when passed paths using backward-slashes

2023-01-15 Thread Hans-Bernhard Bröker via Cygwin
Am 15.01.2023 um 13:38 schrieb Alexander Grund via Cygwin: The build system, finding it is running on Windows, will pass paths with backward slashes to the compiler. And that's wrong. Cygwin is not, for practical intents and purposes, Windows. It just runs on top of it. Yes, backslashed

Re: GCC doesn't find relative includes when passed paths using backward-slashes

2023-01-15 Thread Thomas Wolff via Cygwin
Am 15.01.2023 um 14:51 schrieb Hans-Bernhard Bröker via Cygwin: Am 15.01.2023 um 13:38 schrieb Alexander Grund via Cygwin: The build system, finding it is running on Windows, will pass paths with backward slashes to the compiler. And that's wrong.  Cygwin is not, for practical intents and

Re: [ANNOUNCEMENT] Updated: man-db-2.11.2-1

2023-01-15 Thread Henry S. Thompson via Cygwin
Achim Gratz via Cygwin writes: > The man-db package is updated to the latest upstream version 2.11.2. Thanks for this. > ... > The diagnostic output from the update is stored at > /var/log/mandb-index.log, so you can check if there were problems on > the last update. A quick scan of this rev

[ANNOUNCEMENT] attr 2.5.1-1.20.g0981a7bfe487

2023-01-15 Thread Corinna Vinschen via Cygwin
The following packages have been uploaded to the Cygwin distribution: * attr-2.5.1-1.20.g0981a7bfe487 * libattr-devel-2.5.1-1.20.g0981a7bfe487 * libattr1-2.5.1-1.20.g0981a7bfe487 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentati

[ANNOUNCEMENT] ghostscript 9.56.1-1

2023-01-15 Thread Ken Brown via Cygwin-announce via Cygwin
The following packages have been uploaded to the Cygwin distribution as test releases: * ghostscript-9.56.1-1 * libgs9-9.56.1-1 * libgs-devel-9.56.1-1 GNU Ghostscript is a PostScript interpreter capable of converting PS files into a number of printer output formats. Ghostscript can also rende

Re: [ANNOUNCEMENT] Updated: man-db-2.11.2-1

2023-01-15 Thread Achim Gratz via Cygwin
Henry S. Thompson via Cygwin writes: > A quick scan of this reveals 86 warnings: > > 54 whatis parse for ... failed > 29 bad symlink or ROFF `.so' request >3 is a dangling symlink > > Are any of these of any interest to ordinary users, as opposed to > package maintainers? THese are warning

Re: GCC doesn't find relative includes when passed paths using backward-slashes

2023-01-15 Thread Achim Gratz via Cygwin
Alexander Grund via Cygwin writes: > consider the following MWE: > > |$ touch bar/foo.h $ cat bar/main.cpp #include "foo.h" int main(){} > |With this most simple setup calling GCC with `g++ "bar\main.cpp"` > |results in GCC failing to find the include file. However using `g++ > |"bar/main.cpp"` wor

[no subject]

2023-01-15 Thread Nouman Shahid via Cygwin
Bash 1876 error occured -- 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

vmstat yields error 'Unable to create system stat structure' on W11x64

2023-01-15 Thread System Administrator via Cygwin
Hello, I am trying to migrate my framework to Windows 11 running Cygwin. When executing vmstat it returns the following error: "Unable to create system stat structure” Using the very same packages (install files) on Windows 10, produces the proper vmstat results (i.e. no error). I’ve tried W11

Re: vmstat yields error 'Unable to create system stat structure' on W11x64

2023-01-15 Thread Adam Dinwoodie via Cygwin
On Sun, 15 Jan 2023 at 22:05, System Administrator via Cygwin wrote: > > Hello, > > I am trying to migrate my framework to Windows 11 running Cygwin. > When executing vmstat it returns the following error: > > "Unable to create system stat structure” > > Using the very same packages (install files)

Re: vmstat yields error 'Unable to create system stat structure' on W11x64

2023-01-15 Thread System Administrator via Cygwin
Hello, please find attached the cygcheck output - apologies for the oversight. It does NOT make a difference whether the bash, run from MinTTY (desktop shortcut), is run “As Administrator” or as regular user, the error occurs in both scenarios. Running it from PowerShell (both Admin and reg. us