bug-groff
[Top][All Lists]
Advanced

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

groff-current: _UWIN and __CYGWIN32__


From: Bruce Lilly
Subject: groff-current: _UWIN and __CYGWIN32__
Date: Thu, 19 Apr 2001 22:54:12 -0400

                           Groff Bug Report

Please read the PROBLEMS file before sending in a bug report.

Please fill in all fields, even if you think they are not relevant.

Please delete the text in brackets before sending it in.

Please report separate bugs separately.

Send the completed form to address@hidden

GROFF VERSION:
1.17

MACHINE:
Sony PCV-J100

OS:
Microsoft Windows 2000 SP1 with UWIN 2.9
(see http://www.research.att.com/sw/tools/uwin/)

COMPILER:
Microsoft VC++ 6.0 SP5 with UWIN front end

INPUT FILES:
none required

COMMAND LINE:
./configure && make

DESCRIPTION OF INCORRECT BEHAVIOUR:
make fails due to MS-specific gunk

make output:

cc -I. -I/y/groff/groff-current/src/roff/groff 
-I/y/groff/groff-current/src/include -I/y/groff/groff-current/src/include 
-DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 
-DHAVE_SYS_DIR_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MATH_H=1 
-DRET_TYPE_SRAND_IS_VOID=1 -DHAVE_SYS_NERR=1 -DHAVE_SYS_ERRLIST=1 
-DHAVE_CC_LIMITS_H=1 -DRETSIGTYPE=void -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 
-DHAVE_FMOD=1 -DHAVE_STRTOL=1 -DHAVE_GETCWD=1 -DHAVE_STRERROR=1 -DHAVE_PUTENV=1 
-DHAVE_RENAME=1 -DHAVE_MKSTEMP=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 
-DHAVE_STRDUP=1  -g   -c pipeline.c
pipeline.c(131) : error C2065: 'P_WAIT' : undeclared identifier
pipeline.c(131) : warning C4047: 'function' : 'const char *' differs in levels 
of indirection from 'int '
pipeline.c(131) : warning C4024: 'spawnlp' : different types for formal and 
actual parameter 1
pipeline.c(231) : warning C4013: 'spawnvp' undefined; assuming extern returning 
int
make[2]: *** [pipeline.o] Error 1
make[2]: Leaving directory `/Y/groff/groff-current/src/roff/groff'
make[1]: Entering directory `/Y/groff/groff-current'
make[1]: *** [src/roff/groff] Error 2
make[1]: Leaving directory `/Y/groff/groff-current'
make: *** [all] Error 2

SUGGESTED FIX [optional]:
*** src/roff/groff/pipeline.c.p1        Thu Apr 19 22:32:07 2001
--- src/roff/groff/pipeline.c   Thu Apr 19 22:32:59 2001
***************
*** 98,104 ****
     have a workable groff by using the good-ole DOS pipe simulation
     via temporary files...  */
  
! #if defined(__MSDOS__) || (defined(_WIN32) && !defined(__CYGWIN32__))
  
  #include <process.h>
  #include <fcntl.h>
--- 98,104 ----
     have a workable groff by using the good-ole DOS pipe simulation
     via temporary files...  */
  
! #if defined(__MSDOS__) || (defined(_WIN32) && !defined(_UWIN) && 
!defined(__CYGWIN32__))
  
  #include <process.h>
  #include <fcntl.h>
*** src/include/nonposix.h.orig Thu Apr 19 22:46:41 2001
--- src/include/nonposix.h      Thu Apr 19 22:47:39 2001
***************
*** 27,33 ****
  # define setmode(f,m) _setmode(f,m)
  #endif
  
! #if defined(__MSDOS__) || (defined(_WIN32) && !defined(__CYGWIN32__))
  
  /* Binary I/O nuisances.  Note: "setmode" is right for DJGPP and
     Borland; Windows compilers might need _setmode or some such.  */
--- 27,33 ----
  # define setmode(f,m) _setmode(f,m)
  #endif
  
! #if defined(__MSDOS__) || (defined(_WIN32) && !defined(_UWIN) && 
!defined(__CYGWIN32__))
  
  /* Binary I/O nuisances.  Note: "setmode" is right for DJGPP and
     Borland; Windows compilers might need _setmode or some such.  */



reply via email to

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