Fixed: Removed dummyToAvoidStupidCompilerWarning functions to fix compilation if std*.cpp are included more than once

This commit is contained in:
kervala 2010-09-28 11:25:37 +02:00
parent 818989f069
commit 98c43b1540
7 changed files with 1 additions and 24 deletions

View file

@ -15,9 +15,3 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stddsound.h" #include "stddsound.h"
// Foo function to remove disabled warning
void foo_stddsound() {}
/* end of file */

View file

@ -15,6 +15,3 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdpch.h" #include "stdpch.h"
// correct the warning disabling bug in visual
void game_share_foo() {}

View file

@ -15,7 +15,3 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdpch.h" #include "stdpch.h"
// correct the silly waring of VC6
void foo_stdpch_entity_game_service() {}

View file

@ -15,7 +15,3 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdpch.h" #include "stdpch.h"
// remove stupid VC 6 warnings
void foo_mail_forum_service() {}

View file

@ -15,7 +15,3 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdpch.h" #include "stdpch.h"
// Function to corret silly warning in Visual 6
void foo_monitor_service() {};

View file

@ -15,6 +15,3 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdpch.h" #include "stdpch.h"
// correct the warning disabling bug in visual
void game_share_foo() {};

View file

@ -32,6 +32,7 @@
#include <utility> #include <utility>
#include <deque> #include <deque>
#include <memory> #include <memory>
#include <limits>
#include <nel/misc/common.h> #include <nel/misc/common.h>
#include <nel/misc/debug.h> #include <nel/misc/debug.h>