On Thu, 23 May 2013, Satish Balay wrote: > On Thu, 23 May 2013, Jed Brown wrote: > > > Satish Balay <[email protected]> writes: > > > > > On Thu, 23 May 2013, Jed Brown wrote: > > > > > >> Satish Balay <[email protected]> writes: > > >> > > >> > Since it works for 'make V=1' - perhaps we coud do something like: > > >> > > > >> > if cygwin: V=1 > > >> > > >> I can change the "quiet" setup logic. Is there a variable identifying > > >> cygwin in petscvariables? > > > > > > Not currently - but there is a configure check isCygwin() [all it does > > > is check 'uname -s'] which can presumably set the variable. > > > > > > And top level configure.py does its own check by for > > > '/usr/bin/cygcheck.exe' > > > > Thanks, pushed. Can you add your other cygwin patches to > > 'jed/gnumake-cygwin'? > > but they are just hacks. will check on proper fixes..
Lisandro, Any idea why this redirection from PetscStringize() -> PetscStringizeArg() was needed? https://bitbucket.org/petsc/petsc/commits/59aaf35543f238554406f60a2c099071dfa3cd67 This breaks on windows when empty 'LOCDIR' is used with -D__INSDIR__=${LOCDIR} [but reverting the above gets the compile going.] Thanks, Satish ----------- $ make -f gmakefile PETSC_ARCH=arch-gmake /home/balay/petsc.clone/bin/win32fe/win32fe cl -c -MT -wd4996 -Z7 -I/home/balay/petsc.clone/include -I/home/balay/petsc.clone/arch-gmake/include -I/cygdrive/c/Program\ Files/Microsoft\ HPC\ Pack\ 2012/Inc -D__INSDIR__= src/sys/info/verboseinfo.c -o arch-gmake/obj-gmake/src/sys/info/verboseinfo.o verboseinfo.c C:\cygwin\home\balay\PETSC~1.CLO\include\petsclog.h(202) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\include\petsclog.h(202) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\include\petsclog.h(202) : error C2059: syntax error : ';' C:\cygwin\home\balay\PETSC~1.CLO\include\petsclog.h(202) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\include\petsclog.h(204) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\include\petsclog.h(204) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\include\petsclog.h(215) : error C2143: syntax error : missing ')' before '*' C:\cygwin\home\balay\PETSC~1.CLO\include\petsclog.h(215) : error C2143: syntax error : missing '{' before '*' C:\cygwin\home\balay\PETSC~1.CLO\include\petsclog.h(215) : error C2059: syntax error : ')' C:\cygwin\home\balay\PETSC~1.CLO\include\petsclog.h(325) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\include\petsclog.h(325) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\include\petsclog.h(326) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\include\petsclog.h(326) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\include\petsclog.h(458) : error C2061: syntax error : identifier 'PetscIntStackCreate' C:\cygwin\home\balay\PETSC~1.CLO\include\petsclog.h(458) : error C2059: syntax error : ';' C:\cygwin\home\balay\PETSC~1.CLO\include\petsclog.h(458) : error C2059: syntax error : 'type' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1618) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1618) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1618) : error C2059: syntax error : ';' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1618) : error C2059: syntax error : ',' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1619) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1619) : error C2059: syntax error : ',' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1620) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1620) : error C2059: syntax error : ',' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1628) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1628) : error C2059: syntax error : ',' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1677) : error C2061: syntax error : identifier 'PetscMemzero' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1677) : error C2059: syntax error : ';' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1677) : error C2059: syntax error : 'type' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1681) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1932) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1932) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1932) : error C2059: syntax error : ';' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1932) : error C2059: syntax error : ',' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1942) : error C2061: syntax error : identifier 'PetscMPIIntCast' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1942) : error C2059: syntax error : ';' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1942) : error C2059: syntax error : 'type' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1944) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' c:\cygwin\home\balay\petsc.clone\include\petscsys.h(1944) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(52) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(52) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(52) : error C2059: syntax error : ';' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(52) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(54) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(54) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(55) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(55) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(57) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(57) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(58) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(58) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(59) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(59) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(85) : error C2061: syntax error : identifier 'PetscInfoDeactivateClass' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(85) : error C2059: syntax error : ';' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(85) : error C2059: syntax error : 'type' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(87) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(87) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(116) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(116) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(116) : error C2059: syntax error : ';' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(116) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(127) : error C2143: syntax error : missing '{' before '*' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(179) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(179) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(179) : error C2059: syntax error : ';' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(179) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(180) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(180) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(180) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(180) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(180) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(180) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(180) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(180) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(181) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(181) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(181) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(181) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(187) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(187) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(191) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(191) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(194) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(194) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(195) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(195) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(196) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(196) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(198) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(198) : error C2059: syntax error : ',' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(201) : warning C4133: 'function' : incompatible types - from 'int *' to 'FILE *' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(201) : warning C4003: not enough actual parameters for macro 'PetscStringizeArg' C:\cygwin\home\balay\PETSC~1.CLO\src\sys\info\verboseinfo.c(201) : error C2059: syntax error : ',' gmakefile:100: recipe for target `arch-gmake/obj-gmake/src/sys/info/verboseinfo.o' failed make: *** [arch-gmake/obj-gmake/src/sys/info/verboseinfo.o] Error 2
