[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mbswidth.c -gnu_mbswidth redeclared on SCO 5.0.7 - bison-1.875
From: |
Mark Gordon |
Subject: |
mbswidth.c -gnu_mbswidth redeclared on SCO 5.0.7 - bison-1.875 |
Date: |
Tue, 4 Nov 2003 15:33:39 +0000 |
A function called mbswidth is declared in the wchar.h for SCO 5.0.7 and
since this is included in mbswidth.c before mbswidth.h a conflict still
occurs despite the #define. Moving mbswidth.h to after the other
includes allows it to build on SCO 5.0.7 using both cc and gcc 3.3.2. It
also still builds correctly on Linux using gcc 3.3.2
A diff against version 1.875 follows:
# diff mbswidth.c mbswidth.c~
23a24,26
> /* Specification. */
> #include "mbswidth.h"
>
41,44d43
<
< /* Specification. */
< #include "mbswidth.h"
<
Mark Gordon
Causeway Technologies Limited
Tel: (+44 (0)1628 552000)
Fax: (+44 (0)1628 552001)
- mbswidth.c -gnu_mbswidth redeclared on SCO 5.0.7 - bison-1.875,
Mark Gordon <=