On Wed, Mar 30, 2011 at 9:44 AM,  <[email protected]> wrote:
> That worked, but next one appeared:
>
> src/numerics/petsc_matrix.C:388: error: there are no arguments to 'mkstemp' 
> that
>  depend on a template parameter, so a declaration of 'mkstemp' must be 
> available
>
> src/numerics/petsc_matrix.C:388: error: (if you use '-fpermissive', G++ will 
> acc
> ept your code, but allowing the use of an undeclared name is deprecated)
> src/numerics/petsc_matrix.C: In member function 'void 
> libMesh::PetscMatrix<T>::p
> rint_personal(std::ostream&) const [with T = double]':
> src/numerics/petsc_matrix.C:599:   instantiated from here
> src/numerics/petsc_matrix.C:388: error: 'mkstemp' was not declared in this 
> scope


Hmm... this one might be more trouble, since it looks like we are
#including the right header, <unistd.h> this time.

Could you maybe try #include <sys/unistd.h> instead?

-- 
John

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to