Menu

#21 Fixes needed to silence VS2015 compilation warnings

Unstable_(example)
closed
None
5
2015-09-17
2015-09-16
Pete Batard
No

Currently, Visual Studio 2015 generates a lot of warnings when compiling gnu-efi, such as:

gnu-efi\inc\efipciio.h(7): warning C4091: 'typedef ': ignored on left of '_EFI_PCI_IO' when no variable is declared

To address this, gnu-efi should define the INTERFACE_DECL() for MS compilers as it does for GNU.

Patch attached.

1 Attachments

Discussion

  • Nigel Croxon

    Nigel Croxon - 2015-09-17
    • status: open --> closed
    • assigned_to: Nigel Croxon
     
  • Nigel Croxon

    Nigel Croxon - 2015-09-17

    commit 0b5f181a36c20ea8dd79111c8d078da98903fb5e
    Author: Nigel Croxon nigel.croxon@hpe.com
    Date: Thu Sep 17 08:22:39 2015 -0400

    From: Pete Batard <pete@akeo.ie>
    Date: Wed, 16 Sep 2015 18:26:28 +0100
    Subject: [PATCH] Fix VS2015 warnings
    
    
    * Currently, Visual Studio 2015 generates a lot of warnings such as:
      gnu-efi\inc\efipciio.h(7): warning C4091: 'typedef ': ignored on left of '_EFI_PCI_IO' when no variable is declared
    * To address this, gnu-efi should define the INTERFACE_DECL() for MS compilers as it does for GNU
    
    Signed-off-by: Pete Batard <pete@akeo.ie>
    Signed-off-by: Nigel Croxon <nigel.croxon@hpe.com>
    
     

Log in to post a comment.

MongoDB Logo MongoDB