Project

General

Profile

Bug #12125

Updated by Toomas Soome over 1 year ago

Build errors with gcc 8: 
 <pre> 
 smbd_spool.c: In function 'smbd_load_printers': 
 smbd_spool.c:427:22: error: passing argument 1 to restrict-qualified parameter aliases with argument 4 [-Werror=restrict] 
   rc = pthread_create(&tid, &attr, smbd_share_printers, &tid); 
                       ^~~~                                ~~~~ 
 cc1: all warnings being treated as errors 
 </pre> 

 Testing done: build/install/boot 

 last argument is not used by smbd_share_printers, so just pass NULL there.

Back