The problem is that at line 31 of my cmdLine.cpp I only have this:
 
#include <boost/variant.hpp>
 
...

Da: boost-users-bounces@lists.boost.org
A: boost-users@lists.boost.org
Cc:
Data: Mon, 11 Jul 2011 18:16:33 +0300
Oggetto: Re: [Boost-users] Compilation issue

> > I read the message but why can I compile even without a warning on the
> > Ubuntu machine?
> > Maybe is not a problem of my source but a problem of the combination of that
> > GCC and BOOST version on CentOS machine.
>
> Maybe it is. But do you really think anyone can *guess* what the
> problem is, without seeing even a single line of your source code?
>
>
> > Do you have any idea on how to fix  or at least investigate it, without update GCC or BOOST?
>
> I mentioned a possible direction to investigate: look at the
> preprocessed code. Perhaps, you've got a macro that messed up some
> variant or mpl code.
> _______________________________________________
> Boost-users mailing list
> Boost-users@lists.boost.org
> http://lists.boost.org/mailman/listinfo.cgi/boost-users