Bug 147168 - Implicit declaration of function 'iswprint' in UTF-8 patch (file view.c)
Summary: Implicit declaration of function 'iswprint' in UTF-8 patch (file view.c)
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mc
Version: rawhide
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-04 16:57 UTC by Marcin Garski
Modified: 2013-07-02 23:05 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2005-03-17 14:08:25 UTC


Attachments (Terms of Use)
UTF-8 warning patch (258 bytes, patch)
2005-02-04 16:59 UTC, Marcin Garski
no flags Details | Diff

Description Marcin Garski 2005-02-04 16:57:41 UTC
During MC compilation gcc gives below warning:

view.c: In function `display':
view.c:1196: warning: implicit declaration of function `iswprint'

Please add:

#ifdef UTF8
#include <wctype.h>
#endif

to view.c file (I'll attach patch for this).

Comment 1 Marcin Garski 2005-02-04 16:59:06 UTC
Created attachment 110663 [details]
UTF-8 warning patch

Comment 2 Jindrich Novy 2005-02-04 18:03:46 UTC
Hello Marcin, which version of devel mc do you use? mc-4.6.1a-0.4?

Comment 3 Marcin Garski 2005-02-04 19:03:16 UTC
Yes I'm using mc-4.6.1a-0.4 on my FC2 box. I've compiled mc with -Wall
-W flags.

Comment 4 Jindrich Novy 2005-02-07 09:24:51 UTC
Marcin, thanks, it's now fixed in CVS.


Note You need to log in before you can comment on or make changes to this bug.