Re: [PATCH] wcwidth redeclaration
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 8, 2007, 05:02 UTC
- Message-ID
- <7vmz0f52no.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20070508044608.GA32223@us.ibm.com>
apw@us.ibm.com (Amos Waterland) writes:
Show 7 quoted lines
> Build fails for git 1.5.1.3 on AIX, with the message: > > utf8.c:66: error: conflicting types for 'wcwidth' > /.../lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.3/include/string.h:266: error: previous declaration of 'wcwidth' was here > > Here is a patch that fixes it for me. If there is a different way that > is preferred, please let me know.
It's static in that file, so renaming our version to our own name as you did is perfectly good.
Thanks for helping, as not many people seem to be on AIX on this list.