diff -ur temp\flite-1.4-release\lang\cmu_us_awb\cmu_us_awb_cg.c flite-1.4-release\lang\cmu_us_awb\cmu_us_awb_cg.c
--- temp\flite-1.4-release\lang\cmu_us_awb\cmu_us_awb_cg.c	Tue Dec 29 15:18:42 2009
+++ flite-1.4-release\lang\cmu_us_awb\cmu_us_awb_cg.c	Mon Dec 27 14:32:51 2010
@@ -1,7 +1,9 @@
 /*****************************************************/
 /**  Autogenerated clustergen voice for cmu_us_awb    */
 /*****************************************************/
-
+#ifdef _MSC_VER
+#pragma warning(disable:4305) //'initializing' : truncation from 'double' to 'float'
+#endif
 #include "cst_string.h"
 #include "cst_cg.h"
 #include "cst_cart.h"
diff -ur temp\flite-1.4-release\lang\cmu_us_awb\cmu_us_awb_cg_durmodel.c flite-1.4-release\lang\cmu_us_awb\cmu_us_awb_cg_durmodel.c
--- temp\flite-1.4-release\lang\cmu_us_awb\cmu_us_awb_cg_durmodel.c	Fri May 15 00:08:04 2009
+++ flite-1.4-release\lang\cmu_us_awb\cmu_us_awb_cg_durmodel.c	Sun Dec 26 18:21:19 2010
@@ -1,6 +1,9 @@
 /*****************************************************/
 /**  Autogenerated durmodel_cg for cmu_us_awb    */
 /*****************************************************/
+#ifdef _MSC_VER
+#pragma warning(disable:4305) //'initializing' : truncation from 'double' to 'float'
+#endif
 #include "cst_synth.h"
 #include "cst_string.h"
 #include "cst_cart.h"
diff -ur temp\flite-1.4-release\lang\cmu_us_slt\cmu_us_slt_cg.c flite-1.4-release\lang\cmu_us_slt\cmu_us_slt_cg.c
--- temp\flite-1.4-release\lang\cmu_us_slt\cmu_us_slt_cg.c	Tue Dec 29 15:19:34 2009
+++ flite-1.4-release\lang\cmu_us_slt\cmu_us_slt_cg.c	Mon Dec 27 14:32:51 2010
@@ -1,6 +1,9 @@
 /*****************************************************/
 /**  Autogenerated clustergen voice for cmu_us_slt    */
 /*****************************************************/
+#ifdef _MSC_VER
+#pragma warning(disable:4305) //'initializing' : truncation from 'double' to 'float'
+#endif
 
 #include "cst_string.h"
 #include "cst_cg.h"
diff -ur temp\flite-1.4-release\lang\cmu_us_slt\cmu_us_slt_cg_durmodel.c flite-1.4-release\lang\cmu_us_slt\cmu_us_slt_cg_durmodel.c
--- temp\flite-1.4-release\lang\cmu_us_slt\cmu_us_slt_cg_durmodel.c	Fri May 15 17:58:36 2009
+++ flite-1.4-release\lang\cmu_us_slt\cmu_us_slt_cg_durmodel.c	Mon Dec 27 14:32:51 2010
@@ -1,6 +1,9 @@
 /*****************************************************/
 /**  Autogenerated durmodel_cg for cmu_us_slt    */
 /*****************************************************/
+#ifdef _MSC_VER
+#pragma warning(disable:4305) //'initializing' : truncation from 'double' to 'float'
+#endif
 #include "cst_synth.h"
 #include "cst_string.h"
 #include "cst_cart.h"
diff -ur temp\flite-1.4-release\lang\usenglish\us_dur_stats.c flite-1.4-release\lang\usenglish\us_dur_stats.c
--- temp\flite-1.4-release\lang\usenglish\us_dur_stats.c	Wed Apr 08 15:18:42 2009
+++ flite-1.4-release\lang\usenglish\us_dur_stats.c	Sun Dec 26 18:21:19 2010
@@ -35,6 +35,9 @@
 /*************************************************************************/
 /*  duration stats (means, stddev) from cmu_com_kal                      */
 /*************************************************************************/
+#ifdef _MSC_VER
+#pragma warning(disable:4305) //'initializing' : truncation from 'double' to 'float'
+#endif
 
 #include "cst_synth.h"
 
