I realized today that I hadn't updated my NAS (which runs a client and
an SD on Solaris 11.3 on amd64 hardware) from 9.4.1 to 9.4.2.  So I did
that tonight.'

There's a lot of anachronism warnings all exactly like this one:

"../config.h", line 1266: Warning (Anachronism): Attempt to redefine
__restrict__ without using #undef.

Wrapping line 1266 of config.h in an '#ifndef __restrict__ ... #endif'
handily gets rid of all of those.

Then there's a lot of "Likely null pointer dereference" warnings, all
originating from baconfig.h line 64 or 71, which appears to be the
definitions of ASSERT1 and ASSERT2.  I'm presuming these are deliberate
null dereferences to force a SIGSEGV on a failed ASSERT?

And finally a lot of "XXXX hides the virtual function ..." and "XXXX
hides BDB::XXXX" warnings.  I don't know enough C++ to know what to do
about those, but they don't seem to be critical.

The build succeeded with all the above warnings and appears to be
working fine.



My configure options in case anyone finds them useful:

./configure  --prefix=/opt/bacula --with-dump-email=r...@caerllewys.net
--with-job-email=r...@caerllewys.net
--with-smtp-host=smtp.caerllewys.net --with-subsys-dir=/opt/bacula/var
--with-working-dir=/opt/bacula/var --enable-build-stored
--disable-build-dird --with-mysql=/opt/mysql/mysql CC=/opt/suncc/bin/CC
CFLAGS='-fast -xarch=generic -xtarget=generic -xcache=generic -m64'
CPPFLAGS='-fast -xarch=generic -xtarget=generic -xcache=generic -m64'
CXX=/opt/suncc/bin/CC CXXFLAGS='-march=native -mfpmath=sse -pipe -m64'
LDFLAGS="-m64"




-- 
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: +1.603.293.8485
  Mobile:   +1.603.998.6958


_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to