Home My Page Projects PaStiX
Summary Activity Forums Lists Docs News Files

Forum: open-discussion

Monitor Forum | Start New Thread Start New Thread
RE: pastix.h include guards are broken [ Reply ]
By: Xavier Lacoste on 2012-06-19 11:52
[forum:109794]

0002-protect-api.h.patch (16) downloads
Hello again,

I added an other patch for fixing this double inclusion.
See attached file.

XL.

RE: pastix.h include guards are broken [ Reply ]
By: Xavier Lacoste on 2012-06-19 09:16
[forum:109793]

0001-protect-pastix.h-from-double-inclusion.patch (19) downloads
Hello,

Here is a patch that should fix this double inclusion problem.

Thanks,

XL.

pastix.h include guards are broken [ Reply ]
By: Garth Wells on 2012-06-16 09:06
[forum:109790]
The include guards in pastix.h are broken. Compilation of the code:

#include <mpi.h>
#include <pastix.h>
#include <pastix.h>

int main()
{ return 1; }

fails with hundreds of re-declaration errors. The include guards should guard the entire header file, but presently only prevent re-inclusion of part of the file.

Garth