From 5b3cf74f213bacecbcc811be9df96f4eae0f2125 Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Wed, 9 Dec 2015 21:18:49 +0000 Subject: [PATCH] Remove StdAfx.h StdAfx.h is only needed for Microsoft Visual Studio C++ projects that specify the "use pre-compiled headers" setting. --- src/StdAfx.h | 3 --- src/compiledict.cpp | 2 -- src/dictionary.cpp | 2 -- src/intonation.cpp | 3 +-- src/klatt.cpp | 4 +--- src/numbers.cpp | 3 +-- src/phonemelist.cpp | 3 +-- src/readclause.cpp | 2 -- src/setlengths.cpp | 3 +-- src/sonic.cpp | 2 -- src/speak.cpp | 3 +-- src/speak_lib.cpp | 4 +--- src/synth_mbrola.cpp | 5 +---- src/synthdata.cpp | 3 --- src/synthesize.cpp | 3 +-- src/tr_languages.cpp | 3 +-- src/translate.cpp | 3 +-- src/voices.cpp | 2 -- src/wavegen.cpp | 3 +-- 19 files changed, 12 insertions(+), 44 deletions(-) delete mode 100644 src/StdAfx.h diff --git a/src/StdAfx.h b/src/StdAfx.h deleted file mode 100644 index c9a526fd..00000000 --- a/src/StdAfx.h +++ /dev/null @@ -1,3 +0,0 @@ -// This is a dummy file. -// A file of this name is needed on Windows - diff --git a/src/compiledict.cpp b/src/compiledict.cpp index 8873bfbf..f0b3ea39 100644 --- a/src/compiledict.cpp +++ b/src/compiledict.cpp @@ -18,8 +18,6 @@ * . * ***************************************************************************/ -#include "StdAfx.h" - #include #include #include diff --git a/src/dictionary.cpp b/src/dictionary.cpp index e5b5c857..67c99f51 100644 --- a/src/dictionary.cpp +++ b/src/dictionary.cpp @@ -18,8 +18,6 @@ * . * ***************************************************************************/ -#include "StdAfx.h" - #include #include #include diff --git a/src/intonation.cpp b/src/intonation.cpp index e4c68bc4..265ca46d 100644 --- a/src/intonation.cpp +++ b/src/intonation.cpp @@ -1,6 +1,7 @@ /*************************************************************************** * Copyright (C) 2005 to 2007 by Jonathan Duddington * * email: jonsd@users.sourceforge.net * + * Copyright (C) 2015 Reece H. Dunn * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -17,8 +18,6 @@ * . * ***************************************************************************/ -#include "StdAfx.h" - #include #include #include diff --git a/src/klatt.cpp b/src/klatt.cpp index 90f25194..f39b9ed5 100644 --- a/src/klatt.cpp +++ b/src/klatt.cpp @@ -1,7 +1,7 @@ /*************************************************************************** * Copyright (C) 2008 by Jonathan Duddington * * email: jonsd@users.sourceforge.net * - * Copyright (C) 2013 Reece H. Dunn * + * Copyright (C) 2013-2015 Reece H. Dunn * * * * Based on a re-implementation by: * * (c) 1993,94 Jon Iles and Nick Ing-Simmons * @@ -24,8 +24,6 @@ // See URL: ftp://svr-ftp.eng.cam.ac.uk/pub/comp.speech/synthesis/klatt.3.04.tar.gz -#include "StdAfx.h" - #include #include #include diff --git a/src/numbers.cpp b/src/numbers.cpp index b84e5064..c5ba9682 100644 --- a/src/numbers.cpp +++ b/src/numbers.cpp @@ -1,6 +1,7 @@ /*************************************************************************** * Copyright (C) 2005 to 2015 by Jonathan Duddington * * email: jonsd@users.sourceforge.net * + * Copyright (C) 2015 Reece H. Dunn * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -17,8 +18,6 @@ * . * ***************************************************************************/ -#include "StdAfx.h" - #include #include #include diff --git a/src/phonemelist.cpp b/src/phonemelist.cpp index 07d6fd3d..4e16074c 100644 --- a/src/phonemelist.cpp +++ b/src/phonemelist.cpp @@ -1,6 +1,7 @@ /*************************************************************************** * Copyright (C) 2005 to 2014 by Jonathan Duddington * * email: jonsd@users.sourceforge.net * + * Copyright (C) 2015 Reece H. Dunn * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -17,8 +18,6 @@ * . * ***************************************************************************/ -#include "StdAfx.h" - #include #include #include diff --git a/src/readclause.cpp b/src/readclause.cpp index c6816895..756c5c81 100644 --- a/src/readclause.cpp +++ b/src/readclause.cpp @@ -18,8 +18,6 @@ * . * ***************************************************************************/ -#include "StdAfx.h" - #include #include #include diff --git a/src/setlengths.cpp b/src/setlengths.cpp index 503c463c..5068de09 100644 --- a/src/setlengths.cpp +++ b/src/setlengths.cpp @@ -1,6 +1,7 @@ /*************************************************************************** * Copyright (C) 2005 to 2011 by Jonathan Duddington * * email: jonsd@users.sourceforge.net * + * Copyright (C) 2015 Reece H. Dunn * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -17,8 +18,6 @@ * . * ***************************************************************************/ -#include "StdAfx.h" - #include #include #include diff --git a/src/sonic.cpp b/src/sonic.cpp index 3178893f..e57550c3 100644 --- a/src/sonic.cpp +++ b/src/sonic.cpp @@ -18,8 +18,6 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#include "StdAfx.h" - #include #include diff --git a/src/speak.cpp b/src/speak.cpp index f7a4e28a..c907ab16 100644 --- a/src/speak.cpp +++ b/src/speak.cpp @@ -1,6 +1,7 @@ /*************************************************************************** * Copyright (C) 2005 to 2013 by Jonathan Duddington * * email: jonsd@users.sourceforge.net * + * Copyright (C) 2015 Reece H. Dunn * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -17,8 +18,6 @@ * . * ***************************************************************************/ -#include "StdAfx.h" - #include "speech.h" #include diff --git a/src/speak_lib.cpp b/src/speak_lib.cpp index 0a22bff9..c956877a 100644 --- a/src/speak_lib.cpp +++ b/src/speak_lib.cpp @@ -1,7 +1,7 @@ /*************************************************************************** * Copyright (C) 2005 to 2013 by Jonathan Duddington * * email: jonsd@users.sourceforge.net * - * Copyright (C) 2013 Reece H. Dunn * + * Copyright (C) 2013-2015 Reece H. Dunn * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -18,8 +18,6 @@ * . * ***************************************************************************/ -#include "StdAfx.h" - #include "stdio.h" #include "ctype.h" #include "string.h" diff --git a/src/synth_mbrola.cpp b/src/synth_mbrola.cpp index cf599bd5..4532af16 100644 --- a/src/synth_mbrola.cpp +++ b/src/synth_mbrola.cpp @@ -1,6 +1,7 @@ /*************************************************************************** * Copyright (C) 2005 to 2013 by Jonathan Duddington * * email: jonsd@users.sourceforge.net * + * Copyright (C) 2015 Reece H. Dunn * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -17,10 +18,6 @@ * . * ***************************************************************************/ - - -#include "StdAfx.h" - #include #include #include diff --git a/src/synthdata.cpp b/src/synthdata.cpp index a90b9b2f..7e79acbc 100644 --- a/src/synthdata.cpp +++ b/src/synthdata.cpp @@ -18,9 +18,6 @@ * . * ***************************************************************************/ - -#include "StdAfx.h" - #include #include #include diff --git a/src/synthesize.cpp b/src/synthesize.cpp index 0c9ea3c1..d6c7633f 100644 --- a/src/synthesize.cpp +++ b/src/synthesize.cpp @@ -1,6 +1,7 @@ /*************************************************************************** * Copyright (C) 2005 to 2014 by Jonathan Duddington * * email: jonsd@users.sourceforge.net * + * Copyright (C) 2015 Reece H. Dunn * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -17,8 +18,6 @@ * . * ***************************************************************************/ -#include "StdAfx.h" - #include #include #include diff --git a/src/tr_languages.cpp b/src/tr_languages.cpp index 68f8e68a..e779c681 100644 --- a/src/tr_languages.cpp +++ b/src/tr_languages.cpp @@ -1,6 +1,7 @@ /*************************************************************************** * Copyright (C) 2005 to 2015 by Jonathan Duddington * * email: jonsd@users.sourceforge.net * + * Copyright (C) 2015 Reece H. Dunn * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -17,8 +18,6 @@ * . * ***************************************************************************/ -#include "StdAfx.h" - #include #include #include diff --git a/src/translate.cpp b/src/translate.cpp index 8d152bb5..fa57aa4b 100644 --- a/src/translate.cpp +++ b/src/translate.cpp @@ -1,6 +1,7 @@ /*************************************************************************** * Copyright (C) 2005 to 2014 by Jonathan Duddington * * email: jonsd@users.sourceforge.net * + * Copyright (C) 2015 Reece H. Dunn * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -17,8 +18,6 @@ * . * ***************************************************************************/ -#include "StdAfx.h" - #include #include #include diff --git a/src/voices.cpp b/src/voices.cpp index 293a2a85..7d518db8 100644 --- a/src/voices.cpp +++ b/src/voices.cpp @@ -18,8 +18,6 @@ * . * ***************************************************************************/ -#include "StdAfx.h" - #include "stdio.h" #include "ctype.h" #include "wctype.h" diff --git a/src/wavegen.cpp b/src/wavegen.cpp index 2d24a9a7..f5fd764d 100644 --- a/src/wavegen.cpp +++ b/src/wavegen.cpp @@ -1,6 +1,7 @@ /*************************************************************************** * Copyright (C) 2005 to 2013 by Jonathan Duddington * * email: jonsd@users.sourceforge.net * + * Copyright (C) 2015 Reece H. Dunn * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -17,8 +18,6 @@ * . * ***************************************************************************/ -#include "StdAfx.h" - // this version keeps wavemult window as a constant fraction // of the cycle length - but that spreads out the HF peaks too much