1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +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:
msvensson@neptunus.(none)
2007-01-29 19:36:48 +01:00
parent 46b3a3d7dd
commit adf20e3512
2 changed files with 4 additions and 4 deletions

View File

@@ -17,9 +17,8 @@
#pragma implementation #pragma implementation
#endif #endif
#include "command.h"
#include "manager.h" #include "manager.h"
#include "command.h"
Command::Command() Command::Command()
:guardian(Manager::get_guardian()), :guardian(Manager::get_guardian()),

View File

@@ -17,7 +17,6 @@
#pragma implementation #pragma implementation
#endif #endif
#include "instance.h"
#include <mysql.h> #include <mysql.h>
@@ -26,8 +25,9 @@
#include <sys/wait.h> #include <sys/wait.h>
#endif #endif
#include "guardian.h"
#include "manager.h" #include "manager.h"
#include "guardian.h"
#include "instance.h"
#include "log.h" #include "log.h"
#include "mysql_manager_error.h" #include "mysql_manager_error.h"
#include "portability.h" #include "portability.h"
@@ -35,6 +35,7 @@
#include "thread_registry.h" #include "thread_registry.h"
#include "instance_map.h" #include "instance_map.h"
/************************************************************************* /*************************************************************************
{{{ Platform-specific functions. {{{ Platform-specific functions.
*************************************************************************/ *************************************************************************/