As this is only temporary please commit this and continue to fix the socket 
build errors.

Reviewed-by: Erik Bjorge <[email protected]>

> -----Original Message-----
> From: edk2-devel [mailto:[email protected]] On Behalf Of 
> Bjorge, Erik C
> Sent: Monday, January 4, 2016 9:40 AM
> To: Daryl McDaniel <[email protected]>; [email protected]; 
> Carsey, Jaben
> <[email protected]>
> Subject: Re: [edk2] [PATCH] StdLib: Temporarily restrict compiler warnings so 
> that sockets
> can be built using VS2015.
> 
> Daryl,
> 
> What are the plans for fixing the socket code to pass with VS2015?  I just 
> want to know
> how long this temporary patch will be around.
> 
> Thanks,
> -Erik
> 
> From: Daryl McDaniel [mailto:[email protected]]
> Sent: Sunday, January 3, 2016 2:21 PM
> To: [email protected]; Carsey, Jaben <[email protected]>; Bjorge, 
> Erik C
> <[email protected]>
> Subject: [PATCH] StdLib: Temporarily restrict compiler warnings so that 
> sockets can be
> built using VS2015.
> 
> 
> StdLib: Temporarily restrict compiler warnings so that sockets can be built 
> using VS2015.
> 
> 
> 
> Contributed-under: TianoCore Contribution Agreement 1.0
> 
> Signed-off-by: Daryl McDaniel <[email protected]<mailto:edk2-
> [email protected]>>
> 
> 
> 
> ---
> 
> diff U3 a/StdLib/StdLib.inc b/StdLib/StdLib.inc
> 
> --- a/StdLib/StdLib.inc Tue Aug 11 21:25:12 2015
> 
> +++ b/StdLib/StdLib.inc Sun Jan 03 12:17:42 2016
> 
> @@ -5,6 +5,7 @@
> 
> # The including DSC file must DEFINE the EMULATE macro if
> 
> # the application is to be run in an emulation environment.
> 
> #
> 
> +#  Copyright (c) 2016, Daryl McDaniel. All rights reserved.<BR>
> 
> #  Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>
> 
> #  This program and the accompanying materials
> 
> #  are licensed and made available under the terms and conditions of the BSD 
> License
> 
> @@ -133,3 +134,12 @@
> 
>      RVCT:*_*_*_CC_FLAGS     = --library_interface=none -DUEFI_C_SOURCE -
> J$(WORKSPACE)/StdLib/Include -J$(WORKSPACE)/StdLib/Include/Arm
> 
>     XCODE:*_*_*_CC_FLAGS     = -nostdinc -nostdlib -DUEFI_C_SOURCE 
> -Wno-unused-const-
> variable -Wno-string-compare -Wno-sometimes-uninitialized
> 
> !endif
> 
> +
> 
> +  # Temporarily restrict compiler warnings to those produced by VS2012.
> 
> +  # Code that fails when these flags are removed will have to be rewritten
> 
> +  # in order to pass.  This may be as simple as renaming an object, but may
> 
> +  # require more significant changes.
> 
> +    MSFT:*_VS2015_*_CC_FLAGS          = /Wv:11
> 
> +    MSFT:*_VS2015x86_*_CC_FLAGS       = /Wv:11
> 
> +    MSFT:*_VS2015xASL_*_CC_FLAGS      = /Wv:11
> 
> +    MSFT:*_VS2015x86xASL_*_CC_FLAGS   = /Wv:11
> 
> --
> 
> Daryl McDaniel
> 
> 
> 
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to