Hello,

This problem is due to a newer compiler which falsely detects what it thinks are errors.

This should be fixed in version 9.6.4 ...  I did not actually test it on Debian 10 but I did test it on Ubuntu 20.04, which I think uses the same newer version of C++.

Best regards,

Kern

On 6/4/20 9:22 PM, r0...@nxlplyx.com wrote:


I tried to compile the main program 9.6.3. That is not
working so well.  I am getting a number of errors like the following. 
Can someone tell me if I am missing something?

Are there patches involved?

Can anyone help?

=======================

htable.c: In member function 'void htable::grow_table()':
htable.c:230:36: warning: 'void* memcpy(void*, const void*, size_t)'
writing to an object of non-trivially copyable type 'class htable'; use
copy-assignment or copy-initialization instead [-Wclass-memaccess]
    memcpy(big, this, sizeof(htable));  /* start with original class data */
                                    ^
In file included from ../lib/tree.h:26,
                 from ../lib/lib.h:59,
                 from ../bacula.h:169,
                 from htable.c:42:
../lib/htable.h:77:7: note: 'class htable' declared here
 class htable : public SMARTALLOC {
       ^~~~~~

==========================

Al

Please do a 

 make VERBOSE=1 clean

and then retry with 

 make VERBOSE=1 deb

Grüße,
Sven.



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

Reply via email to