Re: [Midnight Commander] #157: [PATCH] Micro helper library



#157: [PATCH] Micro helper library
-------------------------------------------------------------------------------+
  Reporter:  Enrico Weigelt zaphod local, metux IT service <weigelt metux de>  |       Owner:  metux   
      Type:  enhancement                                                       |      Status:  accepted
  Priority:  critical                                                          |   Milestone:  4.6.2   
 Component:  mc-core                                                           |     Version:  4.6.1   
Resolution:                                                                    |    Keywords:  rework  
  Blocking:  10, 14, 41, 55, 81, 125, 147, 149, 152                            |   Blockedby:          
-------------------------------------------------------------------------------+

Comment(by slavazanko):

 BTW, in mhl/string.c some warnings:
 {{{
 string.c: In function ‘mhl_str_reverse’:
 string.c:38: warning: implicit declaration of function ‘strlen’
 string.c:38: warning: incompatible implicit declaration of built-in
 function ‘strlen’
 ...
 }}}
 adding string to a top of mhl/string.c:
 {{{
 #include <string.h>
 }}}
 don't avoid warnings. Because one of current includedir in CFLAGS is a:
 {{{-I./}}}
 I think, need to rename mhl/string.[ch] to mhl/mhl_string.[ch]
 This avoid warnings. See branch;
 changeset:51a81ec6e3191a693d09a20e337056055bf1daef

 Or may exists other way?

-- 
Ticket URL: <www.midnight-commander.org/ticket/157#comment:16>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]