Daxter304
Daxter304

Reputation: 11

Error C4430 - VS2012

I am getting the errors C4430: missing type specifier - int assumed. Note: C++ does not support default-int C2143: syntax error : missing ';' before '<' C2238: C2238: unexpected token(s) preceding ';' on the following line.

typedef STD_::reverse_bidirectional_iterator<iterator, DataObj>; reverse_iterator;

What do I need to do to get rid of these errors? This is being done in Visual Studio 2012 on Windows 8.

Upvotes: 0

Views: 363

Answers (2)

SheetJS
SheetJS

Reputation: 22905

typedef STD_::reverse_bidirectional_iterator<iterator, DataObj>; reverse_iterator;
                                                               ^

That semicolon should be removed

Upvotes: 1

Mahesh
Mahesh

Reputation: 34625

Get rid of the ; before reverse_iterator.

Upvotes: 2

Related Questions