Quantcast

Warnings compilation (Ubuntu and Debian)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Warnings compilation (Ubuntu and Debian)

Wanderlei Huttel
Hello, just to inform some warnings when compiling in Debian and Ubuntu

-----------------------------------------------------------------------------------------------------------------------------------
Ubuntu 16.04 LTS
ua_run.c: In function ‘bool display_job_parameters(UAContext*, JCR*, JOB*, const char*, char*, const char*, char*)’:
ua_run.c:1660:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
             prt_type = _("Run Copy job\n");
                      ^
ua_run.c:1662:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
             prt_type = _("Run Migration job\n");
                      ^
Compiling snapshot.c
Compiling ua_status.c
Compiling ua_tree.c
Compiling ua_update.c
Compiling vbackup.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*");
               ^
Compiling verify.c


-----------------------------------------------------------------------------------------------------------------------------------
Debian 8.4
Compiling ua_run.c
ua_run.c: In function ‘bool display_job_parameters(UAContext*, JCR*, JOB*, const char*, char*, const char*, char*)’:
ua_run.c:1660:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
             prt_type = _("Run Copy job\n");
                      ^
ua_run.c:1662:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
             prt_type = _("Run Migration job\n");
                      ^
Compiling ua_select.c
Compiling ua_server.c
Compiling snapshot.c
Compiling ua_status.c
Compiling ua_tree.c
Compiling ua_update.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*");
               ^
Compiling vbackup.c




Best Regards

Wanderlei Hüttel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-devel
Loading...