mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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
This commit is contained in:
@ -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.
|
||||
*************************************************************************/
|
||||
|
Reference in New Issue
Block a user