Open jdm opened 3 years ago
@gyorokpeter Could you include the actual warning output in this issue?
Normally it also includes some unused parameters, but I have already changed the code to suppress those locally, hoping that would be enough, but it wasn't.
D:\Projects\other\ruffle>cargo build
warning: Using built-in specs.
warning: COLLECT_GCC=gcc.exe
warning: Target: x86_64-w64-mingw32
warning: Configured with: ../../../src/gcc-8.1.0/configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/mingw64 --with-sysroot=/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64 --enable-shared --enable-static --disable-multilib --enable-languages=c,c++,fortran,lto --enable-libstdcxx-time=yes --enable-threads=posix --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=nocona --with-tune=core2 --with-libiconv --with-system-zlib --with-gmp=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-mpfr=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-mpc=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-isl=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-pkgversion='x86_64-posix-seh-rev0, Built by MinGW-W64 project' --with-bugurl=https://sourceforge.net/projects/mingw-w64 CFLAGS='-O2 -pipe -fno-ident -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -fno-ident -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' CPPFLAGS=' -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' LDFLAGS='-pipe -fno-ident -L/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/lib -L/c/mingw810/prerequisites/x86_64-zlib-static/lib -L/c/mingw810/prerequisites/x86_64-w64-mingw32-static/lib '
warning: Thread model: posix
warning: gcc version 8.1.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project)
warning: COLLECT_GCC_OPTIONS='-O0' '-ffunction-sections' '-fdata-sections' '-g' '-fno-omit-frame-pointer' '-m64' '-Wall' '-Wextra' '-v' '-o' 'D:\Projects\other\ruffle\target\debug\build\tinyfiledialogs-7f15bf81652ac7e4\out\libtinyfiledialogs/tinyfiledialogs.o' '-c' '-mtune=core2' '-march=nocona'
warning: D:/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/8.1.0/cc1.exe -quiet -v -iprefix D:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/ -D_REENTRANT libtinyfiledialogs/tinyfiledialogs.c -quiet -dumpbase tinyfiledialogs.c -m64 -mtune=core2 -march=nocona -auxbase-strip D:\Projects\other\ruffle\target\debug\build\tinyfiledialogs-7f15bf81652ac7e4\out\libtinyfiledialogs/tinyfiledialogs.o -g -O0 -Wall -Wextra -version -ffunction-sections -fdata-sections -fno-omit-frame-pointer -o D:\Temp\WindowsTemp\ccNMRTwc.s
warning: GNU C17 (x86_64-posix-seh-rev0, Built by MinGW-W64 project) version 8.1.0 (x86_64-w64-mingw32)
warning: compiled by GNU C version 8.1.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.18-GMP
warning:
warning: GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
warning: ignoring duplicate directory "D:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/8.1.0/include"
warning: ignoring nonexistent directory "C:/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64C:/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../include"
warning: ignoring duplicate directory "D:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/8.1.0/include-fixed"
warning: ignoring duplicate directory "D:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/include"
warning: ignoring nonexistent directory "C:/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/mingw/include"
warning: #include "..." search starts here:
warning: #include <...> search starts here:
warning: D:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/include
warning: D:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/include-fixed
warning: D:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/include
warning: End of search list.
warning: GNU C17 (x86_64-posix-seh-rev0, Built by MinGW-W64 project) version 8.1.0 (x86_64-w64-mingw32)
warning: compiled by GNU C version 8.1.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.18-GMP
warning:
warning: GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
warning: Compiler executable checksum: 985ce7ae6dd3a696cd146ca9896b0035
warning: COLLECT_GCC_OPTIONS='-O0' '-ffunction-sections' '-fdata-sections' '-g' '-fno-omit-frame-pointer' '-m64' '-Wall' '-Wextra' '-v' '-o' 'D:\Projects\other\ruffle\target\debug\build\tinyfiledialogs-7f15bf81652ac7e4\out\libtinyfiledialogs/tinyfiledialogs.o' '-c' '-mtune=core2' '-march=nocona'
warning: D:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/as.exe -v --64 -o D:\Projects\other\ruffle\target\debug\build\tinyfiledialogs-7f15bf81652ac7e4\out\libtinyfiledialogs/tinyfiledialogs.o D:\Temp\WindowsTemp\ccNMRTwc.s
warning: GNU assembler version 2.30 (x86_64-w64-mingw32) using BFD version (GNU Binutils) 2.30
warning: COMPILER_PATH=D:/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/8.1.0/;D:/mingw64/bin/../libexec/gcc/;D:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/
warning: LIBRARY_PATH=D:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/;D:/mingw64/bin/../lib/gcc/;D:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/../lib/;D:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../lib/;D:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/;D:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../
warning: COLLECT_GCC_OPTIONS='-O0' '-ffunction-sections' '-fdata-sections' '-g' '-fno-omit-frame-pointer' '-m64' '-Wall' '-Wextra' '-v' '-o' 'D:\Projects\other\ruffle\target\debug\build\tinyfiledialogs-7f15bf81652ac7e4\out\libtinyfiledialogs/tinyfiledialogs.o' '-c' '-mtune=core2' '-march=nocona'
Finished dev [unoptimized + debuginfo] target(s) in 7.89s
Every time I do cargo build or cargo run a screenful of warnings is printed out for that project. Is there a way to suppress this?
Originally posted by @gyorokpeter in https://github.com/jdm/tinyfiledialogs-rs/issues/28#issuecomment-751210032