cameron314 / readerwriterqueue

A fast single-producer, single-consumer lock-free queue for C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

warning C4316

TheSwAda opened this issue · comments

commented

Development OS: Windows 10 64 bit
IDE: Visual Studio 2013 Professional
Language: C++

The Problem:
I get the following warning when compiling project through the IDE:
warning C4316: ... : object allocated on the heap may not be aligned 64

The Code:
struct A
{
ReaderWriterQueue data;
int a;
}
A *a= new A;

This is normal and can be safely ignored. See issue #107. Sorry for the inconvenience.