diff -ur temp\flite-1.4-release\lang\usenglish\us_f0_model.c flite-1.4-release\lang\usenglish\us_f0_model.c
--- temp\flite-1.4-release\lang\usenglish\us_f0_model.c	Wed Apr 08 15:18:42 2009
+++ flite-1.4-release\lang\usenglish\us_f0_model.c	Sun Dec 26 18:21:19 2010
@@ -38,6 +38,9 @@
 /*    This is derived fromthe f2b model freely distributed in Festival   */
 /*                                                                       */
 /*************************************************************************/
+#ifdef _MSC_VER
+#pragma warning(disable:4244) // conversion from 'double' to 'float', possible loss of data
+#endif
 
 #include "cst_hrg.h"
 #include "cst_phoneset.h"
diff -ur temp\flite-1.4-release\lang\usenglish\us_f0lr.c flite-1.4-release\lang\usenglish\us_f0lr.c
--- temp\flite-1.4-release\lang\usenglish\us_f0lr.c	Wed Apr 08 15:18:42 2009
+++ flite-1.4-release\lang\usenglish\us_f0lr.c	Sun Dec 26 18:21:19 2010
@@ -42,6 +42,9 @@
 /*  turn was trained from Boston University FM Radio Data Corpus         */
 /*                                                                       */
 /*************************************************************************/
+#ifdef _MSC_VER
+#pragma warning(disable:4305) //'initializing' : truncation from 'double' to 'float'
+#endif
 
 #include "us_f0.h"
 
diff -ur temp\flite-1.4-release\lang\usenglish\us_ffeatures.c flite-1.4-release\lang\usenglish\us_ffeatures.c
--- temp\flite-1.4-release\lang\usenglish\us_ffeatures.c	Wed May 27 22:48:16 2009
+++ flite-1.4-release\lang\usenglish\us_ffeatures.c	Sun Dec 26 18:21:19 2010
@@ -38,6 +38,9 @@
 /*  from University of Edinburgh's Festival system their names and       */
 /*  semantics follow them                                                */
 /*************************************************************************/
+#ifdef _MSC_VER
+#pragma warning(disable:4133) //'=' incompat - from 'const cst_val_void *' to 'const cst_val *'
+#endif
 
 #include "cst_hrg.h"
 #include "cst_phoneset.h"
diff -ur temp\flite-1.4-release\main\flite_main.c flite-1.4-release\main\flite_main.c
--- temp\flite-1.4-release\main\flite_main.c	Fri Jul 03 22:31:32 2009
+++ flite-1.4-release\main\flite_main.c	Thu Dec 30 16:49:57 2010
@@ -40,7 +40,9 @@
 
 #include <stdio.h>
 #include <string.h>
+#ifndef _MSC_VER
 #include <sys/time.h>
+#endif // !_MSC_VER
 #include <unistd.h>
 
 #include "flite.h"
@@ -58,6 +60,9 @@
 	   FLITE_PROJECT_VERSION,
 	   FLITE_PROJECT_STATE,
 	   FLITE_PROJECT_DATE);
+#ifdef _MSC_VER
+    printf("  built on %s, at %s\n", __DATE__, __TIME__ );
+#endif // _MSC_VER
 }
 
 static void flite_usage()
@@ -151,7 +156,7 @@
 	    feat_set_int(f,feat,atoi(val));
 	else if ((type && cst_streq("float",type)) ||
 		 ((type == 0) && (cst_regex_match(cst_rx_double,val))))
-	    feat_set_float(f,feat,atof(val));
+	    feat_set_float(f,feat,(float)atof(val));
 	else
 	    feat_set_string(f,feat,val);
 	/* I don't free feat, because feats think featnames are const */
@@ -161,17 +166,22 @@
 
 int main(int argc, char **argv)
 {
+#define ITER_MAX 3
+    static double diffs[ITER_MAX + 2];
+#if defined(_MSC_VER)
+//    unsigned int t;
+#else // !_MSC_VER
     struct timeval tv;
+#endif // _MSC_VER y/n
     cst_voice *v;
     const char *filename;
     const char *outtype;
     cst_voice *desired_voice = 0;
     int i;
     float durs;
-    double time_start, time_end;
+    double time_start, time_end, diff;
     int flite_verbose, flite_loop, flite_bench;
     int explicit_filename, explicit_text, explicit_phones, ssml_mode;
-#define ITER_MAX 3
     int bench_iter = 0;
     cst_features *extra_feats;
     const char *lex_addenda_file = NULL;
@@ -297,7 +307,10 @@
 	    filename = argv[i];
     }
 
