Hi Achim,
On 5/13/2025 10:29 AM, ASSI via Cygwin-apps wrote:
Mark Geisert via Cygwin-apps writes:
In the midst of yet another long, tedious Qt5-Base build, this happened:
[...]
In file included from
/usr/src/qt5-base-5.15.16/qt5-base-5.15.16-1.x86_64/src/qtbase-everywhere-src-5.15.16/examples/qpa/qrasterwindow/main.cpp:51:
./QRasterWindow:1:3: error: stray â<80><98>\220â<80><99> in program
1 |
MZ<90><U+0000><U+0003><U+0000><U+0000><U+0000><U+0004><U+0000><U+0000>
<U+0000><ff><ff><U+0000><U+0000><b8><U+0000><U+0000><U+0000><U+0000>
<U+0000><U+0000><U+0000>@<U+0000><U+0000><U+0000><U+0000><U+0000>
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
<U+0000><U+0000><U+0000><U+0000><80><U+0000><U+0000><U+0000><U+000E>
<U+001F><ba><U+000E><U+0000><b4> <cd>!<b8><U+0001>L<cd>!This program
cannot be run in DOS mode.
| ^~~~
And so on for another 136,454 error messages. Somehow g++ has ingested
an executable file via #include; the leading "MZ" is evidence.
Crossed-up file descriptor(s) somewhere? Does this count as a DoS?
No, seeing that this is C++ and the include path has "." in it, I
suspect there's an executable with the same name as an "include <…>" in
the cwd. Cygwin helpfully ignores the .exe suffix on the executable in
certain cases, why it does that here I don't know, maybe try if that
changes with an earlier Cygwin DLL?
You were correct, of course :). This was a cygport 'build' where I had
neglected to clean and prep beforehand. There was indeed an executable
in the cwd with matching name. I'll try to machine that situation down
to an STC for possible reporting against Cygwin later.
Thanks & Regards,
..mark