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/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "stddirect3d.h"
|
#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/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "stdopengl.h"
|
#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/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "std3d.h"
|
#include "std3d.h"
|
||||||
|
|
||||||
|
|
||||||
// leave not static else this workaround don't work
|
|
||||||
void dummyToAvoidStupidCompilerWarning_std_3d_cpp()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,8 @@
|
||||||
#include <exception>
|
#include <exception>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
#include <iostream>
|
||||||
|
#include <limits>
|
||||||
|
|
||||||
#include "nel/misc/rgba.h"
|
#include "nel/misc/rgba.h"
|
||||||
#include "nel/misc/debug.h"
|
#include "nel/misc/debug.h"
|
||||||
|
|
|
@ -15,10 +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 "stdgeorges.h"
|
#include "stdgeorges.h"
|
||||||
|
|
||||||
|
|
||||||
// leave not static else this workaround don't work
|
|
||||||
void dummyToAvoidStupidCompilerWarning_std_georges_cpp()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
|
#include <limits>
|
||||||
#include "nel/misc/debug.h"
|
#include "nel/misc/debug.h"
|
||||||
#include "nel/misc/common.h"
|
#include "nel/misc/common.h"
|
||||||
|
|
||||||
|
|
|
@ -15,10 +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 "stdligo.h"
|
#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/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "stdmisc.h"
|
#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/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "stdnet.h"
|
#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/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "stdpacs.h"
|
#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/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "stdfmod.h"
|
#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/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "stdopenal.h"
|
#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/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "stdsound_lowlevel.h"
|
#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/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "stdxaudio2.h"
|
#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/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "stdsound.h"
|
#include "stdsound.h"
|
||||||
|
|
||||||
|
|
||||||
// leave not static else this workaround don't work
|
|
||||||
void dummyToAvoidStupidCompilerWarning_std_sound_cpp()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue