[Top][All Lists]

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

[Octave-bug-tracker] [bug #55741] build with '-Woverloaded-virtual' emit

From: Andrew Janke
Subject: [Octave-bug-tracker] [bug #55741] build with '-Woverloaded-virtual' emits many warnings indicating problems
Date: Thu, 14 Mar 2019 06:02:26 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36

Follow-up Comment #5, bug #55741 (project octave):

For some reason, I'm always seeing these warnings when building from default.
It looks like my build is using -Wall by default. Anybody know why this would
be, if -Wall/-Woverloaded-virtual isn't supposed to be the default?

This is the configure I'm using:

../../octave/configure \
  --prefix=/tmp/test-octave \
  --without-x \
  --disable-no-undefined \
  --disable-docs \
  --without-fltk \
  --with-qt=5 \
  --with-hdf5-includedir=$brew_opt/hdf5/include \
  --with-hdf5-libdir=$brew_opt/hdf5/lib \
  --with-blas="-L${brew_opt}/veclibfort/lib -lvecLibFort" \
  | tee config.out

And in the generated Makefile, I see this:

WARN_CFLAGS =  -Wall -W -Wshadow -Wformat -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wwrite-strings -Wcast-align -Wcast-qual
WARN_CXXFLAGS =  -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual

This is on macOS 10.14.3.

For some reason, I don't see these warnings when building using a Homebrew
formula, even though it uses a similar configure:

--with-blas=-L/usr/local/opt/veclibfort/lib -lvecLibFort


Reply to this item at:


  Message sent via Savannah

reply via email to

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