PetscSegv_sigaction / PetscCheckPointer don't build using visual studio
11 Jul
2012
11 Jul
'12
1:10 p.m.
Hi, The recent changes to PetscCheckPointer in petsc-dev don't build on windows when using Visual Studio 2005 and 2010. They have a very bare-bones signal implementation. http://msdn.microsoft.com/en-us/library/xdkz3x12.aspx The first error encountered is due to this new code in petsc-private/petscimpl.h #if defined(PETSC_HAVE_SETJMP_H) #include <signal.h> #include <setjmp.h> PETSC_EXTERN jmp_buf PetscSegvJumpBuf; PETSC_EXTERN void PetscSegv_sigaction(int, siginfo_t*, void *); PETSC_HAVE_SETJMP_H is 1 and both signal.h and setjmp.h are found but they don't define siginfo_t. I'm sure there the compiler doesn't implement a lot of other stuff in PetscCheckPointer. Chetan
5147
Age (days ago)
5147
Last active (days ago)
0 comments
1 participants
participants (1)
-
Chetan Jhurani