view win/lwasm.vcxproj @ 362:d149e2b56981

Silence tautological comparison warnings Because "char" may be signed or unsigned depending on the system, comparing for byte values 128...255 has to be forced as an unsigned comparison to be portable and clear. Modify two such comparisons in the symbol handling code to treat the symbol offset as a pointer to unsigned. This quiets tautological comparison warnings on systems with an 8 bit signed type as the default char type.
author William Astle <lost@l-w.ca>
date Tue, 26 May 2015 23:42:00 -0600
parents 4130ffdeb5c8
children 35d4213e6657
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup Label="ProjectConfigurations">
    <ProjectConfiguration Include="Debug|Win32">
      <Configuration>Debug</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|Win32">
      <Configuration>Release</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="..\lwasm\debug.c" />
    <ClCompile Include="..\lwasm\input.c" />
    <ClCompile Include="..\lwasm\insn_bitbit.c" />
    <ClCompile Include="..\lwasm\insn_gen.c" />
    <ClCompile Include="..\lwasm\insn_indexed.c" />
    <ClCompile Include="..\lwasm\insn_inh.c" />
    <ClCompile Include="..\lwasm\insn_logicmem.c" />
    <ClCompile Include="..\lwasm\insn_rel.c" />
    <ClCompile Include="..\lwasm\insn_rlist.c" />
    <ClCompile Include="..\lwasm\insn_rtor.c" />
    <ClCompile Include="..\lwasm\insn_tfm.c" />
    <ClCompile Include="..\lwasm\instab.c" />
    <ClCompile Include="..\lwasm\list.c" />
    <ClCompile Include="..\lwasm\lwasm.c" />
    <ClCompile Include="..\lwasm\macro.c" />
    <ClCompile Include="..\lwasm\main.c" />
    <ClCompile Include="..\lwasm\os9.c" />
    <ClCompile Include="..\lwasm\output.c" />
    <ClCompile Include="..\lwasm\pass1.c" />
    <ClCompile Include="..\lwasm\pass2.c" />
    <ClCompile Include="..\lwasm\pass3.c" />
    <ClCompile Include="..\lwasm\pass4.c" />
    <ClCompile Include="..\lwasm\pass5.c" />
    <ClCompile Include="..\lwasm\pass6.c" />
    <ClCompile Include="..\lwasm\pass7.c" />
    <ClCompile Include="..\lwasm\pragma.c" />
    <ClCompile Include="..\lwasm\pseudo.c" />
    <ClCompile Include="..\lwasm\section.c" />
    <ClCompile Include="..\lwasm\struct.c" />
    <ClCompile Include="..\lwasm\symbol.c" />
    <ClCompile Include="..\lwasm\unicorns.c" />
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="..\lwasm\input.h" />
    <ClInclude Include="..\lwasm\instab.h" />
    <ClInclude Include="..\lwasm\lwasm.h" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="lwlib.vcxproj">
      <Project>{93a52e3f-d19d-4a1a-8b8f-15270bd3d0e2}</Project>
    </ProjectReference>
  </ItemGroup>
  <PropertyGroup Label="Globals">
    <ProjectGuid>{52309F4D-C1D8-43FC-BC02-C71B69D01E3B}</ProjectGuid>
    <Keyword>Win32Proj</Keyword>
    <RootNamespace>lwasm</RootNamespace>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseDebugLibraries>true</UseDebugLibraries>
    <PlatformToolset>v120</PlatformToolset>
    <CharacterSet>Unicode</CharacterSet>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseDebugLibraries>false</UseDebugLibraries>
    <PlatformToolset>v120</PlatformToolset>
    <WholeProgramOptimization>true</WholeProgramOptimization>
    <CharacterSet>Unicode</CharacterSet>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  <ImportGroup Label="ExtensionSettings">
  </ImportGroup>
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <PropertyGroup Label="UserMacros" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    <LinkIncremental>true</LinkIncremental>
    <OutDir>$(SolutionDir)$(ProjectName)\$(Configuration)\</OutDir>
    <IntDir>$(SolutionDir)$(ProjectName)\$(Configuration)\</IntDir>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <LinkIncremental>false</LinkIncremental>
    <OutDir>$(SolutionDir)$(ProjectName)\$(Configuration)\</OutDir>
    <IntDir>$(SolutionDir)$(ProjectName)\$(Configuration)\</IntDir>
  </PropertyGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    <ClCompile>
      <PrecompiledHeader>
      </PrecompiledHeader>
      <WarningLevel>Level3</WarningLevel>
      <Optimization>Disabled</Optimization>
      <PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <AdditionalIncludeDirectories>../lwlib</AdditionalIncludeDirectories>
    </ClCompile>
    <Link>
      <SubSystem>Console</SubSystem>
      <GenerateDebugInformation>true</GenerateDebugInformation>
    </Link>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <ClCompile>
      <WarningLevel>Level3</WarningLevel>
      <PrecompiledHeader>
      </PrecompiledHeader>
      <Optimization>MaxSpeed</Optimization>
      <FunctionLevelLinking>true</FunctionLevelLinking>
      <IntrinsicFunctions>true</IntrinsicFunctions>
      <PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <AdditionalIncludeDirectories>../lwlib</AdditionalIncludeDirectories>
    </ClCompile>
    <Link>
      <SubSystem>Console</SubSystem>
      <GenerateDebugInformation>true</GenerateDebugInformation>
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
      <OptimizeReferences>true</OptimizeReferences>
    </Link>
  </ItemDefinitionGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  <ImportGroup Label="ExtensionTargets">
  </ImportGroup>
</Project>