https://bugzilla.novell.com/show_bug.cgi?id=397836 Summary: mc (midnight commander) compile error (on HP-UX;) in your utf8 patches Product: openSUSE 11.0 Version: Factory Platform: Other OS/Version: HP-UX 11.11 Status: NEW Severity: Enhancement Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: koenig@linux.de QAContact: qa@suse.de Found By: --- I used your utf-8 patches from mc-4.6.2.pre1-68.src.rpm to build mc on various plattforms with utf8 support. on HP-UX 11.11 using cc Version B.11.11.16 I got the following error cc: "wordproc.c", line 399: error 1006: Cannot concatenate character string literal and wide string literal. so I added the following _very_ small one-character patch: --- orig.010058/mc-4.6.2-pre1/edit/wordproc.c 2008-06-06 10:28:44.000000000 +0200 +++ mc-4.6.2-pre1/edit/wordproc.c 2008-06-05 11:07:05.000000000 +0200 @@ -396,7 +396,7 @@ #ifndef UTF8 if (strchr (NO_FORMAT_CHARS_START "\t ", t[i + 1])) { #else /* UTF8 */ - if (wcschr (NO_FORMAT_CHARS_START "\t", t[i + 1])) { + if (wcschr (NO_FORMAT_CHARS_START L"\t", t[i + 1])) { #endif /* UTF8 */ g_free (t); return; since this showed up in your patches and not the mc source code... maybe the gcc once will complain about that string concatenation too ?!? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.