octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #51565] Use nullptr rather than 0 in C++11 cod


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #51565] Use nullptr rather than 0 in C++11 code
Date: Wed, 26 Jul 2017 20:11:13 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

Follow-up Comment #7, bug #51565 (project octave):

I noticed that many of those warnings come from Qt headers.
So i compiled a minimal version with

../configure --disable-java --disable-docs --without-qt --without-fltk
CXXFLAGS="-g -O2 -Wzero-as-null-pointer-constant -Wno-noexcept-type
-Wno-implicit-fallthrough"


attached as gcc_min_err_20170726.log

Also attached the default build error log, gcc_err_20170726.log.bz2

Also noticed a new warning:
../libinterp/corefcn/pr-output.cc:1749:29: warning: ‘fw’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
       int column_width = fw + 2;
                          ~~~^~~

Dmitri.
-- 


(file #41354, file #41355)
    _______________________________________________________

Additional Item Attachment:

File name: gcc_err_20170726.log.bz2       Size:12 KB
File name: gcc_min_err_20170726.log       Size:5 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51565>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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