[MPI] GCC 4.4.1 Compilation errors

View: New views
3 Messages — Rating Filter:   Alert me  

[MPI] GCC 4.4.1 Compilation errors

by Joel.Falcou :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I upgraded to gcc 4.4 and got the following error when compiling Boost MPI

./boost/mpi/detail/mpi_datatype_oarchive.hpp: In member function ‘void
boost::mpi::detail::mpi_datatype_oarchive::save_enum(const T&,
mpl_::true_)’:
./boost/mpi/detail/mpi_datatype_oarchive.hpp:64: error: expected
primary-expression before ‘enum’
./boost/mpi/detail/mpi_datatype_oarchive.hpp:64: error: expected ‘;’
before ‘enum’

Is it a known bug ?

--
___________________________________________
Joel Falcou - Assistant Professor
PARALL Team - LRI - Universite Paris Sud XI
Tel : (+33)1 69 15 66 35


_______________________________________________
Boost-users mailing list
Boost-users@...
http://lists.boost.org/mailman/listinfo.cgi/boost-users

Re: [MPI] GCC 4.4.1 Compilation errors

by Matthias Troyer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Which version of Boost.MPI? This si a known gcc-4.4 bug that has been  
worked around on the release branch and trunk and should be fixed in  
1.41

Matthias

On 30 Oct 2009, at 20:44, joel wrote:

> I upgraded to gcc 4.4 and got the following error when compiling  
> Boost MPI
>
> ./boost/mpi/detail/mpi_datatype_oarchive.hpp: In member function  
> ‘void boost::mpi::detail::mpi_datatype_oarchive::save_enum(const T&,  
> mpl_::true_)’:
> ./boost/mpi/detail/mpi_datatype_oarchive.hpp:64: error: expected  
> primary-expression before ‘enum’
> ./boost/mpi/detail/mpi_datatype_oarchive.hpp:64: error: expected ‘;’  
> before ‘enum’
>
> Is it a known bug ?
>
> --
> ___________________________________________
> Joel Falcou - Assistant Professor
> PARALL Team - LRI - Universite Paris Sud XI
> Tel : (+33)1 69 15 66 35
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users@...
> http://lists.boost.org/mailman/listinfo.cgi/boost-users

_______________________________________________
Boost-users mailing list
Boost-users@...
http://lists.boost.org/mailman/listinfo.cgi/boost-users

Re: [MPI] GCC 4.4.1 Compilation errors

by Joel.Falcou :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Matthias Troyer wrote:
> Which version of Boost.MPI? This si a known gcc-4.4 bug that has been
> worked around on the release branch and trunk and should be fixed in 1.41
Oops sorry, it was in 1.40.
I'll wait for 1.41 then :)
Thanks

--
___________________________________________
Joel Falcou - Assistant Professor
PARALL Team - LRI - Universite Paris Sud XI
Tel : (+33)1 69 15 66 35


_______________________________________________
Boost-users mailing list
Boost-users@...
http://lists.boost.org/mailman/listinfo.cgi/boost-users