-    if (filename == NULL) filename = "-";  /* stdin */
+    if (filename == NULL) {
+        filename = "-";  /* stdin */
+    }
+
     if (desired_voice == 0)
         desired_voice = flite_voice_select(NULL);
 
@@ -323,33 +336,82 @@
     }
 
 loop:
+#if defined(_MSC_VER)
+    time_start = (double)timeGetTime() / 1000.0; // retrieves the system time, in milliseconds
+#else // !defined(_MSC_VER)
     gettimeofday(&tv,NULL);
     time_start = (double)(tv.tv_sec)+(((double)tv.tv_usec)/1000000.0);
+#endif // defined(_MSC_VER) y/n
 
-    if (explicit_phones)
-	durs = flite_phones_to_speech(filename,v,outtype);
-    else if (ssml_mode)
+    if (explicit_phones) {
+        if (flite_verbose)
+            printf("phones to speech [%s]\n", filename );
+        durs = flite_phones_to_speech(filename,v,outtype);
+    } else if (ssml_mode) {
+        if (flite_verbose)
+            printf("ssml to speech [%s]\n", filename );
         durs = flite_ssml_to_speech(filename,v,outtype);
-    else if ((strchr(filename,' ') && !explicit_filename) || explicit_text)
-	durs = flite_text_to_speech(filename,v,outtype);
-    else
-	durs = flite_file_to_speech(filename,v,outtype);
+    } else if ((strchr(filename,' ') && !explicit_filename) || explicit_text) {
+        if (flite_verbose && (bench_iter == 0))
+            printf("Text to speech [%s]\n", filename );
+        durs = flite_text_to_speech(filename,v,outtype);
+    } else {
+        if (flite_verbose) {
+            if (cst_streq("-",filename)) {
+                printf("stdin to speech ");
+#ifdef _MSC_VER
+                printf("- Use Enter+Ctrl+Z+Enter to terminate the input string...");
+#endif
+                printf("\n");
+            } else {
+                // assume a file
+                printf("(assumed) file to speech [%s]\n", filename );
+            }
+        }
+        durs = flite_file_to_speech(filename,v,outtype);
+    }
 
+#if defined(_MSC_VER)
+    time_end = (double)timeGetTime() / 1000.0; // retrieves the system time, in milliseconds
+#else // !_MSC_VER
     gettimeofday(&tv,NULL);
     time_end = ((double)(tv.tv_sec))+((double)tv.tv_usec/1000000.0);
+#endif // _MSC_VER y/n
 
-    if (flite_verbose || (flite_bench && bench_iter == ITER_MAX))
-	printf("times faster than real-time: %f\n(%f seconds of speech synthesized in %f)\n",
-	       durs/(float)(time_end-time_start),
-	       durs,
-	       (float)(time_end-time_start));
+    diff = time_end - time_start;
+    if (diff < 0.001) diff = 0.001; // milli sec resolution
+    if (bench_iter < ITER_MAX)
+        diffs[bench_iter] = diff;
+
+    if (flite_verbose || (flite_bench && bench_iter == ITER_MAX)) {
+        if (cst_streq("none",outtype)) {
+            printf("times faster than real-time: %f\n(%f seconds of speech synthesized in %f)\n",
+	            (durs/(float)diff),
+	            durs,
+	            (float)diff);
+        } else if (cst_streq("play",outtype)) {
+            if (cst_streq("-",filename))
+                printf("Entered ");
+            printf("%f seconds of speech synthesized, and spoken, in %f\n",
+	            durs,
+	            (float)diff);
+        } else {
+            if (cst_streq("-",filename))
+                printf("Entered ");
+            printf("%f seconds of speech synthesized, and written, in %f\n",
+	            durs,
+	            (float)diff);
+        }
+    }
 
     if (flite_loop || (flite_bench && bench_iter++ < ITER_MAX))
 	    goto loop;
 
     delete_features(extra_feats);
     delete_val(flite_voice_list); flite_voice_list=0;
-    /*    cst_alloc_debug_summary(); */
+#ifdef CST_DEBUG_MALLOC_TRACE
+    cst_alloc_debug_summary();
+#endif // #ifdef CST_DEBUG_MALLOC_TRACE
 
     return 0;
 }
