Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#7970 closed Bugs (fixed)

Compiler Error with clang in c++11 mode

Reported by: chhenning@… Owned by: Hailin Jin
Milestone: Boost 1.54.0 Component: gil USE GITHUB
Version: Boost 1.53.0 Severity: Problem
Keywords: Cc:

Description

clang 3.2 in c++11 mode is complaining about assigning -1 to an unsigned long long.

Change History (6)

comment:1 by chhenning@…, 10 years ago

Fixed in trunk.

comment:2 by chhenning, 10 years ago

Resolution: fixed
Status: newclosed

comment:3 by Jim Bosch, 10 years ago

This may be a duplicate of #7270; can you verify this?

Did you also fix the other nearby lines that are likely to cause similar problems?

comment:4 by chhenning, 10 years ago

I have closed #7270.

I think the nearby lines look ok. Do you have specific lines on your mind?

comment:5 by Jim Bosch, 10 years ago

Hmm. I seem to remember that I was worried about the lines immediately below, with specializations of that same template, but looking again I don't see any reason for concern. Thanks!

comment:6 by chhenning, 10 years ago

(In [82745]) The last fix produces a compiler with Visual Studio 2010.

See ticket 7970.

Note: See TracTickets for help on using tickets.