https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91352

mateuszb at poczta dot onet.pl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mateuszb at poczta dot onet.pl

--- Comment #3 from mateuszb at poczta dot onet.pl ---
Now the error is:
/home/ma/m/cross/bin/i686-w64-mingw32-g++ -fno-PIE -c   -pipe -O2 -DIN_GCC    
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. -I.
-I/home/ma/m/source/gcc-10/gcc -I/home/ma/m/source/gcc-10/gcc/.
-I/home/ma/m/source/gcc-10/gcc/../include
-I/home/ma/m/source/gcc-10/gcc/../libcpp/include
-I/home/ma/m/build/for_target/include -I/home/ma/m/build/for_target/include
-I/home/ma/m/build/for_target/include 
-I/home/ma/m/source/gcc-10/gcc/../libdecnumber
-I/home/ma/m/source/gcc-10/gcc/../libdecnumber/bid -I../libdecnumber
-I/home/ma/m/source/gcc-10/gcc/../libbacktrace
-I/home/ma/m/build/for_target/include  -o lto-wrapper.o -MT lto-wrapper.o -MMD
-MP -MF ./.deps/lto-wrapper.TPo /home/ma/m/source/gcc-10/gcc/lto-wrapper.c
/home/ma/m/source/gcc-10/gcc/lto-wrapper.c: In function 'bool fd_exists(int)':
/home/ma/m/source/gcc-10/gcc/lto-wrapper.c:1228:3: error: 'HANDLE' was not
declared in this scope
 1228 |   HANDLE h = (HANDLE) _get_osfhandle (fd);
      |   ^~~~~~
/home/ma/m/source/gcc-10/gcc/lto-wrapper.c:1229:10: error: 'h' was not declared
in this scope
 1229 |   return h != (HANDLE) -1;
      |          ^
/home/ma/m/source/gcc-10/gcc/lto-wrapper.c:1223:16: warning: unused parameter
'fd' [-Wunused-parameter]
 1223 | fd_exists (int fd)
      |            ~~~~^~
Makefile:1118: recipe for target 'lto-wrapper.o' failed
make[2]: *** [lto-wrapper.o] Error 1

Reply via email to