diff -ur temp\flite-1.4-release\main\flite_time_main.c flite-1.4-release\main\flite_time_main.c
--- temp\flite-1.4-release\main\flite_time_main.c	Wed Apr 08 15:18:42 2009
+++ flite-1.4-release\main\flite_time_main.c	Mon Dec 27 14:10:11 2010
@@ -41,7 +41,9 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#ifndef _MSC_VER
 #include <sys/time.h>
+#endif // !_MSC_VER
 #include <unistd.h>
 
 #include "flite.h"
@@ -52,7 +54,10 @@
 #include "cst_track.h"
 #include "cst_sigpr.h"
 
-cst_voice *register_cmu_time_awb(const char *voxdir);
+cst_voice *register_cmu_us_awb(const char *voxdir);
+cst_voice *register_cmu_time_awb(const char *voxdir) {
+    return register_cmu_us_awb(voxdir);
+}
 static const char *time_approx(int hour, int minute);
 static const char *time_min(int hour, int minute);
 static const char *time_hour(int hour, int minute);
@@ -93,11 +98,15 @@
     v = register_cmu_time_awb(NULL);
 
     sprintf(thetime,
-	    "The time is now, %s %s %s, %s.",
+        "The time input is, %s %s %s, %s, at %d%d:%d%d hours.",
 	    time_approx(hour,min),
 	    time_min(hour,min),
 	    time_hour(hour,min),
-	    time_tod(hour,min));
+	    time_tod(hour,min),
+        (hour < 10) ? 0 : hour / 10,
+        (hour - ((hour / 10) * 10)),
+        (min < 10) ? 0 : min / 10,
+        (min - ((min / 10) * 10)) );
 
     printf("%s\n",thetime);
     flite_text_to_speech(thetime,v,output);
@@ -221,3 +230,5 @@
     else
 	return "in the morning";
 }
+
+
diff -ur temp\flite-1.4-release\main\t2p_main.c flite-1.4-release\main\t2p_main.c
--- temp\flite-1.4-release\main\t2p_main.c	Fri Aug 14 22:53:38 2009
+++ flite-1.4-release\main\t2p_main.c	Sun Dec 26 17:01:10 2010
@@ -40,7 +40,9 @@
 
 #include <stdio.h>
 #include <string.h>
+#ifndef _MSC_VER
 #include <sys/time.h>
+#endif // !_MSC_VER
 #include <unistd.h>
 
 #include "cst_args.h"
Only in flite-1.4-release\main: tempf.txt
Only in flite-1.4-release: msvc
diff -ur temp\flite-1.4-release\src\audio\au_alsa.c flite-1.4-release\src\audio\au_alsa.c
--- temp\flite-1.4-release\src\audio\au_alsa.c	Thu Jul 30 16:46:10 2009
+++ flite-1.4-release\src\audio\au_alsa.c	Sat Dec 25 21:35:52 2010
@@ -51,6 +51,8 @@
 #include "cst_wave.h"
 #include "cst_audio.h"
 
+#ifdef CST_AUDIO_ALSA
+
 #include <alsa/asoundlib.h>
 
 
@@ -323,3 +325,6 @@
   }
   return result;
 }
+
+#endif // #ifdef CST_AUDIO_ALSA
+// eof - au_alsa.c
diff -ur temp\flite-1.4-release\src\audio\au_oss.c flite-1.4-release\src\audio\au_oss.c
--- temp\flite-1.4-release\src\audio\au_oss.c	Wed Apr 08 15:18:42 2009
+++ flite-1.4-release\src\audio\au_oss.c	Sat Dec 25 21:38:28 2010
@@ -48,19 +48,27 @@
 #include "cst_wave.h"
 #include "cst_audio.h"
 
+#undef CST_OSS_AUDIO
+
 #ifdef CST_AUDIO_LINUX
 /* Linux/voxware audio specific */
 #include <sys/ioctl.h>
 #include <sys/soundcard.h>
 #include <sys/types.h>
+#define CST_OSS_AUDIO 1
 #endif
+
 #ifdef CST_AUDIO_FREEBSD
 /* probably Net and Open too */
 #include <machine/soundcard.h>
+#define CST_OSS_AUDIO 2
 #endif
+
 #include <sys/stat.h>
 #include <fcntl.h>
 
