[Scummvm-cvs-logs] SF.net SVN: scummvm:[43076] scummvm/branches/gsoc2009-mods/sound/mods

nolange at users.sourceforge.net nolange at users.sourceforge.net
Wed Aug 5 20:57:15 CEST 2009


Revision: 43076
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43076&view=rev
Author:   nolange
Date:     2009-08-05 18:57:13 +0000 (Wed, 05 Aug 2009)

Log Message:
-----------
added some error messages to the compile-time checks

Modified Paths:
--------------
    scummvm/branches/gsoc2009-mods/sound/mods/maxtrax.h
    scummvm/branches/gsoc2009-mods/sound/mods/tfmx.h

Modified: scummvm/branches/gsoc2009-mods/sound/mods/maxtrax.h
===================================================================
--- scummvm/branches/gsoc2009-mods/sound/mods/maxtrax.h	2009-08-05 18:45:22 UTC (rev 43075)
+++ scummvm/branches/gsoc2009-mods/sound/mods/maxtrax.h	2009-08-05 18:57:13 UTC (rev 43076)
@@ -25,6 +25,7 @@
 
 // see if all engines using this class are DISABLED
 #if !defined(ENABLE_KYRA)
+#error trying to include the MaxTrax Header with no engine enabled that uses it
 
 // normal Header Guard
 #elif !defined SOUND_MODS_MAXTRAX_H
@@ -253,4 +254,4 @@
 };
 }	// End of namespace Audio
 
-#endif
+#endif // !defined SOUND_MODS_MAXTRAX_H

Modified: scummvm/branches/gsoc2009-mods/sound/mods/tfmx.h
===================================================================
--- scummvm/branches/gsoc2009-mods/sound/mods/tfmx.h	2009-08-05 18:45:22 UTC (rev 43075)
+++ scummvm/branches/gsoc2009-mods/sound/mods/tfmx.h	2009-08-05 18:57:13 UTC (rev 43076)
@@ -25,6 +25,7 @@
 
 // see if all engines using this class are DISABLED
 #if !defined(ENABLE_SCUMM)
+#error trying to include the Tfmx Header with no engine enabled that uses it
 
 // normal Header Guard
 #elif !defined(SOUND_MODS_TFMX_H)


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list