[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [win-pv-devel] [PATCH 12/20] Fix precompiled headers on checked builds



> -----Original Message-----
> From: win-pv-devel [mailto:win-pv-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On
> Behalf Of Owen Smith
> Sent: 24 May 2016 15:21
> To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
> Cc: Owen Smith
> Subject: [win-pv-devel] [PATCH 12/20] Fix precompiled headers on checked
> builds
> 

Again, this looks like a patch that is bug-fixing a previous patch, and should 
therefore be folded.

  Paul

> Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx>
> ---
>  src/liteagent/LiteAgent.cpp        | 7 ++++++-
>  src/liteagent/LiteAgent.h          | 2 +-
>  vs2012/liteagent/LiteAgent.vcxproj | 4 ----
>  vs2013/liteagent/LiteAgent.vcxproj | 4 ----
>  4 files changed, 7 insertions(+), 10 deletions(-)
> 
> diff --git a/src/liteagent/LiteAgent.cpp b/src/liteagent/LiteAgent.cpp
> index bb17e91..480447d 100644
> --- a/src/liteagent/LiteAgent.cpp
> +++ b/src/liteagent/LiteAgent.cpp
> @@ -269,6 +269,11 @@ void CLiteAgent::OnShutdown()
>      CLiteAgent::Log("OnShutdown(%ws)\n", m_dev->Path());
> 
>      // check shutdown type and enact shutdown
> +    std::string type;
> +    m_dev->StoreRead("control/shutdown", type);
> +
> +
> +    CLiteAgent::Log("OnShutdown(%s)\n", type.c_str());
>  }
> 
>  void CLiteAgent::OnSuspend()
> diff --git a/src/liteagent/LiteAgent.h b/src/liteagent/LiteAgent.h
> index a95c394..8ab062a 100644
> --- a/src/liteagent/LiteAgent.h
> +++ b/src/liteagent/LiteAgent.h
> @@ -88,7 +88,7 @@ private: // service support
>      CXenIfaceItf*           m_dev;
>      void*                   m_ctxt_shutdown;
>      void*                   m_ctxt_suspend;
> -    int                     m_update;
> +    long                    m_update;
>  };
> 
>  #endif
> diff --git a/vs2012/liteagent/LiteAgent.vcxproj
> b/vs2012/liteagent/LiteAgent.vcxproj
> index 4863061..683b310 100644
> --- a/vs2012/liteagent/LiteAgent.vcxproj
> +++ b/vs2012/liteagent/LiteAgent.vcxproj
> @@ -86,7 +86,6 @@
> 
>    <ItemDefinitionGroup
> Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
>      <ClCompile>
> -      <PrecompiledHeader>Use</PrecompiledHeader>
>        <WarningLevel>Level3</WarningLevel>
>        <Optimization>Disabled</Optimization>
> 
> <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_
> WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
> @@ -111,7 +110,6 @@
>    </ItemDefinitionGroup>
>    <ItemDefinitionGroup
> Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
>      <ClCompile>
> -      <PrecompiledHeader>Use</PrecompiledHeader>
>        <WarningLevel>Level3</WarningLevel>
>        <Optimization>Disabled</Optimization>
> 
> <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_
> WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
> @@ -137,7 +135,6 @@
>    <ItemDefinitionGroup
> Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
>      <ClCompile>
>        <WarningLevel>Level3</WarningLevel>
> -      <PrecompiledHeader>NotUsing</PrecompiledHeader>
>        <Optimization>MaxSpeed</Optimization>
>        <FunctionLevelLinking>true</FunctionLevelLinking>
>        <IntrinsicFunctions>true</IntrinsicFunctions>
> @@ -166,7 +163,6 @@
>    <ItemDefinitionGroup
> Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
>      <ClCompile>
>        <WarningLevel>Level3</WarningLevel>
> -      <PrecompiledHeader>NotUsing</PrecompiledHeader>
>        <Optimization>MaxSpeed</Optimization>
>        <FunctionLevelLinking>true</FunctionLevelLinking>
>        <IntrinsicFunctions>true</IntrinsicFunctions>
> diff --git a/vs2013/liteagent/LiteAgent.vcxproj
> b/vs2013/liteagent/LiteAgent.vcxproj
> index a7d10c0..cc52992 100644
> --- a/vs2013/liteagent/LiteAgent.vcxproj
> +++ b/vs2013/liteagent/LiteAgent.vcxproj
> @@ -86,7 +86,6 @@
>    </PropertyGroup>
>    <ItemDefinitionGroup
> Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
>      <ClCompile>
> -      <PrecompiledHeader>NotUsing</PrecompiledHeader>
>        <WarningLevel>Level3</WarningLevel>
>        <Optimization>Disabled</Optimization>
> 
> <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_
> WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
> @@ -113,7 +112,6 @@
>    </ItemDefinitionGroup>
>    <ItemDefinitionGroup
> Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
>      <ClCompile>
> -      <PrecompiledHeader>NotUsing</PrecompiledHeader>
>        <WarningLevel>Level3</WarningLevel>
>        <Optimization>Disabled</Optimization>
> 
> <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_
> WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
> @@ -141,7 +139,6 @@
>    <ItemDefinitionGroup
> Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
>      <ClCompile>
>        <WarningLevel>Level3</WarningLevel>
> -      <PrecompiledHeader>NotUsing</PrecompiledHeader>
>        <Optimization>MaxSpeed</Optimization>
>        <FunctionLevelLinking>true</FunctionLevelLinking>
>        <IntrinsicFunctions>true</IntrinsicFunctions>
> @@ -170,7 +167,6 @@
>    <ItemDefinitionGroup
> Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
>      <ClCompile>
>        <WarningLevel>Level3</WarningLevel>
> -      <PrecompiledHeader>NotUsing</PrecompiledHeader>
>        <Optimization>MaxSpeed</Optimization>
>        <FunctionLevelLinking>true</FunctionLevelLinking>
>        <IntrinsicFunctions>true</IntrinsicFunctions>
> --
> 1.9.4.msysgit.1
> 
> 
> _______________________________________________
> win-pv-devel mailing list
> win-pv-devel@xxxxxxxxxxxxxxxxxxxx
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel
_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.