lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++ cleanup : get rid of some compilation warnings (issue 353880043


From: John Mandereau
Subject: Re: C++ cleanup : get rid of some compilation warnings (issue 353880043 by address@hidden)
Date: Fri, 22 Feb 2019 00:04:27 +0100

David Kastrup wrote:
> Huh.  Maybe the Ubuntu compilation of gcc/g++ disabled some warnings?
> 
> g++ --verbose
> Using built-in specs.
> COLLECT_GCC=g++
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
> OFFLOAD_TARGET_NAMES=nvptx-none
> OFFLOAD_TARGET_DEFAULT=1
> Target: x86_64-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Ubuntu 8.2.0-
> 21ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --
> enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --
> prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --
> program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-
> build-id --libexecdir=/usr/lib --without-included-gettext --enable-
> threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --
> enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-
> time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object
> --disable-vtable-verify --enable-libmpx --enable-plugin --enable-
> default-pie --with-system-zlib --with-target-system-zlib --enable-
> objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686
> --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --
> with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-
> driver --enable-checking=release --build=x86_64-linux-gnu --
> host=x86_64-linux-gnu --target=x86_64-linux-gnu
> Thread model: posix
> gcc version 8.2.0 (Ubuntu 8.2.0-21ubuntu1) 
> 
> Huh.  No idea.

On my build host g++ --verbose says

Using built-in specs.
COLLECT_GCC=/usr/bin/g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-
languages=c,c++,fortran,objc,obj-c++,ada,go,lto --prefix=/usr --
mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bu
gzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --
enable-checking=release --enable-multilib --with-system-zlib --enable-
__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --with-gcc-major-version-only --with-linker-
hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --
enable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver 
--enable-gnu-indirect-function --enable-cet --with-tune=generic --with-
arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 8.2.1 20181215 (Red Hat 8.2.1-6) (GCC) 

I did "git diff --word-diff --no-index" to compare our configurations;
at first glance I didn't see anything meaningful w.r.t that warning,
which is not surprising given my newbie level in C/C++.

I also attached the output of "gcc -dumpspecs".

Best,
John

Attachment: gcc-8.2.1-fedora29-dumpspecs
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]