initialization of XXX_COOKIE in C source files

2008-05-11 Thread Matthew Knepley
On Sat, May 10, 2008 at 7:49 PM, Barry Smith bsmith at mcs.anl.gov wrote: On May 10, 2008, at 6:08 PM, Lisandro Dalcin wrote: I've noticed that in 2.3.3 all PETSc cookies are initialized to zero in sources, but in DEV they are not initialized. What's the reason of

initialization of XXX_COOKIE in C source files

2008-05-11 Thread Barry Smith
Now I am a little worried. Don't some compilers dislike unintialized, file scope variables in shared libraries (I am thinking AIX). Matt If the need arises I will put all the = 0 back in. We never got AIX shared libraries to work anyways :-) Barry On May 11, 2008, at

initialization of XXX_COOKIE in C source files

2008-05-10 Thread Lisandro Dalcin
I've noticed that in 2.3.3 all PETSc cookies are initialized to zero in sources, but in DEV they are not initialized. What's the reason of this change? -- Lisandro Dalc?n --- Centro Internacional de M?todos Computacionales en Ingenier?a (CIMEC) Instituto de Desarrollo Tecnol?gico

initialization of XXX_COOKIE in C source files

2008-05-10 Thread Matthew Knepley
2008/5/10 Lisandro Dalcin dalcinl at gmail.com: I've noticed that in 2.3.3 all PETSc cookies are initialized to zero in sources, but in DEV they are not initialized. What's the reason of this change? Not sure, but I would guess some compiler probably did not like it. Matt --

initialization of XXX_COOKIE in C source files

2008-05-10 Thread Barry Smith
On May 10, 2008, at 6:08 PM, Lisandro Dalcin wrote: I've noticed that in 2.3.3 all PETSc cookies are initialized to zero in sources, but in DEV they are not initialized. What's the reason of