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 , 15 years ago
comment:2 by , 15 years ago
Milestone: | To Be Determined → Boost 1.35.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Thanks for the extra comment. This is now solved.
Note:
See TracTickets
for help on using tickets.
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
and online 136 # define BOOST_TYPEOF_NESTED_TYPEDEF_TPL(name,expr) BOOST_TYPEOF_NESTED_TYPEDEF(name,expr);