[edk2] [PATCH V2 0/5] Fix MSFT C4255 warning

Song, BinX posted 5 patches 7 years, 1 month ago
Only 0 patches received!
.../BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c | 1 +
.../Library/LzmaCustomDecompressLib/F86GuidedSectionExtraction.c        | 1 +
.../Library/LzmaCustomDecompressLib/GuidedSectionExtraction.c           | 1 +
MdeModulePkg/Include/Library/PlatformVarCleanupLib.h                    | 1 +
.../Library/BrotliCustomDecompressLib/GuidedSectionExtraction.c         | 1 +
.../Library/DxeSecurityManagementLib/DxeSecurityManagementLib.c         | 2 ++
.../Library/LzmaCustomDecompressLib/F86GuidedSectionExtraction.c        | 1 +
MdeModulePkg/Library/LzmaCustomDecompressLib/GuidedSectionExtraction.c  | 1 +
MdeModulePkg/Library/PlatformVarCleanupLib/PlatVarCleanupLib.c          | 1 +
MdeModulePkg/Universal/SetupBrowserDxe/Expression.c                     | 1 +
MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.c                             | 2 +-
MdePkg/Library/BaseLib/X64/CpuBreakpoint.c                              | 2 +-
MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c  | 1 +
NetworkPkg/IScsiDxe/IScsiDriver.c                                       | 1 +
ShellPkg/Application/Shell/Shell.c                                      | 1 +
ShellPkg/Application/Shell/ShellProtocol.c                              | 2 ++
ShellPkg/Library/UefiShellLib/UefiShellLib.c                            | 1 +
17 files changed, 19 insertions(+), 2 deletions(-)
[edk2] [PATCH V2 0/5] Fix MSFT C4255 warning
Posted by Song, BinX 7 years, 1 month ago
V2:
Fix MSFT C4255 warning.
V1:
Enable MSFT C4255 warning.

From MSDN:
Compiler Warning (level 4) C4255
function' : no function prototype given: converting '()' to '(void)'
The compiler did not find an explicit list of arguments to a function.
This warning is for the C compiler only.

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bell Song <binx.song@intel.com>
---
Bell Song (5):
  IntelFrameworkModulePkg: Fix MSFT C4255 warning
  MdeModulePkg: Fix MSFT C4255 warning
  MdePkg: Fix MSFT C4255 warning
  NetworkPkg: Fix MSFT C4255 warning
  ShellPkg: Fix MSFT C4255 warning

 .../BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c | 1 +
 .../Library/LzmaCustomDecompressLib/F86GuidedSectionExtraction.c        | 1 +
 .../Library/LzmaCustomDecompressLib/GuidedSectionExtraction.c           | 1 +
 MdeModulePkg/Include/Library/PlatformVarCleanupLib.h                    | 1 +
 .../Library/BrotliCustomDecompressLib/GuidedSectionExtraction.c         | 1 +
 .../Library/DxeSecurityManagementLib/DxeSecurityManagementLib.c         | 2 ++
 .../Library/LzmaCustomDecompressLib/F86GuidedSectionExtraction.c        | 1 +
 MdeModulePkg/Library/LzmaCustomDecompressLib/GuidedSectionExtraction.c  | 1 +
 MdeModulePkg/Library/PlatformVarCleanupLib/PlatVarCleanupLib.c          | 1 +
 MdeModulePkg/Universal/SetupBrowserDxe/Expression.c                     | 1 +
 MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.c                             | 2 +-
 MdePkg/Library/BaseLib/X64/CpuBreakpoint.c                              | 2 +-
 MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c  | 1 +
 NetworkPkg/IScsiDxe/IScsiDriver.c                                       | 1 +
 ShellPkg/Application/Shell/Shell.c                                      | 1 +
 ShellPkg/Application/Shell/ShellProtocol.c                              | 2 ++
 ShellPkg/Library/UefiShellLib/UefiShellLib.c                            | 1 +
 17 files changed, 19 insertions(+), 2 deletions(-)

-- 
2.10.2.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH V2 0/5] Fix MSFT C4255 warning
Posted by Gao, Liming 7 years, 1 month ago
Reviewed-by: Liming Gao <liming.gao@intel.com>

>-----Original Message-----
>From: Song, BinX
>Sent: Friday, November 10, 2017 12:10 PM
>To: edk2-devel@lists.01.org
>Cc: Gao, Liming <liming.gao@intel.com>
>Subject: [PATCH V2 0/5] Fix MSFT C4255 warning
>
>V2:
>Fix MSFT C4255 warning.
>V1:
>Enable MSFT C4255 warning.
>
>From MSDN:
>Compiler Warning (level 4) C4255
>function' : no function prototype given: converting '()' to '(void)'
>The compiler did not find an explicit list of arguments to a function.
>This warning is for the C compiler only.
>
>Cc: Liming Gao <liming.gao@intel.com>
>Contributed-under: TianoCore Contribution Agreement 1.1
>Signed-off-by: Bell Song <binx.song@intel.com>
>---
>Bell Song (5):
>  IntelFrameworkModulePkg: Fix MSFT C4255 warning
>  MdeModulePkg: Fix MSFT C4255 warning
>  MdePkg: Fix MSFT C4255 warning
>  NetworkPkg: Fix MSFT C4255 warning
>  ShellPkg: Fix MSFT C4255 warning
>
> .../BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLi
>b.c | 1 +
> .../Library/LzmaCustomDecompressLib/F86GuidedSectionExtraction.c        | 1
>+
> .../Library/LzmaCustomDecompressLib/GuidedSectionExtraction.c           | 1 +
> MdeModulePkg/Include/Library/PlatformVarCleanupLib.h                    | 1 +
> .../Library/BrotliCustomDecompressLib/GuidedSectionExtraction.c         | 1 +
> .../Library/DxeSecurityManagementLib/DxeSecurityManagementLib.c         | 2
>++
> .../Library/LzmaCustomDecompressLib/F86GuidedSectionExtraction.c        | 1
>+
>
>MdeModulePkg/Library/LzmaCustomDecompressLib/GuidedSectionExtractio
>n.c  | 1 +
> MdeModulePkg/Library/PlatformVarCleanupLib/PlatVarCleanupLib.c          | 1
>+
> MdeModulePkg/Universal/SetupBrowserDxe/Expression.c                     | 1 +
> MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.c                             | 2 +-
> MdePkg/Library/BaseLib/X64/CpuBreakpoint.c                              | 2 +-
> MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c
>| 1 +
> NetworkPkg/IScsiDxe/IScsiDriver.c                                       | 1 +
> ShellPkg/Application/Shell/Shell.c                                      | 1 +
> ShellPkg/Application/Shell/ShellProtocol.c                              | 2 ++
> ShellPkg/Library/UefiShellLib/UefiShellLib.c                            | 1 +
> 17 files changed, 19 insertions(+), 2 deletions(-)
>
>--
>2.10.2.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel