[petsc-dev] Regarding an error

Jed Brown jedbrown at mcs.anl.gov
Tue Feb 28 07:33:09 CST 2012


On Tue, Feb 28, 2012 at 07:18, Chen S <chensp2602 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120228/0bef856b/attachment.html>


More information about the petsc-dev mailing list