+#ifdef CST_OSS_AUDIO
+
 static const char * const oss_audio_device = "/dev/dsp";
 
 cst_audiodev *audio_open_oss(int sps, int channels, cst_audiofmt fmt)
@@ -198,3 +206,6 @@
 {
     return ioctl((int)ad->platform_data, SNDCTL_DSP_RESET, NULL);
 }
+
+#endif // #ifdef CST_OSS_AUDIO
+// eof - au_oss.c
diff -ur temp\flite-1.4-release\src\audio\au_palmos.c flite-1.4-release\src\audio\au_palmos.c
--- temp\flite-1.4-release\src\audio\au_palmos.c	Wed Apr 08 15:18:42 2009
+++ flite-1.4-release\src\audio\au_palmos.c	Sat Dec 25 21:34:19 2010
@@ -45,6 +45,8 @@
 #include "cst_wave.h"
 #include "cst_audio.h"
 
+#if defined(__palmos__)
+
 #include <System/SoundMgr.h>
 
 cst_audiodev *audio_open_palmos(int sps, int channels, cst_audiofmt fmt)
@@ -162,3 +164,6 @@
 /*    return ioctl((int)ad->platform_data, SNDCTL_DSP_RESET, NULL); */
 	return 0;
 }
+
+#endif // #if defined(__palmos__)
+// eof - au_palmos.c
diff -ur temp\flite-1.4-release\src\audio\au_sun.c flite-1.4-release\src\audio\au_sun.c
--- temp\flite-1.4-release\src\audio\au_sun.c	Wed Apr 08 15:18:42 2009
+++ flite-1.4-release\src\audio\au_sun.c	Sat Dec 25 21:34:19 2010
@@ -45,6 +45,9 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <errno.h>
+
+#ifdef CST_AUDIO_SUNOS
+
 #include <sys/filio.h>
 #include <sys/audioio.h>
 #include "cst_string.h"
@@ -172,3 +175,5 @@
     return ioctl((int)ad->platform_data, AUDIO_DRAIN, 0);
 }
 
+#endif // #ifdef CST_AUDIO_SUNOS
+// eof - au_sun.c
diff -ur temp\flite-1.4-release\src\audio\audio.c flite-1.4-release\src\audio\audio.c
--- temp\flite-1.4-release\src\audio\audio.c	Wed Apr 08 15:18:42 2009
+++ flite-1.4-release\src\audio\audio.c	Thu Dec 30 15:47:43 2010
@@ -269,7 +269,7 @@
 
     q=0;
     item = relation_head(rel);
-    r_pos = w->sample_rate * 0;
+    r_pos = (float)(w->sample_rate * 0);
     for (i=0; i < w->num_samples; i += r/2)
     {
 	if (i >= r_pos)
@@ -282,7 +282,7 @@
 	    if (item)
 		r_pos = w->sample_rate * val_float(ffeature(item,"p.end"));
 	    else
-		r_pos = w->num_samples;
+		r_pos = (float)w->num_samples;
 	}
 	if (w->num_samples > i+CST_AUDIOBUFFSIZE)
 	    n = CST_AUDIOBUFFSIZE;
diff -ur temp\flite-1.4-release\src\cg\cst_cg.c flite-1.4-release\src\cg\cst_cg.c
--- temp\flite-1.4-release\src\cg\cst_cg.c	Mon Aug 24 18:40:14 2009
+++ flite-1.4-release\src\cg\cst_cg.c	Thu Dec 30 15:47:43 2010
@@ -48,7 +48,9 @@
 /*  came from NITECH's HTS                                               */
 /*                                                                       */
 /*************************************************************************/
-
+#ifdef _MSC_VER
+#pragma warning(disable:4244) //conversion from 'double' to 'float', possible loss of data
+#endif
 #include "cst_cg.h"
 #include "cst_hrg.h"
 #include "cst_utt_utils.h"
diff -ur temp\flite-1.4-release\src\cg\cst_mlpg.c flite-1.4-release\src\cg\cst_mlpg.c
--- temp\flite-1.4-release\src\cg\cst_mlpg.c	Thu May 14 14:17:34 2009
+++ flite-1.4-release\src\cg\cst_mlpg.c	Thu Dec 30 15:47:43 2010
@@ -82,6 +82,9 @@
 /*  ML-Based Parameter Generation                                    */
 /*                                                                   */
 /*-------------------------------------------------------------------*/
