Ilmar Wilbers skrev den 31/07-2008 følgende: > Don't know if these warnings have anything to do with the previous: > dolfin/log/Table.h:97: Warning(503): Can't wrap 'operator dolfin::real' > unless renamed to a valid identifier. > dolfin/la/Scalar.h:82: Warning(503): Can't wrap 'operator dolfin::real' > unless renamed to a valid identifier. > > This does not make scons fail, however. I thought the compilation should > fail on warnings?
These are swig warnings that should not terminate the builds. We should get rid of them, however. Ola > ilmar > > Ola Skavhaug wrote: >> Ilmar Wilbers skrev den 30/07-2008 følgende: >> >>> It's been like that for some time now on the buildbots as well. I >>> posted it several times earlier on the list. >>> >>> ilmar >>> >> >> The fix is simple: >> >> L112: >> col_sizes[0] = std::max(col_sizes[0], (dolfin::uint)(rows[i].size())); >> L118: >> col_sizes[j + 1] = std::max(col_sizes[j + 1], >> (dolfin::uint)(value.str().size())); >> >> Ola >> >> >>> Ola Skavhaug wrote: >>> >>>> On my 64bit Ubuntu, I get the following errors when compiling: >>>> >>>> dolfin/log/Table.cpp: In member function ‘void dolfin::Table::disp() >>>> const’: >>>> dolfin/log/Table.cpp:112: error: no matching function for call to >>>> ‘max(unsigned int&, size_t)’ >>>> dolfin/log/Table.cpp:118: error: no matching function for call to >>>> ‘max(unsigned int&, size_t)’ >>>> >>>> Any help is appreciated. >>>> >>>> Ola >>>> >>>> _______________________________________________ >>>> DOLFIN-dev mailing list >>>> [email protected] >>>> http://www.fenics.org/mailman/listinfo/dolfin-dev >>>> _______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
