Eliminate use of __attribute__
Ideally this would be standard C++, but here I've settled for things that should be supported by both clang and VS/cl.exe: - Deprecated attribute retained, but now uses __declspec syntax - Packed attribute replaced with pragma pack, except one instance where it unnecessary - Aligned attribute replaced with explicit padding bytes inserted in the structs where needed - Unused attribute simply removed (though where possible, the unused entities were also removed)
This commit is contained in:
@@ -66,7 +66,7 @@ public:
|
||||
char sign_strs[8][256];
|
||||
bool special_spot[48][48];
|
||||
|
||||
char(& out_strs(short i))[256] __attribute__((deprecated));
|
||||
__declspec(deprecated) char(& out_strs(short i))[256];
|
||||
cOutdoors();
|
||||
cOutdoors& operator = (legacy::outdoor_record_type& old);
|
||||
};
|
||||
|
Reference in New Issue
Block a user