+#ifdef _MSC_VER
+#pragma warning(disable:4244) //conversion from 'double' to 'float', possible loss of data
+#endif
 
 #include "cst_alloc.h"
 #include "cst_string.h"
diff -ur temp\flite-1.4-release\src\cg\cst_mlsa.c flite-1.4-release\src\cg\cst_mlsa.c
--- temp\flite-1.4-release\src\cg\cst_mlsa.c	Mon Jun 22 18:53:44 2009
+++ flite-1.4-release\src\cg\cst_mlsa.c	Thu Dec 30 15:47:43 2010
@@ -54,6 +54,9 @@
 /*  Integrate as a Voice Conversion module                           */
 /*                                                                   */
 /*-------------------------------------------------------------------*/
+#ifdef _MSC_VER
+#pragma warning(disable:4244) //conversion from 'double' to 'int', possible loss of data
+#endif
 
 #include "cst_alloc.h"
 #include "cst_string.h"
diff -ur temp\flite-1.4-release\src\speech\cst_track_io.c flite-1.4-release\src\speech\cst_track_io.c
--- temp\flite-1.4-release\src\speech\cst_track_io.c	Wed Apr 08 15:18:42 2009
+++ flite-1.4-release\src\speech\cst_track_io.c	Thu Dec 30 15:47:43 2010
@@ -37,6 +37,9 @@
 /*  Track i/o                                                            */
 /*                                                                       */
 /*************************************************************************/
+#ifdef _MSC_VER
+#pragma warning(disable:4244) //conversion from 'double' to 'float', possible loss of data
+#endif
 #include "cst_string.h"
 #include "cst_endian.h"
 #include "cst_tokenstream.h"
diff -ur temp\flite-1.4-release\src\synth\cst_ffeatures.c flite-1.4-release\src\synth\cst_ffeatures.c
--- temp\flite-1.4-release\src\synth\cst_ffeatures.c	Wed May 27 22:48:20 2009
+++ flite-1.4-release\src\synth\cst_ffeatures.c	Thu Dec 30 15:47:43 2010
@@ -36,6 +36,9 @@
 /*                                                                       */
 /*  Some language independent features                                   */
 /*                                                                       */
+#ifdef _MSC_VER
+#pragma warning(disable:4244 4133) //conversion possible loss of data, and type
+#endif
 
 #include "cst_hrg.h"
 #include "cst_phoneset.h"
diff -ur temp\flite-1.4-release\src\utils\cst_file_palmos.c flite-1.4-release\src\utils\cst_file_palmos.c
--- temp\flite-1.4-release\src\utils\cst_file_palmos.c	Wed Apr 08 15:18:42 2009
+++ flite-1.4-release\src\utils\cst_file_palmos.c	Sat Dec 25 21:46:46 2010
@@ -44,6 +44,8 @@
 #include "cst_error.h"
 #include "cst_alloc.h"
 
+#if defined(__palmos__)
+
 #define	 _STDIO_PALM_C_
 #include <PalmOS.h>
 #include <StdIOPalm.h>
@@ -305,3 +307,6 @@
 
     return count;
 }
+
+#endif // #if defined(__palmos__)
+// eof - utils/cst_file_palmos.c
diff -ur temp\flite-1.4-release\src\utils\cst_file_wince.c flite-1.4-release\src\utils\cst_file_wince.c
--- temp\flite-1.4-release\src\utils\cst_file_wince.c	Wed Apr 08 15:18:42 2009
+++ flite-1.4-release\src\utils\cst_file_wince.c	Sat Dec 25 22:08:36 2010
@@ -49,6 +49,8 @@
 #include "cst_alloc.h"
 #include "cst_error.h"
 
+#ifdef CST_AUDIO_WINCE
+
 cst_file cst_fopen(const char *path, int mode)
 {
 	size_t count = mbstowcs(NULL,path,0)+1;
@@ -269,3 +271,6 @@
     cst_free(fmap);
     return 0;
 }
+
+#endif // #ifdef CST_AUDIO_WINCE
+// eof - cst_file_wince.c
diff -ur temp\flite-1.4-release\src\utils\cst_mmap_none.c flite-1.4-release\src\utils\cst_mmap_none.c
--- temp\flite-1.4-release\src\utils\cst_mmap_none.c	Wed Apr 08 15:18:42 2009
+++ flite-1.4-release\src\utils\cst_mmap_none.c	Sat Dec 25 22:06:06 2010
@@ -40,6 +40,8 @@
 #include "cst_error.h"
 #include "cst_alloc.h"
 
