Bug 147168

Summary: Implicit declaration of function 'iswprint' in UTF-8 patch (file view.c)
Product: [Fedora] Fedora Reporter: Marcin Garski <mgarski>
Component: mcAssignee: Jindrich Novy <jnovy>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: rawhideCC: leonard-rh-bugzilla, pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 4.6.1a-0.5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-17 14:08:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
UTF-8 warning patch none

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.