File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ class DLL_API TestPacking8: public TestPacking
4747 TestPacking8 ();
4848 ~TestPacking8 ();
4949};
50+ #pragma pack()
5051
5152class DLL_API IgnoredType
5253{
@@ -611,7 +612,7 @@ class DLL_API HasOverridenSetter : public TestProperties
611612{
612613public:
613614 HasOverridenSetter ();
614- void setVirtual (bool value);
615+ void setVirtual (bool value) override ;
615616
616617 int virtualSetterReturnsBoolean () override ;
617618 bool setVirtualSetterReturnsBoolean (int value) override ;
Original file line number Diff line number Diff line change 1414#define DLL_API __attribute__ ((visibility ("default")))
1515
1616#ifndef STDCALL
17+ #if defined(WINDOWS )
1718#define STDCALL __attribute__((stdcall))
19+ #else
20+ // warning: calling convention 'stdcall' ignored for this target [-Wignored-attributes]
21+ #define STDCALL
22+ #endif
1823#endif
1924
2025#ifndef CDECL
You can’t perform that action at this time.
0 commit comments