Hello Carsten,

First many thanks for your previous email (I will answer in detail when
I am back home on Monday).

The gcc (or g++) guys are tightening up the "rules" on C++ code and are 
generating more and more warning messages such as the following.  They 
are annoying, but if they are just warnings about depreciated 
conversions, they are harmless.  As soon as I see them, I fix them.

I am not currently seeing them quite possibly because you may be using 
g++ 6.0 or greater.  That version of C++ has quite a few bugs that we 
have tried working around, but because the developer have a perverted 
sense of how to create good software, they addb changes (bugs) that 
break a lot of existing software. Consequently, I cannot guarantee that 
any Bacula compiled on g++ >= 6.0 works.  To be sure run the regression 
tests prior to releasing.

Best regards,
Kern

On 16/09/2016 14:23, Carsten Leonhardt wrote:
>> This warnings are normal?
>>
>> ua_run.c: In function ‘bool display_job_parameters(UAContext*, JCR*, JOB*,
>> const char*, char*, const char*, char*)’:
>> ua_run.c:1656:22: warning: deprecated conversion from string constant to
>> ‘char*’ [-Wwrite-strings]
>>               prt_type = _("Run Copy job\n");
>>                        ^
>> ua_run.c:1658:22: warning: deprecated conversion from string constant to
>> ‘char*’ [-Wwrite-strings]
>>               prt_type = _("Run Migration job\n");
>>                        ^
>> Compiling ua_tree.c
>> Compiling ua_update.c
>> Compiling vbackup.c
>> Compiling verify.c
>> ua_update.c: In function ‘void update_vol_recyclepool(UAContext*, char*,
>> MEDIA_DBR*)’:
>> ua_update.c:365:15: warning: deprecated conversion from string constant to
>> ‘char*’ [-Wwrite-strings]
>>        poolname = _("*None*");
>>                 ^
>> Linking bacula-dir ...
> I'd say no.
>
> You can compare with Debians build logs, here specifically the build log
> for jessie-backports:
>
> https://buildd.debian.org/status/fetch.php?pkg=bacula&arch=amd64&ver=7.4.3%2Bdfsg-1%2Bsid1&stamp=1470253405
>
> Or you could simply install the version from backports :-)
>
>   - Carsten
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Bacula-devel mailing list
> Bacula-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-devel



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

Reply via email to