This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc-4.4.0 libstdc++ build failed


M R Swami Reddy wrote:
> I am building a cross compiler using gcc-4.4.0 released sources.
> In that compiler and libgcc are built successfully, but libstdc++ build
> failed with below message:
> ===
> libstdc++-v3/src/atomic.cc:106: error: cast from 'const volatile
> void*' to 'uintptr_t' loses precision
> ===
> Could you please help to resolve the above?
As far as I can see, either you are doing something wrong in your cross
configuration, or something is broken in your target, because, per C99
7.18.1.4, that conversion must be always possible.

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]