On Tue, Feb 28, 2012 at 07:18, Chen S <chensp2602@gmail.com> wrote:
I've built it with the fixed files and got the following errors (attached)

These line numbers don't match up at all and the errors look quite nonsensical. This smells of a Windows file encoding issue.

C:\cygwin\home\PETSC-~4\src\mat\coarsen\impls\mis\mis.c(1) : error C2059: syntax error : '<'
C:\cygwin\home\PETSC-~4\src\mat\coarsen\impls\mis\mis.c(10) : error C2018: unknown character '0x40'
C:\cygwin\home\PETSC-~4\src\mat\coarsen\impls\mis\mis.c(48) : error C2014: preprocessor command must start as first nonwhite space


mis.c line 1 is an empty line, line 2 is definitely valid C:

#include <private/matimpl.h>    /*I "petscmat.h" I*/

ASCII 0x40 is "@" which does not even appear in that file.

There is not a preprocessor directive anywhere near line 48.