Opened 15 years ago

Closed 15 years ago

#1188 closed Bugs (fixed)

extra semicolon

Reported by: Steven Watanabe Owned by: Peder Holt
Milestone: Boost 1.35.0 Component: typeof
Version: Boost 1.34.1 Severity: Problem
Keywords: Cc:

Description

BOOST_TYPEOF_NESTED_TYPEDEF_TPL adds an extra semicolon. This is technically illegal and generates warnings on some compilers.

Change History (2)

comment:1 by Steven Watanabe, 15 years ago

I should add that the semicolons I am referring to are not the ones at the end. As long as users know about those they can avoid warnings. The problem is that there is a double semicolon at typeof_impl.hpp line 121

BOOST_TYPEOF_FRACTIONTYPE();\

and online 136 # define BOOST_TYPEOF_NESTED_TYPEDEF_TPL(name,expr) BOOST_TYPEOF_NESTED_TYPEDEF(name,expr);

comment:2 by Peder Holt, 15 years ago

Milestone: To Be DeterminedBoost 1.35.0
Resolution: fixed
Status: newclosed

Thanks for the extra comment. This is now solved.

Note: See TracTickets for help on using tickets.