Fix Broxygen-related compile errors.

This commit is contained in:
Jon Siwek 2013-11-25 16:08:46 -06:00
parent 25e28c04f0
commit 9163935aba
5 changed files with 5 additions and 2 deletions

View file

@ -7,6 +7,7 @@
#include <fstream> #include <fstream>
#include <vector> #include <vector>
#include <algorithm> #include <algorithm>
#include <errno.h>
using namespace broxygen; using namespace broxygen;
using namespace std; using namespace std;

View file

@ -167,8 +167,7 @@ IdentifierInfo* Manager::CreateIdentifierInfo(ID* id, ScriptInfo* script)
rval->AddComments(comment_buffer); rval->AddComments(comment_buffer);
comment_buffer.clear(); comment_buffer.clear();
comment_buffer_map_t::const_iterator it = comment_buffer_map_t::iterator it = comment_buffer_map.find(id->Name());
comment_buffer_map.find(id->Name());
if ( it != comment_buffer_map.end() ) if ( it != comment_buffer_map.end() )
{ {

View file

@ -17,6 +17,7 @@
#include <map> #include <map>
#include <ctime> #include <ctime>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h>
namespace broxygen { namespace broxygen {

View file

@ -4,6 +4,7 @@
#include "Reporter.h" #include "Reporter.h"
#include <fstream> #include <fstream>
#include <errno.h>
using namespace std; using namespace std;
using namespace broxygen; using namespace broxygen;

View file

@ -3,6 +3,7 @@
#include "Reporter.h" #include "Reporter.h"
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h>
using namespace broxygen; using namespace broxygen;
using namespace std; using namespace std;