mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 18:45:10 +01:00
Merge pull request #485 from madmaxoft/develop
Fixed MSVC 2010 warnings on large alignment
This commit is contained in:
commit
98db64fa04
@ -173,11 +173,15 @@
|
||||
POCO_ALIGNEDCHARARRAY_TEMPLATE_ALIGNMENT(32);
|
||||
POCO_ALIGNEDCHARARRAY_TEMPLATE_ALIGNMENT(64);
|
||||
POCO_ALIGNEDCHARARRAY_TEMPLATE_ALIGNMENT(128);
|
||||
POCO_ALIGNEDCHARARRAY_TEMPLATE_ALIGNMENT(512);
|
||||
POCO_ALIGNEDCHARARRAY_TEMPLATE_ALIGNMENT(1024);
|
||||
POCO_ALIGNEDCHARARRAY_TEMPLATE_ALIGNMENT(2048);
|
||||
POCO_ALIGNEDCHARARRAY_TEMPLATE_ALIGNMENT(4096);
|
||||
POCO_ALIGNEDCHARARRAY_TEMPLATE_ALIGNMENT(8192);
|
||||
|
||||
#if (_MSC_VER > 1600) // MSVC 2010 complains on alignment larger than 128
|
||||
POCO_ALIGNEDCHARARRAY_TEMPLATE_ALIGNMENT(512);
|
||||
POCO_ALIGNEDCHARARRAY_TEMPLATE_ALIGNMENT(1024);
|
||||
POCO_ALIGNEDCHARARRAY_TEMPLATE_ALIGNMENT(2048);
|
||||
POCO_ALIGNEDCHARARRAY_TEMPLATE_ALIGNMENT(4096);
|
||||
POCO_ALIGNEDCHARARRAY_TEMPLATE_ALIGNMENT(8192);
|
||||
#endif // _MSC_VER > 1600
|
||||
|
||||
// Any larger and MSVC complains.
|
||||
#undef POCO_ALIGNEDCHARARRAY_TEMPLATE_ALIGNMENT
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user