bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-indent] win32 indent with watcom


From: david ingamells
Subject: Re: [Bug-indent] win32 indent with watcom
Date: Mon, 21 Jan 2002 20:26:22 +0100

Charles,
Thanks for the improvements. The libgettext.h include has been changed here to

#include <libgettext.h>

because of problems with building on Unix platforms. Can you try this please?
You may need to tell the compiler to use other directories when looking for 
include files. With GNU and most other compilers that is with something like 
the "-I ..\intl" option.

Regards,

David.

On Monday 21 January 2002 12:10 am, Charles Lecklider wrote:
> indent version 2.2.7
> Watcom 11.0c
>
> With two minor changes, I've got a working Win32 version of indent
> compiled with Watcom C/C++. As you may be aware, Watcom is in the
> process of becoming 'open source', so I believe it makes sense to be
> able to use Watcom to compile indent for Win32. (See
> http://www.openwatcom.org/)
>
> The changes are as follows (sorry no working copy of diff yet):
>
> src/indent.h: line 27
> #include <intl/libgettext.h>
> change to
> #include "intl/libgettext.h"
>
> src/indent.c: line 2692
> Remove this line; it seems that Watcom does not allow you to prototype a
> function within a function definition. Watcom defines __WATCOMC__, so a
> suitable #ifndef could be added instead.
>
> I have attached a copy of config.h, and a very basic makefile. Please
> feel free to include them in future versions if you wish.
>
> Regards,
>
> -C

-- 
David Ingamells
address@hidden
+31 (013) 5093388     (home)
+31 065010947 (mobile)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]