Hello Phil,Thanks for the update.  I will apply it right away so that it goes 
into the next version.Best regards,KernSent from my Samsung Galaxy smartphone.
-------- Original message --------From: Phil Stracchino <ph...@caerllewys.net> 
Date: 2/26/20  18:32  (GMT+01:00) To: Kern Sibbald <k...@sibbald.com>, 
bacula-devel@lists.sourceforge.net Subject: Re: [Bacula-devel] Failed to 
compile Bacula 9.6.0 and problem with
  documentation encoding On 2020-02-26 10:55, Kern Sibbald wrote:> Hello Phil,> 
> It appears to me that the Solaris compiler is generating errors for > 
functions that are virtual and thus overloaded.Well, warnings, not errors.The 
first one looks like it's running into something Bacula alreadytries to correct 
for, but the cprrection is perhaps out of date:/* Define to the equivalent of 
the C99 'restrict' keyword, or to   nothing if this is not supported.  Do not 
define if restrict is   supported directly.  */#define restrict __restrict/* 
Work around a bug in Sun C++: it does not support _Restrict or   __restrict__, 
even though the corresponding Sun C compiler ends up with   "#define restrict 
_Restrict" or "#define restrict __restrict__" in the   previous line.  Perhaps 
some future version of Sun C++ will work with   restrict; if so, hopefully it 
defines __RESTRICT like Sun C does.  */#if defined __SUNPRO_CC && !defined 
__RESTRICT# define _Restrict# define __restrict__#endifIt looks like by Solaris 
Studio 12.3, __restrict__ IS already defined.It seems a very simple fix for 
that is simply to wrap that '#define__restrict__' in an '#ifndef __restrict__', 
as follows:#if defined __SUNPRO_CC && !defined __RESTRICT#define 
_Restrict#ifndef __restrict__#define __restrict__#endif#endifThis eliminates 
that warning with no apparent adverse effects.  But Inote again, it's all only 
compiler *warnings*, no errors occur.--   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