Opened 8 years ago

Closed 8 years ago

#10043 closed Bugs (invalid)

BOOST_NOINLINE undefined

Reported by: Víctor M. González <helios.vmg@…> Owned by:
Milestone: To Be Determined Component: None
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

Boost version: 1.55.0
Compiler: MS VC++ 2012
Build configuration: Debug
Target platform: x64

BOOST_NOINLINE is undefined at line 102 in boost/assert.hpp, in front of the definition of boost::assertion::detail::assertion_failed_msg(). This causes the following errors:

boost/assert.hpp(102): error C2144: syntax error : 'void' should be preceded by ';'
boost/assert.hpp(102): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
boost/assert.hpp(102): error C2065: 'CharT' : undeclared identifier
boost/assert.hpp(102): error C2143: syntax error : missing ')' before 'const'
boost/assert.hpp(102): error C2182: 'assertion_failed_msg' : illegal use of type 'void'
boost/assert.hpp(103): error C2059: syntax error : ')'
boost/assert.hpp(116): error C2143: syntax error : missing ';' before '}'

Change History (3)

comment:1 by viboes, 8 years ago

Could you provide a simple example?

in reply to:  1 comment:2 by Víctor M. González <helios.vmg@…>, 8 years ago

Replying to viboes:

Could you provide a simple example?

Shoot. I really wish you had asked me last week. I've completely forgotten what I was trying to include when I came across the error.

comment:3 by viboes, 8 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.