dolphin/Source/Core/DolphinWX/Config
Phil Christensen 2ed61b0ee1 C++ conformance fixes (MSVC /permissive-)
We (the Microsoft C++ team) use the dolphin project as part of our "Real world code" tests.
I noticed a few issues in windows specific code when building dolphin with the MSVC compiler
in its conformance mode (/permissive-).  For more information on /permissive- see our blog
https://blogs.msdn.microsoft.com/vcblog/2016/11/16/permissive-switch/.

These changes are to address 3 different types of issues:

1) Use of qualified names in member declarations

    struct A {
        void A::f() { } // error C4596: illegal qualified name in member declaration
                        // remove redundant 'A::' to fix
    };

2) Binding a non-const reference to a temporary

    struct S{};
  
    // If arg is in 'in' parameter, then it should be made const.
    void func(S& arg){}
  
    int main() {
      //error C2664: 'void func(S &)': cannot convert argument 1 from 'S' to 'S &'
      //note: A non-const reference may only be bound to an lvalue
      func( S() );
   
      //Work around this by creating a local, and using it to call the function
      S s;
      func( s );
    }

3) Add missing #include <intrin.h>

Because of the workaround you are using in the code you will need to include
this.  This is because of changes in the libraries and not /permissive-
2017-02-15 20:37:04 -08:00
..
AddUSBDeviceDiag.cpp DolphinWX: Add missing include for no-PCH builds 2017-02-08 05:24:46 +01:00
AddUSBDeviceDiag.h DolphinWX: Add USB passthrough settings 2017-02-05 11:36:47 +01:00
AdvancedConfigPane.cpp DolphinWX: Fix overclock slider clock display 2017-02-08 15:07:34 +01:00
AdvancedConfigPane.h DolphinWX: Enable/disable config UI options based on core state 2016-11-05 11:14:37 -04:00
AudioConfigPane.cpp DolphinWX: Enable/disable config UI options based on core state 2016-11-05 11:14:37 -04:00
AudioConfigPane.h DolphinWX: Enable/disable config UI options based on core state 2016-11-05 11:14:37 -04:00
ConfigMain.cpp DolphinWX: Make the main config dialog modeless 2016-11-06 08:04:54 -05:00
ConfigMain.h DolphinWX: Make the main config dialog modeless 2016-11-06 08:04:54 -05:00
GCAdapterConfigDiag.cpp GCAdapterConfigDiag: Mark OnUpdateAdapter parameter as unused. 2016-11-10 20:19:53 -05:00
GCAdapterConfigDiag.h GCAdapterConfigDiag: Mark OnUpdateAdapter parameter as unused. 2016-11-10 20:19:53 -05:00
GameCubeConfigPane.cpp Core: Move EXI source files to their own directory 2017-01-20 16:06:35 -05:00
GameCubeConfigPane.h Add a special input configuration dialog for the GameCube Mic 2016-12-05 18:09:31 -05:00
GeneralConfigPane.cpp DolphinWX: Enable/disable config UI options based on core state 2016-11-05 11:14:37 -04:00
GeneralConfigPane.h DolphinWX: Enable/disable config UI options based on core state 2016-11-05 11:14:37 -04:00
InterfaceConfigPane.cpp Add flexibility to InputConfigDialog 2016-11-28 08:26:27 -05:00
InterfaceConfigPane.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
PathConfigPane.cpp C++ conformance fixes (MSVC /permissive-) 2017-02-15 20:37:04 -08:00
PathConfigPane.h C++ conformance fixes (MSVC /permissive-) 2017-02-15 20:37:04 -08:00
WiiConfigPane.cpp DolphinWX: Add USB passthrough settings 2017-02-05 11:36:47 +01:00
WiiConfigPane.h DolphinWX: Add USB passthrough settings 2017-02-05 11:36:47 +01:00