Commit 7fedac2 1 parent 5e0e19e commit 7fedac2 Copy full SHA for 7fedac2
File tree 2 files changed +7
-1
lines changed
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
47
47
TestPacking8 ();
48
48
~TestPacking8 ();
49
49
};
50
+ #pragma pack()
50
51
51
52
class DLL_API IgnoredType
52
53
{
@@ -611,7 +612,7 @@ class DLL_API HasOverridenSetter : public TestProperties
611
612
{
612
613
public:
613
614
HasOverridenSetter ();
614
- void setVirtual (bool value);
615
+ void setVirtual (bool value) override ;
615
616
616
617
int virtualSetterReturnsBoolean () override ;
617
618
bool setVirtualSetterReturnsBoolean (int value) override ;
Original file line number Diff line number Diff line change 14
14
#define DLL_API __attribute__ ((visibility ("default")))
15
15
16
16
#ifndef STDCALL
17
+ #if defined(WINDOWS )
17
18
#define STDCALL __attribute__((stdcall))
19
+ #else
20
+ // warning: calling convention 'stdcall' ignored for this target [-Wignored-attributes]
21
+ #define STDCALL
22
+ #endif
18
23
#endif
19
24
20
25
#ifndef CDECL
You can’t perform that action at this time.
0 commit comments