Comment 3 for bug 1134511

Revision history for this message
Patrick Farrell (pefarrell) wrote :

Hi Timothy,

Sorry for the delay in replying, I'm at a conference this week.

I can't reproduce your double complex issue. double complex is perfectly valid C, so it should be perfectly valid C++; I have no idea why it wouldn't work.

I think that a) a user really wanting PETSc (it's an optional loose dependency) and b) only being able to compile petsc with the C++ compiler (for whatever reason) is pretty rare. Trapping that error is really hard, and I'm not sure it's worth it.

What OS are you on? Which version of g++? Perhaps I can try to reproduce your error. Alternatively, I'd be very happy to accept patches/merge requests for a modification to adj_debug.c that cleanly compiles with both C and C++ compilers.