Opened 14 years ago

Closed 14 years ago

#2090 closed Bugs (fixed)

BOOST_IS_ABSTRACT fails to compile with gcc 4.3.1 on OpenSUSE 11

Reported by: ruediger.berlich@… Owned by: Robert Ramey
Milestone: Boost 1.36.0 Component: serialization
Version: Boost Development Trunk Severity: Problem
Keywords: BOOST_IS_ABSRACT gcc 4.3.1 Cc: ruediger.berlich@…

Description

Hi there,

the macro "BOOST_IS_ABSTRACT" fails to compile with gcc 4.3.1 on OpenSUSE 11 / 64 bit with the current (9.Jul 08) trunk version of Boost 1.36

The error message of the compiler says: "error: expected unqualified-id before is_abstract"

The same code compiles fine with gcc 4.2.1 (on OpenSUSE 10.3) and Boost 1.35. I have also tried an earlier trunk version of 1.36 with the same combination, which ran fine.

Please do contact me if you want me to try out a patch in the OpenSUSE 11 environment.

Best, Ruediger

Change History (1)

comment:1 by Robert Ramey, 14 years ago

Resolution: fixed
Status: newclosed

In 1.36 - BOOST_IS_ABSTRACT is means something else - see type traits.

Try BOOST_SERIALIZATION_ASSUME_ABSTRACT

Robert Ramey

Note: See TracTickets for help on using tickets.