[Bug 283584] irc/eggdrop: Fails to build due to tcl.h header location

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 29 Dec 2024 01:21:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283584

--- Comment #5 from Chris Petrik <cpetrik@proton.me> ---
.././filesys.mod/filedb3.h:97:5: note: expanded from macro 'malloc_strcpy'
   97 |     my_free(target);                                                   
\
      |     ^
.././filesys.mod/filedb3.h:83:5: note: expanded from macro 'my_free'
   83 |     nfree(ptr);                                                        
\
      |     ^
../../../src/mod/module.h:92:28: note: expanded from macro 'nfree'
   92 | #define nfree(x) (global[1]((x),MODULE_NAME,__FILE__,__LINE__))
      |                            ^
In file included from .././filesys.mod/filesys.c:126:
.././filesys.mod/files.c:748:7: warning: passing arguments to a function
without a prototype is deprecated in all versions of C and is not supported in
C23 [-Wdeprecated-non-prototype]
  748 |       malloc_strcpy(newfn, par);
      |       ^
.././filesys.mod/filedb3.h:94:16: note: expanded from macro 'malloc_strcpy'
   94 |     (target) = nrealloc((target), strlen(entry) + 1);                  
\
      |                ^
../../../src/mod/module.h:392:50: note: expanded from macro 'nrealloc'
  392 | #define nrealloc(x,y) (((void
*(*)())global[230])((x),(y),MODULE_NAME,__FILE__,__LINE__))
      |                                                  ^
In file included from .././filesys.mod/filesys.c:126:
.././filesys.mod/files.c:748:7: warning: passing arguments to a function
without a prototype is deprecated in all versions of C and is not supported in
C23 [-Wdeprecated-non-prototype]
.././filesys.mod/filedb3.h:97:5: note: expanded from macro 'malloc_strcpy'
   97 |     my_free(target);                                                   
\
      |     ^
.././filesys.mod/filedb3.h:83:5: note: expanded from macro 'my_free'
   83 |     nfree(ptr);                                                        
\
      |     ^
../../../src/mod/module.h:92:28: note: expanded from macro 'nfree'
   92 | #define nfree(x) (global[1]((x),MODULE_NAME,__FILE__,__LINE__))
      |                            ^
In file included from .././filesys.mod/filesys.c:126:
.././filesys.mod/files.c:752:7: warning: passing arguments to a function
without a prototype is deprecated in all versions of C and is not supported in
C23 [-Wdeprecated-non-prototype]
  752 |       my_free(newfn);
      |       ^
.././filesys.mod/filedb3.h:83:5: note: expanded from macro 'my_free'
   83 |     nfree(ptr);                                                        
\
      |     ^
../../../src/mod/module.h:92:28: note: expanded from macro 'nfree'
   92 | #define nfree(x) (global[1]((x),MODULE_NAME,__FILE__,__LINE__))
      |                            ^
In file included from .././filesys.mod/filesys.c:126:
.././filesys.mod/files.c:753:7: warning: passing arguments to a function
without a prototype is deprecated in all versions of C and is not supported in
C23 [-Wdeprecated-non-prototype]
  753 |       my_free(newpath);
      |       ^
.././filesys.mod/filedb3.h:83:5: note: expanded from macro 'my_free'

-- 
You are receiving this mail because:
You are the assignee for the bug.