- More GCC warning removal, the most egregious of which was the potential

vulnerability "format not a string literal and no format arguments".
- Changed the CMake script to search for fmod libraries by full name instead
  of assuming a symbolic link has been placed for the latest version. It can
  also find a non-installed copy of FMOD if it is placed local to the ZDoom
  source tree.



SVN r1373 (trunk)
This commit is contained in:
Randy Heit 2009-01-28 05:29:41 +00:00
commit a3b11af15a
10 changed files with 67 additions and 18 deletions

View file

@ -2447,7 +2447,7 @@ void D_DoomMain (void)
}
if (devparm)
{
Printf (GStrings("D_DEVSTR"));
Printf ("%s", GStrings("D_DEVSTR"));
}
#ifndef unix
@ -2456,7 +2456,7 @@ void D_DoomMain (void)
// the user's home directory.
if (Args->CheckParm("-cdrom"))
{
Printf (GStrings("D_CDROM"));
Printf ("%s", GStrings("D_CDROM"));
mkdir (CDROM_DIR, 0);
}
#endif