Invalid Syntax Error?
- Dominant language
- Haskell
- Stars
- 211
- Forks
- 52
- PR merge metrics
- No merged PRs in 30d
Description
```
~/mypetsc $ /Users/dom/Library/Haskell/ghc-7.10.3/lib/c2hs-0.28.1/bin/c2hs --cppopts="-I/Users/dom/petsc/include" --cppopts="-I/Users/dom/petsc/arch-darwin-c-debug/include" myBind.chs
/Users/dom/Library/Haskell/ghc-7.10.3/lib/c2hs-0.28.1/bin/c2hs --cppopts="-I/Users/dom/petsc/include" --cppopts="-I/Users/dom/petsc/arch-darwin-c-debug/include" myBind.chs
c2hs: C header contains errors:
/Users/dom/petsc/include/petscsys.h:209: (column 72) [ERROR] >>> Syntax error !
The symbol `PetscEnum' does not fit here.
```
Here's the offending line
```
typedef enum { ENUM_DUMMY } PetscEnum;
PETSC_EXTERN MPI_Datatype MPIU_ENUM PetscAttrMPITypeTag(PetscEnum);
```
I'm assuming this really is valid as PETSc users are not complaining.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.