+#ifdef NO_MEMORY_MAPPING
+
 cst_filemap *cst_mmap_file(const char *path)
 {
     cst_dbgmsg("cst_mmap_file: unsupported on this platform");
@@ -119,3 +121,6 @@
     cst_free(fmap);
     return 0;
 }
+
+#endif // #ifdef NO_MEMORY_MAPPING
+// eof - cst_mmpa_none.c
diff -ur temp\flite-1.4-release\src\utils\cst_mmap_posix.c flite-1.4-release\src\utils\cst_mmap_posix.c
--- temp\flite-1.4-release\src\utils\cst_mmap_posix.c	Wed Apr 08 15:18:42 2009
+++ flite-1.4-release\src\utils\cst_mmap_posix.c	Sat Dec 25 21:52:51 2010
@@ -35,7 +35,9 @@
 /* cst_mmap_posix.c: memory-mapped file I/O support for POSIX systems    */
 /*                                                                       */
 /*************************************************************************/
-
+#ifdef _MSC_VER
+#pragma message ("cst_mmap_win32.c for native windows memory mapping")
+#else // !_MSC_VER
 #include <sys/types.h>
 #include <sys/mman.h>
 #include <sys/stat.h>
@@ -170,3 +172,7 @@
     cst_free(fmap);
     return 0;
 }
+
+#endif // _MSC_VER y/n
+// eof - utils/cst_mmap_posix.c
+
diff -ur temp\flite-1.4-release\src\utils\cst_socket.c flite-1.4-release\src\utils\cst_socket.c
--- temp\flite-1.4-release\src\utils\cst_socket.c	Wed Apr 08 15:18:42 2009
+++ flite-1.4-release\src\utils\cst_socket.c	Sat Dec 25 21:47:50 2010
@@ -65,10 +65,14 @@
 #include <unistd.h>
 #include <string.h>
 #include <sys/types.h>
+#ifdef _MSC_VER
+#include <winsock2.h>
+#else // !_MSC_VER
 #include <sys/socket.h>
 #include <netdb.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
+#endif // _MSC_VER
 #include "cst_socket.h"
 #include "cst_error.h"
 
diff -ur temp\flite-1.4-release\src\utils\cst_val.c flite-1.4-release\src\utils\cst_val.c
--- temp\flite-1.4-release\src\utils\cst_val.c	Fri Jun 05 12:11:56 2009
+++ flite-1.4-release\src\utils\cst_val.c	Thu Dec 30 15:47:43 2010
@@ -154,7 +154,7 @@
     else if (v && (CST_VAL_TYPE(v) == CST_VAL_TYPE_FLOAT))
 	return CST_VAL_FLOAT(v);
     else if (v && (CST_VAL_TYPE(v) == CST_VAL_TYPE_STRING))
-	return cst_atof(CST_VAL_STRING(v));
+	return (float)cst_atof(CST_VAL_STRING(v));
     else
     {
 	cst_errmsg("VAL: tried to access float in %d typed val\n",
diff -ur temp\flite-1.4-release\src\wavesynth\cst_units.c flite-1.4-release\src\wavesynth\cst_units.c
--- temp\flite-1.4-release\src\wavesynth\cst_units.c	Fri Oct 16 00:00:24 2009
+++ flite-1.4-release\src\wavesynth\cst_units.c	Thu Dec 30 15:47:43 2010
@@ -232,7 +232,7 @@
 	for ( ; time < pos; pm++)
 	{
 	    time += 1/(lf0 + ((time-lpos)*m));
-	    target_lpcres->times[pm] = sts_list->sample_rate * time;
+	    target_lpcres->times[pm] = (int)(sts_list->sample_rate * time);
 	}
     }
     utt_set_feat(utt,"target_lpcres",lpcres_val(target_lpcres));
@@ -265,7 +265,7 @@
     
     sample_rate = sts_list->sample_rate;
 
-    target_start = 0.0; rpos = 0; pm_i = 0; u_index = 0;
+    target_start = 0; rpos = 0; pm_i = 0; u_index = 0;
     for (u=relation_head(utt_relation(utt,"Unit")); u; u=item_next(u))
     {
 	unit_entry = item_feat_int(u,"unit_entry");
