Warnings issued at build time due to recent changes .



I can see the following warnings while building the latest cvs version of 
MC. All of them seem to be related to the recent changes which const-ified 
function arguments.

../../mc/src/filegui.c: In function `file_mask_dialog':
../../mc/src/filegui.c:887: warning: assignment discards qualifiers from
pointer target type
../../mc/src/filegui.c:888: warning: assignment discards qualifiers from
pointer target type

../../mc/src/help.c: In function `help_handle_key':
../../mc/src/help.c:612: warning: passing arg 3 of `check_movement_keys'
discards qualifiers from pointer target type
../../mc/src/help.c: In function `interactive_display':
../../mc/src/help.c:778: warning: passing arg 2 of `search_string' discards
qualifiers from pointer target type

../../mc/src/hotlist.c: In function `add_new_entry_input':
../../mc/src/hotlist.c:873: warning: assignment discards qualifiers from
pointer target type
../../mc/src/hotlist.c:874: warning: assignment discards qualifiers from
pointer target type

../../mc/src/popt.c: In function `invokeCallbacks':
../../mc/src/popt.c:55: warning: passing arg 5 of pointer to function
discards qualifiers from pointer target type ../../mc/src/popt.c: In
function `findOption': ../../mc/src/popt.c:254: warning: assignment discards
qualifiers from pointer target type
../../mc/src/popt.c:275: warning: assignment discards qualifiers from
pointer target type 

Pavel Tsekov

-- 
NEU: Bis zu 10 GB Speicher für e-mails & Dateien!
1 GB bereits bei GMX FreeMail http://www.gmx.net/de/go/mail




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