dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #14683
Re: Small changes to enable compilation
Anders Logg wrote:
> On Wed, Aug 12, 2009 at 12:10:42PM +0200, Harish Narayanan wrote:
>> I needed to touch a few files to get a recent clone of the dolfin
>> repository to compile of my machine. My compiler (mpic++/gcc4.2) doesn't
>> seem to like default values for boolean variables (verbose) being
>> specified both in the .cpp and .h files.
>>
>> I have attached a bundle removing the default values in the .h files.
>
> The default values should only be speficied in the header files (not
> .cpp), at least that's what my GCC tells me...
>
> I've pushed a fix.
OK!
There was another fix in that bundle as well. I needed to include
dolfin/common/types.h to define uint for XMLFile.cpp to compile.
Harish
Follow ups
References