You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please
read the bug posting guidelines first.
Sylence
Posts: 725 Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:
Post
by Sylence » Sat Mar 14, 2009 10:34 pm
Some of the VS 6.0 users still don't know that their compiler is not compatible with Irrlicht and keep posting in the forums why they can't compile.
Adding a warning/error when compiling with Vs 6.0 or older should help there.
Code: Select all
Index: include/IrrCompileConfig.h
===================================================================
--- include/IrrCompileConfig.h (Revision 2278)
+++ include/IrrCompileConfig.h (Arbeitskopie)
@@ -45,6 +45,13 @@
#endif
#endif
+// Visual Studio 6.0 is no longer supported
+#ifdef _MSC_VER
+#if ( _MSC_VER < 1300 && !defined(__GNUC__))
+#error "Visual Studio 6.0 is not supported."
+#endif
+#endif
+
// XBox only suppots the native Window stuff
#if defined(_XBOX)
#undef _IRR_WINDOWS_
Tracker-URL:
https://sourceforge.net/tracker/index.p ... tid=540678
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
vitek
Bug Slayer
Posts: 3919 Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR
Post
by vitek » Sun Mar 15, 2009 5:23 am
If you intend to display an error for earlier versions of the Microsoft compiler, the following check should be sufficient...
Code: Select all
#if defined(_MSC_VER) && (_MSC_VER < 1400)
# error "Only Microsoft Visual Studio 7.0 and later are supported."
#endif
Travis
bitplane
Admin
Posts: 3204 Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:
Post
by bitplane » Mon Mar 16, 2009 1:34 am
okay, committed
Nox
Posts: 304 Joined: Wed Jan 14, 2009 6:23 pm
Post
by Nox » Sun Mar 29, 2009 9:30 am
Hey wowowow....you excluded vs2002/2003 with 1400. Do you think they shall be excluded?
hybrid
Admin
Posts: 14143 Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:
Post
by hybrid » Sun Mar 29, 2009 9:55 am
Nox wrote: Hey wowowow....you excluded vs2002/2003 with 1400. Do you think they shall be excluded?
#if defined(_MSC_VER) && (_MSC_VER < 1300)
Please update to the latest revision (was fixed on March 16th).
Nox
Posts: 304 Joined: Wed Jan 14, 2009 6:23 pm
Post
by Nox » Sun Mar 29, 2009 11:21 am
Ohh sry my fault. Just read that he uses vitek version and there is 1400 used. I beg your pardon.