Fixed warnings v0.1.2
authorMichael Welch <michael.g.welch@jci.com>
Fri, 10 Jun 2011 02:40:09 +0000 (21:40 -0500)
committerMichael Welch <michael.g.welch@jci.com>
Fri, 10 Jun 2011 02:40:09 +0000 (21:40 -0500)
mbasic/mbasic.csproj
Removed references to unknown files.

TIBasicRuntime/Properties/AssemblyInfo.cs
TIBasicRuntime/Radix100.cs
TIBasicRuntime/TIBasicRuntime.csproj
mbasic.sln
mbasic/mbasic.csproj

index 586cfd0..e13fbf0 100644 (file)
@@ -1,6 +1,7 @@
 \feffusing System.Reflection;
 using System.Runtime.CompilerServices;
 using System.Runtime.InteropServices;
+using System;
 
 // General Information about an assembly is controlled through the following 
 // set of attributes. Change these attribute values to modify the information
@@ -33,3 +34,4 @@ using System.Runtime.InteropServices;
 // by using the '*' as shown below:
 [assembly: AssemblyVersion("1.0.0.0")]
 [assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: CLSCompliant(true)]
index 8b4bde7..0e520b9 100644 (file)
@@ -49,7 +49,6 @@ namespace TIBasicRuntime
         public Radix100(uint d)
         {
             // Let's retrieve the mantissa, exponent and sign in terms of Radix 100.
-            int sign = Math.Sign(d);
             sbyte exponent = (sbyte)Math.Floor(Math.Log(Math.Abs(d), 100));
             double mantissa = Math.Abs(d / Math.Pow(100, exponent));
 
index b404fc2..ac4262f 100644 (file)
@@ -1,4 +1,5 @@
-\feff<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">\r
   <PropertyGroup>\r
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>\r
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>\r
@@ -9,6 +10,7 @@
     <AppDesignerFolder>Properties</AppDesignerFolder>\r
     <RootNamespace>TiBasicRuntime</RootNamespace>\r
     <AssemblyName>TiBasicRuntime</AssemblyName>\r
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
     <DebugSymbols>true</DebugSymbols>\r
     <WarningLevel>4</WarningLevel>\r
   </PropertyGroup>\r
   <ItemGroup>\r
-    <Reference Include="nunit.framework, Version=2.3.6293.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL" />\r
     <Reference Include="System" />\r
     <Reference Include="System.Data" />\r
     <Reference Include="System.Drawing" />\r
     <Reference Include="System.Windows.Forms" />\r
     <Reference Include="System.Xml" />\r
+    <Reference Include="nunit.framework, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77" />\r
   </ItemGroup>\r
   <ItemGroup>\r
     <Compile Include="BuiltIns.cs" />\r
index 38bb783..99453e1 100644 (file)
@@ -1,6 +1,6 @@
 \feff\r
-Microsoft Visual Studio Solution File, Format Version 9.00\r
-# Visual C# Express 2005\r
+Microsoft Visual Studio Solution File, Format Version 11.00\r
+# Visual Studio 2010\r
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mbasic", "mbasic\mbasic.csproj", "{3CA4DBDE-9A36-4275-AF39-A6EEFFB5589D}"\r
 EndProject\r
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TiBasicRuntime", "TiBasicRuntime\TiBasicRuntime.csproj", "{3EF3FB61-5A24-4268-90EC-8FF9101CEF7D}"\r
@@ -20,6 +20,9 @@ Global
                {3EF3FB61-5A24-4268-90EC-8FF9101CEF7D}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
                {3EF3FB61-5A24-4268-90EC-8FF9101CEF7D}.Release|Any CPU.Build.0 = Release|Any CPU\r
        EndGlobalSection\r
+       GlobalSection(MonoDevelopProperties) = preSolution\r
+               StartupItem = mbasic\mbasic.csproj\r
+       EndGlobalSection\r
        GlobalSection(SolutionProperties) = preSolution\r
                HideSolutionNode = FALSE\r
        EndGlobalSection\r
index 8452750..7241cb8 100644 (file)
@@ -1,4 +1,5 @@
-\feff<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">\r
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">\r
   <PropertyGroup>\r
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>\r
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>\r
@@ -14,7 +15,7 @@
     <UpgradeBackupLocation>\r
     </UpgradeBackupLocation>\r
     <OldToolsVersion>2.0</OldToolsVersion>\r
-    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>\r
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
     <DebugSymbols>true</DebugSymbols>\r
     <None Include="..\samples\secretnum.mbas">\r
       <Link>samples\secretnum.mbas</Link>\r
     </None>\r
-    <None Include="..\samples\testPrint.mbas">\r
-      <Link>samples\testPrint.mbas</Link>\r
-    </None>\r
     <None Include="..\samples\testPrint.py">\r
       <Link>samples\testPrint.py</Link>\r
     </None>\r