Opened 12 years ago

Closed 8 years ago

#5213 closed Bugs (fixed)

Boost 1.46 headers no longer compile on WinCE

Reported by: anonymous Owned by: viboes
Milestone: To Be Determined Component: utility
Version: Boost 1.46.0 Severity: Regression
Keywords: wince Cc:

Description

boost_1_46_0/boost/assert.hpp(104) : error C2039: 'abort' : is not a member of 'std'

There is no 'abort' function on Windows CE (Visual Studio 2008). Boost 1.45 compiles fine.

Change History (8)

comment:1 by Steven Watanabe, 12 years ago

Component: Noneutility
Owner: set to Beman Dawes

I think this has been fixed in the trunk already. Personally, I think it would be better to use

#define BOOST_ASSERT_MSG(expr, msg) assert(!!(expr) && msg)

That way

  • We don't #include <iostream> everywhere
  • It will work correctly for Windows applications with no console
  • The behavior will automatically be consistent with assert

comment:2 by Ulrich Eckhardt <ulrich.eckhardt@…>, 11 years ago

Keywords: wince added

The problem still persists on 1.48.

See also #6349.

comment:3 by viboes, 10 years ago

Owner: changed from Beman Dawes to viboes
Status: newassigned

[68982] fixes the issue, but has not been merged. I will merge it as soon as the release branch is open.

comment:4 by viboes, 10 years ago

Resolution: fixed
Status: assignedclosed

(In [83427]) Utility: merge [68982] to fix #5213.

comment:5 by anonymous, 8 years ago

The problem exist also in 1.55. (1.56 and 1.57 beta not tested)

comment:6 by anonymous, 8 years ago

Resolution: fixed
Status: closedreopened

comment:7 by viboes, 8 years ago

There is no more call to abort on this file. Could you tell me where is the error?

comment:8 by viboes, 8 years ago

Resolution: fixed
Status: reopenedclosed

Reopen it if needed.

Note: See TracTickets for help on using tickets.