bug-indent
[Top][All Lists]
Advanced

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

[Bug-indent] address@hidden: GNU INDENT: bugs in Win32 compile fixed]


From: Carlo Wood
Subject: [Bug-indent] address@hidden: GNU INDENT: bugs in Win32 compile fixed]
Date: Sat, 27 Oct 2001 02:30:42 +0200
User-agent: Mutt/1.2.5i

-- 
Carlo Wood <address@hidden>
--- Begin Message --- Subject: GNU INDENT: bugs in Win32 compile fixed Date: Fri, 26 Oct 2001 17:00:04 -0700
Two problems in the latest public build of GNU Indent:

1. The config.h.vc++ has numerous errors that prevent compilation, including a 
missing #define VERSION.

2. The indent.dsp has had the CRs removed, Microsoft Visual Studio will no 
longer process the file.

You can either add the CRs back with a little Perl script

   while (<>) {
      chomp;
      print "$_\015\012";
   }

Or I can send you an updated indent.dsp

Here is the text of an updated config.h.vc++ that compiles correctly. I 
generated this file using
the configure script under cygwin, and then modifying the results for Win32:


/* config.h.  Generated automatically by configure.  Modified for Win32 - JB */
/* config.h.in.  Generated automatically from configure.in by autoheader.  */

/* Define if on AIX 3.
   System headers sometimes define this.
   We just want to avoid a redefinition error message.  */
#ifndef _ALL_SOURCE
/* #undef _ALL_SOURCE */
#endif

/* Define to empty if the keyword does not work.  */
/* #undef const */

/* Define if on MINIX.  */
/* #undef _MINIX */

/* Define if the system does not provide POSIX.1 features except
   with this defined.  */
/* #undef _POSIX_1_SOURCE */

/* Define if you need to in order for stat and other things to work.  */
/* #undef _POSIX_SOURCE */

/* Define if you have the ANSI C header files.  */
#define STDC_HEADERS 1

/* Define if you have the memcpy function.  */
#define HAVE_MEMCPY 1

/* Define if you have the memmove function.  */
#define HAVE_MEMMOVE 1

/* Define if you have the strchr function.  */
#define HAVE_STRCHR 1

/* Define if you have the utime function.  */
#define HAVE_UTIME 1

/* Define if you have the <dirent.h> header file.  */
/* #undef HAVE_DIRENT_H */

/* Define if you have the <malloc.h> header file.  */
#define HAVE_MALLOC_H 1

/* Define if you have the <ndir.h> header file.  */
/* #undef HAVE_NDIR_H */

/* Define if you have the <string.h> header file.  */
#define HAVE_STRING_H 1

/* Define if you have the <sys/dir.h> header file.  */
/* #undef HAVE_SYS_DIR_H */

/* Define if you have the <sys/ndir.h> header file.  */
/* #undef HAVE_SYS_NDIR_H */

/* Define if you have the <sys/utime.h> header file.  */
#define HAVE_SYS_UTIME_H 1

/* Define if you have the <unistd.h> header file.  */
/* #undef HAVE_UNISTD_H */

/* Define if you have the <utime.h> header file.  */
/* #undef HAVE_UTIME_H */

/* Name of package */
#define PACKAGE "indent"

/* Version number of package */
#define VERSION "2.2.6"

/* Define if compiler has function prototypes */
#define PROTOTYPES 1




--- End Message ---

reply via email to

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