M
Michael L. Hostbaek
Hi,
I am trying to compile a piece of software, on a FreeBSD system.
gcc version 2.95.4
When compiling, I get lots of these warnings:
---
logger.c: In function `cf_logger_init':
logger.c:87: warning: unused parameter `argv'
logger.c:87: warning: unused parameter `argc'
logger.c:87: warning: unused parameter `is_compound'
logger.c: In function `logger_output':
logger.c:162: warning: unused parameter `sender'
logger.c: In function `logger_read_pending':
logger.c:177: warning: unused parameter `cc'
logger.c: In function `cf_logger_file':
logger.c:185: warning: unused parameter `argc'
logger.c:185: warning: unused parameter `cmpnd'
logger.c: In function `cf_logger_mode':
logger.c:197: warning: unused parameter `argc'
logger.c:197: warning: unused parameter `cmpnd'
logger.c: In function `cf_logger_trunc':
logger.c:211: warning: unused parameter `argc'
logger.c:211: warning: unused parameter `cmpnd'
---
When I compile on a different FreeBSD system with gcc3.3.1 I am not
getting those warnings.. I'd like to clean up the code, so I can make a
somewhat clean compile.. Is it a known problem ?
TIA,
/mich
I am trying to compile a piece of software, on a FreeBSD system.
gcc version 2.95.4
When compiling, I get lots of these warnings:
---
logger.c: In function `cf_logger_init':
logger.c:87: warning: unused parameter `argv'
logger.c:87: warning: unused parameter `argc'
logger.c:87: warning: unused parameter `is_compound'
logger.c: In function `logger_output':
logger.c:162: warning: unused parameter `sender'
logger.c: In function `logger_read_pending':
logger.c:177: warning: unused parameter `cc'
logger.c: In function `cf_logger_file':
logger.c:185: warning: unused parameter `argc'
logger.c:185: warning: unused parameter `cmpnd'
logger.c: In function `cf_logger_mode':
logger.c:197: warning: unused parameter `argc'
logger.c:197: warning: unused parameter `cmpnd'
logger.c: In function `cf_logger_trunc':
logger.c:211: warning: unused parameter `argc'
logger.c:211: warning: unused parameter `cmpnd'
---
When I compile on a different FreeBSD system with gcc3.3.1 I am not
getting those warnings.. I'd like to clean up the code, so I can make a
somewhat clean compile.. Is it a known problem ?
TIA,
/mich