Commit 8ad12db7 authored by unknown's avatar unknown

Bug#22579 use --warning-mode=pedantic and -std=c89 flags when compiling with gcc

 - Reorganize include file order to avoid problem with gcc 2.95.3
 - Compiler is confused by forward class declarations


server-tools/instance-manager/command.cc:
  Reorganize include file order to avoid problem with gcc 2.95.3
server-tools/instance-manager/instance.cc:
  Reorganize include file order to avoid problem with gcc 2.95.3
parent 4c7aeb36
......@@ -17,9 +17,8 @@
#pragma implementation
#endif
#include "command.h"
#include "manager.h"
#include "command.h"
Command::Command()
:guardian(Manager::get_guardian()),
......
......@@ -17,7 +17,6 @@
#pragma implementation
#endif
#include "instance.h"
#include <mysql.h>
......@@ -26,8 +25,9 @@
#include <sys/wait.h>
#endif
#include "guardian.h"
#include "manager.h"
#include "guardian.h"
#include "instance.h"
#include "log.h"
#include "mysql_manager_error.h"
#include "portability.h"
......@@ -35,6 +35,7 @@
#include "thread_registry.h"
#include "instance_map.h"
/*************************************************************************
{{{ Platform-specific functions.
*************************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment