mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-30 04:40:53 +00:00
Fixed: Removed dummyToAvoidStupidCompilerWarning functions to fix compilation if std*.cpp are included more than once
This commit is contained in:
parent
9ad779931b
commit
84986b79b7
15 changed files with 3 additions and 94 deletions
|
@ -15,8 +15,3 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stddirect3d.h"
|
||||
|
||||
// leave not static else this workaround don't work
|
||||
void dummyToAvoidStupidCompilerWarning_std_direct3d_cpp()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -15,10 +15,3 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdopengl.h"
|
||||
|
||||
|
||||
// leave not static else this workaround don't work
|
||||
void dummyToAvoidStupidCompilerWarning_stdopengl_cpp()
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -15,10 +15,3 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "std3d.h"
|
||||
|
||||
|
||||
// leave not static else this workaround don't work
|
||||
void dummyToAvoidStupidCompilerWarning_std_3d_cpp()
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -32,6 +32,8 @@
|
|||
#include <exception>
|
||||
#include <memory>
|
||||
#include <functional>
|
||||
#include <iostream>
|
||||
#include <limits>
|
||||
|
||||
#include "nel/misc/rgba.h"
|
||||
#include "nel/misc/debug.h"
|
||||
|
|
|
@ -15,10 +15,3 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdgeorges.h"
|
||||
|
||||
|
||||
// leave not static else this workaround don't work
|
||||
void dummyToAvoidStupidCompilerWarning_std_georges_cpp()
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include <vector>
|
||||
#include <string>
|
||||
#include <ctime>
|
||||
#include <limits>
|
||||
#include "nel/misc/debug.h"
|
||||
#include "nel/misc/common.h"
|
||||
|
||||
|
|
|
@ -15,10 +15,3 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdligo.h"
|
||||
|
||||
|
||||
// leave not static else this workaround don't work
|
||||
void dummyToAvoidStupidCompilerWarning_std_ligo_cpp()
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -15,10 +15,3 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdmisc.h"
|
||||
|
||||
|
||||
// leave not static else this workaround don't work
|
||||
void dummyToAvoidStupidCompilerWarning_std_misc_cpp()
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -15,10 +15,3 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdnet.h"
|
||||
|
||||
|
||||
// leave not static else this workaround don't work
|
||||
void dummyToAvoidStupidCompilerWarning_stdnet_cpp()
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -15,10 +15,3 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdpacs.h"
|
||||
|
||||
|
||||
// leave not static else this workaround don't work
|
||||
void dummyToAvoidStupidCompilerWarning_stdpacs_cpp()
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -15,15 +15,3 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdfmod.h"
|
||||
|
||||
|
||||
namespace NLSOUND
|
||||
{
|
||||
|
||||
void dummyToAvoidStupidVCWarning_stdfmod_cpp()
|
||||
{
|
||||
}
|
||||
|
||||
} // NLSOUND
|
||||
|
||||
/* end of file */
|
||||
|
|
|
@ -15,10 +15,3 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdopenal.h"
|
||||
|
||||
void dummyToAvoidStupidCompilerWarning_stdopenal_cpp()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/* end of file */
|
||||
|
|
|
@ -15,10 +15,3 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdsound_lowlevel.h"
|
||||
|
||||
|
||||
// leave not static else this workaround don't work
|
||||
void dummyToAvoidStupidCompilerWarning_std_sound_lowlevel_cpp()
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -15,10 +15,3 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdxaudio2.h"
|
||||
|
||||
void dummyToAvoidStupidCompilerWarning_stdxaudio2_cpp()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/* end of file */
|
||||
|
|
|
@ -15,10 +15,3 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "stdsound.h"
|
||||
|
||||
|
||||
// leave not static else this workaround don't work
|
||||
void dummyToAvoidStupidCompilerWarning_std_sound_cpp()
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue